| /expo/packages/expo-modules-core/android/src/main/cpp/ |
| H A D | JavaScriptValue.cpp | 37 JavaScriptValue::JavaScriptValue( in JavaScriptValue() function in expo::JavaScriptValue 44 JavaScriptValue::JavaScriptValue( in JavaScriptValue() function in expo::JavaScriptValue 89 bool JavaScriptValue::isNull() { in isNull() 97 bool JavaScriptValue::isBool() { in isBool() 101 bool JavaScriptValue::isNumber() { in isNumber() 105 bool JavaScriptValue::isString() { in isString() 109 bool JavaScriptValue::isSymbol() { in isSymbol() 122 bool JavaScriptValue::isArray() { in isArray() 143 bool JavaScriptValue::getBool() { in getBool() 177 jni::local_ref<jni::JArrayClass<JavaScriptValue::javaobject>> JavaScriptValue::getArray() { in getArray() [all …]
|
| H A D | JavaScriptValue.h | 30 class JavaScriptValue : public jni::HybridClass<JavaScriptValue, Destructible>, JSIValueWrapper { 38 static jni::local_ref<JavaScriptValue::javaobject> newInstance( 44 JavaScriptValue( 49 JavaScriptValue( 86 jni::local_ref<jni::JArrayClass<JavaScriptValue::javaobject>> getArray();
|
| H A D | JavaScriptRuntime.h | 17 class JavaScriptValue; variable 65 jni::local_ref<jni::HybridClass<JavaScriptValue, Destructible>::javaobject> evaluateScript(
|
| /expo/packages/expo-modules-core/ios/JSI/ |
| H A D | JavaScriptRuntime.swift | 7 …typealias SyncFunctionClosure = (_ this: JavaScriptValue, _ arguments: [JavaScriptValue]) throws -… 20 func eval(_ source: String) throws -> JavaScriptValue { in eval() 22 var result: JavaScriptValue? in eval() 38 func eval(_ source: [String]) throws -> JavaScriptValue { in eval()
|
| H A D | JavaScriptValue.swift | 25 static func convert(from value: JavaScriptValue, appContext: AppContext) throws -> Self in convert() 28 extension JavaScriptValue: AnyJavaScriptValue, AnyArgument { in convert() extension 78 func asArray() throws -> [JavaScriptValue?] { in convert() 115 internal static func convert(from value: JavaScriptValue, appContext: AppContext) throws -> Self { in convert()
|
| /expo/ios/versioned/sdk47/ExpoModulesCore/ios/JSI/ |
| H A D | JavaScriptRuntime.swift | 7 …typealias SyncFunctionClosure = (_ this: JavaScriptValue, _ arguments: [JavaScriptValue]) throws -… 20 func eval(_ source: String) throws -> JavaScriptValue { in eval() 22 var result: JavaScriptValue? in eval() 38 func eval(_ source: [String]) throws -> JavaScriptValue { in eval()
|
| H A D | JavaScriptValue.swift | 18 public extension JavaScriptValue { 68 func asArray() throws -> [JavaScriptValue?] { in asArray()
|
| /expo/ios/versioned/sdk48/ExpoModulesCore/ios/JSI/ |
| H A D | JavaScriptRuntime.swift | 7 …typealias SyncFunctionClosure = (_ this: JavaScriptValue, _ arguments: [JavaScriptValue]) throws -… 20 func eval(_ source: String) throws -> JavaScriptValue { in eval() 22 var result: JavaScriptValue? in eval() 38 func eval(_ source: [String]) throws -> JavaScriptValue { in eval()
|
| H A D | JavaScriptValue.swift | 18 public extension JavaScriptValue { 68 func asArray() throws -> [JavaScriptValue?] { in asArray()
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/JSI/ |
| H A D | JavaScriptRuntime.swift | 7 …typealias SyncFunctionClosure = (_ this: JavaScriptValue, _ arguments: [JavaScriptValue]) throws -… 20 func eval(_ source: String) throws -> JavaScriptValue { in eval() 22 var result: JavaScriptValue? in eval() 38 func eval(_ source: [String]) throws -> JavaScriptValue { in eval()
|
| H A D | JavaScriptValue.swift | 25 static func convert(from value: JavaScriptValue, appContext: AppContext) throws -> Self in convert() 28 extension JavaScriptValue: AnyJavaScriptValue, AnyArgument { in convert() extension 78 func asArray() throws -> [JavaScriptValue?] { in convert() 115 internal static func convert(from value: JavaScriptValue, appContext: AppContext) throws -> Self { in convert()
|
| /expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/jni/ |
| H A D | JavaScriptObject.kt | 36 external fun getProperty(name: String): JavaScriptValue in <lambda>() 38 operator fun get(name: String): JavaScriptValue? { in <lambda>() 49 private external fun setJSValueProperty(name: String, value: JavaScriptValue?) in <lambda>() 56 private external fun defineJSValueProperty(name: String, value: JavaScriptValue?, options: Int) in <lambda>() 80 fun setProperty(name: String, value: JavaScriptValue?) = setJSValueProperty(name, value) in <lambda>() 81 operator fun set(name: String, value: JavaScriptValue?) = setJSValueProperty(name, value) in <lambda>() 117 value: JavaScriptValue?, in <lambda>()
|
| H A D | JavaScriptValue.kt | 13 class JavaScriptValue @DoNotStrip private constructor(@DoNotStrip private val mHybridData: HybridDa… class 32 external fun getArray(): Array<JavaScriptValue> in isValid()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/jni/ |
| H A D | JavaScriptObject.kt | 36 external fun getProperty(name: String): JavaScriptValue in <lambda>() 38 operator fun get(name: String): JavaScriptValue? { in <lambda>() 49 private external fun setJSValueProperty(name: String, value: JavaScriptValue?) in <lambda>() 56 private external fun defineJSValueProperty(name: String, value: JavaScriptValue?, options: Int) in <lambda>() 80 fun setProperty(name: String, value: JavaScriptValue?) = setJSValueProperty(name, value) in <lambda>() 81 operator fun set(name: String, value: JavaScriptValue?) = setJSValueProperty(name, value) in <lambda>() 117 value: JavaScriptValue?, in <lambda>()
|
| H A D | JavaScriptValue.kt | 13 class JavaScriptValue @DoNotStrip private constructor(@DoNotStrip private val mHybridData: HybridDa… class 32 external fun getArray(): Array<JavaScriptValue> in isValid()
|
| /expo/packages/expo-modules-core/ios/Swift/DynamicTypes/ |
| H A D | DynamicViewType.swift | 20 func cast(jsValue: JavaScriptValue, appContext: AppContext) throws -> Any { in cast() 48 private func findViewTag(_ value: JavaScriptValue) -> Int? { in findViewTag() 52 if let value = value as? JavaScriptValue, value.isObject() { in findViewTag()
|
| H A D | AnyDynamicType.swift | 23 func cast(jsValue: JavaScriptValue, appContext: AppContext) throws -> Any in wraps<InnerType>() 33 func cast(jsValue: JavaScriptValue, appContext: AppContext) throws -> Any { in wraps<InnerType>()
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/DynamicTypes/ |
| H A D | DynamicViewType.swift | 20 func cast(jsValue: JavaScriptValue, appContext: AppContext) throws -> Any { in cast() 48 private func findViewTag(_ value: JavaScriptValue) -> Int? { in findViewTag() 52 if let value = value as? JavaScriptValue, value.isObject() { in findViewTag()
|
| H A D | AnyDynamicType.swift | 23 func cast(jsValue: JavaScriptValue, appContext: AppContext) throws -> Any in wraps<InnerType>() 33 func cast(jsValue: JavaScriptValue, appContext: AppContext) throws -> Any { in wraps<InnerType>()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/jni/ |
| H A D | JavaScriptObject.kt | 34 external fun getProperty(name: String): JavaScriptValue in <lambda>() 40 private external fun setJSValueProperty(name: String, value: JavaScriptValue?) in <lambda>() 47 private external fun defineJSValueProperty(name: String, value: JavaScriptValue?, options: Int) in <lambda>() 54 fun setProperty(name: String, value: JavaScriptValue?) = setJSValueProperty(name, value) in <lambda>() 87 value: JavaScriptValue?, in <lambda>()
|
| H A D | JavaScriptValue.kt | 12 class JavaScriptValue @DoNotStrip private constructor(@DoNotStrip private val mHybridData: HybridDa… class 30 external fun getArray(): Array<JavaScriptValue> in kind()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/jni/ |
| H A D | JavaScriptObject.kt | 34 external fun getProperty(name: String): JavaScriptValue in <lambda>() 40 private external fun setJSValueProperty(name: String, value: JavaScriptValue?) in <lambda>() 47 private external fun defineJSValueProperty(name: String, value: JavaScriptValue?, options: Int) in <lambda>() 54 fun setProperty(name: String, value: JavaScriptValue?) = setJSValueProperty(name, value) in <lambda>() 87 value: JavaScriptValue?, in <lambda>()
|
| H A D | JavaScriptValue.kt | 12 class JavaScriptValue @DoNotStrip private constructor(@DoNotStrip private val mHybridData: HybridDa… class 30 external fun getArray(): Array<JavaScriptValue> in kind()
|
| /expo/packages/expo-modules-core/ios/Swift/ |
| H A D | JavaScriptUtils.swift | 14 …if let dynamicJSType = type as? DynamicJavaScriptType, dynamicJSType.equals(~JavaScriptValue.self)… in cast() 17 if !(type is DynamicTypedArrayType), let value = value as? JavaScriptValue { in cast() 55 if let jsValue = jsValue as? JavaScriptValue { in cast()
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/ |
| H A D | JavaScriptUtils.swift | 14 …if let dynamicJSType = type as? DynamicJavaScriptType, dynamicJSType.equals(~JavaScriptValue.self)… in cast() 17 if !(type is DynamicTypedArrayType), let value = value as? JavaScriptValue { in cast() 55 if let jsValue = jsValue as? JavaScriptValue { in cast()
|