• Home
  • Raw
  • Download

Lines Matching refs:JSValueRef

43 class JSValueRef;  variable
73 using ConcurrentCallback = void (*)(Local<JSValueRef> result, bool success, void *taskInfo, void *d…
388 class PUBLIC_API JSValueRef {
479 bool IsStrictEquals(const EcmaVM *vm, Local<JSValueRef> value);
481 bool InstanceOf(const EcmaVM *vm, Local<JSValueRef> value);
508 class PUBLIC_API PrimitiveRef : public JSValueRef {
510 Local<JSValueRef> GetValue(const EcmaVM *vm);
534 …static Local<JSValueRef> CreateBigWords(const EcmaVM *vm, bool sign, uint32_t size, const uint64_t…
549 static inline StringRef *Cast(JSValueRef *value) in Cast()
572 class PUBLIC_API NativePointerRef : public JSValueRef {
588 PropertyAttribute(Local<JSValueRef> value, bool w, bool e, bool c) in PropertyAttribute()
638 Local<JSValueRef> GetValue(const EcmaVM *vm) const in GetValue()
641 return JSValueRef::Undefined(vm); in GetValue()
645 void SetValue(Local<JSValueRef> value) in SetValue()
653 Local<JSValueRef> GetGetter(const EcmaVM *vm) const in GetGetter()
656 return JSValueRef::Undefined(vm); in GetGetter()
660 void SetGetter(Local<JSValueRef> value) in SetGetter()
668 Local<JSValueRef> GetSetter(const EcmaVM *vm) const in GetSetter()
671 return JSValueRef::Undefined(vm); in GetSetter()
675 void SetSetter(Local<JSValueRef> value) in SetSetter()
685 Local<JSValueRef> value_;
686 Local<JSValueRef> getter_;
687 Local<JSValueRef> setter_;
696 class PUBLIC_API ObjectRef : public JSValueRef {
698 static inline ObjectRef *Cast(JSValueRef *value) in Cast()
706 bool Set(const EcmaVM *vm, Local<JSValueRef> key, Local<JSValueRef> value);
707 bool Set(const EcmaVM *vm, uint32_t key, Local<JSValueRef> value);
708 bool SetAccessorProperty(const EcmaVM *vm, Local<JSValueRef> key, Local<FunctionRef> getter,
710 Local<JSValueRef> Get(const EcmaVM *vm, Local<JSValueRef> key);
711 Local<JSValueRef> Get(const EcmaVM *vm, int32_t key);
713 bool GetOwnProperty(const EcmaVM *vm, Local<JSValueRef> key, PropertyAttribute &property);
717 Local<JSValueRef> GetPrototype(const EcmaVM *vm);
720 bool DefineProperty(const EcmaVM *vm, Local<JSValueRef> key, PropertyAttribute attribute);
722 bool Has(const EcmaVM *vm, Local<JSValueRef> key);
725 bool Delete(const EcmaVM *vm, Local<JSValueRef> key);
728 Local<JSValueRef> Freeze(const EcmaVM *vm);
729 Local<JSValueRef> Seal(const EcmaVM *vm);
740 using FunctionCallback = Local<JSValueRef>(*)(JsiRuntimeCallInfo*);
748 …Local<JSValueRef> Call(const EcmaVM *vm, Local<JSValueRef> thisObj, const Local<JSValueRef> argv[],
750 Local<JSValueRef> Constructor(const EcmaVM *vm, const Local<JSValueRef> argv[], int32_t length);
752 Local<JSValueRef> GetFunctionPrototype(const EcmaVM *vm);
766 …static bool SetValueAt(const EcmaVM *vm, Local<JSValueRef> obj, uint32_t index, Local<JSValueRef> …
767 static Local<JSValueRef> GetValueAt(const EcmaVM *vm, Local<JSValueRef> obj, uint32_t index);
781 bool Resolve(const EcmaVM *vm, Local<JSValueRef> value);
782 bool Reject(const EcmaVM *vm, Local<JSValueRef> reason);
893 Local<JSValueRef> IsGlobal(const EcmaVM *vm);
894 Local<JSValueRef> IsIgnoreCase(const EcmaVM *vm);
895 Local<JSValueRef> IsMultiline(const EcmaVM *vm);
896 Local<JSValueRef> IsDotAll(const EcmaVM *vm);
897 Local<JSValueRef> IsUtf16(const EcmaVM *vm);
898 Local<JSValueRef> IsStick(const EcmaVM *vm);
910 Local<JSValueRef> GetHandler(const EcmaVM *vm);
911 Local<JSValueRef> GetTarget(const EcmaVM *vm);
919 Local<JSValueRef> Get(const EcmaVM *vm, Local<JSValueRef> key);
920 Local<JSValueRef> GetKey(const EcmaVM *vm, int entry);
921 Local<JSValueRef> GetValue(const EcmaVM *vm, int entry);
923 void Set(const EcmaVM *vm, Local<JSValueRef> key, Local<JSValueRef> value);
930 Local<JSValueRef> GetKey(const EcmaVM *vm, int entry);
931 Local<JSValueRef> GetValue(const EcmaVM *vm, int entry);
938 Local<JSValueRef> GetValue(const EcmaVM *vm, int entry);
945 Local<JSValueRef> GetValue(const EcmaVM *vm, int entry);
951 Local<JSValueRef> GetKind(const EcmaVM *vm);
957 Local<JSValueRef> GetKind(const EcmaVM *vm);
967 Local<JSValueRef> GetGeneratorState(const EcmaVM *vm);
968 Local<JSValueRef> GetGeneratorFunction(const EcmaVM *vm);
969 Local<JSValueRef> GetGeneratorReceiver(const EcmaVM *vm);
974 Local<JSValueRef> GetCompareFunction(const EcmaVM *vm);
979 Local<JSValueRef> GetFormatFunction(const EcmaVM *vm);
984 Local<JSValueRef> GetFormatFunction(const EcmaVM *vm);
989 static Local<JSValueRef> Parse(const EcmaVM *vm, Local<StringRef> string);
990 static Local<JSValueRef> Stringify(const EcmaVM *vm, Local<JSValueRef> json);
995 static Local<JSValueRef> Error(const EcmaVM *vm, Local<StringRef> message);
996 static Local<JSValueRef> RangeError(const EcmaVM *vm, Local<StringRef> message);
997 static Local<JSValueRef> ReferenceError(const EcmaVM *vm, Local<StringRef> message);
998 static Local<JSValueRef> SyntaxError(const EcmaVM *vm, Local<StringRef> message);
999 static Local<JSValueRef> TypeError(const EcmaVM *vm, Local<StringRef> message);
1000 static Local<JSValueRef> AggregateError(const EcmaVM *vm, Local<StringRef> message);
1001 static Local<JSValueRef> EvalError(const EcmaVM *vm, Local<StringRef> message);
1002 static Local<JSValueRef> OOMError(const EcmaVM *vm, Local<StringRef> message);
1257 PromiseRejectInfo(Local<JSValueRef> promise, Local<JSValueRef> reason,
1260 Local<JSValueRef> GetPromise() const;
1261 Local<JSValueRef> GetReason() const;
1266 Local<JSValueRef> promise_ {};
1267 Local<JSValueRef> reason_ {};
1346 static void ThrowException(const EcmaVM *vm, Local<JSValueRef> error);
1358 … static void* SerializeValue(const EcmaVM *vm, Local<JSValueRef> data, Local<JSValueRef> transfer);
1359 static Local<JSValueRef> DeserializeValue(const EcmaVM *vm, void *recoder, void *hint);
1366 static void SetHostEnqueueJob(const EcmaVM* vm, Local<JSValueRef> cb);
1398 static bool InitForConcurrentFunction(EcmaVM *vm, Local<JSValueRef> func, void *taskInfo);
1456 inline Local<JSValueRef> GetFunctionRef() const in GetFunctionRef()
1461 inline Local<JSValueRef> GetNewTargetRef() const in GetNewTargetRef()
1466 inline Local<JSValueRef> GetThisRef() const in GetThisRef()
1471 inline Local<JSValueRef> GetCallArgRef(uint32_t idx) const in GetCallArgRef()
1479 Local<JSValueRef> GetArgRef(uint32_t idx) const in GetArgRef()
1481 return Local<JSValueRef>(GetArgAddress(idx)); in GetArgRef()