Hi Jeroen,
1. No, this code is a closed source extension made by OutSystems. They can't expose it, because then you can get alter the code and extract the whole datamodel and not only the XML elements that are needed for the documentation.
2. The Platform Documentation API refers to the public actions in the OutDoc module.
Kind regards,
Remco Dekkinga