public class AssignHandler extends BlockParentHandler
Constructor and Description |
---|
AssignHandler(IndentationCheck aIndentCheck,
DetailAST aAst,
ExpressionHandler aParent)
Construct an instance of this handler with the given indentation check,
abstract syntax tree, and parent handler.
|
Modifier and Type | Method and Description |
---|---|
void |
checkIndentation()
Check the indentation of the expression we are handling.
|
protected boolean |
shouldIncreaseIndent() |
IndentLevel |
suggestedChildLevel(ExpressionHandler aChild)
Indentation level suggested for a child element.
|
checkLCurly, checkRCurly, checkToplevelToken, childrenMayNest, getCheckedChildren, getChildrenExpectedLevel, getLCurly, getListChild, getLParen, getNonlistChild, getRCurly, getRParen, getToplevelAST, hasCurlys, rcurlyMustStart, toplevelMustStartLine
checkChildren, checkExpressionSubtree, checkLinesIndent, checkLParen, checkModifiers, checkRParen, expandedTabsColumnNo, findSubtreeLines, getBasicOffset, getBraceAdjustement, getFirstLine, getIndentCheck, getLevel, getLevelImpl, getLineStart, getLineStart, getMainAst, getParent, logError, logError, startsLine
public AssignHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
aIndentCheck
- the indentation checkaAst
- the abstract syntax treeaParent
- the parent handlerpublic void checkIndentation()
ExpressionHandler
checkIndentation
in class BlockParentHandler
protected boolean shouldIncreaseIndent()
shouldIncreaseIndent
in class ExpressionHandler
public IndentLevel suggestedChildLevel(ExpressionHandler aChild)
ExpressionHandler
suggestedChildLevel
in class BlockParentHandler
aChild
- child AST (so suggestion level can differ based on child
type)Copyright © 2001–2015. All rights reserved.