[stringtemplate-interest] Maps
Jacques Victor
jacques.victor at gmail.com
Tue Aug 18 06:38:32 PDT 2009
Hi there,
I've recently started using StringTemplate and today have run into a brick
wall...so to speak...
I'm loading my *stg file in .Net (C#) and setting the stringtemplate
placeholder variables via a Dictionary. Once determining a chunk is of type
'ASTExpr', I I'm struggling to determine if that chunk is indeed a map and
therefore not checking against my Dictionary and throwing an error if I
don't find the chunk placeholder variable in the Dictionary.
Is it possible to get all the maps defined in a Stringtemplategroup file or
alternatively as I iterate through the chunks, in the StringTemplate object,
be able to identify a chunk as a map?
I've searched the internet but can't find any enum/type that would make a
map chunk distinguishable, from other chunks, in .Net.
Any help would greatly be appreciated.
Thanks in advance.
Regards
Jacques
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20090818/5549b61e/attachment.html
More information about the stringtemplate-interest
mailing list