Class ConstantDeclarationTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.declaration.ConstantDeclarationTreeImpl
-
- All Implemented Interfaces:
ConstantDeclarationTree
,StatementTree
,Tree
public class ConstantDeclarationTreeImpl extends PHPTree implements ConstantDeclarationTree
-
-
Constructor Summary
Constructors Constructor Description ConstantDeclarationTreeImpl(SyntaxToken constToken, SeparatedListImpl<VariableDeclarationTree> declarations, InternalSyntaxToken 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
constToken()
SeparatedListImpl<VariableDeclarationTree>
declarations()
SyntaxToken
eosToken()
Tree.Kind
getKind()
-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
ConstantDeclarationTreeImpl
public ConstantDeclarationTreeImpl(SyntaxToken constToken, SeparatedListImpl<VariableDeclarationTree> declarations, InternalSyntaxToken eosToken)
-
-
Method Detail
-
constToken
public SyntaxToken constToken()
- Specified by:
constToken
in interfaceConstantDeclarationTree
-
declarations
public SeparatedListImpl<VariableDeclarationTree> declarations()
- Specified by:
declarations
in interfaceConstantDeclarationTree
-
eosToken
public SyntaxToken eosToken()
- Specified by:
eosToken
in interfaceConstantDeclarationTree
-
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
-
accept
public void accept(VisitorCheck visitor)
-
-