如何在 Eclipse 中使用 Antlr4 Ide 查看实时解析树? [英] How can i see the live parse tree using Antlr4 Ide in Eclipse?
本文介绍了如何在 Eclipse 中使用 Antlr4 Ide 查看实时解析树?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是使用 Antlr4 的新手,但我知道存在一个 Eclipse 插件.我有一个简单的问题......在我创建了 g4 文件之后,我如何可视化实时解析树以查看输入表达式的树?谢谢
I'm new using Antlr4 but I know that exist a plugin for Eclipse. I have a simple question...After I created the g4 file how can I visualize the live parse tree in order to see the tree of an input expression? Thanks
推荐答案
同时,您可以在命令行中使用 -gui 开关查看解析树.它还提供了将解析树保存为 PNG 的功能.
Meanwhile, you can see the parse tree using -gui switch in the command line. It also provides a feature of saving the parse tree as PNG.
这篇关于如何在 Eclipse 中使用 Antlr4 Ide 查看实时解析树?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文