public override LessNode VisitMeasurement(LessParser.MeasurementContext context) { string unit = context.unit()?.GetText() ?? context.identifier()?.GetText(); return(new Measurement(decimal.Parse(context.Number().GetText(), CultureInfo.InvariantCulture), unit)); }
public virtual LessNode VisitMeasurement(LessParser.MeasurementContext context) { throw new System.NotImplementedException(); }