class ObjCForCollectionStmt
Declaration
class ObjCForCollectionStmt : public Stmt { /* full declaration omitted */ };
Description
Represents Objective-C's collection statement. This is represented as 'for (element 'in' collection-expression)' stmt.
Declared at: clang/include/clang/AST/StmtObjC.h:23
Inherits from: Stmt
Member Variables
- private clang::Stmt* [3] SubExprs
- private clang::SourceLocation ForLoc
- private clang::SourceLocation RParenLoc
Inherited from Stmt:
Method Overview
- public ObjCForCollectionStmt(clang::Stmt::EmptyShell Empty)
- public ObjCForCollectionStmt(clang::Stmt * Elem, clang::Expr * Collect, clang::Stmt * Body, clang::SourceLocation FCL, clang::SourceLocation RPL)
- public clang::Stmt::const_child_range children() const
- public clang::Stmt::child_range children()
- public static bool classof(const clang::Stmt * T)
- public clang::SourceLocation getBeginLoc() const
- public clang::Stmt * getBody()
- public const clang::Stmt * getBody() const
- public const clang::Expr * getCollection() const
- public clang::Expr * getCollection()
- public const clang::Stmt * getElement() const
- public clang::Stmt * getElement()
- public clang::SourceLocation getEndLoc() const
- public clang::SourceLocation getForLoc() const
- public clang::SourceLocation getRParenLoc() const
- public void setBody(clang::Stmt * S)
- public void setCollection(clang::Expr * E)
- public void setElement(clang::Stmt * S)
- public void setForLoc(clang::SourceLocation Loc)
- public void setRParenLoc(clang::SourceLocation Loc)
Inherited from Stmt:
- public EnableStatistics
- public IgnoreContainers
- public IgnoreContainers
- public PrintStats
- public ProcessODRHash
- public Profile
- public addStmtClass
- public child_begin
- public child_begin
- public child_end
- public child_end
- public children
- public children
- public determineLikelihoodConflict
- public dump
- public dump
- public dumpColor
- public dumpPretty
- public getBeginLoc
- public getEndLoc
- public getID
- public getLikelihood
- public getLikelihood
- public getLikelihood
- public getLikelihoodAttr
- public getSourceRange
- public getStmtClass
- public getStmtClassName
- public printJson
- public printPretty
- public printPrettyControlled
- public stripLabelLikeStatements
- public stripLabelLikeStatements
- public viewAST
Methods
¶ObjCForCollectionStmt(
clang::Stmt::EmptyShell Empty)
ObjCForCollectionStmt(
clang::Stmt::EmptyShell Empty)
Declared at: clang/include/clang/AST/StmtObjC.h:31
Parameters
- clang::Stmt::EmptyShell Empty
¶ObjCForCollectionStmt(clang::Stmt* Elem,
clang::Expr* Collect,
clang::Stmt* Body,
clang::SourceLocation FCL,
clang::SourceLocation RPL)
ObjCForCollectionStmt(clang::Stmt* Elem,
clang::Expr* Collect,
clang::Stmt* Body,
clang::SourceLocation FCL,
clang::SourceLocation RPL)
Declared at: clang/include/clang/AST/StmtObjC.h:29
Parameters
- clang::Stmt* Elem
- clang::Expr* Collect
- clang::Stmt* Body
- clang::SourceLocation FCL
- clang::SourceLocation RPL
¶clang::Stmt::const_child_range children() const
clang::Stmt::const_child_range children() const
Declared at: clang/include/clang/AST/StmtObjC.h:71
¶clang::Stmt::child_range children()
clang::Stmt::child_range children()
Declared at: clang/include/clang/AST/StmtObjC.h:67
¶static bool classof(const clang::Stmt* T)
static bool classof(const clang::Stmt* T)
Declared at: clang/include/clang/AST/StmtObjC.h:62
Parameters
- const clang::Stmt* T
¶clang::SourceLocation getBeginLoc() const
clang::SourceLocation getBeginLoc() const
Declared at: clang/include/clang/AST/StmtObjC.h:57
¶clang::Stmt* getBody()
clang::Stmt* getBody()
Declared at: clang/include/clang/AST/StmtObjC.h:38
¶const clang::Stmt* getBody() const
const clang::Stmt* getBody() const
Declared at: clang/include/clang/AST/StmtObjC.h:44
¶const clang::Expr* getCollection() const
const clang::Expr* getCollection() const
Declared at: clang/include/clang/AST/StmtObjC.h:41
¶clang::Expr* getCollection()
clang::Expr* getCollection()
Declared at: clang/include/clang/AST/StmtObjC.h:35
¶const clang::Stmt* getElement() const
const clang::Stmt* getElement() const
Declared at: clang/include/clang/AST/StmtObjC.h:40
¶clang::Stmt* getElement()
clang::Stmt* getElement()
Declared at: clang/include/clang/AST/StmtObjC.h:34
¶clang::SourceLocation getEndLoc() const
clang::SourceLocation getEndLoc() const
Declared at: clang/include/clang/AST/StmtObjC.h:58
¶clang::SourceLocation getForLoc() const
clang::SourceLocation getForLoc() const
Declared at: clang/include/clang/AST/StmtObjC.h:52
¶clang::SourceLocation getRParenLoc() const
clang::SourceLocation getRParenLoc() const
Declared at: clang/include/clang/AST/StmtObjC.h:54
¶void setBody(clang::Stmt* S)
void setBody(clang::Stmt* S)
Declared at: clang/include/clang/AST/StmtObjC.h:50
Parameters
- clang::Stmt* S
¶void setCollection(clang::Expr* E)
void setCollection(clang::Expr* E)
Declared at: clang/include/clang/AST/StmtObjC.h:47
Parameters
- clang::Expr* E
¶void setElement(clang::Stmt* S)
void setElement(clang::Stmt* S)
Declared at: clang/include/clang/AST/StmtObjC.h:46
Parameters
- clang::Stmt* S
¶void setForLoc(clang::SourceLocation Loc)
void setForLoc(clang::SourceLocation Loc)
Declared at: clang/include/clang/AST/StmtObjC.h:53
Parameters
¶void setRParenLoc(clang::SourceLocation Loc)
void setRParenLoc(clang::SourceLocation Loc)
Declared at: clang/include/clang/AST/StmtObjC.h:55