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, toplevelMustStartLinecheckChildren, checkExpressionSubtree, checkLinesIndent, checkLParen, checkModifiers, checkRParen, expandedTabsColumnNo, findSubtreeLines, getBasicOffset, getBraceAdjustement, getFirstLine, getIndentCheck, getLevel, getLevelImpl, getLineStart, getLineStart, getMainAst, getParent, logError, logError, startsLinepublic AssignHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
aIndentCheck - the indentation checkaAst - the abstract syntax treeaParent - the parent handlerpublic void checkIndentation()
ExpressionHandlercheckIndentation in class BlockParentHandlerprotected boolean shouldIncreaseIndent()
shouldIncreaseIndent in class ExpressionHandlerpublic IndentLevel suggestedChildLevel(ExpressionHandler aChild)
ExpressionHandlersuggestedChildLevel in class BlockParentHandleraChild - child AST (so suggestion level can differ based on child
type)Copyright © 2001-2012. All Rights Reserved.