clang 20.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::ObjCCategoryImplDecl Class Reference

ObjCCategoryImplDecl - An object of this class encapsulates a category @implementation declaration. More...

#include "clang/AST/DeclObjC.h"

Inheritance diagram for clang::ObjCCategoryImplDecl:
Inheritance graph
[legend]

Public Member Functions

ObjCCategoryDeclgetCategoryDecl () const
 
SourceLocation getCategoryNameLoc () const
 
- Public Member Functions inherited from clang::ObjCImplDecl
const ObjCInterfaceDeclgetClassInterface () const
 
ObjCInterfaceDeclgetClassInterface ()
 
void setClassInterface (ObjCInterfaceDecl *IFace)
 
void addInstanceMethod (ObjCMethodDecl *method)
 
void addClassMethod (ObjCMethodDecl *method)
 
void addPropertyImplementation (ObjCPropertyImplDecl *property)
 
ObjCPropertyImplDeclFindPropertyImplDecl (IdentifierInfo *propertyId, ObjCPropertyQueryKind queryKind) const
 FindPropertyImplDecl - This method looks up a previous ObjCPropertyImplDecl added to the list of those properties @synthesized/@dynamic in this category @implementation block.
 
ObjCPropertyImplDeclFindPropertyImplIvarDecl (IdentifierInfo *ivarId) const
 FindPropertyImplIvarDecl - This method lookup the ivar in the list of properties implemented in this @implementation block and returns the implemented property that uses it.
 
propimpl_range property_impls () const
 
propimpl_iterator propimpl_begin () const
 
propimpl_iterator propimpl_end () const
 
- Public Member Functions inherited from clang::ObjCContainerDecl
 ObjCContainerDecl (Kind DK, DeclContext *DC, const IdentifierInfo *Id, SourceLocation nameLoc, SourceLocation atStartLoc)
 
prop_range properties () const
 
prop_iterator prop_begin () const
 
prop_iterator prop_end () const
 
instprop_range instance_properties () const
 
instprop_iterator instprop_begin () const
 
instprop_iterator instprop_end () const
 
classprop_range class_properties () const
 
classprop_iterator classprop_begin () const
 
classprop_iterator classprop_end () const
 
method_range methods () const
 
method_iterator meth_begin () const
 
method_iterator meth_end () const
 
instmeth_range instance_methods () const
 
instmeth_iterator instmeth_begin () const
 
instmeth_iterator instmeth_end () const
 
classmeth_range class_methods () const
 
classmeth_iterator classmeth_begin () const
 
classmeth_iterator classmeth_end () const
 
ObjCMethodDeclgetMethod (Selector Sel, bool isInstance, bool AllowHidden=false) const
 
ObjCMethodDeclgetInstanceMethod (Selector Sel, bool AllowHidden=false) const
 
ObjCMethodDeclgetClassMethod (Selector Sel, bool AllowHidden=false) const
 
bool HasUserDeclaredSetterMethod (const ObjCPropertyDecl *P) const
 This routine returns 'true' if a user declared setter method was found in the class, its protocols, its super classes or categories.
 
ObjCIvarDeclgetIvarDecl (IdentifierInfo *Id) const
 getIvarDecl - This method looks up an ivar in this ContextDecl.
 
ObjCPropertyDeclgetProperty (const IdentifierInfo *Id, bool IsInstance) const
 
ObjCPropertyDeclFindPropertyDeclaration (const IdentifierInfo *PropertyId, ObjCPropertyQueryKind QueryKind) const
 FindPropertyDeclaration - Finds declaration of the property given its name in 'PropertyId' and returns it.
 
virtual void collectPropertiesToImplement (PropertyMap &PM) const
 This routine collects list of properties to be implemented in the class.
 
SourceLocation getAtStartLoc () const
 
void setAtStartLoc (SourceLocation Loc)
 
SourceRange getAtEndRange () const
 
void setAtEndRange (SourceRange atEnd)
 
SourceRange getSourceRange () const override LLVM_READONLY
 Source range that this declaration covers.
 
- Public Member Functions inherited from clang::NamedDecl
IdentifierInfogetIdentifier () const
 Get the identifier that names this declaration, if there is one.
 
StringRef getName () const
 Get the name of identifier for this declaration as a StringRef.
 
std::string getNameAsString () const
 Get a human-readable name for the declaration, even if it is one of the special kinds of names (C++ constructor, Objective-C selector, etc).
 
virtual void printName (raw_ostream &OS, const PrintingPolicy &Policy) const
 Pretty-print the unqualified name of this declaration.
 
void printName (raw_ostream &OS) const
 Calls printName() with the ASTContext printing policy from the decl.
 
DeclarationName getDeclName () const
 Get the actual, stored name of the declaration, which may be a special name.
 
void setDeclName (DeclarationName N)
 Set the name of this declaration.
 
void printQualifiedName (raw_ostream &OS) const
 Returns a human-readable qualified name for this declaration, like A::B::i, for i being member of namespace A::B.
 
void printQualifiedName (raw_ostream &OS, const PrintingPolicy &Policy) const
 
void printNestedNameSpecifier (raw_ostream &OS) const
 Print only the nested name specifier part of a fully-qualified name, including the '::' at the end.
 
void printNestedNameSpecifier (raw_ostream &OS, const PrintingPolicy &Policy) const
 
std::string getQualifiedNameAsString () const
 
virtual void getNameForDiagnostic (raw_ostream &OS, const PrintingPolicy &Policy, bool Qualified) const
 Appends a human-readable name for this declaration into the given stream.
 
bool declarationReplaces (const NamedDecl *OldD, bool IsKnownNewer=true) const
 Determine whether this declaration, if known to be well-formed within its context, will replace the declaration OldD if introduced into scope.
 
bool hasLinkage () const
 Determine whether this declaration has linkage.
 
bool isCXXClassMember () const
 Determine whether this declaration is a C++ class member.
 
bool isCXXInstanceMember () const
 Determine whether the given declaration is an instance member of a C++ class.
 
ReservedIdentifierStatus isReserved (const LangOptions &LangOpts) const
 Determine if the declaration obeys the reserved identifier rules of the given language.
 
Linkage getLinkageInternal () const
 Determine what kind of linkage this entity has.
 
Linkage getFormalLinkage () const
 Get the linkage from a semantic point of view.
 
bool hasExternalFormalLinkage () const
 True if this decl has external linkage.
 
bool isExternallyVisible () const
 
bool isExternallyDeclarable () const
 Determine whether this declaration can be redeclared in a different translation unit.
 
Visibility getVisibility () const
 Determines the visibility of this entity.
 
LinkageInfo getLinkageAndVisibility () const
 Determines the linkage and visibility of this entity.
 
std::optional< VisibilitygetExplicitVisibility (ExplicitVisibilityKind kind) const
 If visibility was explicitly specified for this declaration, return that visibility.
 
bool isLinkageValid () const
 True if the computed linkage is valid.
 
bool