Class DoWhileStatementTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.statement.DoWhileStatementTreeImpl
-
- All Implemented Interfaces:
DoWhileStatementTree
,StatementTree
,Tree
public class DoWhileStatementTreeImpl extends PHPTree implements DoWhileStatementTree
-
-
Constructor Summary
Constructors Constructor Description DoWhileStatementTreeImpl(InternalSyntaxToken doToken, StatementTree statement, InternalSyntaxToken whileToken, ParenthesisedExpressionTree condition, InternalSyntaxToken eosToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(VisitorCheck visitor)
Iterator<Tree>
childrenIterator()
Creates iterator for children of this node.ParenthesisedExpressionTree
condition()
SyntaxToken
doToken()
SyntaxToken
eosToken()
Tree.Kind
getKind()
StatementTree
statement()
SyntaxToken
whileToken()
-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
DoWhileStatementTreeImpl
public DoWhileStatementTreeImpl(InternalSyntaxToken doToken, StatementTree statement, InternalSyntaxToken whileToken, ParenthesisedExpressionTree condition, InternalSyntaxToken eosToken)
-
-
Method Detail
-
doToken
public SyntaxToken doToken()
- Specified by:
doToken
in interfaceDoWhileStatementTree
-
statement
public StatementTree statement()
- Specified by:
statement
in interfaceDoWhileStatementTree
-
whileToken
public SyntaxToken whileToken()
- Specified by:
whileToken
in interfaceDoWhileStatementTree
-
condition
public ParenthesisedExpressionTree condition()
- Specified by:
condition
in interfaceDoWhileStatementTree
-
eosToken
public SyntaxToken eosToken()
- Specified by:
eosToken
in interfaceDoWhileStatementTree
-
childrenIterator
public Iterator<Tree> childrenIterator()
Description copied from class:PHPTree
Creates iterator for children of this node. Note that iterator may containnull
elements.- Specified by:
childrenIterator
in classPHPTree
-
accept
public void accept(VisitorCheck visitor)
-
-