Class WhileStatementTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.statement.WhileStatementTreeImpl
- All Implemented Interfaces:
StatementTree,WhileStatementTree,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionWhileStatementTreeImpl(InternalSyntaxToken whileToken, ParenthesisedExpressionTree condition, InternalSyntaxToken colonToken, List<StatementTree> statements, InternalSyntaxToken endwhileToken, InternalSyntaxToken eosToken) WhileStatementTreeImpl(InternalSyntaxToken whileToken, ParenthesisedExpressionTree condition, StatementTree statement) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(VisitorCheck visitor) Creates iterator for children of this node.eosToken()getKind()Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
WhileStatementTreeImpl
public WhileStatementTreeImpl(InternalSyntaxToken whileToken, ParenthesisedExpressionTree condition, StatementTree statement) -
WhileStatementTreeImpl
public WhileStatementTreeImpl(InternalSyntaxToken whileToken, ParenthesisedExpressionTree condition, InternalSyntaxToken colonToken, List<StatementTree> statements, InternalSyntaxToken endwhileToken, InternalSyntaxToken eosToken)
-
-
Method Details
-
getKind
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
whileToken
- Specified by:
whileTokenin interfaceWhileStatementTree
-
condition
- Specified by:
conditionin interfaceWhileStatementTree
-
colonToken
- Specified by:
colonTokenin interfaceWhileStatementTree
-
statements
- Specified by:
statementsin interfaceWhileStatementTree
-
endWhileToken
- Specified by:
endWhileTokenin interfaceWhileStatementTree
-
eosToken
- Specified by:
eosTokenin interfaceWhileStatementTree
-
accept
-