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 TypeMethodDescriptionvoidaccept(VisitorCheck visitor) Creates iterator for children of this node.getKind()useToken()Variables can be:Reference variableVariable identifierMethods 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:
useTokenin interfaceLexicalVariablesTree
-
openParenthesisToken
- Specified by:
openParenthesisTokenin interfaceLexicalVariablesTree
-
variables
Description copied from interface:LexicalVariablesTreeVariables can be:- Specified by:
variablesin interfaceLexicalVariablesTree
-
closeParenthesisToken
- Specified by:
closeParenthesisTokenin interfaceLexicalVariablesTree
-
getKind
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
-