Adding field
This commit is contained in:
parent
8b5ea80e5d
commit
c0526392dc
13
lib/carto/tree/field.js
Normal file
13
lib/carto/tree/field.js
Normal 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'));
|
Loading…
Reference in New Issue
Block a user