Evaluator
public protocol Evaluator
A protocol which is capable of evaluating string expressions to a strongly typed object
-
The type of the evaluation result
Declaration
Swift
associatedtype EvaluatedType -
The only method in
Evaluatorprotocol which does the evaluation of a string expression, and returns a strongly typed objectDeclaration
Swift
func evaluate(_ expression: String) -> EvaluatedTypeParameters
expressionThe input
Return Value
The evaluated value
View on GitHub
Install in Dash
Evaluator Protocol Reference