public interface IASTTypeIdExpression extends IASTExpression
IASTExpression.ValueCategoryIASTNode.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_union
Built-in type trait of g++.
|
static int |
op_last
Deprecated.
constants should be declared here, to avoid using the same constant in different
interfaces.
|
static int |
op_sizeof
op_sizeof sizeof (typeId) expression |
static int |
op_sizeofParameterPack
op_sizeofParameterPack is used for sizeof... ( typeid ) expressions. |
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_ARRAYEMPTY_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()
Get the operator for the expression.
|
IASTTypeId |
getTypeId()
Get the type Id.
|
void |
setOperator(int value)
Set the operator for the expression.
|
void |
setTypeId(IASTTypeId typeId)
Set the type Id.
|
getExpressionType, getValueCategory, isLValueaccept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParentstatic 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
@Deprecated static final int op_last
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()
IASTNodecopy.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 IASTExpressioncopy in interface IASTInitializerClausecopy in interface IASTNodeIASTTypeIdExpression copy(IASTNode.CopyStyle style)
IASTNodecopy.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 IASTExpressioncopy in interface IASTInitializerClausecopy in interface IASTNodestyle - 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, 2014. All Rights Reserved.