Class LexicalVariablesTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.expression.LexicalVariablesTreeImpl
- All Implemented Interfaces:
ExpressionTree
,LexicalVariablesTree
,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionLexicalVariablesTreeImpl
(InternalSyntaxToken useToken, InternalSyntaxToken openParenthesisToken, SeparatedListImpl variables, InternalSyntaxToken closeParenthesisToken) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(VisitorCheck visitor) Creates iterator for children of this node.getKind()
useToken()
Variables can be:Reference variable
Variable identifier
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
LexicalVariablesTreeImpl
public LexicalVariablesTreeImpl(InternalSyntaxToken useToken, InternalSyntaxToken openParenthesisToken, SeparatedListImpl variables, InternalSyntaxToken closeParenthesisToken)
-
-
Method Details
-
useToken
- Specified by:
useToken
in interfaceLexicalVariablesTree
-
openParenthesisToken
- Specified by:
openParenthesisToken
in interfaceLexicalVariablesTree
-
variables
Description copied from interface:LexicalVariablesTree
Variables can be:- Specified by:
variables
in interfaceLexicalVariablesTree
-
closeParenthesisToken
- Specified by:
closeParenthesisToken
in interfaceLexicalVariablesTree
-
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
-