concepts.dsl.parsers.fol_python_parser.ast_get_function_definition#

ast_get_function_definition(module)[source]#

Get the single function definition in the module.

Parameters:

module (Module) – the module. It should contains exactly one function definition.

Returns:

the function definition.

Return type:

FunctionDef