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 TypeMethodDescriptionvoid
accept
(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:PHPTree
Creates iterator for children of this node. Note that iterator may containnull
elements.- Specified by:
childrenIterator
in classPHPTree
-
whileToken
- Specified by:
whileToken
in interfaceWhileStatementTree
-
condition
- Specified by:
condition
in interfaceWhileStatementTree
-
colonToken
- Specified by:
colonToken
in interfaceWhileStatementTree
-
statements
- Specified by:
statements
in interfaceWhileStatementTree
-
endWhileToken
- Specified by:
endWhileToken
in interfaceWhileStatementTree
-
eosToken
- Specified by:
eosToken
in interfaceWhileStatementTree
-
accept
-