Skip to content

SageBuilder::template_class_declaration_scopes

Exact semantic and canonical symbol scopes for a template-class surface.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

class [[visibility("default")]] template_class_declaration_scopes final

Description

Namespace reopenings are distinct semantic/source scopes that share one canonical symbol table. Class-like scopes, by contrast, are exact identity owners and are never normalized. Construct this descriptor from the exact semantic scope of the declaration being built; callers cannot supply or repair the canonical symbol scope independently.

Member Functions

Name
getCanonicalSymbolScope
SgScopeStatement* getCanonicalSymbolScope() const;
getExactSemanticScope
SgScopeStatement* getExactSemanticScope() const;

Static Member Functions

Name
fromExactSemanticScope
static template_class_declaration_scopes fromExactSemanticScope(SgScopeStatement* exactSemanticScope);

Private Member Functions

Name Description
template_class_declaration_scopes
template_class_declaration_scopes( SgScopeStatement* exactSemanticScope, SgScopeStatement* canonicalSymbolScope); [constructor]
Constructor

Private Data Members

Name
canonical_symbol_scope_
exact_semantic_scope_

Created with MrDocs