public interface IBinaryOperatorNode extends IOperatorNode
The typical shape of this node is:
IBinaryOperatorNode IExpressionNode <-- getLeftOperandNode() IExpressionNode <-- getRightOperandNode()For example,
a = b + c is represented as
IBinaryOperatorNode "="
IIdentifierNode "a"
IBinaryOperatorNode "+"
IIdentifierNode "b"
IIdentifierNOde "c"
IOperatorNode.ExpressionType, IOperatorNode.OperatorTypeUNKNOWN| Modifier and Type | Method and Description |
|---|---|
IExpressionNode |
getLeftOperandNode()
Get expression to the left of the operator
|
IExpressionNode |
getRightOperandNode()
Get expression to the right of the operator
|
getExpressionType, getOperator, getOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStartcopyForInitializer, hasParenthesis, isDynamicExpression, resolve, resolveTypecontains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getNodeID, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartIExpressionNode getLeftOperandNode()
IExpressionNode getRightOperandNode()
Copyright © 2016 The Apache Software Foundation. All rights reserved.