clang API Documentation
A member reference to an MSPropertyDecl. More...
#include <ExprCXX.h>


Public Member Functions | |
| MSPropertyRefExpr (Expr *baseExpr, MSPropertyDecl *decl, bool isArrow, QualType ty, ExprValueKind VK, NestedNameSpecifierLoc qualifierLoc, SourceLocation nameLoc) | |
| MSPropertyRefExpr (EmptyShell Empty) | |
| SourceRange | getSourceRange () const LLVM_READONLY |
| bool | isImplicitAccess () const |
| SourceLocation | getLocStart () const |
| SourceLocation | getLocEnd () const |
| child_range | children () |
| Expr * | getBaseExpr () const |
| MSPropertyDecl * | getPropertyDecl () const |
| bool | isArrow () const |
| SourceLocation | getMemberLoc () const |
| NestedNameSpecifierLoc | getQualifierLoc () const |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
Friends | |
| class | ASTStmtReader |
A member reference to an MSPropertyDecl.
This expression always has pseudo-object type, and therefore it is typically not encountered in a fully-typechecked expression except within the syntactic form of a PseudoObjectExpr.
| clang::MSPropertyRefExpr::MSPropertyRefExpr | ( | Expr * | baseExpr, |
| MSPropertyDecl * | decl, | ||
| bool | isArrow, | ||
| QualType | ty, | ||
| ExprValueKind | VK, | ||
| NestedNameSpecifierLoc | qualifierLoc, | ||
| SourceLocation | nameLoc | ||
| ) | [inline] |
| clang::MSPropertyRefExpr::MSPropertyRefExpr | ( | EmptyShell | Empty | ) | [inline] |
| child_range clang::MSPropertyRefExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
| static bool clang::MSPropertyRefExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 655 of file ExprCXX.h.
References clang::Stmt::getStmtClass().
| Expr* clang::MSPropertyRefExpr::getBaseExpr | ( | ) | const [inline] |
Definition at line 659 of file ExprCXX.h.
Referenced by isImplicitAccess(), and stripOpaqueValuesFromPseudoObjectRef().
| SourceLocation clang::MSPropertyRefExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 650 of file ExprCXX.h.
References getMemberLoc().
Referenced by getSourceRange().
| SourceLocation clang::MSPropertyRefExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 642 of file ExprCXX.h.
References clang::NestedNameSpecifierLoc::getBeginLoc(), clang::Stmt::getLocStart(), and isImplicitAccess().
Referenced by getSourceRange().
| SourceLocation clang::MSPropertyRefExpr::getMemberLoc | ( | ) | const [inline] |
Definition at line 662 of file ExprCXX.h.
Referenced by getLocEnd().
| MSPropertyDecl* clang::MSPropertyRefExpr::getPropertyDecl | ( | ) | const [inline] |
| NestedNameSpecifierLoc clang::MSPropertyRefExpr::getQualifierLoc | ( | ) | const [inline] |
| SourceRange clang::MSPropertyRefExpr::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 636 of file ExprCXX.h.
References getLocEnd(), and getLocStart().
| bool clang::MSPropertyRefExpr::isArrow | ( | ) | const [inline] |
| bool clang::MSPropertyRefExpr::isImplicitAccess | ( | ) | const [inline] |
Definition at line 639 of file ExprCXX.h.
References getBaseExpr(), and clang::Expr::isImplicitCXXThis().
Referenced by getLocStart().
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.