org.eclipse.cdt.core.dom.ast.gnu
Interface IGNUASTUnaryExpression
- All Superinterfaces:
- IASTExpression, IASTNode, IASTUnaryExpression
public interface IGNUASTUnaryExpression
- extends IASTUnaryExpression
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( unaryExpression ) type
expressions. |
static int |
op_last
Deprecated. all constants to be defined in IASTUnaryExpression . |
static int |
op_typeof
op_typeof is used for typeof( unaryExpression ) type
expressions. |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTUnaryExpression |
op_amper, op_bracketedPrimary, op_minus, op_not, op_plus, op_postFixDecr, op_postFixIncr, op_prefixDecr, op_prefixIncr, op_sizeof, op_star, op_throw, op_tilde, op_typeid, OPERAND |
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 |
op_typeof
static final int op_typeof
op_typeof
is used for typeof( unaryExpression ) type
expressions.
- See Also:
- Constant Field Values
op_alignOf
static final int op_alignOf
op_alignOf
is used for __alignOf( unaryExpression ) type
expressions.
- See Also:
- Constant Field Values
op_last
@Deprecated
static final int op_last
- Deprecated. all constants to be defined in
IASTUnaryExpression
.
- See Also:
- Constant Field Values
copy
IGNUASTUnaryExpression 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 IASTUnaryExpression
- Since:
- 5.1
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.