3 tree.Element = function (combinator, value) {
4 this.combinator = combinator instanceof tree.Combinator ?
5 combinator : new(tree.Combinator)(combinator);
6 this.value = value ? value.trim() : "";
8 tree.Element.prototype.toCSS = function (env) {
9 return this.combinator.toCSS(env || {}) + this.value;
12 tree.Combinator = function (value) {
15 } else if (value === '& ') {
18 this.value = value ? value.trim() : "";
21 tree.Combinator.prototype.toCSS = function (env) {
29 '+' : env.compress ? '+' : ' + ',
30 '~' : env.compress ? '~' : ' ~ ',
31 '>' : env.compress ? '>' : ' > '
35 })(require('less/tree'));