clang API Documentation
#include <ExprObjC.h>


Public Member Functions | |
| ObjCEncodeExpr (QualType T, TypeSourceInfo *EncodedType, SourceLocation at, SourceLocation rp) | |
| ObjCEncodeExpr (EmptyShell Empty) | |
| SourceLocation | getAtLoc () const |
| void | setAtLoc (SourceLocation L) |
| SourceLocation | getRParenLoc () const |
| void | setRParenLoc (SourceLocation L) |
| QualType | getEncodedType () const |
| TypeSourceInfo * | getEncodedTypeSourceInfo () const |
| void | setEncodedTypeSourceInfo (TypeSourceInfo *EncType) |
| SourceRange | getSourceRange () const LLVM_READONLY |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
| static bool | classof (const ObjCEncodeExpr *) |
ObjCEncodeExpr, used for in Objective-C. has the same type and behavior as StringLiteral except that the string initializer is obtained from ASTContext with the encoding type as an argument.
Definition at line 340 of file ExprObjC.h.
| clang::ObjCEncodeExpr::ObjCEncodeExpr | ( | QualType | T, |
| TypeSourceInfo * | EncodedType, | ||
| SourceLocation | at, | ||
| SourceLocation | rp | ||
| ) | [inline] |
Definition at line 344 of file ExprObjC.h.
| clang::ObjCEncodeExpr::ObjCEncodeExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
Definition at line 353 of file ExprObjC.h.
| child_range clang::ObjCEncodeExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 378 of file ExprObjC.h.
| static bool clang::ObjCEncodeExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 372 of file ExprObjC.h.
References clang::Stmt::getStmtClass().
| static bool clang::ObjCEncodeExpr::classof | ( | const ObjCEncodeExpr * | ) | [inline, static] |
Definition at line 375 of file ExprObjC.h.
| SourceLocation clang::ObjCEncodeExpr::getAtLoc | ( | ) | const [inline] |
Definition at line 356 of file ExprObjC.h.
| QualType clang::ObjCEncodeExpr::getEncodedType | ( | ) | const [inline] |
Definition at line 361 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenModule::GetAddrOfConstantStringFromObjCEncode().
| TypeSourceInfo* clang::ObjCEncodeExpr::getEncodedTypeSourceInfo | ( | ) | const [inline] |
Definition at line 363 of file ExprObjC.h.
| SourceLocation clang::ObjCEncodeExpr::getRParenLoc | ( | ) | const [inline] |
Definition at line 358 of file ExprObjC.h.
| SourceRange clang::ObjCEncodeExpr::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 368 of file ExprObjC.h.
| void clang::ObjCEncodeExpr::setAtLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 357 of file ExprObjC.h.
| void clang::ObjCEncodeExpr::setEncodedTypeSourceInfo | ( | TypeSourceInfo * | EncType | ) | [inline] |
Definition at line 364 of file ExprObjC.h.
| void clang::ObjCEncodeExpr::setRParenLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 359 of file ExprObjC.h.