mgl_expressionForMatchingExpression static method
NSExpression
mgl_expressionForMatchingExpression(
- NSExpression inputExpression, {
- required NSDictionary inDictionary,
- required NSExpression defaultExpression,
Returns a match function expression specifying the input, matching values, and default value.
@param inputExpression The matching expression. @param matchedExpressions The matched values expression dictionary must be condition : value. @param defaultExpression The defaultValue expression to be used in case there is no match.
Implementation
static NSExpression mgl_expressionForMatchingExpression(NSExpression inputExpression, {required objc.NSDictionary inDictionary,required NSExpression defaultExpression}) {
objc.checkOsVersionInternal('NSExpression.mgl_expressionForMatchingExpression:inDictionary:defaultExpression:', iOS: (false, (3, 0, 0)), macOS: (false, (10, 4, 0)));
final _ret = _objc_msgSend_11spmsz(_class_NSExpression, _sel_mgl_expressionForMatchingExpression_inDictionary_defaultExpression_, inputExpression.ref.pointer, inDictionary.ref.pointer, defaultExpression.ref.pointer);
return NSExpression.castFromPointer(_ret, retain: true, release: true);
}