This refactor brings the equivalent of Crystal's Bindgen::Parser::Document to the Clang parser.
Alone it doesn't do anything new, but passing the whole document around allows each registered AST handler to insert multiple parser values (there will be a use case for this).
This refactor brings the equivalent of Crystal's
Bindgen::Parser::Document
to the Clang parser.Alone it doesn't do anything new, but passing the whole document around allows each registered AST handler to insert multiple parser values (there will be a use case for this).