Skip to content

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(
    SgName const& name,
    SgClassDeclaration::class_types kind,
    SgScopeStatement* scope = NULL,
    SgClassDeclaration* nonDefiningDecl = NULL);

Parameters

Name

Description

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