[antlr-interest] imaginary nodes

Mark Volkmann r.mark.volkmann at gmail.com
Mon Oct 8 14:05:00 PDT 2007


In "The Definitive ANTLR Reference" chapter 7, page 166 of my printed
copy, in the discussion about adding imaginary nodes to an AST it says
"The imaginary token must be defined elsewhere in a grammar or in the
tokens section." I can't seem to find an example of where this is done
in the book though. Can someone give me an example of the syntax to
define an imaginary node in a grammar?

-- 
R. Mark Volkmann
Object Computing, Inc.


More information about the antlr-interest mailing list