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 |
closeParenthesisToken() |
ExpressionTree |
condition() |
Tree.Kind |
getKind() |
SyntaxToken |
openParenthesisToken() |
StatementTree |
statement() |
SyntaxToken |
whileKeyword() |
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 WhileStatementTreeImpl(InternalSyntaxToken whileKeyword, InternalSyntaxToken openingParenthesis, ExpressionTree condition, InternalSyntaxToken closingParenthesis, StatementTree statement)
public SyntaxToken whileKeyword()
whileKeyword in interface WhileStatementTreepublic SyntaxToken openParenthesisToken()
openParenthesisToken in interface WhileStatementTreepublic ExpressionTree condition()
condition in interface ConditionalTreecondition in interface WhileStatementTreepublic SyntaxToken closeParenthesisToken()
closeParenthesisToken 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–2017 SonarSource and Eriks Nukis. All rights reserved.