Expression constructor

Expression(
  1. List<Node> value,
  2. {bool noSpacing = false}
)

Implementation

Expression(this.value, {this.noSpacing = false}) {
  parens = false;
  parensInOp = false;

  if (value == null) {
    throw LessExceptionError(
        LessError(message: 'Expression requires an array parameter'));
  }

//3.0.4 20180622
//var Expression = function (value, noSpacing) {
//    this.value = value;
//    this.noSpacing = noSpacing;
//    if (!value) {
//        throw new Error("Expression requires an array parameter");
//    }
//};
}