Class VariableVariableTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.expression.VariableVariableTreeImpl
-
- All Implemented Interfaces:
ExpressionTree
,VariableTree
,VariableVariableTree
,Tree
public class VariableVariableTreeImpl extends PHPTree implements VariableVariableTree
-
-
Constructor Summary
Constructors Constructor Description VariableVariableTreeImpl(List<InternalSyntaxToken> dollars, ExpressionTree variable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(VisitorCheck visitor)
Iterator<Tree>
childrenIterator()
Creates iterator for children of this node.List<SyntaxToken>
dollarTokens()
Tree.Kind
getKind()
ExpressionTree
variableExpression()
-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
VariableVariableTreeImpl
public VariableVariableTreeImpl(List<InternalSyntaxToken> dollars, ExpressionTree variable)
-
-
Method Detail
-
dollarTokens
public List<SyntaxToken> dollarTokens()
- Specified by:
dollarTokens
in interfaceVariableVariableTree
-
variableExpression
public ExpressionTree variableExpression()
- Specified by:
variableExpression
in interfaceVariableTree
- Specified by:
variableExpression
in interfaceVariableVariableTree
-
childrenIterator
public Iterator<Tree> 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
public void accept(VisitorCheck visitor)
-
-