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("default")]]
DeclClass*
buildClassDeclarationStatement_nfi(
declaration_ownership const& ownership,
SgName const& name,
SgClassDeclaration::class_types kind,
SgScopeStatement* scope,
SgClassDeclaration* nonDefiningDecl); 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 ... |
| 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