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).
expr_interp(template : Ast::TextTemplate) : String
Resolves an interpolation template to (unquoted) text.
expr_known_fn?(ns : String | Nil, name : String) : Bool
Sourceexpr_var(name : String, ns : String | Nil) : String
Variable value as stored text; raises SoftEvalError when undefined.