|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPPASTSimpleDeclSpecifier
G++ adds its own modifiers and types to the Simple Decl Specifier.
Field Summary | |
---|---|
static int |
t_last
t_last is for subinterfaces to extend these types. |
static int |
t_typeof
t_typeof represents a typeof() expression type. |
static ASTNodeProperty |
TYPEOF_EXPRESSION
TYPEOF_EXPRESSION represents the relationship between the
decl spec & the expression for typeof(). |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPASTSimpleDeclSpecifier |
---|
t_bool, t_wchar_t |
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.cpp.ICPPASTDeclSpecifier |
---|
sc_last, sc_mutable |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier |
---|
sc_auto, sc_extern, sc_register, sc_static, sc_typedef, sc_unspecified |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Method Summary | |
---|---|
IGPPASTSimpleDeclSpecifier |
copy()
Returns a mutable copy of the tree rooted at this node. |
IASTExpression |
getTypeofExpression()
Get the typeof expression. |
boolean |
isComplex()
Is complex number? |
boolean |
isImaginary()
Is imaginary number? |
boolean |
isLongLong()
Did we encounter "long long" as a modifier? |
void |
setComplex(boolean value)
Set the number to be complex. |
void |
setImaginary(boolean value)
Set the number to be imaginary. |
void |
setLongLong(boolean value)
Encountered "long long" - set true or false. |
void |
setTypeofExpression(IASTExpression typeofExpression)
Set the typeof() expression. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.gnu.cpp.IGPPASTDeclSpecifier |
---|
isRestrict, setRestrict |
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.cpp.ICPPASTDeclSpecifier |
---|
isExplicit, isFriend, isVirtual, setExplicit, setFriend, setVirtual |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier |
---|
getStorageClass, isConst, isInline, isVolatile, setConst, setInline, setStorageClass, setVolatile |
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 t_typeof
t_typeof
represents a typeof() expression type.
static final int t_last
t_last
is for subinterfaces to extend these types.
static final ASTNodeProperty TYPEOF_EXPRESSION
TYPEOF_EXPRESSION
represents the relationship between the
decl spec & the expression for typeof().
Method Detail |
---|
boolean isComplex()
void setComplex(boolean value)
value
- true if it is a complex number, false otherwiseboolean isImaginary()
void setImaginary(boolean value)
value
- true if it is an imaginary number, false otherwiseboolean isLongLong()
void setLongLong(boolean value)
value
- booleanvoid setTypeofExpression(IASTExpression typeofExpression)
typeofExpression
- IASTExpression
IASTExpression getTypeofExpression()
IASTExpression
IGPPASTSimpleDeclSpecifier 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 IASTDeclSpecifier
copy
in interface IASTNode
copy
in interface IASTSimpleDeclSpecifier
copy
in interface ICPPASTDeclSpecifier
copy
in interface ICPPASTSimpleDeclSpecifier
copy
in interface IGPPASTDeclSpecifier
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |