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 TypeMethodDescriptionvoidaccept(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:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
identifier
- Specified by:
identifierin interfaceVariableDeclarationTree
-
equalToken
- Specified by:
equalTokenin interfaceVariableDeclarationTree
-
initValue
- Specified by:
initValuein interfaceVariableDeclarationTree
-
accept
-