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 voidaccept(VisitorCheck visitor)Iterator<Tree>childrenIterator()Creates iterator for children of this node.SyntaxTokenconstToken()SeparatedListImpl<VariableDeclarationTree>declarations()SyntaxTokeneosToken()Tree.KindgetKind()-
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:
constTokenin interfaceConstantDeclarationTree
-
declarations
public SeparatedListImpl<VariableDeclarationTree> declarations()
- Specified by:
declarationsin interfaceConstantDeclarationTree
-
eosToken
public SyntaxToken eosToken()
- Specified by:
eosTokenin interfaceConstantDeclarationTree
-
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)
-
-