Synopsis Enums Member Functions Static Member Functions Private Member Functions Private Data Members
SageBuilder ::declaration_ownership Exact structural ownership selected by named declaration producers.
Synopsis Declared in <SageIII/sageInterface/sageBuilder.h >
class [[visibility("default")]] declaration_ownership; Enums Member Functions Static Member Functions Name Description embeddedDeclaratorChildstatic declaration_ownership embeddedDeclaratorChild(); semanticAuxiliarystatic declaration_ownership semanticAuxiliary(); semanticAuxiliaryPendingExactSourcestatic declaration_ownership semanticAuxiliaryPendingExactSource(); Publish through semantic auxiliary ownership while leaving provenance unclassified for one exact frontend publication. The declaration is structurally auxiliary from construction and can never acquire a lexical source-owner edge. semanticEmbeddedDeclaratorChildstatic declaration_ownership semanticEmbeddedDeclaratorChild(); Construct a detached tag with semantic provenance for typed adoption. semanticGroupMemberstatic declaration_ownership semanticGroupMember(SgDeclarationGroupStatement* owner); semanticLexicalstatic declaration_ownership semanticLexical(); Publish a semantic declaration directly in its lexical scope. sourceDeclaratorScopeChildInstatic declaration_ownership sourceDeclaratorScopeChildIn(SgDeclarationScope* owner); Publish a source-written tag in the exact function declaration scope that owns its declarator spelling while preserving the tag's semantic scope. sourceGroupMemberstatic declaration_ownership sourceGroupMember(SgDeclarationGroupStatement* owner); sourceLexicalstatic declaration_ownership sourceLexical(); Publish in the semantic scope passed to the builder. sourceLexicalClassRedeclarationInstatic declaration_ownership sourceLexicalClassRedeclarationIn( SgScopeStatement* lexicalOwner, SgClassDeclaration* canonicalTarget); Publish a distinct class source surface in a lexical scope while joining an already published exact semantic class declaration family directly. No name or template-argument lookup is permitted for this transaction. sourceLexicalInstatic declaration_ownership sourceLexicalIn(SgScopeStatement* lexicalOwner); Publish in a distinct lexical scope without changing semantic scope. sourceLexicalPendingExactSourcestatic declaration_ownership sourceLexicalPendingExactSource(); Publish in the semantic scope while leaving provenance unclassified for one later exact physical-source publication by a frontend. transformationDetachedstatic declaration_ownership transformationDetached(); Build one generated declaration surface with complete transformation provenance and semantic identity, but no lexical owner. A later typed mutation transaction must publish its exact physical output owner.
Private Member Functions Name declaration_ownershipdeclaration_ownership( kind ownership_kind, SgDeclarationGroupStatement* group_owner, SgScopeStatement* lexical_owner, SgClassDeclaration* class_redeclaration_target); [constructor]
Private Data Members Created with MrDocs