class ObjCImplDecl
Declaration
class ObjCImplDecl : public ObjCContainerDecl { /* full declaration omitted */ };
Description
ObjCContainerDecl - Represents a container for method declarations. Current sub-classes are ObjCInterfaceDecl, ObjCCategoryDecl, ObjCProtocolDecl, and ObjCImplDecl.
Declared at: clang/include/clang/AST/DeclObjC.h:2421
Inherits from: ObjCContainerDecl
Member Variables
- private clang::ObjCInterfaceDecl* ClassInterface
- Class interface for this class/category implementation
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 clang::ObjCPropertyImplDecl * FindPropertyImplDecl(clang::IdentifierInfo * propertyId, clang::ObjCPropertyQueryKind queryKind) const
- public clang::ObjCPropertyImplDecl * FindPropertyImplIvarDecl(clang::IdentifierInfo * ivarId) const
- protected ObjCImplDecl(clang::Decl::Kind DK, clang::DeclContext * DC, clang::ObjCInterfaceDecl * classInterface, clang::IdentifierInfo * Id, clang::SourceLocation nameLoc, clang::SourceLocation atStartLoc)
- public void addClassMethod(clang::ObjCMethodDecl * method)
- public void addInstanceMethod(clang::ObjCMethodDecl * method)
- public void addPropertyImplementation(clang::ObjCPropertyImplDecl * property)
- private void anchor()
- public static bool classof(const clang::Decl * D)
- public static bool classofKind(clang::Decl::Kind K)
- public const clang::ObjCInterfaceDecl * getClassInterface() const
- public clang::ObjCInterfaceDecl * getClassInterface()
- public clang::ObjCImplDecl::propimpl_range property_impls() const
- public clang::ObjCImplDecl::propimpl_iterator propimpl_begin() const
- public clang::ObjCImplDecl::propimpl_iterator propimpl_end() const
- public void setClassInterface(clang::ObjCInterfaceDecl * IFace)
Inherited from ObjCContainerDecl:
- public FindPropertyDeclaration
- public HasUserDeclaredSetterMethod
- public castFromDeclContext
- public castToDeclContext
- public class_methods
- public class_properties
- public classmeth_begin
- public classmeth_end
- public classof
- public classofKind
- public classprop_begin
- public classprop_end
- public collectPropertiesToImplement
- public getAtEndRange
- public getAtStartLoc
- public getClassMethod
- public getInstanceMethod
- public getIvarDecl
- public getMethod
- public getProperty
- public getSourceRange
- public instance_methods
- public instance_properties
- public instmeth_begin
- public instmeth_end
- public instprop_begin
- public instprop_end
- public meth_begin
- public meth_end
- public methods
- public prop_begin
- public prop_end
- public properties
- public setAtEndRange
- public setAtStartLoc
Inherited from DeclContext:
- protected BuildDeclChain
- public Encloses
- public Equals
- public InEnclosingNamespaceSetOf
- public addDecl
- public addDeclInternal
- public addHiddenDecl
- public buildLookup
- public classof
- public classof
- public collectAllContexts
- public containsDecl
- public containsDeclAndLoad
- public ddiags
- public decls
- public decls_begin
- public decls_empty
- public decls_end
- public dumpDeclContext
- public dumpLookups
- public dumpLookups
- public getDeclKind
- public getDeclKindName
- public getEnclosingNamespaceContext
- public getEnclosingNamespaceContext
- public getExternCContext
- public getInnermostBlockDecl
- public getLexicalParent
- public getLexicalParent
- public getLookupParent
- public getLookupParent
- public getLookupPtr
- public getNonClosureAncestor
- public getNonClosureAncestor
- public getNonTransparentContext
- public getNonTransparentContext
- public getOuterLexicalRecordContext
- public getOuterLexicalRecordContext
- public getParent
- public getParent
- public getParentASTContext
- public getPrimaryContext
- public getPrimaryContext
- public getRedeclContext
- public getRedeclContext
- public hasExternalLexicalStorage
- public hasExternalVisibleStorage
- public isClosure
- public isDeclInLexicalTraversal
- public isDependentContext
- public isExternCContext
- public isExternCXXContext
- public isFileContext
- public isFunctionOrMethod
- public isInlineNamespace
- public isLookupContext
- public isNamespace
- public isObjCContainer
- public isRecord
- public isStdNamespace
- public isTranslationUnit
- public isTransparentContext
- public localUncachedLookup
- public lookup
- public lookups
- public lookups_begin
- public lookups_end
- public makeDeclVisibleInContext
- public noload_decls
- public noload_decls_begin
- public noload_decls_end
- public noload_lookup
- public noload_lookups
- public noload_lookups_begin
- public noload_lookups_end
- public removeDecl
- public setHasExternalLexicalStorage
- public setHasExternalVisibleStorage
- public setMustBuildLookupTable
- public setUseQualifiedLookup
- public shouldUseQualifiedLookup
- public using_directives
Inherited from NamedDecl:
- public classof
- public classofKind
- public declarationReplaces
- public getDeclName
- public getExplicitVisibility
- public getFormalLinkage
- public getIdentifier
- public getLinkageAndVisibility
- public getLinkageInternal
- public getMostRecentDecl
- public getMostRecentDecl
- public getName
- public getNameAsString
- public getNameForDiagnostic
- public getObjCFStringFormattingFamily
- public getQualifiedNameAsString
- public getUnderlyingDecl
- public getUnderlyingDecl
- public getVisibility
- public hasExternalFormalLinkage
- public hasLinkage
- public hasLinkageBeenComputed
- public isCXXClassMember
- public isCXXInstanceMember
- public isExternallyDeclarable
- public isExternallyVisible
- public isLinkageValid
- public isReserved
- public printName
- public printNestedNameSpecifier
- public printNestedNameSpecifier
- public printQualifiedName
- public printQualifiedName
- public setDeclName
Inherited from Decl:
- public EnableStatistics
- public PrintStats
- public add
- public addAttr
- public attr_begin
- public attr_end
- public attrs
- public canBeWeakImported
- public castFromDeclContext
- public castToDeclContext
- public classofKind
- public dropAttr
- public dropAttrs
- public dump
- public dump
- public dumpColor
- public getASTContext
- protected getASTMutationListener
- public getAccess
- public getAccessUnsafe
- public getAsFunction
- public getAsFunction
- public getAttr
- public getAttrs
- public getAttrs
- public getAvailability
- public getBeginLoc
- public getBody
- public getBodyRBrace
- protected getCachedLinkage
- public getCanonicalDecl
- public getCanonicalDecl
- public getDeclContext
- public getDeclContext
- public getDeclKindName
- public getDefiningAttr
- public getDescribedTemplate
- public getDescribedTemplateParams
- public getEndLoc
- public getExternalSourceSymbolAttr
- public getFriendObjectKind
- public getFunctionType
- public getGlobalID
- public getID
- public getIdentifierNamespace
- public getIdentifierNamespaceForKind
- public getImportedOwningModule
- public getKind
- public getLangOpts
- public getLexicalDeclContext
- public getLexicalDeclContext
- public getLocalOwningModule
- public getLocation
- public getMaxAlignment
- public getModuleOwnershipKind
- public getMostRecentDecl
- public getMostRecentDecl
- protected getMostRecentDeclImpl
- public getNextDeclInContext
- public getNextDeclInContext
- protected getNextRedeclarationImpl
- public getNonClosureContext
- public getNonClosureContext
- public getOwningModule
- public getOwningModuleForLinkage
- public getOwningModuleID
- public getParentFunctionOrMethod
- public getParentFunctionOrMethod
- public getPreviousDecl
- public getPreviousDecl
- protected getPreviousDeclImpl
- public getSourceRange
- public getTemplateDepth
- public getTranslationUnitDecl
- public getTranslationUnitDecl
- public getVersionIntroduced
- public hasAttr
- public hasAttrs
- public hasBody
- protected hasCachedLinkage
- public hasDefiningAttr
- protected hasLocalOwningModuleStorage
- public hasOwningModule
- public hasTagIdentifierNamespace
- public isCanonicalDecl
- public isDefinedOutsideFunctionOrMethod
- public isDeprecated
- public isDiscardedInGlobalModuleFragment
- public isFirstDecl
- public isFromASTFile
- public isFunctionOrFunctionTemplate
- public isImplicit
- public isInAnonymousNamespace
- public isInExportDeclContext
- public isInIdentifierNamespace
- public isInLocalScopeForInstantiation
- public isInStdNamespace
- public isInvalidDecl
- public isInvisibleOutsideTheOwningModule
- public isLocalExternDecl
- public isModulePrivate
- public isOutOfLine
- public isParameterPack
- public isReachable
- public isReferenced
- public isTagIdentifierNamespace
- public isTemplateDecl
- public isTemplateParameter
- public isTemplateParameterPack
- public isTemplated
- public isThisDeclarationReferenced
- public isTopLevelDeclInObjCContainer
- public isUnavailable
- public isUnconditionallyVisible
- public isUsed
- public isWeakImported
- public markUsed
- public print
- public print
- public printGroup
- public redecls
- public redecls_begin
- public redecls_end
- public setAccess
- public setAttrs
- protected setCachedLinkage
- public setDeclContext
- public setFromASTFile
- public setImplicit
- public setInvalidDecl
- public setIsUsed
- public setLexicalDeclContext
- public setLocalExternDecl
- public setLocalOwningModule
- public setLocation
- public setModuleOwnershipKind
- protected setModulePrivate
- public setNonMemberOperator
- public setObjectOfFriendDecl
- public setOwningModuleID
- public setReferenced
- public setTopLevelDeclInObjCContainer
- public setVisibleDespiteOwningModule
- public specific_attr_begin
- public specific_attr_end
- public specific_attrs
- protected updateOutOfDate
Methods
¶clang::ObjCPropertyImplDecl* FindPropertyImplDecl(
clang::IdentifierInfo* propertyId,
clang::ObjCPropertyQueryKind queryKind) const
clang::ObjCPropertyImplDecl* FindPropertyImplDecl(
clang::IdentifierInfo* propertyId,
clang::ObjCPropertyQueryKind queryKind) const
Declared at: clang/include/clang/AST/DeclObjC.h:2454
Parameters
- clang::IdentifierInfo* propertyId
- clang::ObjCPropertyQueryKind queryKind
¶clang::ObjCPropertyImplDecl*
FindPropertyImplIvarDecl(
clang::IdentifierInfo* ivarId) const
clang::ObjCPropertyImplDecl*
FindPropertyImplIvarDecl(
clang::IdentifierInfo* ivarId) const
Declared at: clang/include/clang/AST/DeclObjC.h:2456
Parameters
- clang::IdentifierInfo* ivarId
¶ObjCImplDecl(
clang::Decl::Kind DK,
clang::DeclContext* DC,
clang::ObjCInterfaceDecl* classInterface,
clang::IdentifierInfo* Id,
clang::SourceLocation nameLoc,
clang::SourceLocation atStartLoc)
ObjCImplDecl(
clang::Decl::Kind DK,
clang::DeclContext* DC,
clang::ObjCInterfaceDecl* classInterface,
clang::IdentifierInfo* Id,
clang::SourceLocation nameLoc,
clang::SourceLocation atStartLoc)
Declared at: clang/include/clang/AST/DeclObjC.h:2428
Parameters
- clang::Decl::Kind DK
- clang::DeclContext* DC
- clang::ObjCInterfaceDecl* classInterface
- clang::IdentifierInfo* Id
- clang::SourceLocation nameLoc
- clang::SourceLocation atStartLoc
¶void addClassMethod(clang::ObjCMethodDecl* method)
void addClassMethod(clang::ObjCMethodDecl* method)
Declared at: clang/include/clang/AST/DeclObjC.h:2446
Parameters
- clang::ObjCMethodDecl* method
¶void addInstanceMethod(
clang::ObjCMethodDecl* method)
void addInstanceMethod(
clang::ObjCMethodDecl* method)
Declared at: clang/include/clang/AST/DeclObjC.h:2440
Parameters
- clang::ObjCMethodDecl* method
¶void addPropertyImplementation(
clang::ObjCPropertyImplDecl* property)
void addPropertyImplementation(
clang::ObjCPropertyImplDecl* property)
Declared at: clang/include/clang/AST/DeclObjC.h:2452
Parameters
- clang::ObjCPropertyImplDecl* property
¶void anchor()
void anchor()
Declared at: clang/include/clang/AST/DeclObjC.h:2425
¶static bool classof(const clang::Decl* D)
static bool classof(const clang::Decl* D)
Declared at: clang/include/clang/AST/DeclObjC.h:2475
Parameters
- const clang::Decl* D
¶static bool classofKind(clang::Decl::Kind K)
static bool classofKind(clang::Decl::Kind K)
Declared at: clang/include/clang/AST/DeclObjC.h:2477
Parameters
- clang::Decl::Kind K
¶const clang::ObjCInterfaceDecl*
getClassInterface() const
const clang::ObjCInterfaceDecl*
getClassInterface() const
Declared at: clang/include/clang/AST/DeclObjC.h:2436
¶clang::ObjCInterfaceDecl* getClassInterface()
clang::ObjCInterfaceDecl* getClassInterface()
Declared at: clang/include/clang/AST/DeclObjC.h:2437
¶clang::ObjCImplDecl::propimpl_range
property_impls() const
clang::ObjCImplDecl::propimpl_range
property_impls() const
Declared at: clang/include/clang/AST/DeclObjC.h:2463
¶clang::ObjCImplDecl::propimpl_iterator
propimpl_begin() const
clang::ObjCImplDecl::propimpl_iterator
propimpl_begin() const
Declared at: clang/include/clang/AST/DeclObjC.h:2467
¶clang::ObjCImplDecl::propimpl_iterator
propimpl_end() const
clang::ObjCImplDecl::propimpl_iterator
propimpl_end() const
Declared at: clang/include/clang/AST/DeclObjC.h:2471
¶void setClassInterface(
clang::ObjCInterfaceDecl* IFace)
void setClassInterface(
clang::ObjCInterfaceDecl* IFace)
Declared at: clang/include/clang/AST/DeclObjC.h:2438
Parameters
- clang::ObjCInterfaceDecl* IFace