| /expo/packages/expo-modules-core/ios/Tests/ |
| H A D | ClassComponentSpec.swift | 9 let klass = Class("") {} in spec() variable 15 let klass = Class(expoClassName) {} in spec() variable 16 expect(klass.name) == expoClassName in spec() 20 let klass = Class("") {} in spec() variable 21 expect(klass.constructor).to(beNil()) in spec() 25 let klass = Class("") { Constructor {} } in spec() variable 26 expect(klass.constructor).notTo(beNil()) in spec() 30 let klass = Class("") { Constructor {} } in spec() variable 36 let klass = Class("") {} in spec() variable 71 expect(klass.isFunction()) == true in spec() [all …]
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/ |
| H A D | ClassComponentSpec.swift | 9 let klass = Class("") {} in spec() variable 15 let klass = Class(expoClassName) {} in spec() variable 16 expect(klass.name) == expoClassName in spec() 20 let klass = Class("") {} in spec() variable 21 expect(klass.constructor).to(beNil()) in spec() 25 let klass = Class("") { Constructor {} } in spec() variable 26 expect(klass.constructor).notTo(beNil()) in spec() 30 let klass = Class("") { Constructor {} } in spec() variable 36 let klass = Class("") {} in spec() variable 71 expect(klass.isFunction()) == true in spec() [all …]
|
| /expo/packages/expo-modules-core/ios/Swift/Objects/ |
| H A D | ObjectDefinition.swift | 48 .reduce(into: [String: ClassComponent]()) { dict, klass in 49 dict[klass.name] = klass 101 for klass in classes.values { in decorateWithClasses() 102 object.setProperty(klass.name, value: try klass.build(appContext: appContext)) in decorateWithClasses()
|
| /expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Objects/ |
| H A D | ObjectDefinition.swift | 48 .reduce(into: [String: ClassComponent]()) { dict, klass in 49 dict[klass.name] = klass 99 for klass in classes.values { in decorateWithClasses() 100 object.setProperty(klass.name, value: klass.build(inRuntime: runtime)) in decorateWithClasses()
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Objects/ |
| H A D | ObjectDefinition.swift | 48 .reduce(into: [String: ClassComponent]()) { dict, klass in 49 dict[klass.name] = klass 101 for klass in classes.values { in decorateWithClasses() 102 object.setProperty(klass.name, value: try klass.build(appContext: appContext)) in decorateWithClasses()
|
| /expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Objects/ |
| H A D | ObjectDefinition.swift | 48 .reduce(into: [String: ClassComponent]()) { dict, klass in 49 dict[klass.name] = klass 99 for klass in classes.values { in decorateWithClasses() 100 object.setProperty(klass.name, value: klass.build(inRuntime: runtime)) in decorateWithClasses()
|
| /expo/packages/expo-modules-core/android/src/main/java/expo/modules/core/ |
| H A D | ExportedModule.java | 124 Class klass = getClass(); in getExportedMethods() local 125 while (klass != null && ExportedModule.class.isAssignableFrom(klass)) { in getExportedMethods() 126 Map<String, Method> exportedMethods = getExportedMethods(klass); in getExportedMethods() 134 klass = klass.getSuperclass(); in getExportedMethods() 139 protected Map<String, Method> getExportedMethods(Class klass) { in getExportedMethods() argument 141 Method[] declaredMethodsArray = klass.getDeclaredMethods(); in getExportedMethods()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/core/ |
| H A D | ExportedModule.java | 124 Class klass = getClass(); in getExportedMethods() local 125 while (klass != null && ExportedModule.class.isAssignableFrom(klass)) { in getExportedMethods() 126 Map<String, Method> exportedMethods = getExportedMethods(klass); in getExportedMethods() 134 klass = klass.getSuperclass(); in getExportedMethods() 139 protected Map<String, Method> getExportedMethods(Class klass) { in getExportedMethods() argument 141 Method[] declaredMethodsArray = klass.getDeclaredMethods(); in getExportedMethods()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/core/ |
| H A D | ExportedModule.java | 124 Class klass = getClass(); in getExportedMethods() local 125 while (klass != null && ExportedModule.class.isAssignableFrom(klass)) { in getExportedMethods() 126 Map<String, Method> exportedMethods = getExportedMethods(klass); in getExportedMethods() 134 klass = klass.getSuperclass(); in getExportedMethods() 139 protected Map<String, Method> getExportedMethods(Class klass) { in getExportedMethods() argument 141 Method[] declaredMethodsArray = klass.getDeclaredMethods(); in getExportedMethods()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/core/ |
| H A D | ExportedModule.java | 124 Class klass = getClass(); in getExportedMethods() local 125 while (klass != null && ExportedModule.class.isAssignableFrom(klass)) { in getExportedMethods() 126 Map<String, Method> exportedMethods = getExportedMethods(klass); in getExportedMethods() 134 klass = klass.getSuperclass(); in getExportedMethods() 139 protected Map<String, Method> getExportedMethods(Class klass) { in getExportedMethods() argument 141 Method[] declaredMethodsArray = klass.getDeclaredMethods(); in getExportedMethods()
|
| /expo/packages/expo-notifications/ios/EXNotifications/Notifications/ |
| H A D | NSDictionary+EXNotificationsVerifyingClass.m | 8 - (id)objectForKey:(id)aKey verifyingClass:(__unsafe_unretained Class)klass 11 if (!obj || [obj isKindOfClass:klass]) { 15 …mat:invalidValueClassReasonFormat, aKey, NSStringFromClass([obj class]), NSStringFromClass(klass)];
|
| H A D | NSDictionary+EXNotificationsVerifyingClass.h | 5 - (id)objectForKey:(id)aKey verifyingClass:(__unsafe_unretained Class)klass;
|
| /expo/ios/versioned/sdk47/EXNotifications/EXNotifications/Notifications/ |
| H A D | NSDictionary+ABI47_0_0EXNotificationsVerifyingClass.m | 8 - (id)objectForKey:(id)aKey verifyingClass:(__unsafe_unretained Class)klass 11 if (!obj || [obj isKindOfClass:klass]) { 15 …mat:invalidValueClassReasonFormat, aKey, NSStringFromClass([obj class]), NSStringFromClass(klass)];
|
| /expo/ios/versioned/sdk48/EXNotifications/EXNotifications/Notifications/ |
| H A D | NSDictionary+ABI48_0_0EXNotificationsVerifyingClass.m | 8 - (id)objectForKey:(id)aKey verifyingClass:(__unsafe_unretained Class)klass 11 if (!obj || [obj isKindOfClass:klass]) { 15 …mat:invalidValueClassReasonFormat, aKey, NSStringFromClass([obj class]), NSStringFromClass(klass)];
|
| H A D | NSDictionary+ABI48_0_0EXNotificationsVerifyingClass.h | 5 - (id)objectForKey:(id)aKey verifyingClass:(__unsafe_unretained Class)klass;
|
| /expo/ios/versioned/sdk49/EXNotifications/EXNotifications/Notifications/ |
| H A D | NSDictionary+ABI49_0_0EXNotificationsVerifyingClass.m | 8 - (id)objectForKey:(id)aKey verifyingClass:(__unsafe_unretained Class)klass 11 if (!obj || [obj isKindOfClass:klass]) { 15 …mat:invalidValueClassReasonFormat, aKey, NSStringFromClass([obj class]), NSStringFromClass(klass)];
|
| H A D | NSDictionary+ABI49_0_0EXNotificationsVerifyingClass.h | 5 - (id)objectForKey:(id)aKey verifyingClass:(__unsafe_unretained Class)klass;
|
| /expo/packages/expo-modules-core/ios/Swift/Classes/ |
| H A D | ClassComponent.swift | 41 …let klass = try appContext.runtime.createClass(name) { [weak self, weak appContext] this, argument… in build() variable 56 try decorate(object: klass, appContext: appContext) in build() 60 …text.classRegistry.register(nativeClassId: sharedObjectType.typeIdentifier, javaScriptClass: klass) in build() 63 return klass in build()
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Classes/ |
| H A D | ClassComponent.swift | 41 …let klass = try appContext.runtime.createClass(name) { [weak self, weak appContext] this, argument… in build() variable 56 try decorate(object: klass, appContext: appContext) in build() 60 …text.classRegistry.register(nativeClassId: sharedObjectType.typeIdentifier, javaScriptClass: klass) in build() 63 return klass in build()
|
| /expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Classes/ |
| H A D | ClassComponent.swift | 41 let klass = runtime.createClass(name) { [weak self, weak runtime] this, arguments in in build() variable 58 decorate(object: klass, inRuntime: runtime) in build() 59 return klass in build()
|
| /expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Classes/ |
| H A D | ClassComponent.swift | 41 let klass = runtime.createClass(name) { [weak self, weak runtime] this, arguments in in build() variable 58 decorate(object: klass, inRuntime: runtime) in build() 59 return klass in build()
|
| /expo/packages/expo-modules-core/ios/Protocols/ |
| H A D | EXUIManager.h | 9 - (void)addUIBlock:(void (^)(id))block forView:(id)viewId ofClass:(Class)klass; 12 - (void)executeUIBlock:(void (^)(id))block forView:(id)viewId ofClass:(Class)klass;
|
| /expo/ios/versioned/sdk48/ExpoModulesCore/ios/Protocols/ |
| H A D | ABI48_0_0EXUIManager.h | 9 - (void)addUIBlock:(void (^)(id))block forView:(id)viewId ofClass:(Class)klass; 12 - (void)executeUIBlock:(void (^)(id))block forView:(id)viewId ofClass:(Class)klass;
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Protocols/ |
| H A D | ABI49_0_0EXUIManager.h | 9 - (void)addUIBlock:(void (^)(id))block forView:(id)viewId ofClass:(Class)klass; 12 - (void)executeUIBlock:(void (^)(id))block forView:(id)viewId ofClass:(Class)klass;
|
| /expo/ios/versioned/sdk47/ExpoModulesCore/ios/Protocols/ |
| H A D | ABI47_0_0EXUIManager.h | 9 - (void)addUIBlock:(void (^)(id))block forView:(id)viewId ofClass:(Class)klass; 12 - (void)executeUIBlock:(void (^)(id))block forView:(id)viewId ofClass:(Class)klass;
|