14 lines
266 B
JavaScript
14 lines
266 B
JavaScript
(function(tree) {
|
|
|
|
tree.Anonymous = function Anonymous(string) {
|
|
this.value = string.value || string;
|
|
};
|
|
tree.Anonymous.prototype = {
|
|
toString: function() {
|
|
return this.value;
|
|
},
|
|
eval: function() { return this }
|
|
};
|
|
|
|
})(require('mess/tree'));
|