[antlr-interest] Custom TreeAdaptor Examples

John Volk john.t.volk at gmail.com
Fri Jan 11 13:28:24 PST 2008


Hi,

This is a followup to my previous question about imaginary nodes.  I'm
pretty sure I see how custom TreeAdaptors can be used to mark imaginary
nodes.  The only thing left to figure out is how to plug my adaptor into the
Parser I'm creating to read the input file.  I've found some stuff on the
web, but nothing that really provides the code for the entire example.  The
most helpful thing I've found is this:
http://www.antlr.org/wiki/display/ANTLR3/Interfacing+AST+with+Java  But, it
still leaves me a bit confused.  For example, what type is HtmlDoc?  Any
help is greatly appreciated.

- John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080111/c84c2cc2/attachment.html 


More information about the antlr-interest mailing list