SassValueVisitor
Swift
public protocol SassValueVisitor
A protocol for implementing polymorphic operations over SassValue
objects.
Topics
associatedtype ReturnType
associatedtype ReturnType
The return type of the operation.
Declaration
Swift
associatedtype ReturnType
func visit(string: SassString) -> ReturnType
func visit(string: SassString) -> ReturnType
func visit(number: SassNumber) -> ReturnType
func visit(number: SassNumber) -> ReturnType
func visit(color: SassColor) -> ReturnType
func visit(color: SassColor) -> ReturnType
func visit(list: SassList) -> ReturnType
func visit(list: SassList) -> ReturnType
func visit(map: SassMap) -> ReturnType
func visit(map: SassMap) -> ReturnType
func visit(bool: SassBool) -> ReturnType
func visit(bool: SassBool) -> ReturnType
func visit(null: SassNull) -> ReturnType
func visit(null: SassNull) -> ReturnType
func visit(compilerFunction: SassCompilerFunction) -> ReturnType
func visit(compilerFunction: SassCompilerFunction) -> ReturnType
The operation for SassCompilerFunction
.
Declaration
Swift
func visit(compilerFunction: SassCompilerFunction) throws -> ReturnType
func visit(dynamicFunction: SassDynamicFunction) -> ReturnType
func visit(dynamicFunction: SassDynamicFunction) -> ReturnType
The operation for SassDynamicFunction
.
Declaration
Swift
func visit(dynamicFunction: SassDynamicFunction) throws -> ReturnType
func visit(argumentList: SassArgumentList) -> ReturnType
func visit(argumentList: SassArgumentList) -> ReturnType
The operation for SassArgumentList
.
Declaration
Swift
func visit(argumentList: SassArgumentList) throws -> ReturnType
func visit(calculation: SassCalculation) -> ReturnType
func visit(calculation: SassCalculation) -> ReturnType
The operation for SassCalculation
.
Declaration
Swift
func visit(calculation: SassCalculation) throws -> ReturnType
func visit(mixin: SassMixin) -> ReturnType
func visit(mixin: SassMixin) -> ReturnType