|
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, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, isPartOfTranslationUnitFile, 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 - IASTStatementIASTStatement getCatchBody()
IASTStatementvoid setDeclaration(IASTDeclaration decl)
decl - IASTDeclarationIASTDeclaration getDeclaration()
IASTDeclaration
|
Eclipse CDT Pre-release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||