July 22, 2010
10:35 p.m.
I have a question about validating a methodNode, suppose we have the following: parsedNode := RBParser parseMethod: 'test ^ self add: anUnbindedVariable'. Is there a way of checking the health/validity of the parsedNode? I couldn't find any behavior in RBMethodNode or related classes. Lukas, do you have an idea is i could run any Lint rule? My idea is to provide a method editor morph, that prevents from accepting invalid sources, and informs the user any problems detected with the edited code. Thanks, Fernando