Class ThrowStatementTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.statement.ThrowStatementTreeImpl
-
- All Implemented Interfaces:
StatementTree
,ThrowStatementTree
,Tree
public class ThrowStatementTreeImpl extends PHPTree implements ThrowStatementTree
-
-
Constructor Summary
Constructors Constructor Description ThrowStatementTreeImpl(ThrowExpressionTree throwExpression, SyntaxToken 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.SyntaxToken
eosToken()
ExpressionTree
expression()
Tree.Kind
getKind()
SyntaxToken
throwToken()
-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
ThrowStatementTreeImpl
public ThrowStatementTreeImpl(ThrowExpressionTree throwExpression, SyntaxToken eosToken)
-
-
Method Detail
-
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
-
throwToken
public SyntaxToken throwToken()
- Specified by:
throwToken
in interfaceThrowStatementTree
-
expression
public ExpressionTree expression()
- Specified by:
expression
in interfaceThrowStatementTree
-
eosToken
public SyntaxToken eosToken()
- Specified by:
eosToken
in interfaceThrowStatementTree
-
accept
public void accept(VisitorCheck visitor)
-
-