SageBuilder::buildProcedureHeaderStatement¶
All overloads of SageBuilder::buildProcedureHeaderStatement
Build a defining Fortran procedure with an explicit lexical source form.
Synopsis¶
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility("default")]]
SgProcedureHeaderStatement*
buildProcedureHeaderStatement(
function_declaration_ownership const& ownership,
SgName const& name,
SgType* return_type,
SgFunctionParameterList* parameter_list,
SgFunctionParameterList* canonical_parameter_list,
SgProcedureHeaderStatement::subprogram_kind_enum,
SgProcedureHeaderStatement::fortran_procedure_source_form_enum source_form,
SgScopeStatement* scope); Parameters¶
| Name | Description |
|---|---|
| ownership | Exact, typed structural ownership established by function-declaration builders. Invalid kind/owner combinations cannot be constructed. |
| name | String-backed name value used by AST nodes. |
| return_type | This class represents the base class for all types. |
| parameter_list | The ordered parameter declarations of a function. |
| canonical_parameter_list | The ordered parameter declarations of a function. |
| source_form | Exact Fortran source surface represented by this procedure. |
| scope | This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
Created with MrDocs