protected override IEnumerable <LessNode> EvaluateCore(EvaluationContext context) { yield return(new GenericAtRule( identifier.EvaluateSingle <Identifier>(context), value?.EvaluateSingle <Expression>(context), new RuleBlock(block.Evaluate(context).Cast <Statement>()))); }
protected override IEnumerable <LessNode> EvaluateCore(EvaluationContext context) { yield return(new Keyframe(keyframePositions.Select(p => p.EvaluateSingle <Expression>(context)), new RuleBlock(block.Evaluate(context).Cast <Statement>()))); }
protected override IEnumerable <LessNode> EvaluateCore(EvaluationContext context) { yield return(new SupportsAtRule(condition.EvaluateSingle <SupportsCondition>(context), new RuleBlock(block.Evaluate(context).Cast <Statement>()))); }
protected override IEnumerable <LessNode> EvaluateCore(EvaluationContext context) { yield return(new PageAtRule( additionalSelector?.EvaluateSingle <Selector>(context), new RuleBlock(block.Evaluate(context).Cast <Statement>()))); }