carto/lib/mess/tree/anonymous.js

14 lines
253 B
JavaScript

(function(tree) {
tree.Anonymous = function(string) {
this.value = string.value || string;
};
tree.Anonymous.prototype = {
toCSS: function() {
return this.value;
},
eval: function() { return this }
};
})(require('mess/tree'));