Class GlobalStatementTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.statement.GlobalStatementTreeImpl
-
- All Implemented Interfaces:
GlobalStatementTree,StatementTree,Tree
public class GlobalStatementTreeImpl extends PHPTree implements GlobalStatementTree
-
-
Constructor Summary
Constructors Constructor Description GlobalStatementTreeImpl(InternalSyntaxToken globalToken, SeparatedListImpl<VariableTree> variables, 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()SyntaxTokenglobalToken()SeparatedListImpl<VariableTree>variables()-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
GlobalStatementTreeImpl
public GlobalStatementTreeImpl(InternalSyntaxToken globalToken, SeparatedListImpl<VariableTree> variables, InternalSyntaxToken eosToken)
-
-
Method Detail
-
globalToken
public SyntaxToken globalToken()
- Specified by:
globalTokenin interfaceGlobalStatementTree
-
variables
public SeparatedListImpl<VariableTree> variables()
Description copied from interface:GlobalStatementTreeMembers can be:- Specified by:
variablesin interfaceGlobalStatementTree
-
eosToken
public SyntaxToken eosToken()
- Specified by:
eosTokenin interfaceGlobalStatementTree
-
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)
-
-