[stringtemplate-interest] Help needed with separator
Richard Catlin
richard.m.catlin at gmail.com
Wed Mar 24 15:39:03 PDT 2010
I am building a parameter list for a method, such as:
public void method1(String param1, int param2) {
..
}
<parameters: {p | <p.type> <p.name><comma()>}>
How do I prevent a comma from coming after the last parameter?
This is in a *.stg file called by Antlr.
Thanks for you any help.
Richard Catlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20100324/c19627bc/attachment.html
More information about the stringtemplate-interest
mailing list