Fix test on different platforms
This PR passes Builtin
to the parser to (hopefully) allow all headers to parse correctly on all platforms.
A new internal function was also added to easily retrieve all nodes in an AST with a given type.
This is needed as passing Builtin
explodes the AST, and on some platforms the old method also didn't work anyways.