Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast.gnu
Interface IGNUASTTypeIdExpression

All Superinterfaces:
IASTExpression, IASTNode, IASTTypeIdExpression

public interface IGNUASTTypeIdExpression
extends IASTTypeIdExpression

There are GNU language extensions that apply to both GCC and G++. Unary expressions for _alignOf() and typeof() along the lines of sizeof().


Field Summary
static int op_alignof
          op_alignOf is used for __alignOf( typeId ) type expressions.
static int op_last
          Deprecated. all constants must be declared in IASTTypeIdExpression
static int op_typeof
          op_typeof is used for typeof( typeId ) type expressions.
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTTypeIdExpression
op_sizeof, op_typeid, TYPE_ID
 
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
 IGNUASTTypeIdExpression copy()
          Returns a mutable copy of the tree rooted at this node.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTTypeIdExpression
getOperator, getTypeId, setOperator, setTypeId
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTExpression
getExpressionType
 
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

op_typeof

static final int op_typeof
op_typeof is used for typeof( typeId ) type expressions.

See Also:
Constant Field Values

op_alignof

static final int op_alignof
op_alignOf is used for __alignOf( typeId ) type expressions.

See Also:
Constant Field Values

op_last

@Deprecated
static final int op_last
Deprecated. all constants must be declared in IASTTypeIdExpression
See Also:
Constant Field Values
Method Detail

copy

IGNUASTTypeIdExpression copy()
Description copied from interface: IASTNode
Returns a mutable copy of the tree rooted at this node. The following postconditions hold: 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.

Specified by:
copy in interface IASTExpression
Specified by:
copy in interface IASTNode
Specified by:
copy in interface IASTTypeIdExpression
Since:
5.1

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.