The Parser.php class has over a hundred public methods, for mostly historical reasons.
We need to clean this up and create a robust API that can be implemented by Parsoid in order to (eventually) allow replacement of the legacy parser.
This is the tracking bug for that work.