clang 18.0.0git
Public Member Functions | Public Attributes | List of all members
clang::extractapi::ObjCContainerRecord Struct Referenceabstract

The base representation of an Objective-C container record. More...

#include "clang/ExtractAPI/API.h"

Inheritance diagram for clang::extractapi::ObjCContainerRecord:
Inheritance graph
[legend]

Public Member Functions

 ObjCContainerRecord ()=delete
 
 ObjCContainerRecord (RecordKind Kind, StringRef USR, StringRef Name, PresumedLoc Loc, AvailabilitySet Availabilities, LinkageInfo Linkage, const DocComment &Comment, DeclarationFragments Declaration, DeclarationFragments SubHeading, bool IsFromSystemHeader)
 
virtual ~ObjCContainerRecord ()=0
 
- Public Member Functions inherited from clang::extractapi::APIRecord
RecordKind getKind () const
 
 APIRecord ()=delete
 
 APIRecord (RecordKind Kind, StringRef USR, StringRef Name, PresumedLoc Location, AvailabilitySet Availabilities, LinkageInfo Linkage, const DocComment &Comment, DeclarationFragments Declaration, DeclarationFragments SubHeading, bool IsFromSystemHeader)
 
 APIRecord (RecordKind Kind, StringRef USR, StringRef Name)
 
virtual ~APIRecord ()=0
 

Public Attributes

SmallVector< std::unique_ptr< ObjCMethodRecord > > Methods
 
SmallVector< std::unique_ptr< ObjCPropertyRecord > > Properties
 
SmallVector< std::unique_ptr< ObjCInstanceVariableRecord > > Ivars
 
SmallVector< SymbolReferenceProtocols
 
- Public Attributes inherited from clang::extractapi::APIRecord
StringRef USR
 
StringRef Name
 
PresumedLoc Location
 
AvailabilitySet Availabilities
 
LinkageInfo Linkage
 
DocComment Comment
 Documentation comment lines attached to this symbol declaration.
 
DeclarationFragments Declaration
 Declaration fragments of this symbol declaration.
 
DeclarationFragments SubHeading
 SubHeading provides a more detailed representation than the plain declaration name.
 
HierarchyInformation ParentInformation
 Information about the parent record of this record.
 
bool IsFromSystemHeader
 Whether the symbol was defined in a system header.
 

Additional Inherited Members

- Public Types inherited from clang::extractapi::APIRecord
enum  RecordKind {
  RK_Unknown , RK_Namespace , RK_GlobalFunction , RK_GlobalFunctionTemplate ,
  RK_GlobalFunctionTemplateSpecialization , RK_GlobalVariable , RK_GlobalVariableTemplate , RK_GlobalVariableTemplateSpecialization ,
  RK_GlobalVariableTemplatePartialSpecialization , RK_EnumConstant , RK_Enum , RK_StructField ,
  RK_Struct , RK_Union , RK_StaticField , RK_CXXField ,
  RK_CXXFieldTemplate , RK_CXXClass , RK_ClassTemplate , RK_ClassTemplateSpecialization ,
  RK_ClassTemplatePartialSpecialization , RK_Concept , RK_CXXStaticMethod , RK_CXXInstanceMethod ,
  RK_CXXConstructorMethod , RK_CXXDestructorMethod , RK_CXXMethodTemplate , RK_CXXMethodTemplateSpecialization ,
  RK_ObjCInstanceProperty , RK_ObjCClassProperty , RK_ObjCIvar , RK_ObjCClassMethod ,
  RK_ObjCInstanceMethod , RK_ObjCInterface , RK_ObjCCategory , RK_ObjCCategoryModule ,
  RK_ObjCProtocol , RK_MacroDefinition , RK_Typedef
}
 Discriminator for LLVM-style RTTI (dyn_cast<> et al.) More...
 

Detailed Description

The base representation of an Objective-C container record.

Holds common information associated with Objective-C containers.

Definition at line 899 of file API.h.

Constructor & Destructor Documentation

◆ ObjCContainerRecord() [1/2]

clang::extractapi::ObjCContainerRecord::ObjCContainerRecord ( )
delete

◆ ObjCContainerRecord() [2/2]

clang::extractapi::ObjCContainerRecord::ObjCContainerRecord ( RecordKind  Kind,
StringRef  USR,
StringRef  Name,
PresumedLoc  Loc,
AvailabilitySet  Availabilities,
LinkageInfo  Linkage,
const DocComment Comment,
DeclarationFragments  Declaration,
DeclarationFragments  SubHeading,
bool  IsFromSystemHeader 
)
inline

Definition at line 907 of file API.h.

◆ ~ObjCContainerRecord()

ObjCContainerRecord::~ObjCContainerRecord ( )
pure virtual

Definition at line 542 of file API.cpp.

Member Data Documentation

◆ Ivars

SmallVector<std::unique_ptr<ObjCInstanceVariableRecord> > clang::extractapi::ObjCContainerRecord::Ivars

Definition at line 902 of file API.h.

◆ Methods

SmallVector<std::unique_ptr<ObjCMethodRecord> > clang::extractapi::ObjCContainerRecord::Methods

Definition at line 900 of file API.h.

◆ Properties

SmallVector<std::unique_ptr<ObjCPropertyRecord> > clang::extractapi::ObjCContainerRecord::Properties

Definition at line 901 of file API.h.

◆ Protocols

SmallVector<SymbolReference> clang::extractapi::ObjCContainerRecord::Protocols

Definition at line 903 of file API.h.


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