[antlr-interest] rule syntax for throws and returns together

Lucio Biondi lucio.biondi at iond.it
Tue Aug 31 05:56:32 PDT 2004


Can anyone explains to me how antlr needs to get them ?

I tried :

parse
    throws MyException
    returns [MyObject object]
    : somethingToParse
    ;

but it doesn't work.

Thanks in advance.

Lucio



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list