[stringtemplate-interest] formatting the last element of a list

Terence Parr parrt at cs.usfca.edu
Tue May 29 15:42:16 PDT 2007


On May 29, 2007, at 3:40 PM, George Berger wrote:

> I tried that build, stringtemplate-05-03-2007.15, but got the same
> result.  I poked around in the source code that came with it and found
> this in ASTExpr.java:
>
> 	/** Return all but the last element.  trunc(x)=null if x is single- 
> valued. */
> 	public Object trunc(Object attribute) {
> 		return null; // not impl.
> 	}
>
> Looks like it's not quite all there yet.

doh!   sorry about that!

I need to get back to doing some ST and do a release sometime...

Ter



More information about the stringtemplate-interest mailing list