[antlr-interest] How to make the rule return two or more values?

Yixun Liu enjoywm at cs.wm.edu
Mon Apr 14 13:45:34 PDT 2008


Hi,
How to make the rule return two or more values? 
For example, the rule: atom returns [float weight] only return one value. How to return two variables and how to get them?


Best,
Yixun



More information about the antlr-interest mailing list