Class ConstantDeclarationTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.declaration.ConstantDeclarationTreeImpl
- All Implemented Interfaces:
ConstantDeclarationTree,StatementTree,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionConstantDeclarationTreeImpl(SyntaxToken constToken, SeparatedListImpl<VariableDeclarationTree> declarations, InternalSyntaxToken eosToken) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(VisitorCheck visitor) Creates iterator for children of this node.eosToken()getKind()Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
ConstantDeclarationTreeImpl
public ConstantDeclarationTreeImpl(SyntaxToken constToken, SeparatedListImpl<VariableDeclarationTree> declarations, InternalSyntaxToken eosToken)
-
-
Method Details
-
constToken
- Specified by:
constTokenin interfaceConstantDeclarationTree
-
declarations
- Specified by:
declarationsin interfaceConstantDeclarationTree
-
eosToken
- Specified by:
eosTokenin interfaceConstantDeclarationTree
-
getKind
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
-