public class TryStatementTreeImpl extends JavaScriptTree implements TryStatementTree
| Constructor and Description |
|---|
TryStatementTreeImpl(SyntaxToken tryKeyword,
BlockTree block,
CatchBlockTree catchBlock,
FinallyBlockTree 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.
|
FinallyBlockTree |
finallyBlock() |
Tree.Kind |
getKind() |
SyntaxToken |
tryKeyword() |
childrenStream, descendants, firstToken, is, isAncestorOf, isLeaf, lastToken, parent, setParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchildrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parentpublic TryStatementTreeImpl(SyntaxToken tryKeyword, BlockTree block, @Nullable CatchBlockTree catchBlock, @Nullable FinallyBlockTree finallyBlock)
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 FinallyBlockTree finallyBlock()
finallyBlock in interface TryStatementTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(DoubleDispatchVisitor visitor)
Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.