public class ElseHandler extends BlockParentHandler
| Constructor and Description |
|---|
ElseHandler(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 |
|---|---|
protected void |
checkToplevelToken()
Check the indent of the top level token.
|
protected DetailAST |
getNonlistChild()
Get the child element that is not a list of statements.
|
checkIndentation, checkLCurly, checkRCurly, childrenMayNest, getCheckedChildren, getChildrenExpectedLevel, getLCurly, getListChild, getLParen, getRCurly, getRParen, getToplevelAST, hasCurlys, rcurlyMustStart, suggestedChildLevel, toplevelMustStartLinecheckChildren, checkExpressionSubtree, checkLinesIndent, checkLParen, checkModifiers, checkRParen, expandedTabsColumnNo, findSubtreeLines, getBasicOffset, getBraceAdjustement, getFirstLine, getIndentCheck, getLevel, getLevelImpl, getLineStart, getLineStart, getMainAst, getParent, logError, logError, shouldIncreaseIndent, startsLinepublic ElseHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
aIndentCheck - the indentation checkaAst - the abstract syntax treeaParent - the parent handlerprotected void checkToplevelToken()
BlockParentHandlercheckToplevelToken in class BlockParentHandlerprotected DetailAST getNonlistChild()
BlockParentHandlergetNonlistChild in class BlockParentHandlerCopyright © 2001-2012. All Rights Reserved.