The Interface Exchange Framework. Tools for processing interface/API descriptions in different formats, including the IFEX core format. Some example files are at: https://github.com/COVESA/vehicle_service_catalog.
The function that walks the type definition tree and calls an arbitrary callback for each node is useful for several things. Initially it was used to generate the type descriptions in the IFEX specifciation and therefore placed in ifex_ast_doc.py file, but it is now already used for other purposes.
It ought to be moved from the file name indicating "doc" to a generic module. When, or after, doing that it might be possible to improve the function further, and add additional helpers that do what the current code using the walk function actually wants to achieve (e.g. get a list of all types, or something similar).
The function that walks the type definition tree and calls an arbitrary callback for each node is useful for several things. Initially it was used to generate the type descriptions in the IFEX specifciation and therefore placed in
ifex_ast_doc.py
file, but it is now already used for other purposes.It ought to be moved from the file name indicating "doc" to a generic module. When, or after, doing that it might be possible to improve the function further, and add additional helpers that do what the current code using the walk function actually wants to achieve (e.g. get a list of all types, or something similar).