public class FinallyHandler extends BlockParentHandler
MSG_CHILD_ERROR, MSG_CHILD_ERROR_MULTI, MSG_ERROR, MSG_ERROR_MULTI
Constructor and Description |
---|
FinallyHandler(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 boolean |
shouldTopLevelStartLine()
Determines if the top level token must start the line.
|
canChildrenBeNested, checkIndentation, checkLCurly, checkRCurly, checkTopLevelToken, curlyIndent, getCheckedChildren, getChildrenExpectedIndent, getLCurly, getListChild, getLParen, getNonListChild, getRCurly, getRParen, getSuggestedChildIndent, getTopLevelAst, hasCurlies, hasLabelBefore, shouldStartWithRCurly
checkChildren, checkExpressionSubtree, checkLinesIndent, checkLParen, checkModifiers, checkRParen, expandedTabsColumnNo, findSubtreeLines, getBasicOffset, getBraceAdjustment, getFirstLine, getIndent, getIndentCheck, getIndentImpl, getLineStart, getLineStart, getMainAst, getParent, isOnStartOfLine, logError, logError, shouldIncreaseIndent
public FinallyHandler(IndentationCheck indentCheck, DetailAST ast, AbstractExpressionHandler parent)
indentCheck
- the indentation checkast
- the abstract syntax treeparent
- the parent handlerprotected boolean shouldTopLevelStartLine()
BlockParentHandler
shouldTopLevelStartLine
in class BlockParentHandler
Copyright © 2001–2016. All rights reserved.