clang API Documentation

Public Member Functions | Static Public Member Functions
clang::ObjCForCollectionStmt Class Reference

Represents Objective-C's collection statement. More...

#include <StmtObjC.h>

Inheritance diagram for clang::ObjCForCollectionStmt:
Inheritance graph
[legend]
Collaboration diagram for clang::ObjCForCollectionStmt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ObjCForCollectionStmt (Stmt *Elem, Expr *Collect, Stmt *Body, SourceLocation FCL, SourceLocation RPL)
 ObjCForCollectionStmt (EmptyShell Empty)
StmtgetElement ()
ExprgetCollection ()
StmtgetBody ()
const StmtgetElement () const
const ExprgetCollection () const
const StmtgetBody () const
void setElement (Stmt *S)
void setCollection (Expr *E)
void setBody (Stmt *S)
SourceLocation getForLoc () const
void setForLoc (SourceLocation Loc)
SourceLocation getRParenLoc () const
void setRParenLoc (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 collection statement.

This is represented as 'for (element 'in' collection-expression)' stmt.

Definition at line 24 of file StmtObjC.h.


Constructor & Destructor Documentation

ObjCForCollectionStmt::ObjCForCollectionStmt ( Stmt Elem,
Expr Collect,
Stmt Body,
SourceLocation  FCL,
SourceLocation  RPL 
)

Definition at line 761 of file Stmt.cpp.

Definition at line 32 of file StmtObjC.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 68 of file StmtObjC.h.

static bool clang::ObjCForCollectionStmt::classof ( const Stmt T) [inline, static]

Definition at line 63 of file StmtObjC.h.

References clang::Stmt::getStmtClass().

const Stmt* clang::ObjCForCollectionStmt::getBody ( ) const [inline]

Definition at line 45 of file StmtObjC.h.

Definition at line 42 of file StmtObjC.h.

Definition at line 41 of file StmtObjC.h.

Definition at line 53 of file StmtObjC.h.

Reimplemented from clang::Stmt.

Definition at line 59 of file StmtObjC.h.

References clang::Stmt::getLocEnd().

Reimplemented from clang::Stmt.

Definition at line 58 of file StmtObjC.h.

Definition at line 55 of file StmtObjC.h.

Definition at line 51 of file StmtObjC.h.

References S.

Referenced by clang::Sema::FinishObjCForCollectionStmt().

Definition at line 48 of file StmtObjC.h.

Definition at line 47 of file StmtObjC.h.

References S.

Definition at line 54 of file StmtObjC.h.

Definition at line 56 of file StmtObjC.h.


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