Class WhileStatementTreeImpl
java.lang.Object
org.sonar.java.model.JavaTree
org.sonar.java.model.statement.WhileStatementTreeImpl
- All Implemented Interfaces:
StatementTree, Tree, WhileStatementTree
-
Nested Class Summary
Nested classes/interfaces inherited from class JavaTree
JavaTree.AnnotatedTypeTree, JavaTree.ArrayTypeTreeImpl, JavaTree.CompilationUnitTreeImpl, JavaTree.ImportTreeImpl, JavaTree.NotImplementedTreeImpl, JavaTree.PackageDeclarationTreeImpl, JavaTree.ParameterizedTypeTreeImpl, JavaTree.PrimitiveTypeTreeImpl, JavaTree.UnionTypeTreeImpl, JavaTree.WildcardTreeImpl -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionWhileStatementTreeImpl(InternalSyntaxToken whileKeyword, InternalSyntaxToken openParenToken, ExpressionTree condition, InternalSyntaxToken closeParenToken, StatementTree statement) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TreeVisitor visitor) children()Creates iterable for children of this node.kind()Methods inherited from class JavaTree
allTokens, firstToken, getChildren, getLine, is, isLeaf, lastToken, parent, setParentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Tree
firstToken, is, lastToken, parent
-
Constructor Details
-
WhileStatementTreeImpl
public WhileStatementTreeImpl(InternalSyntaxToken whileKeyword, InternalSyntaxToken openParenToken, ExpressionTree condition, InternalSyntaxToken closeParenToken, StatementTree statement)
-
-
Method Details
-
kind
-
whileKeyword
- Specified by:
whileKeywordin interfaceWhileStatementTree
-
openParenToken
- Specified by:
openParenTokenin interfaceWhileStatementTree
-
condition
- Specified by:
conditionin interfaceWhileStatementTree
-
closeParenToken
- Specified by:
closeParenTokenin interfaceWhileStatementTree
-
statement
- Specified by:
statementin interfaceWhileStatementTree
-
accept
-
children
-