public class ElseHandler extends BlockParentHandler
| 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, curlyIndent, getCheckedChildren, getChildrenExpectedIndent, getLeftCurly, getListChild, getRightCurly, getSuggestedChildIndent, getTopLevelAst, shouldTopLevelStartLineareOnSameLine, checkChildren, checkExpressionSubtree, checkLeftParen, checkModifiers, checkRightParen, checkWrappingIndentation, checkWrappingIndentation, expandedTabsColumnNo, findSubtreeLines, getBasicOffset, getBraceAdjustment, getFirstLine, getFirstToken, getIndent, getIndentCheck, getIndentImpl, getLineStart, getLineStart, getMainAst, getParent, isOnStartOfLine, logError, logError, shouldIncreaseIndentpublic 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–2018. All rights reserved.