2010-06-16 06:44:59 +08:00
|
|
|
(function (tree) {
|
2010-03-02 04:32:21 +08:00
|
|
|
|
2010-07-26 04:41:05 +08:00
|
|
|
tree.Quoted = function (str, content) {
|
|
|
|
this.value = content || '';
|
|
|
|
this.quote = str.charAt(0);
|
2010-12-14 12:00:29 +08:00
|
|
|
this.is = 'string';
|
2010-03-06 03:55:21 +08:00
|
|
|
};
|
2010-03-02 04:32:21 +08:00
|
|
|
tree.Quoted.prototype = {
|
2010-02-26 06:55:26 +08:00
|
|
|
toCSS: function () {
|
2010-07-26 04:41:05 +08:00
|
|
|
return this.quote + this.value + this.quote;
|
2010-02-26 06:55:26 +08:00
|
|
|
},
|
|
|
|
eval: function () {
|
|
|
|
return this;
|
|
|
|
}
|
2010-02-24 02:39:05 +08:00
|
|
|
};
|
2010-06-16 06:44:59 +08:00
|
|
|
|
2011-01-06 03:23:28 +08:00
|
|
|
})(require('mess/tree'));
|