public interface IASTBinaryTypeIdExpression extends IASTExpression
Modifier and Type | Interface and Description |
---|---|
static class |
IASTBinaryTypeIdExpression.Operator
Built-in type traits of g++.
|
IASTExpression.ValueCategory
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static ASTNodeProperty |
OPERAND1 |
static ASTNodeProperty |
OPERAND2 |
EMPTY_EXPRESSION_ARRAY
EMPTY_NODE_ARRAY
Modifier and Type | Method and Description |
---|---|
IASTBinaryTypeIdExpression |
copy()
Returns a mutable copy of the tree rooted at this node.
|
IASTBinaryTypeIdExpression |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node.
|
IASTTypeId |
getOperand1()
Returns the first operand.
|
IASTTypeId |
getOperand2()
Returns the second operand, or
null if it was not provided (content assist). |
IASTBinaryTypeIdExpression.Operator |
getOperator()
Returns the operator for the expression.
|
void |
setOperand1(IASTTypeId typeId)
Sets the first operand.
|
void |
setOperand2(IASTTypeId typeId)
Sets the second operand.
|
void |
setOperator(IASTBinaryTypeIdExpression.Operator value)
Sets the operator for the expression.
|
getExpressionType, getValueCategory, isLValue
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
static final ASTNodeProperty OPERAND1
static final ASTNodeProperty OPERAND2
IASTBinaryTypeIdExpression.Operator getOperator()
IASTTypeId getOperand1()
IASTTypeId getOperand2()
null
if it was not provided (content assist).void setOperator(IASTBinaryTypeIdExpression.Operator value)
void setOperand1(IASTTypeId typeId)
void setOperand2(IASTTypeId typeId)
IASTBinaryTypeIdExpression 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 IASTExpression
copy
in interface IASTInitializerClause
copy
in interface IASTNode
IASTBinaryTypeIdExpression 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 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.Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.