|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPASTCatchHandler
Catch handler serves as a standalone stage.
Field Summary | |
---|---|
static ASTNodeProperty |
CATCH_BODY
CATCH_BODY represents the nested (compound) statement. |
static ASTNodeProperty |
DECLARATION
DECLARATION represnts the nested declaration within the
catch handler. |
static ICPPASTCatchHandler[] |
EMPTY_CATCHHANDLER_ARRAY
Constant |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTStatement |
---|
EMPTY_STATEMENT_ARRAY |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Method Summary | |
---|---|
IASTStatement |
getCatchBody()
Get the cathc body. |
IASTDeclaration |
getDeclaration()
Get the declaration. |
boolean |
isCatchAll()
Is this catch handler for all exceptions? |
void |
setCatchBody(IASTStatement compoundStatement)
Set the catch body. |
void |
setDeclaration(IASTDeclaration decl)
Set the declaration. |
void |
setIsCatchAll(boolean isEllipsis)
Set is catch all handler. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent |
Field Detail |
---|
static final ICPPASTCatchHandler[] EMPTY_CATCHHANDLER_ARRAY
static final ASTNodeProperty DECLARATION
DECLARATION
represnts the nested declaration within the
catch handler.
static final ASTNodeProperty CATCH_BODY
CATCH_BODY
represents the nested (compound) statement.
Method Detail |
---|
void setIsCatchAll(boolean isEllipsis)
isEllipsis
- booleanboolean isCatchAll()
void setCatchBody(IASTStatement compoundStatement)
compoundStatement
- IASTStatement
IASTStatement getCatchBody()
IASTStatement
void setDeclaration(IASTDeclaration decl)
decl
- IASTDeclaration
IASTDeclaration getDeclaration()
IASTDeclaration
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |