antlr / antlr4-lab

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

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

Open LAWTED opened 6 months ago

LAWTED commented 6 months 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 6 months 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.)