Class ReferenceVariableTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.expression.ReferenceVariableTreeImpl
-
- All Implemented Interfaces:
ExpressionTree,ReferenceVariableTree,VariableTree,Tree
public class ReferenceVariableTreeImpl extends PHPTree implements ReferenceVariableTree
-
-
Constructor Summary
Constructors Constructor Description ReferenceVariableTreeImpl(InternalSyntaxToken ampersandToken, ExpressionTree variableExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(VisitorCheck visitor)SyntaxTokenampersandToken()Iterator<Tree>childrenIterator()Creates iterator for children of this node.Tree.KindgetKind()ExpressionTreevariableExpression()-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
ReferenceVariableTreeImpl
public ReferenceVariableTreeImpl(InternalSyntaxToken ampersandToken, ExpressionTree variableExpression)
-
-
Method Detail
-
ampersandToken
public SyntaxToken ampersandToken()
- Specified by:
ampersandTokenin interfaceReferenceVariableTree
-
variableExpression
public ExpressionTree variableExpression()
- Specified by:
variableExpressionin interfaceReferenceVariableTree- Specified by:
variableExpressionin interfaceVariableTree
-
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)
-
-