clang  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
clang::ObjCAtThrowStmt Class Reference

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

#include <StmtObjC.h>

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

Public Member Functions

 ObjCAtThrowStmt (SourceLocation atThrowLoc, Stmt *throwExpr)
 
 ObjCAtThrowStmt (EmptyShell Empty)
 
const ExprgetThrowExpr () const
 
ExprgetThrowExpr ()
 
void setThrowExpr (Stmt *S)
 
SourceLocation getThrowLoc ()
 
void setThrowLoc (SourceLocation Loc)
 
SourceLocation getLocStart () const LLVM_READONLY
 
SourceLocation getLocEnd () const LLVM_READONLY
 
child_range children ()
 

Static Public Member Functions

static bool classof (const Stmt *T)
 

Detailed Description

Represents Objective-C's @throw statement.

Definition at line 313 of file StmtObjC.h.

Constructor & Destructor Documentation

clang::ObjCAtThrowStmt::ObjCAtThrowStmt ( SourceLocation  atThrowLoc,
Stmt throwExpr 
)
inline

Definition at line 318 of file StmtObjC.h.

clang::ObjCAtThrowStmt::ObjCAtThrowStmt ( EmptyShell  Empty)
inlineexplicit

Definition at line 322 of file StmtObjC.h.

Member Function Documentation

child_range clang::ObjCAtThrowStmt::children ( )
inline

Definition at line 341 of file StmtObjC.h.

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

Definition at line 337 of file StmtObjC.h.

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

Definition at line 333 of file StmtObjC.h.

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

Definition at line 332 of file StmtObjC.h.

const Expr* clang::ObjCAtThrowStmt::getThrowExpr ( ) const
inline

Definition at line 325 of file StmtObjC.h.

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

Expr* clang::ObjCAtThrowStmt::getThrowExpr ( )
inline

Definition at line 326 of file StmtObjC.h.

SourceLocation clang::ObjCAtThrowStmt::getThrowLoc ( )
inline

Definition at line 329 of file StmtObjC.h.

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

void clang::ObjCAtThrowStmt::setThrowExpr ( Stmt S)
inline

Definition at line 327 of file StmtObjC.h.

References S.

void clang::ObjCAtThrowStmt::setThrowLoc ( SourceLocation  Loc)
inline

Definition at line 330 of file StmtObjC.h.


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