Class StaticStatementTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.statement.StaticStatementTreeImpl
-
- All Implemented Interfaces:
StatementTree,StaticStatementTree,Tree
public class StaticStatementTreeImpl extends PHPTree implements StaticStatementTree
-
-
Constructor Summary
Constructors Constructor Description StaticStatementTreeImpl(InternalSyntaxToken staticToken, SeparatedListImpl<VariableDeclarationTree> 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()SyntaxTokenstaticToken()SeparatedListImpl<VariableDeclarationTree>variables()-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
StaticStatementTreeImpl
public StaticStatementTreeImpl(InternalSyntaxToken staticToken, SeparatedListImpl<VariableDeclarationTree> variables, InternalSyntaxToken eosToken)
-
-
Method Detail
-
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
-
staticToken
public SyntaxToken staticToken()
- Specified by:
staticTokenin interfaceStaticStatementTree
-
variables
public SeparatedListImpl<VariableDeclarationTree> variables()
- Specified by:
variablesin interfaceStaticStatementTree
-
eosToken
public SyntaxToken eosToken()
- Specified by:
eosTokenin interfaceStaticStatementTree
-
accept
public void accept(VisitorCheck visitor)
-
-