public class TryStatementTreeImpl extends JavaScriptTree implements TryStatementTree
| Constructor and Description |
|---|
TryStatementTreeImpl(CatchBlockTreeImpl catchBlock) |
TryStatementTreeImpl(InternalSyntaxToken finallyKeyword,
BlockTreeImpl finallyBlock) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
BlockTree |
block() |
CatchBlockTree |
catchBlock() |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
TryStatementTreeImpl |
complete(CatchBlockTreeImpl catchBlock) |
TryStatementTreeImpl |
complete(InternalSyntaxToken tryKeyword,
BlockTreeImpl block) |
BlockTree |
finallyBlock() |
SyntaxToken |
finallyKeyword() |
Tree.Kind |
getKind() |
SyntaxToken |
tryKeyword() |
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParentpublic TryStatementTreeImpl(CatchBlockTreeImpl catchBlock)
public TryStatementTreeImpl(InternalSyntaxToken finallyKeyword, BlockTreeImpl finallyBlock)
public TryStatementTreeImpl complete(CatchBlockTreeImpl catchBlock)
public TryStatementTreeImpl complete(InternalSyntaxToken tryKeyword, BlockTreeImpl block)
public Tree.Kind getKind()
getKind in class JavaScriptTreepublic SyntaxToken tryKeyword()
tryKeyword in interface TryStatementTreepublic BlockTree block()
block in interface TryStatementTree@Nullable public CatchBlockTree catchBlock()
catchBlock in interface TryStatementTree@Nullable public SyntaxToken finallyKeyword()
finallyKeyword in interface TryStatementTree@Nullable public BlockTree finallyBlock()
finallyBlock in interface TryStatementTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(DoubleDispatchVisitor visitor)
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.