Module function_gen

Source
Expand description

Function pieces, specifically Function which is composed of FunctionSignature and FunctionBody. Naturally, a Function can be used as a “method” for another object, by specifying self (or some variant of it) as the first Parameter to a Function object.

Structs§

Function
Represents a function or method. Determined if any Parameter contains self
FunctionBody
Represents the function/method’s body
FunctionSignature
Represents a function/method signature in source code
Parameter
Represents a single parameter to a Function