如何在Eclipse中使用Antlr4 Ide查看实时解析树? [英] How can i see the live parse tree using Antlr4 Ide in Eclipse?

查看:233
本文介绍了如何在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

推荐答案

目前没有规定在 ANTLR 4 IDE for Eclipse

同时,您可以使用-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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆