summaryrefslogtreecommitdiffstats
path: root/Tools/clinic/libclinic/app.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-113317: Add ParseArgsCodeGen class (#117707)Victor Stinner2024-04-111-2/+2
|
* gh-113317: Add Codegen class to Argument Clinic (#117626)Victor Stinner2024-04-111-33/+7
| | | | | | | | | | | * Move ifndef_symbols, includes and add_include() from Clinic to Codegen. Add a 'codegen' (Codegen) attribute to Clinic. * Remove libclinic.crenderdata module: move code to libclinic.codegen. * BlockPrinter.print_block(): remove unused 'limited_capi' argument. Remove also 'core_includes' parameter. * Add get_includes() methods. * Make Codegen.ifndef_symbols private. * Make Codegen.includes private. * Make CConverter.includes private.
* gh-113317: Finish splitting Argument Clinic into sub-files (#117513)Victor Stinner2024-04-041-0/+297
Add libclinic.parser module and move the following classes and functions there: * Parser * PythonParser * create_parser_namespace() Add libclinic.dsl_parser module and move the following classes, functions and variables there: * ConverterArgs * DSLParser * FunctionNames * IndentStack * ParamState * StateKeeper * eval_ast_expr() * unsupported_special_methods Add libclinic.app module and move the Clinic class there. Add libclinic.cli module and move the following functions there: * create_cli() * main() * parse_file() * run_clinic()