antlr / antlr4-lab

A client/server for trying out and learning about ANTLR
MIT License
32 stars 10 forks source link

ANTLR Lab does not consider parser rule labels in its tree. #86

Open LAWTED opened 1 month ago

LAWTED commented 1 month ago

e.g.

lots of antlr g4 file use parser rule labels like presto.

However, antlr4-lab do not count these parser rule labels in tree which is different from the production environment.

image

image

image

Is there possible to show these parser rule labels in the tree structure?

kaby76 commented 1 month ago

(Note, for comparison with the Intellij Antlr Plugin, which also uses the "interpreter", the node is displayed "selectItem:selectSingle". So, it should be possible.)