org.eclipse.cdt.core.dom.ast.gnu.cpp
Interface IGPPASTSimpleDeclSpecifier
- All Superinterfaces:
- IASTDeclSpecifier, IASTNode, IASTSimpleDeclSpecifier, ICPPASTDeclSpecifier, ICPPASTSimpleDeclSpecifier, IGPPASTDeclSpecifier
public interface IGPPASTSimpleDeclSpecifier
- extends IGPPASTDeclSpecifier, ICPPASTSimpleDeclSpecifier
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(). |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
accept, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getTranslationUnit, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
accept, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getTranslationUnit, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
accept, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getTranslationUnit, isPartOfTranslationUnitFile, setParent, setPropertyInParent |
t_typeof
static final int t_typeof
t_typeof
represents a typeof() expression type.
- See Also:
- Constant Field Values
t_last
static final int t_last
t_last
is for subinterfaces to extend these types.
- See Also:
- Constant Field Values
TYPEOF_EXPRESSION
static final ASTNodeProperty TYPEOF_EXPRESSION
TYPEOF_EXPRESSION
represents the relationship between the
decl spec & the expression for typeof().
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()
- Did we encounter "long long" as a modifier?
- Returns:
- boolean
setLongLong
void setLongLong(boolean value)
- Encountered "long long" - set true or false.
- Parameters:
value
- boolean
setTypeofExpression
void setTypeofExpression(IASTExpression typeofExpression)
- Set the typeof() expression.
- Parameters:
typeofExpression
- IASTExpression
getTypeofExpression
IASTExpression getTypeofExpression()
- Get the typeof expression.
- Returns:
IASTExpression
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.