Lines Matching refs:v8
16 namespace v8 {
27 class V8Console : public v8::debug::ConsoleDelegate {
29 v8::Local<v8::Object> createCommandLineAPI(v8::Local<v8::Context> context,
31 void installMemoryGetter(v8::Local<v8::Context> context,
32 v8::Local<v8::Object> console);
33 void installAsyncStackTaggingAPI(v8::Local<v8::Context> context,
34 v8::Local<v8::Object> console);
38 CommandLineAPIScope(v8::Local<v8::Context>,
39 v8::Local<v8::Object> commandLineAPI,
40 v8::Local<v8::Object> global);
47 v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&);
48 static void accessorSetterCallback(v8::Local<v8::Name>,
49 v8::Local<v8::Value>,
50 const v8::PropertyCallbackInfo<void>&);
52 v8::Local<v8::Context> m_context;
53 v8::Local<v8::Object> m_commandLineAPI;
54 v8::Local<v8::Object> m_global;
55 v8::Local<v8::Set> m_installedMethods;
56 v8::Local<v8::ArrayBuffer> m_thisReference;
67 void Debug(const v8::debug::ConsoleCallArguments&,
68 const v8::debug::ConsoleContext& consoleContext) override;
69 void Error(const v8::debug::ConsoleCallArguments&,
70 const v8::debug::ConsoleContext& consoleContext) override;
71 void Info(const v8::debug::ConsoleCallArguments&,
72 const v8::debug::ConsoleContext& consoleContext) override;
73 void Log(const v8::debug::ConsoleCallArguments&,
74 const v8::debug::ConsoleContext& consoleContext) override;
75 void Warn(const v8::debug::ConsoleCallArguments&,
76 const v8::debug::ConsoleContext& consoleContext) override;
77 void Dir(const v8::debug::ConsoleCallArguments&,
78 const v8::debug::ConsoleContext& consoleContext) override;
79 void DirXml(const v8::debug::ConsoleCallArguments&,
80 const v8::debug::ConsoleContext& consoleContext) override;
81 void Table(const v8::debug::ConsoleCallArguments&,
82 const v8::debug::ConsoleContext& consoleContext) override;
83 void Trace(const v8::debug::ConsoleCallArguments&,
84 const v8::debug::ConsoleContext& consoleContext) override;
85 void Group(const v8::debug::ConsoleCallArguments&,
86 const v8::debug::ConsoleContext& consoleContext) override;
87 void GroupCollapsed(const v8::debug::ConsoleCallArguments&,
88 const v8::debug::ConsoleContext& consoleContext) override;
89 void GroupEnd(const v8::debug::ConsoleCallArguments&,
90 const v8::debug::ConsoleContext& consoleContext) override;
91 void Clear(const v8::debug::ConsoleCallArguments&,
92 const v8::debug::ConsoleContext& consoleContext) override;
93 void Count(const v8::debug::ConsoleCallArguments&,
94 const v8::debug::ConsoleContext& consoleContext) override;
95 void CountReset(const v8::debug::ConsoleCallArguments&,
96 const v8::debug::ConsoleContext& consoleContext) override;
97 void Assert(const v8::debug::ConsoleCallArguments&,
98 const v8::debug::ConsoleContext& consoleContext) override;
99 void Profile(const v8::debug::ConsoleCallArguments&,
100 const v8::debug::ConsoleContext& consoleContext) override;
101 void ProfileEnd(const v8::debug::ConsoleCallArguments&,
102 const v8::debug::ConsoleContext& consoleContext) override;
103 void Time(const v8::debug::ConsoleCallArguments&,
104 const v8::debug::ConsoleContext& consoleContext) override;
105 void TimeLog(const v8::debug::ConsoleCallArguments&,
106 const v8::debug::ConsoleContext& consoleContext) override;
107 void TimeEnd(const v8::debug::ConsoleCallArguments&,
108 const v8::debug::ConsoleContext& consoleContext) override;
109 void TimeStamp(const v8::debug::ConsoleCallArguments&,
110 const v8::debug::ConsoleContext& consoleContext) override;
112 template <void (V8Console::*func)(const v8::FunctionCallbackInfo<v8::Value>&)>
113 static void call(const v8::FunctionCallbackInfo<v8::Value>& info) { in call()
115 static_cast<V8Console*>(info.Data().As<v8::External>()->Value()); in call()
119 template <void (V8Console::*func)(const v8::FunctionCallbackInfo<v8::Value>&,
121 static void call(const v8::FunctionCallbackInfo<v8::Value>& info) { in call()
123 info.Data().As<v8::ArrayBuffer>()->GetBackingStore()->Data()); in call()
126 template <void (V8Console::*func)(const v8::debug::ConsoleCallArguments&,
127 const v8::debug::ConsoleContext&)>
128 static void call(const v8::FunctionCallbackInfo<v8::Value>& info) { in call()
130 info.Data().As<v8::ArrayBuffer>()->GetBackingStore()->Data()); in call()
131 v8::debug::ConsoleCallArguments args(info); in call()
132 (data->first->*func)(args, v8::debug::ConsoleContext()); in call()
137 void memoryGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
138 void memorySetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
140 v8::Maybe<int64_t> ValidateAndGetTaskId(
141 const v8::FunctionCallbackInfo<v8::Value>&);
142 void scheduleAsyncTask(const v8::FunctionCallbackInfo<v8::Value>&);
143 void startAsyncTask(const v8::FunctionCallbackInfo<v8::Value>&);
144 void finishAsyncTask(const v8::FunctionCallbackInfo<v8::Value>&);
145 void cancelAsyncTask(const v8::FunctionCallbackInfo<v8::Value>&);
148 void keysCallback(const v8::FunctionCallbackInfo<v8::Value>&, int sessionId);
149 void valuesCallback(const v8::FunctionCallbackInfo<v8::Value>&,
151 void debugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&,
153 void undebugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&,
155 void monitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&,
157 void unmonitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&,
159 void lastEvaluationResultCallback(const v8::FunctionCallbackInfo<v8::Value>&,
161 void inspectCallback(const v8::FunctionCallbackInfo<v8::Value>&,
163 void copyCallback(const v8::FunctionCallbackInfo<v8::Value>&, int sessionId);
164 void inspectedObject(const v8::FunctionCallbackInfo<v8::Value>&,
166 void inspectedObject0(const v8::FunctionCallbackInfo<v8::Value>& info, in inspectedObject0()
170 void inspectedObject1(const v8::FunctionCallbackInfo<v8::Value>& info, in inspectedObject1()
174 void inspectedObject2(const v8::FunctionCallbackInfo<v8::Value>& info, in inspectedObject2()
178 void inspectedObject3(const v8::FunctionCallbackInfo<v8::Value>& info, in inspectedObject3()
182 void inspectedObject4(const v8::FunctionCallbackInfo<v8::Value>& info, in inspectedObject4()
186 void queryObjectsCallback(const v8::FunctionCallbackInfo<v8::Value>& info,