I love OOP
Seriously, if modx uses OOP, then a seperate class (being included or not) for the parser really makes sense.
And if it needs to include the parser file, don’t be worried about that 0.00001 second of overhead it involves ;-)
(If there is really any overhead at all. Most people have a php accelerator installed, so it in fact not even parses the included class, but uses the bytecode in the accelerators cache.
At least, that’s what they told me)
Oh, and I couldn’t measure any difference being it in file or included