public class ElseHandler extends BlockParentHandler
| Constructor and Description |
|---|
ElseHandler(IndentationCheck indentCheck,
DetailAST ast,
ExpressionHandler parent)
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, curlyLevel, getCheckedChildren, getChildrenExpectedLevel, getLCurly, getListChild, getLParen, getRCurly, getRParen, getToplevelAST, hasCurlys, hasLabelBefore, 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 indentCheck, DetailAST ast, ExpressionHandler parent)
indentCheck - the indentation checkast - the abstract syntax treeparent - the parent handlerprotected void checkToplevelToken()
BlockParentHandlercheckToplevelToken in class BlockParentHandlerprotected DetailAST getNonlistChild()
BlockParentHandlergetNonlistChild in class BlockParentHandlerCopyright © 2001–2015. All rights reserved.