Skip to content

SageBuilder::buildTemplateClassDeclaration

Build tempplate class declaration

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgTemplateClassDeclaration*
buildTemplateClassDeclaration(
    declaration_ownership const& ownership,
    SgName const& name,
    SgClassDeclaration::class_types kind,
    template_class_declaration_scopes const& scopes,
    SgTemplateClassDeclaration* nonDefiningDecl,
    SgTemplateParameterPtrList* nondefiningTemplateParameterList,
    SgTemplateParameterPtrList* definingTemplateParameterList,
    SgTemplateArgumentPtrList* templateSpecializationArgumentList,
    SgName const* templateSpecializationNameOverride);

Parameters

Name Description
ownership Exact structural ownership selected by named declaration producers.
name String-backed name value used by AST nodes.
kind A declaration can be of either class, struct, union, or ...
scopes Exact semantic and canonical symbol scopes for a template-class surface.
templateSpecializationNameOverride String-backed name value used by AST nodes.

Created with MrDocs