@Deprecated public interface ICPPASTFunctionTryBlockDeclarator extends ICPPASTFunctionDeclarator
ICPPASTFunctionDeclarator.RefQualifier
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static ASTNodeProperty |
CATCH_HANDLER
Deprecated.
A
CATCH_HANDLER is the role of an ICPPASTCatchHandler in
this interface. |
CONSTRUCTOR_CHAIN_MEMBER, EXCEPTION_TYPEID, NO_EXCEPTION_SPECIFICATION, NO_VIRT_SPECIFIERS, NOEXCEPT_DEFAULT, NOEXCEPT_EXPRESSION, TRAILING_RETURN_TYPE, VIRT_SPECIFIER
FUNCTION_PARAMETER
DECLARATOR_NAME, EMPTY_DECLARATOR_ARRAY, INITIALIZER, NESTED_DECLARATOR, POINTER_OPERATOR
r_declaration, r_definition, r_reference, r_unclear
ATTRIBUTE, ATTRIBUTE_SPECIFIER
EMPTY_NODE_ARRAY
Modifier and Type | Method and Description |
---|---|
void |
addCatchHandler(ICPPASTCatchHandler statement)
Deprecated.
Add a catch handler.
|
ICPPASTFunctionTryBlockDeclarator |
copy()
Deprecated.
Returns a mutable copy of the tree rooted at this node.
|
ICPPASTCatchHandler[] |
getCatchHandlers()
Deprecated.
Get catch handlers.
|
addConstructorToChain, addExceptionSpecificationTypeId, addVirtSpecifier, copy, getConstructorChain, getExceptionSpecification, getFunctionScope, getNoexceptExpression, getParameters, getRefQualifier, getTrailingReturnType, getVirtSpecifiers, isConst, isFinal, isMutable, isOverride, isPureVirtual, isVolatile, setConst, setEmptyExceptionSpecification, setFinal, setMutable, setNoexceptExpression, setOverride, setPureVirtual, setRefQualifier, setTrailingReturnType, setVolatile
addParameterDeclaration, setVarArgs, takesVarArgs
addPointerOperator, getInitializer, getName, getNestedDeclarator, getPointerOperators, setInitializer, setName, setNestedDeclarator
getRoleForName
addAttribute, addAttributeSpecifier, getAttributes, getAttributeSpecifiers
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
declaresParameterPack, setDeclaresParameterPack
static final ASTNodeProperty CATCH_HANDLER
CATCH_HANDLER
is the role of an ICPPASTCatchHandler in
this interface.void addCatchHandler(ICPPASTCatchHandler statement)
statement
- ICPPASTCatchHandler
ICPPASTCatchHandler[] getCatchHandlers()
ICPPASTCatchHandler
ICPPASTFunctionTryBlockDeclarator copy()
IASTNode
copy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == falsePreprocessor nodes do not currently support being copied. Implicit name nodes are not copied, instead they can be regenerated if required.
Calling this method is equivalent to copy(CopyStyle.withoutLocations)
.
copy
in interface IASTDeclarator
copy
in interface IASTFunctionDeclarator
copy
in interface IASTNode
copy
in interface IASTStandardFunctionDeclarator
copy
in interface ICPPASTFunctionDeclarator
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.