[antlr-interest] Antlr and Java Generics
Anders Hessellund
anders.hessellund at gmail.com
Tue Mar 24 04:30:12 PDT 2009
Hi,
I've been googling and reading FAQs for some information about how Antlr and
Java Generics relate but nothing significant has shown up.
- Does anyone here know of a good tutorial or perhaps just an example
grammar?
- One of the thing that I would like was to use generic methods in my
parser, such as
public final <T extends Number<T>> T arithmeticExpr() throws
> RecognitionException {
> ..
> }
>
How can I achieve that (if possible)?
Cheers,
Anders
--
Anders Hessellund
www.itu.dk/people/hessellund/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090324/629ce0bf/attachment.html
More information about the antlr-interest
mailing list