I want to find the source of a Class and its methods (including all
variables too, local , instance, class , class instance etc) and return
them as a string or a collection of strings.

I have found MethodNode>>sourceText and CompiledMethod>>sourceCode but I
have no clue how to send these messages or if they are the messages I am
looking for.

Also any pointers as to how to navigate the Pharo syntax by code using
something like AST would be greatly appreciated :)

http://stackoverflow.com/questions/24961556/how-to-ask-an-object-to-return-its-class-and-methods-source-as-a-string


Would it make more sense to use something like PettitParser ?

Reply via email to