|
Eclipse CDT Pre-release 3.0 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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, setParent, setPropertyInParent |
Field Detail |
public static final ICPPASTCatchHandler[] EMPTY_CATCHHANDLER_ARRAY
public static final ASTNodeProperty DECLARATION
DECLARATION
represnts the nested declaration within the
catch handler.
public static final ASTNodeProperty CATCH_BODY
CATCH_BODY
represents the nested (compound) statement.
Method Detail |
public void setIsCatchAll(boolean isEllipsis)
isEllipsis
- booleanpublic boolean isCatchAll()
public void setCatchBody(IASTStatement compoundStatement)
compoundStatement
- IASTStatement
public IASTStatement getCatchBody()
IASTStatement
public void setDeclaration(IASTDeclaration decl)
decl
- IASTDeclaration
public 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 |