Skip to content

SageBuilder::typedef_declaration_ownership

Build a typedef declaration, such as: typedef int myint; typedef struct A {..} s_A;

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

class [[visibility("default")]] typedef_declaration_ownership;

Enums

Name
kind

Member Functions

Name
getDeclarationGroupOwner
SgDeclarationGroupStatement* getDeclarationGroupOwner() const;
getKind
kind getKind() const;

Static Member Functions

Name Description
semanticAuxiliary
static typedef_declaration_ownership semanticAuxiliary();
semanticGroupMember
static typedef_declaration_ownership semanticGroupMember(SgDeclarationGroupStatement* owner);
semanticLexical
static typedef_declaration_ownership semanticLexical();
Attach a semantic-only declaration to a semantic body in statement order. Unlike semanticAuxiliary(), this is body structure rather than a scope-visible dependency with no lexical child edge.
sourceAuxiliaryPendingExactSource
static typedef_declaration_ownership sourceAuxiliaryPendingExactSource();
Publish a source-written typedef's semantic identity before its ordinary lexical traversal. The declaration remains auxiliary-owned and has no source provenance until the exact Clang source occurrence completes the transaction.
sourceGroupMember
static typedef_declaration_ownership sourceGroupMember(SgDeclarationGroupStatement* owner);
sourceLexical
static typedef_declaration_ownership sourceLexical();
sourceLexicalPendingPublication
static typedef_declaration_ownership sourceLexicalPendingPublication();
Construct and publish the semantic identity of a transformation-owned source typedef while leaving its lexical root detached for an enclosing insertion transaction.
sourceTypedChild
static typedef_declaration_ownership sourceTypedChild();
Keep a source declaration detached while its enclosing statement producer constructs the declaration's sole typed child edge. The semantic scope passed to the builder still owns the declaration symbol.

Private Member Functions

Name
typedef_declaration_ownership
typedef_declaration_ownership( kind ownership_kind, SgDeclarationGroupStatement* group_owner); [constructor]

Private Data Members

Name
group_owner_
ownership_kind_

Created with MrDocs