public class ElseHandler extends BlockParentHandler
MSG_CHILD_ERROR, MSG_CHILD_ERROR_MULTI, MSG_ERROR, MSG_ERROR_MULTI| Constructor and Description |
|---|
ElseHandler(IndentationCheck indentCheck,
DetailAST ast,
AbstractExpressionHandler 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.
|
canChildrenBeNested, checkIndentation, checkLCurly, checkRCurly, curlyLevel, getCheckedChildren, getChildrenExpectedLevel, getLCurly, getListChild, getLParen, getRCurly, getRParen, getTopLevelAst, hasCurlies, hasLabelBefore, shouldStartWithRCurly, shouldTopLevelStartLine, suggestedChildLevelcheckChildren, checkExpressionSubtree, checkLinesIndent, checkLParen, checkModifiers, checkRParen, expandedTabsColumnNo, findSubtreeLines, getBasicOffset, getBraceAdjustment, getFirstLine, getIndentCheck, getLevel, getLevelImpl, getLineStart, getLineStart, getMainAst, getParent, logError, logError, shouldIncreaseIndent, startsLinepublic ElseHandler(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler 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.