class ObjCCategoryImplDecl

Declaration

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

Description

ObjCCategoryImplDecl - An object of this class encapsulates a category @ implementation declaration. If a category class has declaration of a property, its implementation must be specified in the category's @ implementation declaration. Example: @ interface I @ end @ interface I(CATEGORY) @ property int p1, d1; @ end @ implementation I(CATEGORY) @ dynamic p1,d1; @ end ObjCCategoryImplDecl

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

Inherits from: ObjCImplDecl

Member Variables

private clang::SourceLocation CategoryNameLoc

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 static clang::ObjCCategoryImplDecl * Create(clang::ASTContext & C, clang::DeclContext * DC, clang::IdentifierInfo * Id, clang::ObjCInterfaceDecl * classInterface, clang::SourceLocation nameLoc, clang::SourceLocation atStartLoc, clang::SourceLocation CategoryNameLoc)
  • public static clang::ObjCCategoryImplDecl * CreateDeserialized(clang::ASTContext & C, unsigned int ID)
  • private ObjCCategoryImplDecl(clang::DeclContext * DC, clang::IdentifierInfo * Id, clang::ObjCInterfaceDecl * classInterface, clang::SourceLocation nameLoc, clang::SourceLocation atStartLoc, clang::SourceLocation CategoryNameLoc)
  • private void anchor()
  • public static bool classof(const clang::Decl * D)
  • public static bool classofKind(clang::Decl::Kind K)
  • public clang::ObjCCategoryDecl * getCategoryDecl() const
  • public clang::SourceLocation getCategoryNameLoc() const

Inherited from ObjCImplDecl:

Inherited from ObjCContainerDecl:

Inherited from DeclContext:

Inherited from NamedDecl:

Inherited from Decl:

Methods

static clang::ObjCCategoryImplDecl* Create(
    clang::ASTContext& C,
    clang::DeclContext* DC,
    clang::IdentifierInfo* Id,
    clang::ObjCInterfaceDecl* classInterface,
    clang::SourceLocation nameLoc,
    clang::SourceLocation atStartLoc,
    clang::SourceLocation CategoryNameLoc)

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

Parameters

clang::ASTContext& C
clang::DeclContext* DC
clang::IdentifierInfo* Id
clang::ObjCInterfaceDecl* classInterface
clang::SourceLocation nameLoc
clang::SourceLocation atStartLoc
clang::SourceLocation CategoryNameLoc

static clang::ObjCCategoryImplDecl*
CreateDeserialized(clang::ASTContext& C,
                   unsigned int ID)

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

Parameters

clang::ASTContext& C
unsigned int ID

ObjCCategoryImplDecl(
    clang::DeclContext* DC,
    clang::IdentifierInfo* Id,
    clang::ObjCInterfaceDecl* classInterface,
    clang::SourceLocation nameLoc,
    clang::SourceLocation atStartLoc,
    clang::SourceLocation CategoryNameLoc)

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

Parameters

clang::DeclContext* DC
clang::IdentifierInfo* Id
clang::ObjCInterfaceDecl* classInterface
clang::SourceLocation nameLoc
clang::SourceLocation atStartLoc
clang::SourceLocation CategoryNameLoc

void anchor()

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

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

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

Parameters

const clang::Decl* D

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

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

Parameters

clang::Decl::Kind K

clang::ObjCCategoryDecl* getCategoryDecl() const

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

clang::SourceLocation getCategoryNameLoc() const

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