Thursday, May 5, 2005 12:24 PM
I'm a little confused by the explanation of
heterogeneous token object streams
in the documentation. Is ImageToken a subclass of CommonToken? Are there any examples of subclassing CommonToken? How does the parser deal with attributes of a token? How is a heterogeneous token object handled in an abstract syntax tree? Is it possible to build a subtree from a heterogeneous token object?