Class VariableDeclarationTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.statement.VariableDeclarationTreeImpl
- All Implemented Interfaces:
VariableDeclarationTree
,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionVariableDeclarationTreeImpl
(IdentifierTree identifier, InternalSyntaxToken equalToken, ExpressionTree initialisation) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(VisitorCheck visitor) Creates iterator for children of this node.getKind()
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
VariableDeclarationTreeImpl
public VariableDeclarationTreeImpl(IdentifierTree identifier, @Nullable InternalSyntaxToken equalToken, @Nullable ExpressionTree initialisation)
-
-
Method Details
-
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
-
identifier
- Specified by:
identifier
in interfaceVariableDeclarationTree
-
equalToken
- Specified by:
equalToken
in interfaceVariableDeclarationTree
-
initValue
- Specified by:
initValue
in interfaceVariableDeclarationTree
-
accept
-