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 voidaccept(VisitorCheck visitor)Iterator<Tree>childrenIterator()Creates iterator for children of this node.List<SyntaxToken>dollarTokens()Tree.KindgetKind()ExpressionTreevariableExpression()-
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:
dollarTokensin interfaceVariableVariableTree
-
variableExpression
public ExpressionTree variableExpression()
- Specified by:
variableExpressionin interfaceVariableTree- Specified by:
variableExpressionin interfaceVariableVariableTree
-
childrenIterator
public Iterator<Tree> childrenIterator()
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
public void accept(VisitorCheck visitor)
-
-