SageBuilder::buildClassDeclarationStatement_nfi
Build a generic class declaration statement (SgClassDeclaration or subclass) with a class declaration and definition (creating both the defining and nondefining declarations as required.
Synopsis
Declared in <SageIII/sageInterface/sageBuilder.h>
template<class DeclClass>
[[visibility]]
DeclClass*
buildClassDeclarationStatement_nfi(
declaration_ownership const& ownership,
SgName const& name,
SgClassDeclaration::class_types kind,
SgScopeStatement* scope,
SgClassDeclaration* nonDefiningDecl,
bool exactScopeOnly);
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.). |
nonDefiningDecl |
This class represents the concept of a class declaration statement. It includes the |
Created with MrDocs