ImporterResults
Swift
public struct ImporterResults: Sendable
The results of loading a stylesheet through an importer.
Topics
Initializers
init(String, syntax: Syntax, sourceMapURL: URL?)
init(String, syntax: Syntax, sourceMapURL: URL?)
Initialize a new ImporterResults
.
Declaration
Parameters
contents |
The stylesheet text. |
syntax |
The syntax of |
sourceMapURL |
Optionally, an absolute, browser-accessible URL for
the stylesheet for reference from any source map that the compiler has been asked to
generate. Ideally a |
Properties
var contents: String
var contents: String
var syntax: Syntax
var syntax: Syntax
var sourceMapURL: URL?
var sourceMapURL: URL?
URL used to reference the stylesheet from a source map.
Declaration
Swift
public let sourceMapURL: URL?