[stringtemplate-interest] StringTemplate syntax questions
jaluber at gmx.de
Thu Mar 29 14:30:37 PDT 2007
Kirk Woods wrote:
> As for indentation, ST outputs what you put in the template which is
> everything between the opening << and closing >>. As you experiment
> with your template, you will see how the indentation carries through
> especially with nested templates.
> http://www.antlr.org/wiki/display/ST/Auto-indentation explains how
> indentation works.
It cleared up some confusion I had due to a misinterpretation while
reading the Beta Book.
> If you need to put in < and > then you enter them as \< and \> when you
> are defining your template using << and >>.
> Good luck and have fun!
Thanks for your help!
More information about the stringtemplate-interest