public final class BinaryOperatorModuloAssignmentNode extends BinaryOperatorModuloNode implements ICompoundAssignmentNode
BinaryOperatorNodeBase for the '%=' operator.IOperatorNode.ExpressionType, IOperatorNode.OperatorTypeleftOperandNode, rightOperandNodeoperatorStartflagsemptyNodeArray, parentUNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
BinaryOperatorModuloAssignmentNode(BinaryOperatorModuloAssignmentNode other)
Copy constructor.
|
|
BinaryOperatorModuloAssignmentNode(IASToken operatorToken,
ExpressionNodeBase leftOperand,
ExpressionNodeBase rightOperand)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected BinaryOperatorModuloAssignmentNode |
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.
|
ITypeDefinition |
resolveTypeOfRValue(ICompilerProject project)
Determines the compile-time type of the r-value
of the assignment.
|
create, fillInOffsets, getChild, getChildCount, getExpressionType, getLeftOperandNode, getRightOperandNode, isOperatingOnArray, resolveAssignmentType, resolveLogicalType, setChildren, setLeftOperandNode, setRightOperandNodebuildInnerString, getOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStart, getOperatorText, isTerminalcomputeNamespaceReference, copyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getMName, getParentExpression, hasParenthesis, inFilter, inWith, isDynamicExpression, 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, isDynamicExpression, resolvecontains, getAncestorOfType, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic BinaryOperatorModuloAssignmentNode(IASToken operatorToken, ExpressionNodeBase leftOperand, ExpressionNodeBase rightOperand)
protected BinaryOperatorModuloAssignmentNode(BinaryOperatorModuloAssignmentNode other)
other - the node to copypublic ASTNodeID getNodeID()
IASNodegetNodeID in interface IASNodegetNodeID in class BinaryOperatorModuloNodepublic ITypeDefinition resolveType(ICompilerProject project)
IExpressionNoderesolveType in interface IExpressionNoderesolveType in class BinaryOperatorModuloNodeproject - The ICompilerProject to use to do lookups.ITypeDefinition of the type this expression results in.protected BinaryOperatorModuloAssignmentNode copy()
ExpressionNodeBasecopy in class BinaryOperatorModuloNodepublic IOperatorNode.OperatorType getOperator()
IOperatorNodegetOperator in interface IOperatorNodegetOperator in class BinaryOperatorModuloNodepublic ITypeDefinition resolveTypeOfRValue(ICompilerProject project)
ICompoundAssignmentNode
For example, for a += b this is the type
of a + b.
resolveTypeOfRValue in interface ICompoundAssignmentNodeproject - The ICompilerProject to use to do lookups.ITypeDefinition of the type of the r-value.Copyright © 2016 The Apache Software Foundation. All rights reserved.