Adding field

This commit is contained in:
Tom MacWright 2011-12-05 14:08:30 -05:00
parent 8b5ea80e5d
commit c0526392dc

13
lib/carto/tree/field.js Normal file
View File

@ -0,0 +1,13 @@
(function(tree) {
tree.Field = function Keyword(value) {
this.value = value;
this.is = 'field';
};
tree.Field.prototype = {
eval: function() { return this },
toString: function() { return '[' + this.value + ']' }
};
})(require('../tree'));