Home
last modified time | relevance | path

Searched refs:JavaScriptValue (Results 1 – 25 of 72) sorted by relevance

123

/expo/packages/expo-modules-core/android/src/main/cpp/
H A DJavaScriptValue.cpp37 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 DJavaScriptValue.h30 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 DJavaScriptRuntime.h17 class JavaScriptValue; variable
65 jni::local_ref<jni::HybridClass<JavaScriptValue, Destructible>::javaobject> evaluateScript(
/expo/packages/expo-modules-core/ios/JSI/
H A DJavaScriptRuntime.swift7 …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 DJavaScriptValue.swift25 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 DJavaScriptRuntime.swift7 …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 DJavaScriptValue.swift18 public extension JavaScriptValue {
68 func asArray() throws -> [JavaScriptValue?] { in asArray()
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/JSI/
H A DJavaScriptRuntime.swift7 …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 DJavaScriptValue.swift18 public extension JavaScriptValue {
68 func asArray() throws -> [JavaScriptValue?] { in asArray()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/JSI/
H A DJavaScriptRuntime.swift7 …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 DJavaScriptValue.swift25 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 DJavaScriptObject.kt36 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 DJavaScriptValue.kt13 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 DJavaScriptObject.kt36 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 DJavaScriptValue.kt13 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 DDynamicViewType.swift20 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 DAnyDynamicType.swift23 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 DDynamicViewType.swift20 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 DAnyDynamicType.swift23 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 DJavaScriptObject.kt34 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 DJavaScriptValue.kt12 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 DJavaScriptObject.kt34 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 DJavaScriptValue.kt12 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 DJavaScriptUtils.swift14 …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 DJavaScriptUtils.swift14 …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()

123