public interface ICPPASTBinaryExpression extends IASTBinaryExpression, ICPPASTExpression, IASTImplicitNameOwner
IASTExpression.ValueCategory
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static int |
op_last
Deprecated.
all constants must be defined in
IASTBinaryExpression , to avoid
duplicate usage of the same constant. |
static int |
op_pmarrow
op_pmarrow pointer-to-member pointer dereference. |
static int |
op_pmdot
op_pmdot pointer-to-member field dereference. |
op_assign, op_binaryAnd, op_binaryAndAssign, op_binaryOr, op_binaryOrAssign, op_binaryXor, op_binaryXorAssign, op_divide, op_divideAssign, op_ellipses, op_equals, op_greaterEqual, op_greaterThan, op_lessEqual, op_lessThan, op_logicalAnd, op_logicalOr, op_max, op_min, op_minus, op_minusAssign, op_modulo, op_moduloAssign, op_multiply, op_multiplyAssign, op_notequals, op_plus, op_plusAssign, op_shiftLeft, op_shiftLeftAssign, op_shiftRight, op_shiftRightAssign, OPERAND_ONE, OPERAND_TWO
EMPTY_EXPRESSION_ARRAY
EMPTY_NODE_ARRAY
IMPLICIT_DESTRUCTOR_NAME
IMPLICIT_NAME
Modifier and Type | Method and Description |
---|---|
ICPPASTBinaryExpression |
copy()
Returns a mutable copy of the tree rooted at this node.
|
ICPPASTBinaryExpression |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node.
|
ICPPFunction |
getOverload()
Returns the function binding for the overloaded operator, or
null if
the operator is not overloaded. |
getInitOperand2, getOperand1, getOperand2, getOperator, setOperand1, setOperand2, setOperator
getExpressionType, getValueCategory, isLValue
getEvaluation
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
getImplicitDestructorNames
getImplicitNames
static final int op_pmdot
op_pmdot
pointer-to-member field dereference.static final int op_pmarrow
op_pmarrow
pointer-to-member pointer dereference.@Deprecated static final int op_last
IASTBinaryExpression
, to avoid
duplicate usage of the same constant.ICPPASTBinaryExpression copy()
IASTNode
copy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == falsePreprocessor nodes do not currently support being copied. Implicit name nodes are not copied, instead they can be regenerated if required.
Calling this method is equivalent to copy(CopyStyle.withoutLocations)
.
copy
in interface IASTBinaryExpression
copy
in interface IASTExpression
copy
in interface IASTInitializerClause
copy
in interface IASTNode
ICPPASTBinaryExpression copy(IASTNode.CopyStyle style)
IASTNode
copy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == falsePreprocessor nodes do not currently support being copied. Implicit name nodes are not copied, instead they can be regenerated if required.
copy
in interface IASTBinaryExpression
copy
in interface IASTExpression
copy
in interface IASTInitializerClause
copy
in interface IASTNode
style
- IASTNode.CopyStyle
create a copy with or without locations. Please see
IASTNode.CopyStyle
for restrictions on copies with Locations.ICPPFunction getOverload()
null
if
the operator is not overloaded.Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.