[antlr-interest] StringTemplate "reflection" enhancement
Terence Parr
parrt at cs.usfca.edu
Sat Sep 25 15:32:33 PDT 2004
On Sep 25, 2004, at 3:21 PM, matthew ford wrote:
> Hi Ter,
> I think my data interface definition file in WebStringTemplates
> (www.webstringtemplates.org) addresses this issue.
> It uses reflection to output all attributes and their string values in
> an
> html page as Data Definitions
> This output can be produced by setting a special control attribute to
> "true".
> By the way you need a recursion limit to prevent loops, my default is 3
> levels but can be modified by setting
> another special control attribute to the level required.
Yup. I assumed I'd recurse until reflection told me there were no more
properties of properties.
Thanks...i'll muddle thru with a prototype to see what happens.
Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list