clang 18.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::extractapi::ObjCClassPropertyRecord Struct Reference

#include "clang/ExtractAPI/API.h"

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

Public Member Functions

 ObjCClassPropertyRecord (StringRef USR, StringRef Name, PresumedLoc Loc, AvailabilitySet Availabilities, const DocComment &Comment, DeclarationFragments Declaration, DeclarationFragments SubHeading, AttributeKind Attributes, StringRef GetterName, StringRef SetterName, bool IsOptional, bool IsFromSystemHeader)
 
- Public Member Functions inherited from clang::extractapi::ObjCPropertyRecord
 ObjCPropertyRecord (RecordKind Kind, StringRef USR, StringRef Name, PresumedLoc Loc, AvailabilitySet Availabilities, const DocComment &Comment, DeclarationFragments Declaration, DeclarationFragments SubHeading, AttributeKind Attributes, StringRef GetterName, StringRef SetterName, bool IsOptional, bool IsFromSystemHeader)
 
bool isReadOnly () const
 
bool isDynamic () const
 
virtual ~ObjCPropertyRecord ()=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
 

Static Public Member Functions

static bool classof (const APIRecord *Record)
 

Additional Inherited Members

- Public Types inherited from clang::extractapi::ObjCPropertyRecord
enum  AttributeKind : unsigned { NoAttr = 0 , ReadOnly = 1 , Dynamic = 1 << 2 }
 The attributes associated with an Objective-C property. More...
 
- 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...
 
- Public Attributes inherited from clang::extractapi::ObjCPropertyRecord
AttributeKind Attributes
 
StringRef GetterName
 
StringRef SetterName
 
bool IsOptional
 
- 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.
 

Detailed Description

Definition at line 754 of file API.h.

Constructor & Destructor Documentation

◆ ObjCClassPropertyRecord()

clang::extractapi::ObjCClassPropertyRecord::ObjCClassPropertyRecord ( StringRef  USR,
StringRef  Name,
PresumedLoc  Loc,
AvailabilitySet  Availabilities,
const DocComment Comment,
DeclarationFragments  Declaration,
DeclarationFragments  SubHeading,
AttributeKind  Attributes,
StringRef  GetterName,
StringRef  SetterName,
bool  IsOptional,
bool  IsFromSystemHeader 
)
inline

Definition at line 755 of file API.h.

Member Function Documentation

◆ classof()

static bool clang::extractapi::ObjCClassPropertyRecord::classof ( const APIRecord Record)
inlinestatic

Definition at line 768 of file API.h.

References clang::extractapi::APIRecord::RK_ObjCClassProperty.


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