public class ThrowStatementTreeImpl extends JavaScriptTree implements ThrowStatementTree
| Constructor and Description |
|---|
ThrowStatementTreeImpl(InternalSyntaxToken throwKeyword,
ExpressionTree expression,
com.sonar.sslr.api.AstNode eos) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TreeVisitor visitor) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
Tree |
endOfStatement() |
ExpressionTree |
expression() |
Tree.Kind |
getKind() |
SyntaxToken |
throwKeyword() |
addChild, addChildren, getAstNode, getLine, is, isLeaf, isLegacy, prependChildren, prependChildrenfindChildren, findDirectChildren, findFirstChild, findFirstDirectChild, findFirstParent, getChild, getChildren, getChildren, getDescendants, getFirstAncestor, getFirstAncestor, getFirstChild, getFirstChild, getFirstDescendant, getFromIndex, getLastChild, getLastChild, getLastToken, getName, getNextAstNode, getNextSibling, getNumberOfChildren, getParent, getPreviousAstNode, getPreviousSibling, getToIndex, getToken, getTokenLine, getTokenOriginalValue, getTokens, getTokenValue, getType, hasAncestor, hasAncestor, hasChildren, hasChildren, hasDescendant, hasDirectChildren, hasParent, hasParents, hasToBeSkippedFromAst, hasToken, is, isCopyBookOrGeneratedNode, isNot, nextAstNode, nextSibling, previousAstNode, previousSibling, select, setFromIndex, setToIndex, toStringpublic ThrowStatementTreeImpl(InternalSyntaxToken throwKeyword, ExpressionTree expression, com.sonar.sslr.api.AstNode eos)
public Tree.Kind getKind()
getKind in class JavaScriptTreepublic SyntaxToken throwKeyword()
throwKeyword in interface ThrowStatementTree@Nullable public ExpressionTree expression()
expression in interface ThrowStatementTree@Nullable public Tree endOfStatement()
endOfStatement in interface ThrowStatementTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(TreeVisitor visitor)
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.