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 voidaccept(VisitorCheck visitor)Iterator<Tree>childrenIterator()Creates iterator for children of this node.ParenthesisedExpressionTreecondition()SyntaxTokendoToken()SyntaxTokeneosToken()Tree.KindgetKind()StatementTreestatement()SyntaxTokenwhileToken()-
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:
doTokenin interfaceDoWhileStatementTree
-
statement
public StatementTree statement()
- Specified by:
statementin interfaceDoWhileStatementTree
-
whileToken
public SyntaxToken whileToken()
- Specified by:
whileTokenin interfaceDoWhileStatementTree
-
condition
public ParenthesisedExpressionTree condition()
- Specified by:
conditionin interfaceDoWhileStatementTree
-
eosToken
public SyntaxToken eosToken()
- Specified by:
eosTokenin interfaceDoWhileStatementTree
-
childrenIterator
public Iterator<Tree> childrenIterator()
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
public void accept(VisitorCheck visitor)
-
-