[antlr-interest] Difference between v and v.st

Nauman recluze at gmail.com
Tue Nov 3 20:10:57 PST 2009


Dear all,

I am having trouble understanding the difference between two methods for
setting template attributes. Consider the following:

policy: ^(POLICY policyType u+=updateStat*)
     ->
 policyStat(policyType={$policyType.st} ,upd={$u})


Why do I have $u without the .st and $policyType with a .st? Both have
defined templates and appear similar to me. I tried searching in the
references but couldn't find an explanation. Can anyone guide me towards an
answer?

Regards,

-- 
Nauman

Research Associate
Security Engineering Research Group
Institute of Management Sciences
Peshawar, Pakistan

Blog: http://recluze.wordpress.com
Group: http://serg.imsciences.edu.pk
Wiki: http://serg.imsciences.edu.pk/wiki
Art gallery: http://flickr.com/recluze

Contact number: Use email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091104/0cf34da3/attachment.html 


More information about the antlr-interest mailing list