VariableProcessor
internal class VariableProcessor<E> : VariableProcessorProtocol where E : Interpreter
A processor that can process a raw value with extra information, such as interpreter and context
-
An interpreter instance to use during the processing
Declaration
Swift
let interpreter: E -
The context to use during the processing
Declaration
Swift
let context: Context -
Initialiser of the processor
Declaration
Swift
init(interpreter: E, context: Context)Parameters
interpreterAn interpreter instance to use during the processing
contextThe context to use during the processing
-
Maps and evaluates variable content, based on its interpretation settings
Declaration
Swift
func process(_ variable: VariableValue) -> Any?Parameters
variableThe variable to process
Return Value
The result of the matching operation
View on GitHub
Install in Dash
VariableProcessor Class Reference