mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
16 lines
311 B
JavaScript
16 lines
311 B
JavaScript
(function (tree) {
|
|
|
|
tree.RulesetCall = function (variable) {
|
|
this.variable = variable;
|
|
};
|
|
tree.RulesetCall.prototype = {
|
|
type: "RulesetCall",
|
|
accept: function (visitor) {
|
|
},
|
|
eval: function (env) {
|
|
return new(tree.Variable)(this.variable).eval(env);
|
|
}
|
|
};
|
|
|
|
})(require('../tree'));
|