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
ConstructorDescriptionConstantDeclarationTreeImpl
(SyntaxToken constToken, SeparatedListImpl<VariableDeclarationTree> declarations, InternalSyntaxToken eosToken) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(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:
constToken
in interfaceConstantDeclarationTree
-
declarations
- Specified by:
declarations
in interfaceConstantDeclarationTree
-
eosToken
- Specified by:
eosToken
in interfaceConstantDeclarationTree
-
getKind
-
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
-