|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IASTTypeIdExpression
Field Summary | |
---|---|
static int |
op_alignof
For gnu-parsers, only. |
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_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 . |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTExpression |
---|
EMPTY_EXPRESSION_ARRAY |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Method Summary | |
---|---|
IASTTypeIdExpression |
copy()
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. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTExpression |
---|
getExpressionType, isLValue |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
Field Detail |
---|
static final int op_sizeof
op_sizeof
sizeof( typeId ) expression
static 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.
@Deprecated static final int op_last
static final ASTNodeProperty TYPE_ID
TYPEID
represents the relationship between an IASTTypeIdExpression
and
it's nested IASTTypeId
.
Method Detail |
---|
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() == false
Preprocessor 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
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |