|
Eclipse CDT Pre-release 3.0 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner |
---|
getRoleForName |
Field Detail |
public static final ASTNodeProperty EXCEPTION_TYPEID
EXCEPTION_TYPEID
represents the type IDs throws in the
exception specification.
public static final ASTNodeProperty CONSTRUCTOR_CHAIN_MEMBER
CONSTRUCTOR_CHAIN_MEMBER
is the role of a constructor
chain initializer.
Method Detail |
public boolean isConst()
public void setConst(boolean value)
value
- booleanpublic boolean isVolatile()
public void setVolatile(boolean value)
value
- booleanpublic IASTTypeId[] getExceptionSpecification()
IASTTypeId []
public void addExceptionSpecificationTypeId(IASTTypeId typeId)
typeId
- IASTTypeId
public boolean isPureVirtual()
public void setPureVirtual(boolean isPureVirtual)
isPureVirtual
- booleanpublic ICPPASTConstructorChainInitializer[] getConstructorChain()
ICPPASTConstructorChainInitializer[]
public void addConstructorToChain(ICPPASTConstructorChainInitializer initializer)
initializer
- ICPPASTConstructorChainInitializerpublic ICPPFunctionScope getFunctionScope()
|
Eclipse CDT Pre-release 3.0 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |