Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast.c
Interface ICASTSimpleDeclSpecifier

All Superinterfaces:
IASTDeclSpecifier, IASTNode, IASTSimpleDeclSpecifier, ICASTDeclSpecifier
All Known Subinterfaces:
IGCCASTSimpleDeclSpecifier

public interface ICASTSimpleDeclSpecifier
extends IASTSimpleDeclSpecifier, ICASTDeclSpecifier

This interface represents a built-in type in C.


Field Summary
static int t_Bool
          t_Bool boolean. e.g.
static int t_last
          t_last is defined for sub-interfaces.
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTSimpleDeclSpecifier
t_char, t_double, t_float, t_int, t_unspecified, t_void
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier
sc_auto, sc_extern, sc_last, sc_register, sc_static, sc_typedef, sc_unspecified
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier
sc_auto, sc_extern, sc_last, sc_register, sc_static, sc_typedef, sc_unspecified
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 boolean isComplex()
          Is complex number?
 boolean isImaginary()
          Is imaginary number?
 boolean isLongLong()
          Is long long?
 void setComplex(boolean value)
          Set the number to be complex.
 void setImaginary(boolean value)
          Set the number to be imaginary.
 void setLongLong(boolean value)
          Set long long to be 'value'.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTSimpleDeclSpecifier
getType, isLong, isShort, isSigned, isUnsigned, setLong, setShort, setSigned, setType, setUnsigned
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier
getRawSignature, getStorageClass, isConst, isInline, isVolatile, setConst, setInline, setStorageClass, setVolatile
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getTranslationUnit, setParent, setPropertyInParent
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.c.ICASTDeclSpecifier
isRestrict, setRestrict
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier
getRawSignature, getStorageClass, isConst, isInline, isVolatile, setConst, setInline, setStorageClass, setVolatile
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getTranslationUnit, setParent, setPropertyInParent
 

Field Detail

t_Bool

static final int t_Bool
t_Bool boolean. e.g. _Bool x;

See Also:
Constant Field Values

t_last

static final int t_last
t_last is defined for sub-interfaces.

See Also:
Constant Field Values
Method Detail

isComplex

boolean isComplex()
Is complex number? e.g. _Complex t;

Returns:
true if it is a complex number, false otherwise

setComplex

void setComplex(boolean value)
Set the number to be complex.

Parameters:
value - true if it is a complex number, false otherwise

isImaginary

boolean isImaginary()
Is imaginary number? e.g. _Imaginr

Returns:
true if it is an imaginary number, false otherwise

setImaginary

void setImaginary(boolean value)
Set the number to be imaginary.

Parameters:
value - true if it is an imaginary number, false otherwise

isLongLong

boolean isLongLong()
Is long long?

Returns:
boolean

setLongLong

void setLongLong(boolean value)
Set long long to be 'value'.

Parameters:
value - boolean

Eclipse CDT
Pre-release 3.0

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