[antlr-interest] template parameter passing
Torsten Curdt
tcurdt at vafer.org
Thu Oct 9 07:53:09 PDT 2008
I obviously enjoy talking to myself ;)
<slots.keys:{ key | <reading(number=key, slots=slots.(key))> };
separator="\n">
it is :)
cheers
--
Torsten
On Oct 9, 2008, at 15:26, Torsten Curdt wrote:
> Why does this fail
>
> <slots.keys:{ key | <reading(key, slots.(key))> }; separator="\n">
>>>
>
> reading(number,slots) ::= <<
>>>
>
> while this works fine?
>
> <slots.keys:{ key | <reading(slots.(key))> }; separator="\n">
>>>
>
> reading(slots) ::= <<
>>>
>
> The underlying object is of type
>
> Map<Integer, Collection<Slot>>
>
> Any idea?
>
> cheers
> --
> Torsten
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
More information about the antlr-interest
mailing list