public class TryHandler extends BlockParentHandler
| Constructor and Description |
|---|
TryHandler(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 |
|---|---|
IndentLevel |
suggestedChildLevel(ExpressionHandler aChild)
Indentation level suggested for a child element.
|
checkIndentation, checkLCurly, checkRCurly, checkToplevelToken, childrenMayNest, getCheckedChildren, getChildrenExpectedLevel, getLCurly, getListChild, getLParen, getNonlistChild, getRCurly, getRParen, getToplevelAST, hasCurlys, rcurlyMustStart, toplevelMustStartLinecheckChildren, checkExpressionSubtree, checkLinesIndent, checkLParen, checkModifiers, checkRParen, expandedTabsColumnNo, findSubtreeLines, getBasicOffset, getBraceAdjustement, getFirstLine, getIndentCheck, getLevel, getLevelImpl, getLineStart, getLineStart, getMainAst, getParent, logError, logError, shouldIncreaseIndent, startsLinepublic TryHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
aIndentCheck - the indentation checkaAst - the abstract syntax treeaParent - the parent handlerpublic IndentLevel suggestedChildLevel(ExpressionHandler aChild)
ExpressionHandlersuggestedChildLevel in class BlockParentHandleraChild - child AST (so suggestion level can differ based on child
type)Copyright © 2001-2012. All Rights Reserved.