[antlr-interest] AST visualisation?
Antón García, Carolina
canton at indra.es
Wed Jul 13 00:43:37 PDT 2005
I don't know if you have try this from your test parser class:
CommonAST ast = (CommonAST) parser.getAST();
final ASTFrame frame = new ASTFrame(args[0], ast);
frame.setVisible(true);
This opens a window with the generated tree.
Hope this helps.
Regards
Carol
-----Mensaje original-----
De: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org]En nombre de Paul Johnson
Enviado el: miércoles, 13 de julio de 2005 9:35
Para: ANTLR Interest
Asunto: [antlr-interest] AST visualisation?
does anyone know of a tool that I can use to visualise trees? Something
that lets you click on a node to show or hide its subtree, for example.
It doesn't have to auto-generate from an ANTLR description, but that
would be nice.
Thanks -
Paul
More information about the antlr-interest
mailing list