clang API Documentation

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
clang::ObjCImplDecl Class Reference

#include <DeclObjC.h>

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

List of all members.

Public Types

typedef specific_decl_iterator
< ObjCPropertyImplDecl
propimpl_iterator
typedef llvm::iterator_range
< specific_decl_iterator
< ObjCPropertyImplDecl > > 
propimpl_range

Public Member Functions

const ObjCInterfaceDeclgetClassInterface () const
ObjCInterfaceDeclgetClassInterface ()
void setClassInterface (ObjCInterfaceDecl *IFace)
void addInstanceMethod (ObjCMethodDecl *method)
void addClassMethod (ObjCMethodDecl *method)
void addPropertyImplementation (ObjCPropertyImplDecl *property)
ObjCPropertyImplDeclFindPropertyImplDecl (IdentifierInfo *propertyId) const
ObjCPropertyImplDeclFindPropertyImplIvarDecl (IdentifierInfo *ivarId) const
propimpl_range property_impls () const
propimpl_iterator propimpl_begin () const
propimpl_iterator propimpl_end () const

Static Public Member Functions

static bool classof (const Decl *D)
static bool classofKind (Kind K)

Protected Member Functions

 ObjCImplDecl (Kind DK, DeclContext *DC, ObjCInterfaceDecl *classInterface, SourceLocation nameLoc, SourceLocation atStartLoc)

Detailed Description

Definition at line 1841 of file DeclObjC.h.


Member Typedef Documentation

Definition at line 1879 of file DeclObjC.h.

Definition at line 1881 of file DeclObjC.h.


Constructor & Destructor Documentation

clang::ObjCImplDecl::ObjCImplDecl ( Kind  DK,
DeclContext DC,
ObjCInterfaceDecl classInterface,
SourceLocation  nameLoc,
SourceLocation  atStartLoc 
) [inline, protected]

Definition at line 1848 of file DeclObjC.h.


Member Function Documentation

Definition at line 1729 of file DeclObjC.cpp.

References clang::DeclContext::addDecl().

Referenced by clang::Sema::ActOnPropertyImplDecl().

static bool clang::ObjCImplDecl::classof ( const Decl D) [inline, static]

Reimplemented from clang::ObjCContainerDecl.

Reimplemented in clang::ObjCImplementationDecl, and clang::ObjCCategoryImplDecl.

Definition at line 1893 of file DeclObjC.h.

References classofKind(), and clang::Decl::getKind().

static bool clang::ObjCImplDecl::classofKind ( Kind  K) [inline, static]

Reimplemented from clang::ObjCContainerDecl.

Reimplemented in clang::ObjCImplementationDecl, and clang::ObjCCategoryImplDecl.

Definition at line 1894 of file DeclObjC.h.

Referenced by classof().

FindPropertyImplDecl - This method looks up a previous ObjCPropertyImplDecl added to the list of those properties @synthesized/@dynamic in this category @implementation block.

Definition at line 1770 of file DeclObjC.cpp.

References property_impls().

Referenced by clang::Sema::ActOnPropertyImplDecl(), clang::Sema::AtomicPropertySetterGetterRules(), ClassImplementsAllMethodsAndProperties(), clang::Sema::DefaultSynthesizeProperties(), and clang::ASTNodeImporter::VisitObjCPropertyImplDecl().

FindPropertyImplIvarDecl - This method lookup the ivar in the list of properties implemented in this @implementation block and returns the implemented property that uses it.

Definition at line 1757 of file DeclObjC.cpp.

References property_impls().

Referenced by clang::Sema::ActOnPropertyImplDecl(), and clang::Sema::DefaultSynthesizeProperties().

Definition at line 1859 of file DeclObjC.h.

Definition at line 1886 of file DeclObjC.h.

References clang::DeclContext::decls_begin().

Referenced by property_impls().

Definition at line 1889 of file DeclObjC.h.

References clang::DeclContext::decls_end().

Referenced by property_impls().


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