[antlr-interest] parameterized maps as arguments to rules??
Terence Parr
parrt at cs.usfca.edu
Mon Jun 18 17:18:14 PDT 2007
On Jun 19, 2007, at 3:28 AM, David A Weiser wrote:
> Hey all,
>
> I have the beginning of a rule:
> formalParameterDecls returns [HashMap<String,String> params].
>
> But I get a compilation error because of:
> public static class formalParameters_return extends
> ParserRuleReturnScope {
> public HashMap<String;
> public String> params;
> };
Hi. The current parser for the [...] sections is very simple. only
allows commas as arg separators.
Ter
More information about the antlr-interest
mailing list