SageBuilder::buildNondefiningClassDeclaration_nfi
Build a class first nondefining declaration, without file info.
Synopsis
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility]]
SgClassDeclaration*
buildNondefiningClassDeclaration_nfi(
declaration_ownership const& ownership,
SgName const& name,
SgClassDeclaration::class_types kind,
SgScopeStatement* scope,
SgTemplateClassDeclaration* templateDeclaration,
SgTemplateArgumentPtrList* templateArgumentsList,
SgName const* templateInstantiationNameOverride,
bool anonymousInternalIdentity = false);
Description
A non‐null templateDeclaration selects SgTemplateInstantiationDecl and is installed by its constructor. Template arguments without that exact identity are malformed input; a null templateDeclaration therefore requires both template‐specific arguments to be null.
Return Value
This class represents the concept of a class declaration statement. It includes the
Parameters
Name |
Description |
ownership |
Exact structural ownership selected by named declaration producers. |
name |
This class represents strings within the IR nodes. |
scope |
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
templateInstantiationNameOverride |
This class represents strings within the IR nodes. |
Created with MrDocs