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

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

#include <StmtObjC.h>

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

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 769 of file Stmt.cpp.

clang::ObjCForCollectionStmt::ObjCForCollectionStmt ( EmptyShell  Empty)
inlineexplicit

Definition at line 32 of file StmtObjC.h.

Member Function Documentation

child_range clang::ObjCForCollectionStmt::children ( )
inline

Definition at line 68 of file StmtObjC.h.

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

Definition at line 63 of file StmtObjC.h.

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

Definition at line 45 of file StmtObjC.h.

Expr* clang::ObjCForCollectionStmt::getCollection ( )
inline
const Expr* clang::ObjCForCollectionStmt::getCollection ( ) const
inline

Definition at line 42 of file StmtObjC.h.

Stmt* clang::ObjCForCollectionStmt::getElement ( )
inline
const Stmt* clang::ObjCForCollectionStmt::getElement ( ) const
inline

Definition at line 41 of file StmtObjC.h.

SourceLocation clang::ObjCForCollectionStmt::getForLoc ( ) const
inline

Definition at line 53 of file StmtObjC.h.

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

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

Definition at line 59 of file StmtObjC.h.

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

Definition at line 58 of file StmtObjC.h.

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

Definition at line 55 of file StmtObjC.h.

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

void clang::ObjCForCollectionStmt::setBody ( Stmt S)
inline

Definition at line 51 of file StmtObjC.h.

References S.

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

void clang::ObjCForCollectionStmt::setCollection ( Expr E)
inline

Definition at line 48 of file StmtObjC.h.

void clang::ObjCForCollectionStmt::setElement ( Stmt S)
inline

Definition at line 47 of file StmtObjC.h.

References S.

void clang::ObjCForCollectionStmt::setForLoc ( SourceLocation  Loc)
inline

Definition at line 54 of file StmtObjC.h.

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

Definition at line 56 of file StmtObjC.h.


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