public final class UnaryOperatorPreDecrementNode extends UnaryOperatorNodeBase
UnaryOperatorNodeBase for the prefix '--' operator.IOperatorNode.ExpressionType, IOperatorNode.OperatorTypeoperatorStartflagsemptyNodeArray, parentUNKNOWN| Modifier | Constructor and Description |
|---|---|
|
UnaryOperatorPreDecrementNode(IASToken operatorToken,
ExpressionNodeBase operand)
Constructor.
|
protected |
UnaryOperatorPreDecrementNode(UnaryOperatorPreDecrementNode other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected UnaryOperatorPreDecrementNode |
copy()
Copy the ExpressionNodeBase and its subtree.
|
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, getExpressionType, getOperandNode, isDynamicExpression, resolveIncrementOrDecrementType, setChildren, setExpressionbuildInnerString, getOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStart, getOperatorText, isTerminalcomputeNamespaceReference, copyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getMName, getParentExpression, hasParenthesis, inFilter, inWith, isPackageReference, normalize, resolve, setHasParenthesisanalyze, 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, verifygetColumn, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, spanclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStartcopyForInitializer, hasParenthesis, resolvecontains, getAncestorOfType, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic UnaryOperatorPreDecrementNode(IASToken operatorToken, ExpressionNodeBase operand)
protected UnaryOperatorPreDecrementNode(UnaryOperatorPreDecrementNode other)
other - The node to copy.public ASTNodeID getNodeID()
IASNodepublic ITypeDefinition resolveType(ICompilerProject project)
IExpressionNoderesolveType in interface IExpressionNoderesolveType in class UnaryOperatorNodeBaseproject - The ICompilerProject to use to do lookups.ITypeDefinition of the type this expression results in.protected UnaryOperatorPreDecrementNode copy()
ExpressionNodeBasecopy in class ExpressionNodeBasepublic IOperatorNode.OperatorType getOperator()
IOperatorNodeCopyright © 2016 The Apache Software Foundation. All rights reserved.