clang API Documentation
#include <ExprObjC.h>
ObjCPropertyRefExpr - A dot-syntax expression to access an ObjC property.
Definition at line 525 of file ExprObjC.h.
clang::ObjCPropertyRefExpr::ObjCPropertyRefExpr | ( | ObjCPropertyDecl * | PD, |
QualType | t, | ||
ExprValueKind | VK, | ||
ExprObjectKind | OK, | ||
SourceLocation | l, | ||
Expr * | base | ||
) | [inline] |
Definition at line 559 of file ExprObjC.h.
References clang::Type::isSpecificPlaceholderType().
clang::ObjCPropertyRefExpr::ObjCPropertyRefExpr | ( | ObjCPropertyDecl * | PD, |
QualType | t, | ||
ExprValueKind | VK, | ||
ExprObjectKind | OK, | ||
SourceLocation | l, | ||
SourceLocation | sl, | ||
QualType | st | ||
) | [inline] |
Definition at line 571 of file ExprObjC.h.
References clang::Type::isSpecificPlaceholderType().
clang::ObjCPropertyRefExpr::ObjCPropertyRefExpr | ( | ObjCMethodDecl * | Getter, |
ObjCMethodDecl * | Setter, | ||
QualType | T, | ||
ExprValueKind | VK, | ||
ExprObjectKind | OK, | ||
SourceLocation | IdLoc, | ||
Expr * | Base | ||
) | [inline] |
Definition at line 582 of file ExprObjC.h.
References clang::Type::isSpecificPlaceholderType().
clang::ObjCPropertyRefExpr::ObjCPropertyRefExpr | ( | ObjCMethodDecl * | Getter, |
ObjCMethodDecl * | Setter, | ||
QualType | T, | ||
ExprValueKind | VK, | ||
ExprObjectKind | OK, | ||
SourceLocation | IdLoc, | ||
SourceLocation | SuperLoc, | ||
QualType | SuperTy | ||
) | [inline] |
Definition at line 593 of file ExprObjC.h.
References clang::Type::isSpecificPlaceholderType().
clang::ObjCPropertyRefExpr::ObjCPropertyRefExpr | ( | ObjCMethodDecl * | Getter, |
ObjCMethodDecl * | Setter, | ||
QualType | T, | ||
ExprValueKind | VK, | ||
ExprObjectKind | OK, | ||
SourceLocation | IdLoc, | ||
SourceLocation | ReceiverLoc, | ||
ObjCInterfaceDecl * | Receiver | ||
) | [inline] |
Definition at line 603 of file ExprObjC.h.
References clang::Type::isSpecificPlaceholderType().
clang::ObjCPropertyRefExpr::ObjCPropertyRefExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
Definition at line 613 of file ExprObjC.h.
child_range clang::ObjCPropertyRefExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 732 of file ExprObjC.h.
static bool clang::ObjCPropertyRefExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 727 of file ExprObjC.h.
References clang::Stmt::getStmtClass().
const Expr* clang::ObjCPropertyRefExpr::getBase | ( | ) | const [inline] |
Definition at line 668 of file ExprObjC.h.
Referenced by findRetainCycleOwner(), getLocStart(), LookupMethodInReceiverType(), and clang::sema::FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy().
Expr* clang::ObjCPropertyRefExpr::getBase | ( | ) | [inline] |
Definition at line 671 of file ExprObjC.h.
ObjCInterfaceDecl* clang::ObjCPropertyRefExpr::getClassReceiver | ( | ) | const [inline] |
Definition at line 715 of file ExprObjC.h.
Referenced by LookupMethodInReceiverType(), and clang::sema::FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy().
ObjCPropertyDecl* clang::ObjCPropertyRefExpr::getExplicitProperty | ( | ) | const [inline] |
Definition at line 619 of file ExprObjC.h.
References isImplicitProperty().
Referenced by clang::Sema::checkUnsafeExprAssigns(), findRetainCycleOwner(), getBestPropertyDecl(), getGetterResultType(), getGetterSelector(), getSetterArgType(), and getSetterSelector().
QualType clang::ObjCPropertyRefExpr::getGetterResultType | ( | ) | const [inline] |
Definition at line 681 of file ExprObjC.h.
References getExplicitProperty(), clang::ObjCPropertyDecl::getGetterMethodDecl(), getImplicitPropertyGetter(), clang::ObjCMethodDecl::getReturnType(), clang::ObjCPropertyDecl::getType(), and isExplicitProperty().
Selector clang::ObjCPropertyRefExpr::getGetterSelector | ( | ) | const [inline] |
Definition at line 634 of file ExprObjC.h.
References getExplicitProperty(), clang::ObjCPropertyDecl::getGetterName(), getImplicitPropertyGetter(), clang::ObjCMethodDecl::getSelector(), and isImplicitProperty().
ObjCMethodDecl* clang::ObjCPropertyRefExpr::getImplicitPropertyGetter | ( | ) | const [inline] |
Definition at line 624 of file ExprObjC.h.
References isImplicitProperty().
Referenced by getBestPropertyDecl(), getGetterResultType(), and getGetterSelector().
ObjCMethodDecl* clang::ObjCPropertyRefExpr::getImplicitPropertySetter | ( | ) | const [inline] |
Definition at line 629 of file ExprObjC.h.
References isImplicitProperty().
Referenced by getSetterArgType(), and getSetterSelector().
SourceLocation clang::ObjCPropertyRefExpr::getLocation | ( | ) | const [inline] |
Definition at line 675 of file ExprObjC.h.
Referenced by findRetainCycleOwner().
SourceLocation clang::ObjCPropertyRefExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 725 of file ExprObjC.h.
SourceLocation clang::ObjCPropertyRefExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 722 of file ExprObjC.h.
References getBase(), clang::Stmt::getLocStart(), getReceiverLocation(), and isObjectReceiver().
SourceLocation clang::ObjCPropertyRefExpr::getReceiverLocation | ( | ) | const [inline] |
Definition at line 677 of file ExprObjC.h.
Referenced by getLocStart().
QualType clang::ObjCPropertyRefExpr::getSetterArgType | ( | ) | const [inline] |
Definition at line 697 of file ExprObjC.h.
References getExplicitProperty(), getImplicitPropertySetter(), clang::Expr::getType(), isImplicitProperty(), clang::QualType::isNull(), P, and clang::ObjCMethodDecl::param_begin().
Selector clang::ObjCPropertyRefExpr::getSetterSelector | ( | ) | const [inline] |
Definition at line 640 of file ExprObjC.h.
References getExplicitProperty(), getImplicitPropertySetter(), clang::ObjCMethodDecl::getSelector(), clang::ObjCPropertyDecl::getSetterName(), and isImplicitProperty().
QualType clang::ObjCPropertyRefExpr::getSuperReceiverType | ( | ) | const [inline] |
Definition at line 678 of file ExprObjC.h.
Referenced by LookupMethodInReceiverType().
bool clang::ObjCPropertyRefExpr::isClassReceiver | ( | ) | const [inline] |
Definition at line 720 of file ExprObjC.h.
Referenced by LookupMethodInReceiverType(), and clang::sema::FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy().
bool clang::ObjCPropertyRefExpr::isExplicitProperty | ( | ) | const [inline] |
Definition at line 617 of file ExprObjC.h.
Referenced by getBestPropertyDecl(), and getGetterResultType().
bool clang::ObjCPropertyRefExpr::isImplicitProperty | ( | ) | const [inline] |
Definition at line 616 of file ExprObjC.h.
Referenced by clang::Sema::checkUnsafeExprAssigns(), findRetainCycleOwner(), getExplicitProperty(), getGetterSelector(), getImplicitPropertyGetter(), getImplicitPropertySetter(), getSetterArgType(), and getSetterSelector().
bool clang::ObjCPropertyRefExpr::isMessagingGetter | ( | ) | const [inline] |
True if the property reference will result in a message to the getter. This applies to both implicit and explicit property references.
Definition at line 649 of file ExprObjC.h.
bool clang::ObjCPropertyRefExpr::isMessagingSetter | ( | ) | const [inline] |
True if the property reference will result in a message to the setter. This applies to both implicit and explicit property references.
Definition at line 656 of file ExprObjC.h.
bool clang::ObjCPropertyRefExpr::isObjectReceiver | ( | ) | const [inline] |
Definition at line 718 of file ExprObjC.h.
Referenced by getLocStart(), LookupMethodInReceiverType(), and clang::sema::FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy().
bool clang::ObjCPropertyRefExpr::isSuperReceiver | ( | ) | const [inline] |
Definition at line 719 of file ExprObjC.h.
Referenced by findRetainCycleOwner(), LookupMethodInReceiverType(), and clang::sema::FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy().
void clang::ObjCPropertyRefExpr::setIsMessagingGetter | ( | bool | val = true | ) | [inline] |
Definition at line 660 of file ExprObjC.h.
void clang::ObjCPropertyRefExpr::setIsMessagingSetter | ( | bool | val = true | ) | [inline] |
Definition at line 664 of file ExprObjC.h.
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.
Definition at line 741 of file ExprObjC.h.
friend class ASTStmtWriter [friend] |
Reimplemented from clang::Stmt.
Definition at line 742 of file ExprObjC.h.