Hi,
I'm aspiring to use grammar rule names as node type in the AST built by my grammar.
At the moment, I'm retrieving the rule name by parsing arguments.callee.caller.caller... or something as ridiculous as that.
In my case then, for the purpose of minimizing repetitive action code, it would be useful to be able to dynamically get the current rule name.
and was wondering if it would be it possible to add a similar method for rule name retrieval.
(The line/col and rule name obviously have different requirements, not sure if this is even a viable option).
Thanks,
Roded