public override LessNode VisitProperty(LessParser.PropertyContext context) { string name = context.identifier().GetText(); var expr = (Expression)context.expression()?.Accept(this) ?? (Expression)context.ieFilter()?.Accept(this); var important = context.IMPORTANT() != null; if (important) { return(new Rule(name, new ImportantExpression(expr))); } return(new Rule(name, expr)); }
public virtual LessNode VisitProperty(LessParser.PropertyContext context) { throw new System.NotImplementedException(); }