SassModule
A Sass module.
Values representing modles can only be created by the compiler. See the Sass docs.
Topics
Properties
var id: Int
var id: Int
The modle ID. Opaque to users, meaningful to Sass implementations.
Declaration
Swift
public let id: Int
Misc
static func ==(lhs: SassModule, rhs: SassModule) -> Bool
static func ==(lhs: SassModule, rhs: SassModule) -> Bool
Modiles are equal if they have the same ID and apply to the same compilation. We only test the first part of that so watch out.
Declaration
Swift
public static func == (lhs: SassModule, rhs: SassModule) -> Bool
func hash(into: inout Hasher)
func hash(into: inout Hasher)
func accept<V, R>(visitor: V) -> R
func accept<V, R>(visitor: V) -> R
Take part in the SassValueVisitor protocol.
Declaration
Swift
public override func accept<V, R>(visitor: V) throws -> R
where V: SassValueVisitor, R == V.ReturnType
var description: String
var description: String