Class GotoStatementTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.statement.GotoStatementTreeImpl
-
- All Implemented Interfaces:
GotoStatementTree,StatementTree,Tree
public class GotoStatementTreeImpl extends PHPTree implements GotoStatementTree
-
-
Constructor Summary
Constructors Constructor Description GotoStatementTreeImpl(InternalSyntaxToken gotoToken, NameIdentifierTree identifier, 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.SyntaxTokeneosToken()Tree.KindgetKind()SyntaxTokengotoToken()NameIdentifierTreeidentifier()-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
GotoStatementTreeImpl
public GotoStatementTreeImpl(InternalSyntaxToken gotoToken, NameIdentifierTree identifier, InternalSyntaxToken eosToken)
-
-
Method Detail
-
gotoToken
public SyntaxToken gotoToken()
- Specified by:
gotoTokenin interfaceGotoStatementTree
-
identifier
public NameIdentifierTree identifier()
- Specified by:
identifierin interfaceGotoStatementTree
-
eosToken
public SyntaxToken eosToken()
- Specified by:
eosTokenin interfaceGotoStatementTree
-
accept
public void accept(VisitorCheck visitor)
-
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
-
-