To use this tool, follow the given instructions after installing pygccxml:
python3 ast_generator.py sample.h > pygccxml_ast.txt
then
python3 abstract_input.py sample.h
Use pygccxml as your CLI input
Get abstract representation of the header (.txt) along with YAML file. :)