public final class BinaryOperatorMultiplicationAssignmentNode extends BinaryOperatorMultiplicationNode implements ICompoundAssignmentNode
BinaryOperatorNodeBase for the '*=' operator.IOperatorNode.ExpressionType, IOperatorNode.OperatorTypeleftOperandNode, rightOperandNodeoperatorStartflagsemptyNodeArray, parentUNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
BinaryOperatorMultiplicationAssignmentNode(BinaryOperatorMultiplicationAssignmentNode other)
Copy constructor.
|
|
BinaryOperatorMultiplicationAssignmentNode(IASToken operatorToken,
ExpressionNodeBase leftOperand,
ExpressionNodeBase rightOperand)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected BinaryOperatorMultiplicationAssignmentNode |
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 BinaryOperatorMultiplicationAssignmentNode(IASToken operatorToken, ExpressionNodeBase leftOperand, ExpressionNodeBase rightOperand)
protected BinaryOperatorMultiplicationAssignmentNode(BinaryOperatorMultiplicationAssignmentNode other)
other - The node to copy.public ASTNodeID getNodeID()
IASNodegetNodeID in interface IASNodegetNodeID in class BinaryOperatorMultiplicationNodepublic ITypeDefinition resolveType(ICompilerProject project)
IExpressionNoderesolveType in interface IExpressionNoderesolveType in class BinaryOperatorMultiplicationNodeproject - The ICompilerProject to use to do lookups.ITypeDefinition of the type this expression results in.protected BinaryOperatorMultiplicationAssignmentNode copy()
ExpressionNodeBasecopy in class BinaryOperatorMultiplicationNodepublic IOperatorNode.OperatorType getOperator()
IOperatorNodegetOperator in interface IOperatorNodegetOperator in class BinaryOperatorMultiplicationNodepublic 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.