clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::ObjCBoxedExpr Class Reference

#include <ExprObjC.h>

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

List of all members.

Public Member Functions

 ObjCBoxedExpr (Expr *E, QualType T, ObjCMethodDecl *method, SourceRange R)
 ObjCBoxedExpr (EmptyShell Empty)
ExprgetSubExpr ()
const ExprgetSubExpr () const
ObjCMethodDeclgetBoxingMethod () 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

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

Definition at line 113 of file ExprObjC.h.

References clang::SourceRange::getBegin().

Definition at line 109 of file ExprObjC.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitObjCBoxedExpr().

Reimplemented from clang::Stmt.

Definition at line 116 of file ExprObjC.h.

References clang::SourceRange::getEnd().

Reimplemented from clang::Stmt.

Definition at line 115 of file ExprObjC.h.

References clang::SourceRange::getBegin().

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.

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.


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 128 of file ExprObjC.h.


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