class ObjCEncodeExpr

Declaration

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

Description

ObjCEncodeExpr, used for @ encode in Objective-C. @ encode has the same type and behavior as StringLiteral except that the string initializer is obtained from ASTContext with the encoding type as an argument.

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

Inherits from: Expr

Member Variables

private clang::TypeSourceInfo* EncodedType
private clang::SourceLocation AtLoc
private clang::SourceLocation RParenLoc

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

ObjCEncodeExpr(clang::QualType T,
               clang::TypeSourceInfo* EncodedType,
               clang::SourceLocation at,
               clang::SourceLocation rp)

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

Parameters

clang::QualType T
clang::TypeSourceInfo* EncodedType
clang::SourceLocation at
clang::SourceLocation rp

ObjCEncodeExpr(clang::Stmt::EmptyShell Empty)

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

Parameters

clang::Stmt::EmptyShell Empty

clang::Stmt::child_range children()

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

clang::Stmt::const_child_range children() const

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

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

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

Parameters

const clang::Stmt* T

clang::SourceLocation getAtLoc() const

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

clang::SourceLocation getBeginLoc() const

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

clang::QualType getEncodedType() const

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

clang::TypeSourceInfo* getEncodedTypeSourceInfo()
    const

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

clang::SourceLocation getEndLoc() const

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

clang::SourceLocation getRParenLoc() const

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

void setAtLoc(clang::SourceLocation L)

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

Parameters

clang::SourceLocation L

void setEncodedTypeSourceInfo(
    clang::TypeSourceInfo* EncType)

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

Parameters

clang::TypeSourceInfo* EncType

void setRParenLoc(clang::SourceLocation L)

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

Parameters

clang::SourceLocation L