Le 25/07/2014 20:55, Marcus Denker a
�crit :
Ok, as above, it should
be understood as:
ast := RBParser parseMethod: (Object compiledMethodAt:
#printString) onError: [ :msg :ps | ].
ast doSemanticAnalysisIn: self sourceClass.
There is a method on
CompiledMethod called #ast that called the parser + semantic
analysis:
(
Object compiledMethodAt: #halt ) ast
No need to know details about RBParser.
Marcus
Cool. Thanks.
But when you start to use the ast, you'd better have a look into the
RBParser / RBAST stuff, no?