clang 17.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
clang::extractapi::ObjCInstanceVariableRecord Struct Reference

This holds information associated with Objective-C instance variables. More...

#include "clang/ExtractAPI/API.h"

Inheritance diagram for clang::extractapi::ObjCInstanceVariableRecord:
Inheritance graph
Collaboration diagram for clang::extractapi::ObjCInstanceVariableRecord:
Collaboration graph

Public Types

using AccessControl = ObjCIvarDecl::AccessControl
- Public Types inherited from clang::extractapi::APIRecord
enum  RecordKind {
  RK_Unknown , RK_GlobalFunction , RK_GlobalVariable , RK_EnumConstant ,
  RK_Enum , RK_StructField , RK_Struct , RK_ObjCInstanceProperty ,
  RK_ObjCClassProperty , RK_ObjCIvar , RK_ObjCClassMethod , RK_ObjCInstanceMethod ,
  RK_ObjCInterface , RK_ObjCCategory , RK_ObjCProtocol , RK_MacroDefinition ,
 Discriminator for LLVM-style RTTI (dyn_cast<> et al.) More...

Public Member Functions

 ObjCInstanceVariableRecord (StringRef USR, StringRef Name, PresumedLoc Loc, AvailabilitySet Availabilities, const DocComment &Comment, DeclarationFragments Declaration, DeclarationFragments SubHeading, AccessControl Access, bool IsFromSystemHeader)
- 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)
virtual ~APIRecord ()=0

Static Public Member Functions

static bool classof (const APIRecord *Record)

Public Attributes

AccessControl Access
- 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

This holds information associated with Objective-C instance variables.

Definition at line 347 of file API.h.

Member Typedef Documentation

◆ AccessControl

Definition at line 348 of file API.h.

Constructor & Destructor Documentation

◆ ObjCInstanceVariableRecord()

clang::extractapi::ObjCInstanceVariableRecord::ObjCInstanceVariableRecord ( StringRef  USR,
StringRef  Name,
PresumedLoc  Loc,
AvailabilitySet  Availabilities,
const DocComment Comment,
DeclarationFragments  Declaration,
DeclarationFragments  SubHeading,
AccessControl  Access,
bool  IsFromSystemHeader 

Definition at line 351 of file API.h.

Member Function Documentation

◆ classof()

static bool clang::extractapi::ObjCInstanceVariableRecord::classof ( const APIRecord Record)

Definition at line 362 of file API.h.

References clang::extractapi::APIRecord::RK_ObjCIvar.

Member Data Documentation

◆ Access

AccessControl clang::extractapi::ObjCInstanceVariableRecord::Access

Definition at line 349 of file API.h.

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