clang API Documentation
#include <ExprObjC.h>
Public Member Functions | |
ObjCBoxedExpr (Expr *E, QualType T, ObjCMethodDecl *method, SourceRange R) | |
ObjCBoxedExpr (EmptyShell Empty) | |
Expr * | getSubExpr () |
const Expr * | getSubExpr () const |
ObjCMethodDecl * | getBoxingMethod () const |
SourceLocation | getAtLoc () const |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
SourceRange | getSourceRange () const LLVM_READONLY |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
ObjCBoxedExpr - used for generalized expression boxing. as in: @(strdup("hello world")) or @(random()) Also used for boxing non-parenthesized numeric literals; as in: @42 or @true (c++/objc++) or @__yes (c/objc).
Definition at line 92 of file ExprObjC.h.
clang::ObjCBoxedExpr::ObjCBoxedExpr | ( | Expr * | E, |
QualType | T, | ||
ObjCMethodDecl * | method, | ||
SourceRange | R | ||
) | [inline] |
Definition at line 97 of file ExprObjC.h.
clang::ObjCBoxedExpr::ObjCBoxedExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
Definition at line 103 of file ExprObjC.h.
child_range clang::ObjCBoxedExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 126 of file ExprObjC.h.
static bool clang::ObjCBoxedExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 121 of file ExprObjC.h.
References clang::Stmt::getStmtClass().
SourceLocation clang::ObjCBoxedExpr::getAtLoc | ( | ) | const [inline] |
Definition at line 113 of file ExprObjC.h.
References clang::SourceRange::getBegin().
ObjCMethodDecl* clang::ObjCBoxedExpr::getBoxingMethod | ( | ) | const [inline] |
Definition at line 109 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCBoxedExpr().
SourceLocation clang::ObjCBoxedExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 116 of file ExprObjC.h.
References clang::SourceRange::getEnd().
SourceLocation clang::ObjCBoxedExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 115 of file ExprObjC.h.
References clang::SourceRange::getBegin().
SourceRange clang::ObjCBoxedExpr::getSourceRange | ( | ) | const [inline] |
SourceLocation tokens are not useful in isolation - they are low level value objects created/interpreted by SourceManager. We assume AST clients will have a pointer to the respective SourceManager.
Reimplemented from clang::Stmt.
Definition at line 117 of file ExprObjC.h.
Expr* clang::ObjCBoxedExpr::getSubExpr | ( | ) | [inline] |
Definition at line 106 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCBoxedExpr().
const Expr* clang::ObjCBoxedExpr::getSubExpr | ( | ) | const [inline] |
Definition at line 107 of file ExprObjC.h.
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.
Definition at line 128 of file ExprObjC.h.