class ObjCBoxedExpr

Declaration

class ObjCBoxedExpr : public Expr { /* full declaration omitted */ };

Description

ObjCBoxedExpr - used for generalized expression boxing. as in: @ (strdup("hello world")), @ (random()) or @ (view.frame) Also used for boxing non-parenthesized numeric literals; as in: @ 42 or @ true (c++/objc++) or @ __objc_yes (c/objc).

Declared at: clang/include/clang/AST/ExprObjC.h:128

Inherits from: Expr

Member Variables

private clang::Stmt* SubExpr
private clang::ObjCMethodDecl* BoxingMethod
private clang::SourceRange Range

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

ObjCBoxedExpr(clang::Expr* E,
              clang::QualType T,
              clang::ObjCMethodDecl* method,
              clang::SourceRange R)

Declared at: clang/include/clang/AST/ExprObjC.h:136

Parameters

clang::Expr* E
clang::QualType T
clang::ObjCMethodDecl* method
clang::SourceRange R

ObjCBoxedExpr(clang::Stmt::EmptyShell Empty)

Declared at: clang/include/clang/AST/ExprObjC.h:141

Parameters

clang::Stmt::EmptyShell Empty

clang::ObjCBoxedExpr::const_arg_iterator
arg_begin() const

Declared at: clang/include/clang/AST/ExprObjC.h:175

clang::ObjCBoxedExpr::const_arg_iterator arg_end()
    const

Declared at: clang/include/clang/AST/ExprObjC.h:179

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/ExprObjC.h:167

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/ExprObjC.h:169

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/ExprObjC.h:183

Parameters

const clang::Stmt* T

clang::SourceLocation getAtLoc() const

Declared at: clang/include/clang/AST/ExprObjC.h:157

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/ExprObjC.h:159

clang::ObjCMethodDecl* getBoxingMethod() const

Declared at: clang/include/clang/AST/ExprObjC.h:147

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/ExprObjC.h:160

clang::SourceRange getSourceRange() const

Declared at: clang/include/clang/AST/ExprObjC.h:162

clang::Expr* getSubExpr()

Declared at: clang/include/clang/AST/ExprObjC.h:144

const clang::Expr* getSubExpr() const

Declared at: clang/include/clang/AST/ExprObjC.h:145

bool isExpressibleAsConstantInitializer() const

Declared at: clang/include/clang/AST/ExprObjC.h:153