module

Hwaro::Assets::Sass::Expr::Host

Host services the evaluator needs from the statement evaluator.

Instance methods

expr_call(ns : String | Nil, name : String, args : Array(Value), kwargs : Hash(String, Value)) : Value | Nil

Calls a known function; nil when no such function exists (the call then reconstructs as verbatim CSS).

Source
expr_interp(template : Ast::TextTemplate) : String

Resolves an interpolation template to (unquoted) text.

Source
expr_known_fn?(ns : String | Nil, name : String) : Bool
Source
expr_var(name : String, ns : String | Nil) : String

Variable value as stored text; raises SoftEvalError when undefined.

Source