I need to understand how to integrate the parsing function with the rest of ctags
I think the only thing you have to do is to overwrite the existing regex-based parser with the code of this parser. And then have a look at the unit tests to see what fails.
I'd consider at least pulling https://github.com/geany/geany/pull/3358
Done, thanks!