clang API Documentation

Public Member Functions | Static Public Member Functions
clang::ObjCIvarRefExpr Class Reference

ObjCIvarRefExpr - A reference to an ObjC instance variable. More...

#include <ExprObjC.h>

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

List of all members.

Public Member Functions

 ObjCIvarRefExpr (ObjCIvarDecl *d, QualType t, SourceLocation l, Expr *base, bool arrow=false, bool freeIvar=false)
 ObjCIvarRefExpr (EmptyShell Empty)
ObjCIvarDeclgetDecl ()
const ObjCIvarDeclgetDecl () const
void setDecl (ObjCIvarDecl *d)
const ExprgetBase () const
ExprgetBase ()
void setBase (Expr *base)
bool isArrow () const
bool isFreeIvar () const
void setIsArrow (bool A)
void setIsFreeIvar (bool A)
SourceLocation getLocation () const
void setLocation (SourceLocation L)
SourceRange getSourceRange () const LLVM_READONLY
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)
static bool classof (const ObjCIvarRefExpr *)

Detailed Description

ObjCIvarRefExpr - A reference to an ObjC instance variable.

Definition at line 460 of file ExprObjC.h.


Constructor & Destructor Documentation

clang::ObjCIvarRefExpr::ObjCIvarRefExpr ( ObjCIvarDecl d,
QualType  t,
SourceLocation  l,
Expr base,
bool  arrow = false,
bool  freeIvar = false 
) [inline]

Definition at line 468 of file ExprObjC.h.

clang::ObjCIvarRefExpr::ObjCIvarRefExpr ( EmptyShell  Empty) [inline, explicit]

Definition at line 477 of file ExprObjC.h.


Member Function Documentation

child_range clang::ObjCIvarRefExpr::children ( ) [inline]

Reimplemented from clang::Stmt.

Definition at line 507 of file ExprObjC.h.

static bool clang::ObjCIvarRefExpr::classof ( const Stmt T) [inline, static]

Reimplemented from clang::Expr.

Definition at line 501 of file ExprObjC.h.

References clang::Stmt::getStmtClass().

static bool clang::ObjCIvarRefExpr::classof ( const ObjCIvarRefExpr ) [inline, static]

Definition at line 504 of file ExprObjC.h.

const Expr* clang::ObjCIvarRefExpr::getBase ( ) const [inline]
Expr* clang::ObjCIvarRefExpr::getBase ( ) [inline]

Definition at line 485 of file ExprObjC.h.

ObjCIvarDecl* clang::ObjCIvarRefExpr::getDecl ( ) [inline]
const ObjCIvarDecl* clang::ObjCIvarRefExpr::getDecl ( ) const [inline]

Definition at line 481 of file ExprObjC.h.

SourceLocation clang::ObjCIvarRefExpr::getLocation ( ) const [inline]

Definition at line 493 of file ExprObjC.h.

SourceRange clang::ObjCIvarRefExpr::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 496 of file ExprObjC.h.

References clang::Stmt::getLocStart().

bool clang::ObjCIvarRefExpr::isArrow ( ) const [inline]

Definition at line 488 of file ExprObjC.h.

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

bool clang::ObjCIvarRefExpr::isFreeIvar ( ) const [inline]

Definition at line 489 of file ExprObjC.h.

void clang::ObjCIvarRefExpr::setBase ( Expr base) [inline]

Definition at line 486 of file ExprObjC.h.

void clang::ObjCIvarRefExpr::setDecl ( ObjCIvarDecl d) [inline]

Definition at line 482 of file ExprObjC.h.

void clang::ObjCIvarRefExpr::setIsArrow ( bool  A) [inline]

Definition at line 490 of file ExprObjC.h.

void clang::ObjCIvarRefExpr::setIsFreeIvar ( bool  A) [inline]

Definition at line 491 of file ExprObjC.h.

void clang::ObjCIvarRefExpr::setLocation ( SourceLocation  L) [inline]

Definition at line 494 of file ExprObjC.h.


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