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
ConstructorsConstructorDescriptionBinaryExpressionTreeImpl(Tree.Kind kind, ExpressionTree leftOperand, InternalSyntaxToken operator, ExpressionTree rightOperand) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(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:
leftOperandin interfaceBinaryExpressionTree
-
operator
- Specified by:
operatorin interfaceBinaryExpressionTree
-
rightOperand
- Specified by:
rightOperandin interfaceBinaryExpressionTree
-
getKind
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
-