carto/lib/mess/tree/comment.js

15 lines
287 B
JavaScript

(function(tree) {
tree.Comment = function(value, silent) {
this.value = value;
this.silent = !!silent;
};
tree.Comment.prototype = {
toCSS: function(env) {
return '<!--' + this.value + '-->';
},
eval: function() { return this }
};
})(require('mess/tree'));