SageBuilder::buildAnonymousStructDeclaration¶
Build a source-anonymous structure with an explicit, non-empty semantic identity. The internal name is never emitted as source.
Synopsis¶
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility("default")]]
SgClassDeclaration*
buildAnonymousStructDeclaration(
declaration_ownership const& ownership,
SgName const& internalName,
SgScopeStatement* scope); 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. |
| internalName | 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.). |
Created with MrDocs