class ObjCImplDecl

Declaration

class ObjCImplDecl : public ObjCContainerDecl { /* full declaration omitted */ };

Description

ObjCContainerDecl - Represents a container for method declarations. Current sub-classes are ObjCInterfaceDecl, ObjCCategoryDecl, ObjCProtocolDecl, and ObjCImplDecl.

Declared at: clang/include/clang/AST/DeclObjC.h:2421

Inherits from: ObjCContainerDecl

Member Variables

private clang::ObjCInterfaceDecl* ClassInterface
Class interface for this class/category implementation

Inherited from DeclContext:

protected
protected FirstDecl = nullptr
protected LastDecl = nullptr

Inherited from Decl:

protected NextInContextAndBits
protected Access
protected FromASTFile
protected IdentifierNamespace
protected CacheValidAndLinkage

Method Overview

  • public clang::ObjCPropertyImplDecl * FindPropertyImplDecl(clang::IdentifierInfo * propertyId, clang::ObjCPropertyQueryKind queryKind) const
  • public clang::ObjCPropertyImplDecl * FindPropertyImplIvarDecl(clang::IdentifierInfo * ivarId) const
  • protected ObjCImplDecl(clang::Decl::Kind DK, clang::DeclContext * DC, clang::ObjCInterfaceDecl * classInterface, clang::IdentifierInfo * Id, clang::SourceLocation nameLoc, clang::SourceLocation atStartLoc)
  • public void addClassMethod(clang::ObjCMethodDecl * method)
  • public void addInstanceMethod(clang::ObjCMethodDecl * method)
  • public void addPropertyImplementation(clang::ObjCPropertyImplDecl * property)
  • private void anchor()
  • public static bool classof(const clang::Decl * D)
  • public static bool classofKind(clang::Decl::Kind K)
  • public const clang::ObjCInterfaceDecl * getClassInterface() const
  • public clang::ObjCInterfaceDecl * getClassInterface()
  • public clang::ObjCImplDecl::propimpl_range property_impls() const
  • public clang::ObjCImplDecl::propimpl_iterator propimpl_begin() const
  • public clang::ObjCImplDecl::propimpl_iterator propimpl_end() const
  • public void setClassInterface(clang::ObjCInterfaceDecl * IFace)

Inherited from ObjCContainerDecl:

Inherited from DeclContext:

Inherited from NamedDecl:

Inherited from Decl:

Methods

clang::ObjCPropertyImplDecl* FindPropertyImplDecl(
    clang::IdentifierInfo* propertyId,
    clang::ObjCPropertyQueryKind queryKind) const

Declared at: clang/include/clang/AST/DeclObjC.h:2454

Parameters

clang::IdentifierInfo* propertyId
clang::ObjCPropertyQueryKind queryKind

clang::ObjCPropertyImplDecl*
FindPropertyImplIvarDecl(
    clang::IdentifierInfo* ivarId) const

Declared at: clang/include/clang/AST/DeclObjC.h:2456

Parameters

clang::IdentifierInfo* ivarId

ObjCImplDecl(
    clang::Decl::Kind DK,
    clang::DeclContext* DC,
    clang::ObjCInterfaceDecl* classInterface,
    clang::IdentifierInfo* Id,
    clang::SourceLocation nameLoc,
    clang::SourceLocation atStartLoc)

Declared at: clang/include/clang/AST/DeclObjC.h:2428

Parameters

clang::Decl::Kind DK
clang::DeclContext* DC
clang::ObjCInterfaceDecl* classInterface
clang::IdentifierInfo* Id
clang::SourceLocation nameLoc
clang::SourceLocation atStartLoc

void addClassMethod(clang::ObjCMethodDecl* method)

Declared at: clang/include/clang/AST/DeclObjC.h:2446

Parameters

clang::ObjCMethodDecl* method

void addInstanceMethod(
    clang::ObjCMethodDecl* method)

Declared at: clang/include/clang/AST/DeclObjC.h:2440

Parameters

clang::ObjCMethodDecl* method

void addPropertyImplementation(
    clang::ObjCPropertyImplDecl* property)

Declared at: clang/include/clang/AST/DeclObjC.h:2452

Parameters

clang::ObjCPropertyImplDecl* property

void anchor()

Declared at: clang/include/clang/AST/DeclObjC.h:2425

static bool classof(const clang::Decl* D)

Declared at: clang/include/clang/AST/DeclObjC.h:2475

Parameters

const clang::Decl* D

static bool classofKind(clang::Decl::Kind K)

Declared at: clang/include/clang/AST/DeclObjC.h:2477

Parameters

clang::Decl::Kind K

const clang::ObjCInterfaceDecl*
getClassInterface() const

Declared at: clang/include/clang/AST/DeclObjC.h:2436

clang::ObjCInterfaceDecl* getClassInterface()

Declared at: clang/include/clang/AST/DeclObjC.h:2437

clang::ObjCImplDecl::propimpl_range
property_impls() const

Declared at: clang/include/clang/AST/DeclObjC.h:2463

clang::ObjCImplDecl::propimpl_iterator
propimpl_begin() const

Declared at: clang/include/clang/AST/DeclObjC.h:2467

clang::ObjCImplDecl::propimpl_iterator
propimpl_end() const

Declared at: clang/include/clang/AST/DeclObjC.h:2471

void setClassInterface(
    clang::ObjCInterfaceDecl* IFace)

Declared at: clang/include/clang/AST/DeclObjC.h:2438

Parameters

clang::ObjCInterfaceDecl* IFace