clang API Documentation
#include <ExprObjC.h>


Public Member Functions | |
| ObjCIsaExpr (Expr *base, bool isarrow, SourceLocation l, QualType ty) | |
| ObjCIsaExpr (EmptyShell Empty) | |
| Build an empty expression. | |
| void | setBase (Expr *E) |
| Expr * | getBase () const |
| bool | isArrow () const |
| void | setArrow (bool A) |
| SourceLocation | getIsaMemberLoc () const |
| void | setIsaMemberLoc (SourceLocation L) |
| SourceRange | getSourceRange () const LLVM_READONLY |
| SourceLocation | getExprLoc () const LLVM_READONLY |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
| static bool | classof (const ObjCIsaExpr *) |
ObjCIsaExpr - Represent X->isa and X.isa when X is an ObjC 'id' type. (similar in spirit to MemberExpr).
Definition at line 1378 of file ExprObjC.h.
| clang::ObjCIsaExpr::ObjCIsaExpr | ( | Expr * | base, |
| bool | isarrow, | ||
| SourceLocation | l, | ||
| QualType | ty | ||
| ) | [inline] |
Definition at line 1388 of file ExprObjC.h.
| clang::ObjCIsaExpr::ObjCIsaExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
Build an empty expression.
Definition at line 1396 of file ExprObjC.h.
| child_range clang::ObjCIsaExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 1421 of file ExprObjC.h.
| static bool clang::ObjCIsaExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 1415 of file ExprObjC.h.
References clang::Stmt::getStmtClass().
| static bool clang::ObjCIsaExpr::classof | ( | const ObjCIsaExpr * | ) | [inline, static] |
Definition at line 1418 of file ExprObjC.h.
| Expr* clang::ObjCIsaExpr::getBase | ( | ) | const [inline] |
Definition at line 1399 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCIsaExpr().
| SourceLocation clang::ObjCIsaExpr::getExprLoc | ( | ) | const [inline] |
getExprLoc - Return the preferred location for the arrow when diagnosing a problem with a generic expression.
Reimplemented from clang::Expr.
Definition at line 1413 of file ExprObjC.h.
| SourceLocation clang::ObjCIsaExpr::getIsaMemberLoc | ( | ) | const [inline] |
getMemberLoc - Return the location of the "member", in X->F, it is the location of 'F'.
Definition at line 1406 of file ExprObjC.h.
| SourceRange clang::ObjCIsaExpr::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 1409 of file ExprObjC.h.
References clang::Stmt::getLocStart().
| bool clang::ObjCIsaExpr::isArrow | ( | ) | const [inline] |
Definition at line 1401 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCIsaExpr().
| void clang::ObjCIsaExpr::setArrow | ( | bool | A | ) | [inline] |
Definition at line 1402 of file ExprObjC.h.
| void clang::ObjCIsaExpr::setBase | ( | Expr * | E | ) | [inline] |
Definition at line 1398 of file ExprObjC.h.
| void clang::ObjCIsaExpr::setIsaMemberLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 1407 of file ExprObjC.h.