public class WhileStatementTreeImpl extends JavaScriptTree implements WhileStatementTree
| Constructor and Description |
|---|
WhileStatementTreeImpl(InternalSyntaxToken whileKeyword,
InternalSyntaxToken openingParenthesis,
ExpressionTree condition,
InternalSyntaxToken closingParenthesis,
StatementTree statement) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TreeVisitor visitor) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
SyntaxToken |
closeParenthesis() |
ExpressionTree |
condition() |
com.sonar.sslr.api.AstNodeType |
getKind() |
SyntaxToken |
openParenthesis() |
StatementTree |
statement() |
SyntaxToken |
whileKeyword() |
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 WhileStatementTreeImpl(InternalSyntaxToken whileKeyword, InternalSyntaxToken openingParenthesis, ExpressionTree condition, InternalSyntaxToken closingParenthesis, StatementTree statement)
public SyntaxToken whileKeyword()
whileKeyword in interface WhileStatementTreepublic SyntaxToken openParenthesis()
openParenthesis in interface WhileStatementTreepublic ExpressionTree condition()
condition in interface WhileStatementTreepublic SyntaxToken closeParenthesis()
closeParenthesis in interface WhileStatementTreepublic StatementTree statement()
statement in interface IterationStatementTreestatement in interface WhileStatementTreepublic com.sonar.sslr.api.AstNodeType getKind()
getKind in class JavaScriptTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(TreeVisitor visitor)
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.