I am using a customized MyWalker class which is derived from Walker and
overloads all the Translate*() virtual functions. This walker goes
through the ptree and spits out an xml representation of the parse tree.
In my metaclass I overload the TranslateClass() and
TranslateMemberFunction() methods,
in these methods I basically call Translate(MyWalker) on the respective
ptrees
I have not explored the OpenC++ source code, just the documentation.
My question is:
is this the best way to get at all of the parse tree for a source code?
thank you,
stan
|