Hwaro::Assets::Sass::Importer
Inherits Reference / Object
Constructors
new(loader : Loader, root : String = Dir.current)
SourceInstance methods
display_path(canonical : String) : String
Path shown in error messages / parsed module ASTs — project- relative when possible.
load(url : String, from_file : String, path : String, line : Int32, column : Int32) : Tuple(String, String)
Resolves url from from_file and returns {canonical_path,
source}. Raises SyntaxError (located at the directive) when the
target is missing, ambiguous, or escapes the project root.
root
Source