clang  3.9.0
Public Member Functions | Static Public Member Functions | List of all members
clang::ObjCAtCatchStmt Class Reference

Represents Objective-C's @catch statement. More...

#include <StmtObjC.h>

Inheritance diagram for clang::ObjCAtCatchStmt:
[legend]
Collaboration diagram for clang::ObjCAtCatchStmt:
[legend]

Public Member Functions

 ObjCAtCatchStmt (SourceLocation atCatchLoc, SourceLocation rparenloc, VarDecl *catchVarDecl, Stmt *atCatchStmt)
 
 ObjCAtCatchStmt (EmptyShell Empty)
 
const StmtgetCatchBody () const
 
StmtgetCatchBody ()
 
void setCatchBody (Stmt *S)
 
const VarDeclgetCatchParamDecl () const
 
VarDeclgetCatchParamDecl ()
 
void setCatchParamDecl (VarDecl *D)
 
SourceLocation getAtCatchLoc () const
 
void setAtCatchLoc (SourceLocation Loc)
 
SourceLocation getRParenLoc () const
 
void setRParenLoc (SourceLocation Loc)
 
SourceLocation getLocStart () const LLVM_READONLY
 
SourceLocation getLocEnd () const LLVM_READONLY
 
bool hasEllipsis () const
 
child_range children ()
 

Static Public Member Functions

static bool classof (const Stmt *T)
 

Detailed Description

Represents Objective-C's @catch statement.

Definition at line 74 of file StmtObjC.h.

Constructor & Destructor Documentation

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

Definition at line 81 of file StmtObjC.h.

clang::ObjCAtCatchStmt::ObjCAtCatchStmt ( EmptyShell  Empty)
inlineexplicit

Definition at line 87 of file StmtObjC.h.

Member Function Documentation

child_range clang::ObjCAtCatchStmt::children ( )
inline

Definition at line 116 of file StmtObjC.h.

static bool clang::ObjCAtCatchStmt::classof ( const Stmt T)
inlinestatic

Definition at line 112 of file StmtObjC.h.

SourceLocation clang::ObjCAtCatchStmt::getAtCatchLoc ( ) const
inline

Definition at line 102 of file StmtObjC.h.

Referenced by clang::ASTNodeImporter::VisitObjCAtCatchStmt().

const Stmt* clang::ObjCAtCatchStmt::getCatchBody ( ) const
inline
Stmt* clang::ObjCAtCatchStmt::getCatchBody ( )
inline

Definition at line 91 of file StmtObjC.h.

const VarDecl* clang::ObjCAtCatchStmt::getCatchParamDecl ( ) const
inline
VarDecl* clang::ObjCAtCatchStmt::getCatchParamDecl ( )
inline

Definition at line 97 of file StmtObjC.h.

SourceLocation clang::ObjCAtCatchStmt::getLocEnd ( ) const
inline

Definition at line 108 of file StmtObjC.h.

Referenced by clang::ObjCAtTryStmt::getLocEnd().

SourceLocation clang::ObjCAtCatchStmt::getLocStart ( ) const
inline

Definition at line 107 of file StmtObjC.h.

SourceLocation clang::ObjCAtCatchStmt::getRParenLoc ( ) const
inline

Definition at line 104 of file StmtObjC.h.

Referenced by clang::ASTNodeImporter::VisitObjCAtCatchStmt().

bool clang::ObjCAtCatchStmt::hasEllipsis ( ) const
inline

Definition at line 110 of file StmtObjC.h.

References getCatchParamDecl().

void clang::ObjCAtCatchStmt::setAtCatchLoc ( SourceLocation  Loc)
inline

Definition at line 103 of file StmtObjC.h.

void clang::ObjCAtCatchStmt::setCatchBody ( Stmt S)
inline

Definition at line 92 of file StmtObjC.h.

References S.

void clang::ObjCAtCatchStmt::setCatchParamDecl ( VarDecl D)
inline

Definition at line 100 of file StmtObjC.h.

void clang::ObjCAtCatchStmt::setRParenLoc ( SourceLocation  Loc)
inline

Definition at line 105 of file StmtObjC.h.


The documentation for this class was generated from the following file: