Skip to content

SageBuilder::buildDerivedTypeStatement

Build an SgDerivedTypeStatement Fortran derived type declaration with a class declaration and definition (creating both the defining and nondefining declarations as required).

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgDerivedTypeStatement*
buildDerivedTypeStatement(
    declaration_ownership const& ownership,
    SgName const& name,
    SgScopeStatement* scope);

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.).

Created with MrDocs