OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_ | 5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_ |
6 #define V8_DEBUG_DEBUG_INTERFACE_H_ | 6 #define V8_DEBUG_DEBUG_INTERFACE_H_ |
7 | 7 |
8 #include <functional> | 8 #include <functional> |
9 | 9 |
10 #include "include/v8-debug.h" | 10 #include "include/v8-debug.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 enum Builtin { | 200 enum Builtin { |
201 kObjectKeys, | 201 kObjectKeys, |
202 kObjectGetPrototypeOf, | 202 kObjectGetPrototypeOf, |
203 kObjectGetOwnPropertyDescriptor, | 203 kObjectGetOwnPropertyDescriptor, |
204 kObjectGetOwnPropertyNames, | 204 kObjectGetOwnPropertyNames, |
205 kObjectGetOwnPropertySymbols, | 205 kObjectGetOwnPropertySymbols, |
206 }; | 206 }; |
207 | 207 |
208 Local<Function> GetBuiltin(Isolate* isolate, Builtin builtin); | 208 Local<Function> GetBuiltin(Isolate* isolate, Builtin builtin); |
209 | 209 |
210 void SetConsoleDelegate(Isolate* isolate, ConsoleDelegate* delegate); | |
211 | |
212 /** | 210 /** |
213 * Native wrapper around v8::internal::JSGeneratorObject object. | 211 * Native wrapper around v8::internal::JSGeneratorObject object. |
214 */ | 212 */ |
215 class GeneratorObject { | 213 class GeneratorObject { |
216 public: | 214 public: |
217 v8::MaybeLocal<debug::Script> Script(); | 215 v8::MaybeLocal<debug::Script> Script(); |
218 v8::Local<v8::Function> Function(); | 216 v8::Local<v8::Function> Function(); |
219 debug::Location SuspendedLocation(); | 217 debug::Location SuspendedLocation(); |
220 bool IsSuspended(); | 218 bool IsSuspended(); |
221 | 219 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 ~Coverage(); | 282 ~Coverage(); |
285 | 283 |
286 private: | 284 private: |
287 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} | 285 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} |
288 i::Coverage* coverage_; | 286 i::Coverage* coverage_; |
289 }; | 287 }; |
290 } // namespace debug | 288 } // namespace debug |
291 } // namespace v8 | 289 } // namespace v8 |
292 | 290 |
293 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ | 291 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ |
OLD | NEW |