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