public interface IASTTypeIdExpression extends IASTExpression
IASTExpression.ValueCategory
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static int |
op_alignof
For gnu-parsers, only.
|
static int |
op_has_nothrow_assign
Built-in type trait of g++.
|
static int |
op_has_nothrow_constructor
Built-in type trait of g++.
|
static int |
op_has_nothrow_copy
Built-in type trait of g++.
|
static int |
op_has_trivial_assign
Built-in type trait of g++.
|
static int |
op_has_trivial_constructor
Built-in type trait of g++.
|
static int |
op_has_trivial_copy
Built-in type trait of g++.
|
static int |
op_has_trivial_destructor
Built-in type trait of g++.
|
static int |
op_has_virtual_destructor
Built-in type trait of g++.
|
static int |
op_is_abstract
Built-in type trait of g++.
|
static int |
op_is_class
Built-in type trait of g++.
|
static int |
op_is_empty
Built-in type trait of g++.
|
static int |
op_is_enum
Built-in type trait of g++.
|
static int |
op_is_final
Built-in type trait of g++.
|
static int |
op_is_literal_type
Built-in type trait of g++.
|
static int |
op_is_pod
Built-in type trait of g++.
|
static int |
op_is_polymorphic
Built-in type trait of g++.
|
static int |
op_is_standard_layout
Built-in type trait of g++.
|
static int |
op_is_trivial
Built-in type trait of g++.
|
static int |
op_is_trivially_copyable
Built-in type trait of g++.
|
static int |
op_is_union
Built-in type trait of g++.
|
static int |
op_sizeof
op_sizeof sizeof (typeId) expression |
static int |
op_sizeofParameterPack
op_sizeofParameterPack is used for sizeof... |
static int |
op_typeid
For c++, only.
|
static int |
op_typeof
For gnu-parsers, only.
|
static ASTNodeProperty |
TYPE_ID
TYPEID represents the relationship between an IASTTypeIdExpression and
it's nested IASTTypeId . |
EMPTY_EXPRESSION_ARRAY
EMPTY_NODE_ARRAY
Modifier and Type | Method and Description |
---|---|
IASTTypeIdExpression |
copy()
Returns a mutable copy of the tree rooted at this node.
|
IASTTypeIdExpression |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node.
|
int |
getOperator()
Returns the operator for the expression.
|
IASTTypeId |
getTypeId()
Get the type Id.
|
void |
setOperator(int value)
Sets the operator for the expression.
|
void |
setTypeId(IASTTypeId typeId)
Set the type Id.
|
getExpressionType, getValueCategory, isLValue
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
static final int op_sizeof
op_sizeof
sizeof (typeId) expressionstatic final int op_typeid
static final int op_alignof
op_alignOf
is used for __alignOf( typeId ) type expressions.static final int op_typeof
op_typeof
is used for typeof( typeId ) type expressions.static final int op_has_nothrow_assign
static final int op_has_nothrow_copy
static final int op_has_nothrow_constructor
static final int op_has_trivial_assign
static final int op_has_trivial_copy
static final int op_has_trivial_constructor
static final int op_has_trivial_destructor
static final int op_has_virtual_destructor
static final int op_is_abstract
static final int op_is_class
static final int op_is_empty
static final int op_is_enum
static final int op_is_pod
static final int op_is_polymorphic
static final int op_is_union
static final int op_is_literal_type
static final int op_is_standard_layout
static final int op_is_trivial
static final int op_sizeofParameterPack
op_sizeofParameterPack
is used for sizeof... ( typeid ) expressions.static final int op_is_final
static final int op_is_trivially_copyable
static final ASTNodeProperty TYPE_ID
TYPEID
represents the relationship between an IASTTypeIdExpression
and
it's nested IASTTypeId
.int getOperator()
void setOperator(int value)
value
- intvoid setTypeId(IASTTypeId typeId)
typeId
- IASTTypeId getTypeId()
IASTTypeIdExpression 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
IASTTypeIdExpression 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.