Function generate_function
Source pub fn generate_function(s: &ScSpecFunctionV0) -> TokenStream
Expand description
Constructs a token stream representing a single function definition based on the provided
function specification.
§Parameters
s: A reference to a ScSpecFunctionV0 containing the specification of the function to generate.
§Returns
A TokenStream containing the generated function definition.