|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPASTFunctionDeclarator
C++ adds a few things to function declarators.
Field Summary | |
---|---|
static ASTNodeProperty |
CONSTRUCTOR_CHAIN_MEMBER
CONSTRUCTOR_CHAIN_MEMBER is the role of a constructor
chain initializer. |
static ASTNodeProperty |
EXCEPTION_TYPEID
EXCEPTION_TYPEID represents the type IDs throws in the
exception specification. |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTStandardFunctionDeclarator |
---|
FUNCTION_PARAMETER |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclarator |
---|
DECLARATOR_NAME, EMPTY_DECLARATOR_ARRAY, INITIALIZER, NESTED_DECLARATOR, POINTER_OPERATOR |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
r_declaration, r_definition, r_reference, r_unclear |
Method Summary | |
---|---|
void |
addConstructorToChain(ICPPASTConstructorChainInitializer initializer)
Add a constructor chain initializer to constructor chain. |
void |
addExceptionSpecificationTypeId(IASTTypeId typeId)
Add an exception specification type Id. |
ICPPASTConstructorChainInitializer[] |
getConstructorChain()
Get constructor chain. |
IASTTypeId[] |
getExceptionSpecification()
Get the exception specification. |
ICPPFunctionScope |
getFunctionScope()
Get function scope this node represents. |
boolean |
isConst()
Is this a const method? |
boolean |
isPureVirtual()
Is the method pure virtual? |
boolean |
isVolatile()
Is this a volatile method? |
void |
setConst(boolean value)
Set the method to be const or not. |
void |
setPureVirtual(boolean isPureVirtual)
Set thid method to be pure virtual. |
void |
setVolatile(boolean value)
Set the method to be volatile or not. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTStandardFunctionDeclarator |
---|
addParameterDeclaration, getParameters, setVarArgs, takesVarArgs |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclarator |
---|
addPointerOperator, getInitializer, getName, getNestedDeclarator, getPointerOperators, setInitializer, setName, setNestedDeclarator |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
getRoleForName |
Field Detail |
---|
static final ASTNodeProperty EXCEPTION_TYPEID
EXCEPTION_TYPEID
represents the type IDs throws in the
exception specification.
static final ASTNodeProperty CONSTRUCTOR_CHAIN_MEMBER
CONSTRUCTOR_CHAIN_MEMBER
is the role of a constructor
chain initializer.
Method Detail |
---|
boolean isConst()
void setConst(boolean value)
value
- booleanboolean isVolatile()
void setVolatile(boolean value)
value
- booleanIASTTypeId[] getExceptionSpecification()
IASTTypeId []
void addExceptionSpecificationTypeId(IASTTypeId typeId)
typeId
- IASTTypeId
boolean isPureVirtual()
void setPureVirtual(boolean isPureVirtual)
isPureVirtual
- booleanICPPASTConstructorChainInitializer[] getConstructorChain()
ICPPASTConstructorChainInitializer[]
void addConstructorToChain(ICPPASTConstructorChainInitializer initializer)
initializer
- ICPPASTConstructorChainInitializerICPPFunctionScope getFunctionScope()
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |