public interface IUnaryOperatorNode extends IOperatorNode
The typical shape of this node is:
IUnaryOperatorNode IExpressionNode <-- getOperandNode()For example,
-a
is represented as
IUnaryOperatorNode "-" IIdentifierNode "a"
IOperatorNode.ExpressionType, IOperatorNode.OperatorType
UNKNOWN
Modifier and Type | Method and Description |
---|---|
IExpressionNode |
getOperandNode()
Get expression acted on by the unary 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 getOperandNode()
IExpressionNode
Copyright © 2016 The Apache Software Foundation. All rights reserved.