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