public final class UnaryOperatorPostIncrementNode extends UnaryOperatorPostfixNodeBase
UnaryOperatorNodeBase
for the postfix '++
' operator.IOperatorNode.ExpressionType, IOperatorNode.OperatorType
operatorStart
flags
emptyNodeArray, parent
UNKNOWN
Modifier | Constructor and Description |
---|---|
|
UnaryOperatorPostIncrementNode(IASToken operatorToken,
ExpressionNodeBase operand)
Constructor.
|
protected |
UnaryOperatorPostIncrementNode(UnaryOperatorPostIncrementNode other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
protected UnaryOperatorPostIncrementNode |
copy()
Copy the ExpressionNodeBase and its subtree.
|
IOperatorNode.ExpressionType |
getExpressionType()
Returns the type of expression that is represented by this node
|
ASTNodeID |
getNodeID()
Get the opcode of this node
|
IOperatorNode.OperatorType |
getOperator()
Returns the type of the operator that is referenced from this expression
|
ITypeDefinition |
resolveType(ICompilerProject project)
The type of the result of this expression.
|
createPostfix, createPrefix, fillInOffsets, getChild, getChildCount, getOperandNode, isDynamicExpression, resolveIncrementOrDecrementType, setChildren, setExpression
buildInnerString, getOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStart, getOperatorText, isTerminal
computeNamespaceReference, copyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getMName, getParentExpression, hasParenthesis, inFilter, inWith, isPackageReference, normalize, resolve, setHasParenthesis
analyze, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, contains, endAfter, endAfter, endBefore, endBefore, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getFileSpecification, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTransparent, looselyContains, replaceChild, runPostProcess, setParent, span, span, span, startAfter, startAfter, startBefore, startBefore, swapChildren, toString, tryGetOffsetLookup, verify
getColumn, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, span
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStart
copyForInitializer, hasParenthesis, resolve
contains, getAncestorOfType, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
public UnaryOperatorPostIncrementNode(IASToken operatorToken, ExpressionNodeBase operand)
protected UnaryOperatorPostIncrementNode(UnaryOperatorPostIncrementNode other)
other
- The node to copy.public ASTNodeID getNodeID()
IASNode
public ITypeDefinition resolveType(ICompilerProject project)
IExpressionNode
resolveType
in interface IExpressionNode
resolveType
in class UnaryOperatorNodeBase
project
- The ICompilerProject
to use to do lookups.ITypeDefinition
of the type this expression results in.protected UnaryOperatorPostIncrementNode copy()
ExpressionNodeBase
copy
in class ExpressionNodeBase
public IOperatorNode.OperatorType getOperator()
IOperatorNode
public IOperatorNode.ExpressionType getExpressionType()
IOperatorNode
getExpressionType
in interface IOperatorNode
getExpressionType
in class UnaryOperatorNodeBase
Copyright © 2016 The Apache Software Foundation. All rights reserved.