Closed mr-niels-christensen closed 8 years ago
Call each rule with "dummy terms" and an artificial self, for which every method returns a parse tree with node type "call" and a reference to the called rule and the passed parameters.
See http://stackoverflow.com/questions/2144109/find-all-decorated-functions-in-a-module http://stackoverflow.com/questions/34439/finding-what-methods-an-object-has
Call each rule with "dummy terms" and an artificial self, for which every method returns a parse tree with node type "call" and a reference to the called rule and the passed parameters.