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(DoubleDispatchVisitor visitor) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
SyntaxToken |
closeParenthesis() |
ExpressionTree |
condition() |
Tree.Kind |
getKind() |
SyntaxToken |
openParenthesis() |
StatementTree |
statement() |
SyntaxToken |
whileKeyword() |
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParentpublic 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 Tree.Kind getKind()
getKind in class JavaScriptTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(DoubleDispatchVisitor visitor)
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.