[prev in list] [next in list] [prev in thread] [next in thread]
List: stringtemplate-interest
Subject: [stringtemplate-interest] Empty vs null
From: Terence Parr <parrt () cs ! usfca ! edu>
Date: 2009-06-27 22:44:30
Message-ID: 9DE0B1F0-86A0-4450-87AC-425851EE9FF2 () cs ! usfca ! edu
[Download RAW message or body]
Hi,
Bill Venners had a good suggestion: we need an "empty" value for an
attribute. null means "not there" and Empty would mean "present but no
value" sort of like 'new String("")'.
Now, adding a null value in a list gets ignored.
null:foo() means do nothing
Empty:foo() means same as foo()
Seem ok for next version?
Ter
_______________________________________________
stringtemplate-interest mailing list
stringtemplate-interest@antlr.org
http://www.antlr.org/mailman/listinfo/stringtemplate-interest
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic