Skip to content

SageBuilder::buildNondefiningEnumDeclaration_nfi

Build an enum nondefining declaration, without file info

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgEnumDeclaration*
buildNondefiningEnumDeclaration_nfi(
    SgName const& name,
    bool isUnNamed,
    SgScopeStatement* scope,
    declaration_ownership const& ownership,
    SgEnumDeclaration* canonicalDeclaration);

Return Value

This class represents the concept of an enum declaration.

Parameters

Name Description
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.).
ownership Exact structural ownership selected by named declaration producers.
canonicalDeclaration This class represents the concept of an enum declaration.

Created with MrDocs