Class BinaryExpressionTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.expression.BinaryExpressionTreeImpl
- All Implemented Interfaces:
BinaryExpressionTree
,ExpressionTree
,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionBinaryExpressionTreeImpl
(Tree.Kind kind, ExpressionTree leftOperand, InternalSyntaxToken operator, ExpressionTree rightOperand) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(VisitorCheck visitor) Creates iterator for children of this node.getKind()
operator()
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
BinaryExpressionTreeImpl
public BinaryExpressionTreeImpl(Tree.Kind kind, ExpressionTree leftOperand, InternalSyntaxToken operator, ExpressionTree rightOperand)
-
-
Method Details
-
leftOperand
- Specified by:
leftOperand
in interfaceBinaryExpressionTree
-
operator
- Specified by:
operator
in interfaceBinaryExpressionTree
-
rightOperand
- Specified by:
rightOperand
in interfaceBinaryExpressionTree
-
getKind
-
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
-