clang API Documentation

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

#include <ExprObjC.h>

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

List of all members.

Public Member Functions

 ObjCIsaExpr (Expr *base, bool isarrow, SourceLocation l, SourceLocation oploc, QualType ty)
 ObjCIsaExpr (EmptyShell Empty)
 Build an empty expression.
void setBase (Expr *E)
ExprgetBase () const
bool isArrow () const
void setArrow (bool A)
SourceLocation getIsaMemberLoc () const
void setIsaMemberLoc (SourceLocation L)
SourceLocation getOpLoc () const
void setOpLoc (SourceLocation L)
SourceLocation getLocStart () const LLVM_READONLY
SourceLocation getBaseLocEnd () const LLVM_READONLY
SourceLocation getLocEnd () const LLVM_READONLY
SourceLocation getExprLoc () const LLVM_READONLY
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)

Detailed Description

ObjCIsaExpr - Represent X->isa and X.isa when X is an ObjC 'id' type. (similar in spirit to MemberExpr).

Definition at line 1391 of file ExprObjC.h.


Constructor & Destructor Documentation

clang::ObjCIsaExpr::ObjCIsaExpr ( Expr base,
bool  isarrow,
SourceLocation  l,
SourceLocation  oploc,
QualType  ty 
) [inline]

Definition at line 1404 of file ExprObjC.h.

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

Build an empty expression.

Definition at line 1413 of file ExprObjC.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 1446 of file ExprObjC.h.

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

Reimplemented from clang::Expr.

Definition at line 1441 of file ExprObjC.h.

References clang::Stmt::getStmtClass().

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

Definition at line 1433 of file ExprObjC.h.

References getBase(), and clang::Stmt::getLocEnd().

getExprLoc - Return the preferred location for the arrow when diagnosing a problem with a generic expression.

Reimplemented from clang::Expr.

Definition at line 1439 of file ExprObjC.h.

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

getMemberLoc - Return the location of the "member", in X->F, it is the location of 'F'.

Definition at line 1423 of file ExprObjC.h.

Reimplemented from clang::Stmt.

Definition at line 1437 of file ExprObjC.h.

Reimplemented from clang::Stmt.

Definition at line 1429 of file ExprObjC.h.

References getBase(), and clang::Stmt::getLocStart().

Definition at line 1426 of file ExprObjC.h.

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

Definition at line 1418 of file ExprObjC.h.

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

void clang::ObjCIsaExpr::setArrow ( bool  A) [inline]

Definition at line 1419 of file ExprObjC.h.

void clang::ObjCIsaExpr::setBase ( Expr E) [inline]

Definition at line 1415 of file ExprObjC.h.

Definition at line 1424 of file ExprObjC.h.

Definition at line 1427 of file ExprObjC.h.


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