public class PrimordialHandler extends ExpressionHandler
Constructor and Description |
---|
PrimordialHandler(IndentationCheck aIndentCheck)
Construct an instance of this handler with the given indentation check.
|
Modifier and Type | Method and Description |
---|---|
void |
checkIndentation()
Check the indentation of the expression we are handling.
|
protected IndentLevel |
getLevelImpl()
Compute the indentation amount for this handler.
|
IndentLevel |
suggestedChildLevel(ExpressionHandler aChild)
Indentation level suggested for a child element.
|
checkChildren, checkExpressionSubtree, checkLinesIndent, checkLParen, checkModifiers, checkRParen, expandedTabsColumnNo, findSubtreeLines, getBasicOffset, getBraceAdjustement, getFirstLine, getIndentCheck, getLevel, getLineStart, getLineStart, getMainAst, getParent, logError, logError, shouldIncreaseIndent, startsLine
public PrimordialHandler(IndentationCheck aIndentCheck)
aIndentCheck
- the indentation checkpublic void checkIndentation()
ExpressionHandler
checkIndentation
in class ExpressionHandler
public IndentLevel suggestedChildLevel(ExpressionHandler aChild)
ExpressionHandler
suggestedChildLevel
in class ExpressionHandler
aChild
- child AST (so suggestion level can differ based on child
type)protected IndentLevel getLevelImpl()
ExpressionHandler
getLevelImpl
in class ExpressionHandler
Copyright © 2001-2013. All Rights Reserved.