Home
last modified time | relevance | path

Searched refs:innerType (Results 1 – 25 of 32) sorted by relevance

12

/expo/packages/expo-modules-core/ios/Swift/DynamicTypes/
H A DDynamicTypedArrayType.swift4 let innerType: AnyTypedArray.Type variable
7 return innerType == InnerType.self in wraps<InnerType>()
12 return typedArrayType.innerType == innerType in equals()
22 throw NotTypedArrayException(innerType) in cast()
33 throw NotTypedArrayException(innerType) in cast<ValueType>()
36 guard innerType == TypedArray.self || type(of: typedArray) == innerType else { in cast<ValueType>()
37 throw ArrayTypeMismatchException((received: type(of: typedArray), expected: innerType)) in cast<ValueType>()
43 return String(describing: innerType)
H A DDynamicJavaScriptType.swift7 let innerType: AnyJavaScriptValue.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return providedType.innerType == innerType in equals()
21 return try innerType.convert(from: jsValue, appContext: appContext) in cast()
25 return String(describing: innerType.self)
H A DDynamicConvertibleType.swift7 let innerType: Convertible.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return convertibleType.innerType == innerType in equals()
21 return try innerType.convert(from: value, appContext: appContext) in cast<ValueType>()
25 String(describing: innerType.self)
H A DDynamicSharedObjectType.swift7 let innerType: SharedObject.Type variable
14 init<SharedObjectType: SharedObject>(innerType: SharedObjectType.Type) {
15 self.innerType = innerType
20 return innerType == InnerType.self in wraps<InnerType>()
25 return sharedObjectType.innerType == innerType in equals()
31 if let value = value as? SharedObject, type(of: value) == innerType { in cast<ValueType>()
H A DDynamicType.swift19 return DynamicConvertibleType(innerType: ConvertibleType) in DynamicType<T>()
22 return DynamicEnumType(innerType: EnumType) in DynamicType<T>()
25 return DynamicViewType(innerType: ViewType) in DynamicType<T>()
28 return DynamicSharedObjectType(innerType: SharedObjectType) in DynamicType<T>()
31 return DynamicTypedArrayType(innerType: TypedArrayType) in DynamicType<T>()
34 return DynamicJavaScriptType(innerType: JavaScriptValueType) in DynamicType<T>()
36 return DynamicRawType(innerType: T.self) in DynamicType<T>()
H A DDynamicEnumType.swift7 let innerType: any Enumerable.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return enumType.innerType == innerType in equals()
21 return try innerType.create(fromRawValue: value) in cast<ValueType>()
H A DDynamicViewType.swift4 let innerType: UIView.Type variable
7 return innerType == InnerType.self in wraps<InnerType>()
12 return viewType.innerType == innerType in equals()
37 guard let view = appContext.findView(withTag: viewTag, ofType: innerType.self) else { in cast<ValueType>()
38 throw Exceptions.ViewNotFound((tag: viewTag, type: innerType.self)) in cast<ValueType>()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/DynamicTypes/
H A DDynamicTypedArrayType.swift4 let innerType: AnyTypedArray.Type variable
7 return innerType == InnerType.self in wraps<InnerType>()
12 return typedArrayType.innerType == innerType in equals()
22 throw NotTypedArrayException(innerType) in cast()
33 throw NotTypedArrayException(innerType) in cast<ValueType>()
36 guard innerType == TypedArray.self || type(of: typedArray) == innerType else { in cast<ValueType>()
37 throw ArrayTypeMismatchException((received: type(of: typedArray), expected: innerType)) in cast<ValueType>()
43 return String(describing: innerType)
H A DDynamicSharedObjectType.swift7 let innerType: SharedObject.Type variable
14 init<SharedObjectType: SharedObject>(innerType: SharedObjectType.Type) {
15 self.innerType = innerType
20 return innerType == InnerType.self in wraps<InnerType>()
25 return sharedObjectType.innerType == innerType in equals()
31 if let value = value as? SharedObject, type(of: value) == innerType { in cast<ValueType>()
H A DDynamicJavaScriptType.swift7 let innerType: AnyJavaScriptValue.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return providedType.innerType == innerType in equals()
21 return try innerType.convert(from: jsValue, appContext: appContext) in cast()
25 return String(describing: innerType.self)
H A DDynamicConvertibleType.swift7 let innerType: Convertible.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return convertibleType.innerType == innerType in equals()
21 return try innerType.convert(from: value, appContext: appContext) in cast<ValueType>()
25 String(describing: innerType.self)
H A DDynamicType.swift19 return DynamicConvertibleType(innerType: ConvertibleType) in DynamicType<T>()
22 return DynamicEnumType(innerType: EnumType) in DynamicType<T>()
25 return DynamicViewType(innerType: ViewType) in DynamicType<T>()
28 return DynamicSharedObjectType(innerType: SharedObjectType) in DynamicType<T>()
31 return DynamicTypedArrayType(innerType: TypedArrayType) in DynamicType<T>()
34 return DynamicJavaScriptType(innerType: JavaScriptValueType) in DynamicType<T>()
36 return DynamicRawType(innerType: T.self) in DynamicType<T>()
H A DDynamicEnumType.swift7 let innerType: any Enumerable.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return enumType.innerType == innerType in equals()
21 return try innerType.create(fromRawValue: value) in cast<ValueType>()
H A DDynamicViewType.swift4 let innerType: UIView.Type variable
7 return innerType == InnerType.self in wraps<InnerType>()
12 return viewType.innerType == innerType in equals()
37 guard let view = appContext.findView(withTag: viewTag, ofType: innerType.self) else { in cast<ValueType>()
38 throw Exceptions.ViewNotFound((tag: viewTag, type: innerType.self)) in cast<ValueType>()
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/DynamicTypes/
H A DDynamicTypedArrayType.swift4 let innerType: AnyTypedArray.Type variable
7 return innerType == InnerType.self in wraps<InnerType>()
12 return typedArrayType.innerType == innerType in equals()
20 throw NotTypedArrayException(innerType) in cast<ValueType>()
25 guard innerType == TypedArray.self || type(of: typedArray) == innerType else { in cast<ValueType>()
26 throw ArrayTypeMismatchException((received: type(of: typedArray), expected: innerType)) in cast<ValueType>()
32 return String(describing: innerType)
H A DDynamicConvertibleType.swift7 let innerType: Convertible.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return convertibleType.innerType == innerType in equals()
21 return try innerType.convert(from: value) in cast<ValueType>()
25 String(describing: innerType.self)
H A DDynamicEnumType.swift7 let innerType: any Enumerable.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return enumType.innerType == innerType in equals()
21 return try innerType.create(fromRawValue: value) in cast<ValueType>()
H A DDynamicSharedObjectType.swift7 let innerType: SharedObject.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return sharedObjectType.innerType == innerType in equals()
21 if let value = value as? SharedObject, type(of: value) == innerType { in cast<ValueType>()
H A DDynamicType.swift19 return DynamicConvertibleType(innerType: ConvertibleType) in DynamicType<T>()
22 return DynamicEnumType(innerType: EnumType) in DynamicType<T>()
25 return DynamicSharedObjectType(innerType: SharedObjectType) in DynamicType<T>()
28 return DynamicTypedArrayType(innerType: TypedArrayType) in DynamicType<T>()
30 return DynamicRawType(innerType: T.self) in DynamicType<T>()
H A DDynamicRawType.swift8 let innerType: InnerType.Type variable
11 return type == innerType in wraps<InnerType>()
31 String(describing: innerType.self)
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/DynamicTypes/
H A DDynamicTypedArrayType.swift4 let innerType: AnyTypedArray.Type variable
7 return innerType == InnerType.self in wraps<InnerType>()
12 return typedArrayType.innerType == innerType in equals()
20 throw NotTypedArrayException(innerType) in cast<ValueType>()
25 guard innerType == TypedArray.self || type(of: typedArray) == innerType else { in cast<ValueType>()
26 throw ArrayTypeMismatchException((received: type(of: typedArray), expected: innerType)) in cast<ValueType>()
32 return String(describing: innerType)
H A DDynamicConvertibleType.swift7 let innerType: Convertible.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return convertibleType.innerType == innerType in equals()
21 return try innerType.convert(from: value) in cast<ValueType>()
25 String(describing: innerType.self)
H A DDynamicEnumType.swift7 let innerType: Enumerable.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return enumType.innerType == innerType in equals()
21 return try innerType.create(fromRawValue: value) in cast<ValueType>()
H A DDynamicType.swift19 return DynamicConvertibleType(innerType: ConvertibleType) in DynamicType<T>()
22 return DynamicEnumType(innerType: EnumType) in DynamicType<T>()
25 return DynamicSharedObjectType(innerType: SharedObjectType) in DynamicType<T>()
28 return DynamicTypedArrayType(innerType: TypedArrayType) in DynamicType<T>()
30 return DynamicRawType(innerType: T.self) in DynamicType<T>()
H A DDynamicSharedObjectType.swift7 let innerType: SharedObject.Type variable
10 return innerType == InnerType.self in wraps<InnerType>()
15 return sharedObjectType.innerType == innerType in equals()

12