clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::ObjCPropertyRefExpr Class Reference

#include <ExprObjC.h>

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

List of all members.

Public Member Functions

 ObjCPropertyRefExpr (ObjCPropertyDecl *PD, QualType t, ExprValueKind VK, ExprObjectKind OK, SourceLocation l, Expr *base)
 ObjCPropertyRefExpr (ObjCPropertyDecl *PD, QualType t, ExprValueKind VK, ExprObjectKind OK, SourceLocation l, SourceLocation sl, QualType st)
 ObjCPropertyRefExpr (ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, Expr *Base)
 ObjCPropertyRefExpr (ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, SourceLocation SuperLoc, QualType SuperTy)
 ObjCPropertyRefExpr (ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, QualType T, ExprValueKind VK, ExprObjectKind OK, SourceLocation IdLoc, SourceLocation ReceiverLoc, ObjCInterfaceDecl *Receiver)
 ObjCPropertyRefExpr (EmptyShell Empty)
bool isImplicitProperty () const
bool isExplicitProperty () const
ObjCPropertyDeclgetExplicitProperty () const
ObjCMethodDeclgetImplicitPropertyGetter () const
ObjCMethodDeclgetImplicitPropertySetter () const
Selector getGetterSelector () const
Selector getSetterSelector () const
bool isMessagingGetter () const
 True if the property reference will result in a message to the getter. This applies to both implicit and explicit property references.
bool isMessagingSetter () const
 True if the property reference will result in a message to the setter. This applies to both implicit and explicit property references.
void setIsMessagingGetter (bool val=true)
void setIsMessagingSetter (bool val=true)
const ExprgetBase () const
ExprgetBase ()
SourceLocation getLocation () const
SourceLocation getReceiverLocation () const
QualType getSuperReceiverType () const
QualType getGetterResultType () const
QualType getSetterArgType () const
ObjCInterfaceDeclgetClassReceiver () const
bool isObjectReceiver () const
bool isSuperReceiver () const
bool isClassReceiver () const
SourceLocation getLocStart () const LLVM_READONLY
SourceLocation getLocEnd () const LLVM_READONLY
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)

Friends

class ASTStmtReader
class ASTStmtWriter

Detailed Description

ObjCPropertyRefExpr - A dot-syntax expression to access an ObjC property.

Definition at line 525 of file ExprObjC.h.


Constructor & Destructor Documentation

Definition at line 559 of file ExprObjC.h.

References clang::Type::isSpecificPlaceholderType().

Definition at line 571 of file ExprObjC.h.

References clang::Type::isSpecificPlaceholderType().

Definition at line 582 of file ExprObjC.h.

References clang::Type::isSpecificPlaceholderType().

Definition at line 593 of file ExprObjC.h.

References clang::Type::isSpecificPlaceholderType().

Definition at line 603 of file ExprObjC.h.

References clang::Type::isSpecificPlaceholderType().

Definition at line 613 of file ExprObjC.h.


Member Function Documentation

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 671 of file ExprObjC.h.

Definition at line 624 of file ExprObjC.h.

References isImplicitProperty().

Referenced by getBestPropertyDecl(), getGetterResultType(), and getGetterSelector().

Definition at line 629 of file ExprObjC.h.

References isImplicitProperty().

Referenced by getSetterArgType(), and getSetterSelector().

Definition at line 675 of file ExprObjC.h.

Referenced by findRetainCycleOwner().

Reimplemented from clang::Stmt.

Definition at line 725 of file ExprObjC.h.

Reimplemented from clang::Stmt.

Definition at line 722 of file ExprObjC.h.

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

Definition at line 677 of file ExprObjC.h.

Referenced by getLocStart().

Definition at line 678 of file ExprObjC.h.

Referenced by LookupMethodInReceiverType().

Definition at line 617 of file ExprObjC.h.

Referenced by getBestPropertyDecl(), and getGetterResultType().

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.

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.

Definition at line 660 of file ExprObjC.h.

Definition at line 664 of file ExprObjC.h.


Friends And Related Function Documentation

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.


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