class ObjCAtCatchStmt

Declaration

class ObjCAtCatchStmt : public Stmt { /* full declaration omitted */ };

Description

Represents Objective-C's @ catch statement.

Declared at: clang/include/clang/AST/StmtObjC.h:77

Inherits from: Stmt

Member Variables

private clang::VarDecl* ExceptionDecl
private clang::Stmt* Body
private clang::SourceLocation AtCatchLoc
private clang::SourceLocation RParenLoc

Inherited from Stmt:

protected

Method Overview

Inherited from Stmt:

Methods

ObjCAtCatchStmt(clang::Stmt::EmptyShell Empty)

Declared at: clang/include/clang/AST/StmtObjC.h:90

Parameters

clang::Stmt::EmptyShell Empty

ObjCAtCatchStmt(clang::SourceLocation atCatchLoc,
                clang::SourceLocation rparenloc,
                clang::VarDecl* catchVarDecl,
                clang::Stmt* atCatchStmt)

Declared at: clang/include/clang/AST/StmtObjC.h:84

Parameters

clang::SourceLocation atCatchLoc
clang::SourceLocation rparenloc
clang::VarDecl* catchVarDecl
clang::Stmt* atCatchStmt

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/StmtObjC.h:121

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/StmtObjC.h:119

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/StmtObjC.h:115

Parameters

const clang::Stmt* T

clang::SourceLocation getAtCatchLoc() const

Declared at: clang/include/clang/AST/StmtObjC.h:105

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/StmtObjC.h:110

clang::Stmt* getCatchBody()

Declared at: clang/include/clang/AST/StmtObjC.h:94

const clang::Stmt* getCatchBody() const

Declared at: clang/include/clang/AST/StmtObjC.h:93

const clang::VarDecl* getCatchParamDecl() const

Declared at: clang/include/clang/AST/StmtObjC.h:97

clang::VarDecl* getCatchParamDecl()

Declared at: clang/include/clang/AST/StmtObjC.h:100

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/StmtObjC.h:111

clang::SourceLocation getRParenLoc() const

Declared at: clang/include/clang/AST/StmtObjC.h:107

bool hasEllipsis() const

Declared at: clang/include/clang/AST/StmtObjC.h:113

void setAtCatchLoc(clang::SourceLocation Loc)

Declared at: clang/include/clang/AST/StmtObjC.h:106

Parameters

clang::SourceLocation Loc

void setCatchBody(clang::Stmt* S)

Declared at: clang/include/clang/AST/StmtObjC.h:95

Parameters

clang::Stmt* S

void setCatchParamDecl(clang::VarDecl* D)

Declared at: clang/include/clang/AST/StmtObjC.h:103

Parameters

clang::VarDecl* D

void setRParenLoc(clang::SourceLocation Loc)

Declared at: clang/include/clang/AST/StmtObjC.h:108

Parameters

clang::SourceLocation Loc