[stringtemplate-interest] Question about ASTExpr.TestAttributeTrue
Terence Parr
parrt at cs.usfca.edu
Fri Mar 20 12:16:49 PDT 2009
On Mar 20, 2009, at 12:11 PM, Sam Harwell wrote:
> For enumerable items (do you call them iterable in java?), you check
> if
> the length is > 0. Since a string implements IEnumerable<char>
> in .NET,
> I had to make sure I handle it as a null-check. :)
Oh, I treats strings as atomic; I don't iterate over characters. The
only thing I iterate over our multi-value attributes which are either
lists and arrays or when you set a single attribute multiple times.
T
More information about the stringtemplate-interest
mailing list