18 lines
343 B
JavaScript
18 lines
343 B
JavaScript
(function (tree) {
|
|
|
|
tree.Quoted = function (str, content) {
|
|
this.value = content || '';
|
|
this.quote = str.charAt(0);
|
|
this.is = 'string';
|
|
};
|
|
tree.Quoted.prototype = {
|
|
toCSS: function () {
|
|
return this.quote + this.value + this.quote;
|
|
},
|
|
eval: function () {
|
|
return this;
|
|
}
|
|
};
|
|
|
|
})(require('mess/tree'));
|