SassArgumentList
A Sass value representing a $arg...
function argument list.
This type is a SassList
holding positional arguments with an addition set of
named keyword arguments. See the Sass docs.
You’ll typically use this type to access arguments passed in this way to a custom Sass
function. Be careful in other scenarios: the keyword argument part of the type is excluded
from equality and listification, meaning it is easy to accidentally lose that part of the type
when passing instances through generic SassValue
code.
Topics
Initializers
init<C>(C, keywords: [String : SassValue], keywordsObserver: () -> Void, separator: Separator)
init<C>(C, keywords: [String : SassValue], keywordsObserver: () -> Void, separator: Separator)
Initialize a new argument list with the contents of a Swift sequence.
Declaration
Parameters
positional |
The |
keywords |
The keywords and values to make the keyword arguments of the argument list. Default is no keyword arguments. |
keywordsObserver |
A callback to be invoked when the keywords are accessed. Used by compiler implementations. Default is an observer that does nothing. |
separator |
The separator character to use in any CSS generated from the list.
If |
Keyword arguments
var keywords: [String : SassValue]
var keywords: [String : SassValue]
Misc
func accept<V, R>(visitor: V) -> R
func accept<V, R>(visitor: V) -> R
Call the corresponding method of visitor
against this object.
Declaration
public override func accept<V, R>(visitor: V) throws -> R
where V: SassValueVisitor, R == V.ReturnType
var description: String
var description: String