SageBuilder::function_declaration_ownership::withFunctionDeclaratorScope¶
Transfer the declarator scope and source signature during construction. Written parameters must already be bound to this declarator scope.
Synopsis¶
Declared in <SageIII/sageInterface/sageBuilder.h>
function_declaration_ownership
withFunctionDeclaratorScope(
SgDeclarationScope* scope,
SgFunctionType* source_type = nullptr,
SgFunctionParameterList* source_parameters = nullptr,
bool old_style_definition = false) const; Return Value¶
Exact, typed structural ownership established by function-declaration builders. Invalid kind/owner combinations cannot be constructed.
Parameters¶
| Name | Description |
|---|---|
| source_type | This class represents a type for all functions. |
| source_parameters | The ordered parameter declarations of a function. |
Created with MrDocs