[antlr-interest] declare throws-clause for rule
tilman walter
tilman.walter at gmx.de
Thu Jul 3 03:15:25 PDT 2008
Hi List,
I am a newby to antlr.
Is there a possibility to let a rule throw a custom exception that can
be catched by the class invoking the parser?
I think i could place this piece of code in the generated class, but i
wonder if i can reach this through a grammar construct....
I would appreciate for any hint.
Thanks is advance.
Tilman
More information about the antlr-interest
mailing list