[stringtemplate-interest] Listing of used Attributes (@Caleb)
Terence Parr
parrt at cs.usfca.edu
Tue Jul 10 17:30:56 PDT 2007
Hi Ulf,
Yeah, it would be nice to have an event trace for debugging. We
could add to the listener maybe so that events like "ref attribute x"
could be heard.
Ter
On Jul 3, 2007, at 7:21 AM, Dreyer Ulf (CR/APA3) wrote:
> Hello Caleb,
>
> you wrote on the ANTLR/ST-Wiki about the possibility of
> listing the attributes a StringTemplate uses/has looked for.
> Since I have exactly this problem (albeit in a simpler case)
> I would love to read more about this on the list or in the wiki.
>
> Could you extend your Wiki entry with the mentioned methods?
>
> I'd like to find out about all used Variables (preferably beforehand)
> in a scenario where there are no indirect calls (as in <(expr)
> (argument)>).
>
> The second you method is finding out the attributes AFTERwards.
> Is this also possible with an empty Attribute-Set?
> (Again in my scenario where I don't use attributes to reference
> templates/properties)
>
> Thanks
>
> Ulf
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest
More information about the stringtemplate-interest
mailing list