• Home
  • Raw
  • Download

Lines Matching refs:v8

17   MicrotaskQueueWrap(Environment* env, v8::Local<v8::Object> obj);
19 const std::shared_ptr<v8::MicrotaskQueue>& microtask_queue() const;
21 static void Init(Environment* env, v8::Local<v8::Object> target);
23 static void New(const v8::FunctionCallbackInfo<v8::Value>& args);
33 std::shared_ptr<v8::MicrotaskQueue> microtask_queue_;
37 v8::Local<v8::String> name;
38 v8::Local<v8::String> origin;
39 v8::Local<v8::Boolean> allow_code_gen_strings;
40 v8::Local<v8::Boolean> allow_code_gen_wasm;
47 v8::Local<v8::Object> wrapper,
48 v8::Local<v8::Context> v8_context,
56 static v8::MaybeLocal<v8::Context> CreateV8Context(
57 v8::Isolate* isolate,
58 v8::Local<v8::ObjectTemplate> object_template,
60 v8::MicrotaskQueue* queue);
61 static void Init(Environment* env, v8::Local<v8::Object> target);
66 const v8::Local<v8::Object>& sandbox);
68 inline v8::Local<v8::Context> context() const { in context()
72 inline v8::Local<v8::Object> global_proxy() const { in global_proxy()
76 inline v8::Local<v8::Object> sandbox() const { in sandbox()
78 .As<v8::Object>(); in sandbox()
81 inline std::shared_ptr<v8::MicrotaskQueue> microtask_queue() const { in microtask_queue()
87 static ContextifyContext* Get(const v8::PropertyCallbackInfo<T>& args);
88 static ContextifyContext* Get(v8::Local<v8::Object> object);
94 v8::Local<v8::Object> sandbox_obj,
97 static BaseObjectPtr<ContextifyContext> New(v8::Local<v8::Context> ctx,
99 v8::Local<v8::Object> sandbox_obj,
103 static void MakeContext(const v8::FunctionCallbackInfo<v8::Value>& args);
104 static void IsContext(const v8::FunctionCallbackInfo<v8::Value>& args);
106 const v8::FunctionCallbackInfo<v8::Value>& args);
108 const v8::WeakCallbackInfo<ContextifyContext>& data);
110 v8::Local<v8::Name> property,
111 const v8::PropertyCallbackInfo<v8::Value>& args);
113 v8::Local<v8::Name> property,
114 v8::Local<v8::Value> value,
115 const v8::PropertyCallbackInfo<v8::Value>& args);
117 v8::Local<v8::Name> property,
118 const v8::PropertyCallbackInfo<v8::Value>& args);
120 v8::Local<v8::Name> property,
121 const v8::PropertyDescriptor& desc,
122 const v8::PropertyCallbackInfo<v8::Value>& args);
124 v8::Local<v8::Name> property,
125 const v8::PropertyCallbackInfo<v8::Boolean>& args);
127 const v8::PropertyCallbackInfo<v8::Array>& args);
130 const v8::PropertyCallbackInfo<v8::Value>& args);
133 v8::Local<v8::Value> value,
134 const v8::PropertyCallbackInfo<v8::Value>& args);
137 const v8::PropertyCallbackInfo<v8::Value>& args);
140 const v8::PropertyDescriptor& desc,
141 const v8::PropertyCallbackInfo<v8::Value>& args);
144 const v8::PropertyCallbackInfo<v8::Boolean>& args);
146 v8::Global<v8::Context> context_;
156 ContextifyScript(Environment* env, v8::Local<v8::Object> object);
159 static void Init(Environment* env, v8::Local<v8::Object> target);
161 static void New(const v8::FunctionCallbackInfo<v8::Value>& args);
162 static bool InstanceOf(Environment* env, const v8::Local<v8::Value>& args);
163 static void CreateCachedData(const v8::FunctionCallbackInfo<v8::Value>& args);
164 static void RunInContext(const v8::FunctionCallbackInfo<v8::Value>& args);
165 static bool EvalMachine(v8::Local<v8::Context> context,
171 std::shared_ptr<v8::MicrotaskQueue> microtask_queue,
172 const v8::FunctionCallbackInfo<v8::Value>& args);
177 v8::Global<v8::UnboundScript> script_;
188 v8::Local<v8::Object> object,
190 v8::Local<v8::Function> fn);
197 v8::Global<v8::Function> fn_;
199 static void WeakCallback(const v8::WeakCallbackInfo<CompiledFnEntry>& data);
202 v8::Maybe<bool> StoreCodeCacheResult(
204 v8::Local<v8::Object> target,
205 v8::ScriptCompiler::CompileOptions compile_options,
206 const v8::ScriptCompiler::Source& source,
208 std::unique_ptr<v8::ScriptCompiler::CachedData> new_cached_data);