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.OperatorType
UNKNOWN
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, getOperatorStart
copyForInitializer, hasParenthesis, isDynamicExpression, resolve, resolveType
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getNodeID, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
IExpressionNode getLeftOperandNode()
IExpressionNode getRightOperandNode()
Copyright © 2016 The Apache Software Foundation. All rights reserved.