SageBuilder::buildEnumDeclaration_nfi¶
Build one enum definition over an explicit canonical type identity.
Synopsis¶
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility("default")]]
SgEnumDeclaration*
buildEnumDeclaration_nfi(
declaration_ownership const& ownership,
SgName const& name,
bool isUnNamed,
SgScopeStatement* scope,
SgEnumDeclaration* canonicalDeclaration); Return Value¶
This class represents the concept of an enum declaration.
Parameters¶
| Name | Description |
|---|---|
| ownership | Exact structural ownership selected by named declaration producers. |
| name | String-backed name value used by AST nodes. |
| scope | This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
| canonicalDeclaration | This class represents the concept of an enum declaration. |
Created with MrDocs