@triniwiz/nativescript-masonkit 1.0.0-alpha.12 → 1.0.0-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/helpers.js +0 -3
  2. package/helpers.js.map +1 -1
  3. package/package.json +1 -1
  4. package/platforms/android/masonkit-release.aar +0 -0
  5. package/style.js +0 -1
  6. package/style.js.map +1 -1
  7. package/node.d.ts +0 -2
  8. package/node.js +0 -3
  9. package/node.js.map +0 -1
  10. package/platforms/ios/Podfile +0 -1
  11. package/platforms/ios/build.xcconfig +0 -5
  12. package/platforms/ios/prebuild.sh +0 -101
  13. package/platforms/new_native_src/cpp/Caches.cpp +0 -36
  14. package/platforms/new_native_src/cpp/Caches.h +0 -42
  15. package/platforms/new_native_src/cpp/Common.h +0 -34
  16. package/platforms/new_native_src/cpp/ConcurrentMap.h +0 -57
  17. package/platforms/new_native_src/cpp/Helpers.cpp +0 -101
  18. package/platforms/new_native_src/cpp/Helpers.h +0 -364
  19. package/platforms/new_native_src/cpp/MasonImpl.cpp +0 -68
  20. package/platforms/new_native_src/cpp/MasonImpl.h +0 -40
  21. package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +0 -89
  22. package/platforms/new_native_src/cpp/MasonNodeImpl.h +0 -47
  23. package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +0 -2181
  24. package/platforms/new_native_src/cpp/MasonStyleImpl.h +0 -420
  25. package/platforms/new_native_src/cpp/include/mason_native.h +0 -972
  26. package/platforms/new_native_src/cpp/include/robin_hood.h +0 -2544
  27. package/src-native/pods/Headers/include/APIDesign.md +0 -72
  28. package/src-native/pods/Headers/include/DEPS +0 -10
  29. package/src-native/pods/Headers/include/DIR_METADATA +0 -11
  30. package/src-native/pods/Headers/include/OWNERS +0 -23
  31. package/src-native/pods/Headers/include/cppgc/DEPS +0 -8
  32. package/src-native/pods/Headers/include/cppgc/OWNERS +0 -2
  33. package/src-native/pods/Headers/include/cppgc/README.md +0 -133
  34. package/src-native/pods/Headers/include/cppgc/allocation.h +0 -310
  35. package/src-native/pods/Headers/include/cppgc/common.h +0 -29
  36. package/src-native/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  37. package/src-native/pods/Headers/include/cppgc/custom-space.h +0 -97
  38. package/src-native/pods/Headers/include/cppgc/default-platform.h +0 -67
  39. package/src-native/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  40. package/src-native/pods/Headers/include/cppgc/explicit-management.h +0 -100
  41. package/src-native/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  42. package/src-native/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  43. package/src-native/pods/Headers/include/cppgc/heap-state.h +0 -82
  44. package/src-native/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  45. package/src-native/pods/Headers/include/cppgc/heap.h +0 -206
  46. package/src-native/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  47. package/src-native/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  48. package/src-native/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  49. package/src-native/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  50. package/src-native/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  51. package/src-native/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  52. package/src-native/pods/Headers/include/cppgc/internal/logging.h +0 -50
  53. package/src-native/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  54. package/src-native/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  55. package/src-native/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  56. package/src-native/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  57. package/src-native/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  58. package/src-native/pods/Headers/include/cppgc/macros.h +0 -26
  59. package/src-native/pods/Headers/include/cppgc/member.h +0 -291
  60. package/src-native/pods/Headers/include/cppgc/name-provider.h +0 -65
  61. package/src-native/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  62. package/src-native/pods/Headers/include/cppgc/persistent.h +0 -370
  63. package/src-native/pods/Headers/include/cppgc/platform.h +0 -156
  64. package/src-native/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  65. package/src-native/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  66. package/src-native/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  67. package/src-native/pods/Headers/include/cppgc/source-location.h +0 -92
  68. package/src-native/pods/Headers/include/cppgc/testing.h +0 -106
  69. package/src-native/pods/Headers/include/cppgc/trace-trait.h +0 -116
  70. package/src-native/pods/Headers/include/cppgc/type-traits.h +0 -240
  71. package/src-native/pods/Headers/include/cppgc/visitor.h +0 -379
  72. package/src-native/pods/Headers/include/js_protocol-1.2.json +0 -936
  73. package/src-native/pods/Headers/include/js_protocol-1.3.json +0 -1112
  74. package/src-native/pods/Headers/include/js_protocol.pdl +0 -1709
  75. package/src-native/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  76. package/src-native/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  77. package/src-native/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  78. package/src-native/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  79. package/src-native/pods/Headers/include/libffi.h +0 -12
  80. package/src-native/pods/Headers/include/libplatform/DEPS +0 -9
  81. package/src-native/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  82. package/src-native/pods/Headers/include/libplatform/libplatform.h +0 -106
  83. package/src-native/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  84. package/src-native/pods/Headers/include/v8-array-buffer.h +0 -433
  85. package/src-native/pods/Headers/include/v8-callbacks.h +0 -397
  86. package/src-native/pods/Headers/include/v8-container.h +0 -129
  87. package/src-native/pods/Headers/include/v8-context.h +0 -407
  88. package/src-native/pods/Headers/include/v8-cppgc.h +0 -215
  89. package/src-native/pods/Headers/include/v8-data.h +0 -80
  90. package/src-native/pods/Headers/include/v8-date.h +0 -43
  91. package/src-native/pods/Headers/include/v8-debug.h +0 -168
  92. package/src-native/pods/Headers/include/v8-embedder-heap.h +0 -218
  93. package/src-native/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  94. package/src-native/pods/Headers/include/v8-exception.h +0 -217
  95. package/src-native/pods/Headers/include/v8-extension.h +0 -62
  96. package/src-native/pods/Headers/include/v8-external.h +0 -37
  97. package/src-native/pods/Headers/include/v8-fast-api-calls.h +0 -939
  98. package/src-native/pods/Headers/include/v8-forward.h +0 -81
  99. package/src-native/pods/Headers/include/v8-function-callback.h +0 -475
  100. package/src-native/pods/Headers/include/v8-function.h +0 -125
  101. package/src-native/pods/Headers/include/v8-initialization.h +0 -315
  102. package/src-native/pods/Headers/include/v8-inspector-protocol.h +0 -13
  103. package/src-native/pods/Headers/include/v8-inspector.h +0 -376
  104. package/src-native/pods/Headers/include/v8-internal.h +0 -661
  105. package/src-native/pods/Headers/include/v8-isolate.h +0 -1709
  106. package/src-native/pods/Headers/include/v8-json.h +0 -47
  107. package/src-native/pods/Headers/include/v8-local-handle.h +0 -455
  108. package/src-native/pods/Headers/include/v8-locker.h +0 -149
  109. package/src-native/pods/Headers/include/v8-maybe.h +0 -137
  110. package/src-native/pods/Headers/include/v8-memory-span.h +0 -43
  111. package/src-native/pods/Headers/include/v8-message.h +0 -216
  112. package/src-native/pods/Headers/include/v8-metrics.h +0 -255
  113. package/src-native/pods/Headers/include/v8-microtask-queue.h +0 -152
  114. package/src-native/pods/Headers/include/v8-microtask.h +0 -28
  115. package/src-native/pods/Headers/include/v8-object.h +0 -775
  116. package/src-native/pods/Headers/include/v8-persistent-handle.h +0 -590
  117. package/src-native/pods/Headers/include/v8-platform.h +0 -1092
  118. package/src-native/pods/Headers/include/v8-primitive-object.h +0 -118
  119. package/src-native/pods/Headers/include/v8-primitive.h +0 -866
  120. package/src-native/pods/Headers/include/v8-profiler.h +0 -1198
  121. package/src-native/pods/Headers/include/v8-promise.h +0 -174
  122. package/src-native/pods/Headers/include/v8-proxy.h +0 -50
  123. package/src-native/pods/Headers/include/v8-regexp.h +0 -105
  124. package/src-native/pods/Headers/include/v8-script.h +0 -748
  125. package/src-native/pods/Headers/include/v8-snapshot.h +0 -196
  126. package/src-native/pods/Headers/include/v8-statistics.h +0 -217
  127. package/src-native/pods/Headers/include/v8-template.h +0 -1079
  128. package/src-native/pods/Headers/include/v8-traced-handle.h +0 -420
  129. package/src-native/pods/Headers/include/v8-typed-array.h +0 -282
  130. package/src-native/pods/Headers/include/v8-unwinder-state.h +0 -31
  131. package/src-native/pods/Headers/include/v8-unwinder.h +0 -132
  132. package/src-native/pods/Headers/include/v8-util.h +0 -658
  133. package/src-native/pods/Headers/include/v8-value-serializer-version.h +0 -24
  134. package/src-native/pods/Headers/include/v8-value-serializer.h +0 -279
  135. package/src-native/pods/Headers/include/v8-value.h +0 -526
  136. package/src-native/pods/Headers/include/v8-version-string.h +0 -38
  137. package/src-native/pods/Headers/include/v8-version.h +0 -20
  138. package/src-native/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  139. package/src-native/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  140. package/src-native/pods/Headers/include/v8-wasm.h +0 -257
  141. package/src-native/pods/Headers/include/v8-weak-callback-info.h +0 -86
  142. package/src-native/pods/Headers/include/v8.h +0 -88
  143. package/src-native/pods/Headers/include/v8config.h +0 -605
  144. package/src-native/pods/Headers/inspector/InspectorServer.h +0 -20
  145. package/src-native/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  146. package/src-native/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  147. package/src-native/pods/Headers/inspector/base64.h +0 -9
  148. package/src-native/pods/Headers/inspector/src/base/address-region.h +0 -95
  149. package/src-native/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  150. package/src-native/pods/Headers/inspector/src/base/atomicops.h +0 -332
  151. package/src-native/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  152. package/src-native/pods/Headers/inspector/src/base/base-export.h +0 -31
  153. package/src-native/pods/Headers/inspector/src/base/bits.h +0 -343
  154. package/src-native/pods/Headers/inspector/src/base/build_config.h +0 -234
  155. package/src-native/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  156. package/src-native/pods/Headers/inspector/src/base/export-template.h +0 -163
  157. package/src-native/pods/Headers/inspector/src/base/flags.h +0 -130
  158. package/src-native/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  159. package/src-native/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  160. package/src-native/pods/Headers/inspector/src/base/logging.h +0 -417
  161. package/src-native/pods/Headers/inspector/src/base/macros.h +0 -423
  162. package/src-native/pods/Headers/inspector/src/base/memory.h +0 -89
  163. package/src-native/pods/Headers/inspector/src/base/once.h +0 -108
  164. package/src-native/pods/Headers/inspector/src/base/optional.h +0 -882
  165. package/src-native/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  166. package/src-native/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  167. package/src-native/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  168. package/src-native/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  169. package/src-native/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  170. package/src-native/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  171. package/src-native/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  172. package/src-native/pods/Headers/inspector/src/base/template-utils.h +0 -113
  173. package/src-native/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  174. package/src-native/pods/Headers/inspector/src/common/checks.h +0 -38
  175. package/src-native/pods/Headers/inspector/src/common/globals.h +0 -1842
  176. package/src-native/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  177. package/src-native/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  178. package/src-native/pods/Headers/inspector/src/init/v8.h +0 -52
  179. package/src-native/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  180. package/src-native/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  181. package/src-native/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  182. package/src-native/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  183. package/src-native/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  184. package/src-native/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  185. package/src-native/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  186. package/src-native/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  187. package/src-native/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  188. package/src-native/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  189. package/src-native/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  190. package/src-native/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  191. package/src-native/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  192. package/src-native/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  193. package/src-native/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  194. package/src-native/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  195. package/src-native/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  196. package/src-native/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  197. package/src-native/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  198. package/src-native/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  199. package/src-native/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  200. package/src-native/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  201. package/src-native/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  202. package/src-native/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  203. package/src-native/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  204. package/src-native/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  205. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  206. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  207. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  208. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  209. package/src-native/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  210. package/src-native/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  211. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  212. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  213. package/src-native/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  214. package/src-native/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  215. package/src-native/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  216. package/src-native/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  217. package/src-native/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  218. package/src-native/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  219. package/src-native/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  220. package/src-native/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  221. package/src-native/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  222. package/src-native/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  223. package/src-native/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  224. package/src-native/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  225. package/src-native/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  226. package/src-native/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  227. package/src-native/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  228. package/src-native/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  229. package/src-native/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  230. package/src-native/pods/Headers/inspector/src/utils/allocation.h +0 -367
  231. package/src-native/pods/Headers/inspector/src/utils/vector.h +0 -324
  232. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  233. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  234. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  235. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  236. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  237. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  238. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  239. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  240. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  241. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  242. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  243. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  244. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  245. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  246. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  247. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  248. package/src-native/pods/Headers/inspector/utils.h +0 -32
  249. package/src-native/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  250. package/src-native/pods/Headers/jsi/decorator.h +0 -762
  251. package/src-native/pods/Headers/jsi/instrumentation.h +0 -117
  252. package/src-native/pods/Headers/jsi/jsi-inl.h +0 -322
  253. package/src-native/pods/Headers/jsi/jsi.h +0 -1387
  254. package/src-native/pods/Headers/jsi/jsilib.h +0 -59
  255. package/src-native/pods/Headers/jsi/threadsafe.h +0 -79
  256. package/src-native/pods/Headers/runtime/ArgConverter.h +0 -61
  257. package/src-native/pods/Headers/runtime/ArrayAdapter.h +0 -13
  258. package/src-native/pods/Headers/runtime/Caches.h +0 -98
  259. package/src-native/pods/Headers/runtime/ClassBuilder.h +0 -61
  260. package/src-native/pods/Headers/runtime/Common.h +0 -9
  261. package/src-native/pods/Headers/runtime/ConcurrentMap.h +0 -55
  262. package/src-native/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  263. package/src-native/pods/Headers/runtime/Console.h +0 -27
  264. package/src-native/pods/Headers/runtime/Constants.h +0 -15
  265. package/src-native/pods/Headers/runtime/DataWrapper.h +0 -671
  266. package/src-native/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  267. package/src-native/pods/Headers/runtime/ExtVector.h +0 -21
  268. package/src-native/pods/Headers/runtime/FFICall.h +0 -105
  269. package/src-native/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  270. package/src-native/pods/Headers/runtime/FunctionReference.h +0 -18
  271. package/src-native/pods/Headers/runtime/Helpers.h +0 -84
  272. package/src-native/pods/Headers/runtime/InlineFunctions.h +0 -16
  273. package/src-native/pods/Headers/runtime/Interop.h +0 -202
  274. package/src-native/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  275. package/src-native/pods/Headers/runtime/Metadata.h +0 -981
  276. package/src-native/pods/Headers/runtime/MetadataBuilder.h +0 -72
  277. package/src-native/pods/Headers/runtime/MetadataInlines.h +0 -157
  278. package/src-native/pods/Headers/runtime/ModuleInternal.h +0 -59
  279. package/src-native/pods/Headers/runtime/NSDataAdapter.h +0 -13
  280. package/src-native/pods/Headers/runtime/NativeScriptException.h +0 -27
  281. package/src-native/pods/Headers/runtime/ObjectManager.h +0 -31
  282. package/src-native/pods/Headers/runtime/OneByteStringResource.h +0 -21
  283. package/src-native/pods/Headers/runtime/Pointer.h +0 -26
  284. package/src-native/pods/Headers/runtime/PromiseProxy.h +0 -15
  285. package/src-native/pods/Headers/runtime/Reference.h +0 -38
  286. package/src-native/pods/Headers/runtime/Runtime.h +0 -67
  287. package/src-native/pods/Headers/runtime/RuntimeConfig.h +0 -17
  288. package/src-native/pods/Headers/runtime/SetTimeout.h +0 -34
  289. package/src-native/pods/Headers/runtime/SimpleAllocator.h +0 -23
  290. package/src-native/pods/Headers/runtime/StringHasher.h +0 -315
  291. package/src-native/pods/Headers/runtime/SymbolIterator.h +0 -18
  292. package/src-native/pods/Headers/runtime/SymbolLoader.h +0 -27
  293. package/src-native/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  294. package/src-native/pods/Headers/runtime/TSHelpers.h +0 -15
  295. package/src-native/pods/Headers/runtime/Tasks.h +0 -19
  296. package/src-native/pods/Headers/runtime/UnmanagedType.h +0 -21
  297. package/src-native/pods/Headers/runtime/WeakRef.h +0 -15
  298. package/src-native/pods/Headers/runtime/Worker.h +0 -26
  299. package/src-native/pods/Headers/runtime/robin_hood.h +0 -2184
  300. package/src-native/pods/Headers/v8runtime/HostProxy.h +0 -71
  301. package/src-native/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -70
  302. package/src-native/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  303. package/src-native/pods/Headers/v8runtime/V8Runtime.h +0 -215
  304. package/src-native/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  305. package/src-native/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  306. package/src-native/pods/NativeScript.podspec +0 -68
@@ -1,173 +0,0 @@
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
3
- // found in the LICENSE file.
4
-
5
- #ifndef V8_INSPECTOR_V8_CONSOLE_H_
6
- #define V8_INSPECTOR_V8_CONSOLE_H_
7
-
8
- #include "src/base/macros.h"
9
-
10
- #include "include/v8.h"
11
- #include "src/debug/interface-types.h"
12
-
13
- namespace v8_inspector {
14
-
15
- class InspectedContext;
16
- class V8InspectorImpl;
17
-
18
- // Console API
19
- // https://console.spec.whatwg.org/#console-namespace
20
- class V8Console : public v8::debug::ConsoleDelegate {
21
- public:
22
- v8::Local<v8::Object> createCommandLineAPI(v8::Local<v8::Context> context,
23
- int sessionId);
24
- void installMemoryGetter(v8::Local<v8::Context> context,
25
- v8::Local<v8::Object> console);
26
-
27
- class V8_NODISCARD CommandLineAPIScope {
28
- public:
29
- CommandLineAPIScope(v8::Local<v8::Context>,
30
- v8::Local<v8::Object> commandLineAPI,
31
- v8::Local<v8::Object> global);
32
- ~CommandLineAPIScope();
33
- CommandLineAPIScope(const CommandLineAPIScope&) = delete;
34
- CommandLineAPIScope& operator=(const CommandLineAPIScope&) = delete;
35
-
36
- private:
37
- static void accessorGetterCallback(
38
- v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&);
39
- static void accessorSetterCallback(v8::Local<v8::Name>,
40
- v8::Local<v8::Value>,
41
- const v8::PropertyCallbackInfo<void>&);
42
-
43
- v8::Local<v8::Context> m_context;
44
- v8::Local<v8::Object> m_commandLineAPI;
45
- v8::Local<v8::Object> m_global;
46
- v8::Local<v8::Set> m_installedMethods;
47
- v8::Local<v8::ArrayBuffer> m_thisReference;
48
- };
49
-
50
- explicit V8Console(V8InspectorImpl* inspector);
51
-
52
- private:
53
- void Debug(const v8::debug::ConsoleCallArguments&,
54
- const v8::debug::ConsoleContext& consoleContext) override;
55
- void Error(const v8::debug::ConsoleCallArguments&,
56
- const v8::debug::ConsoleContext& consoleContext) override;
57
- void Info(const v8::debug::ConsoleCallArguments&,
58
- const v8::debug::ConsoleContext& consoleContext) override;
59
- void Log(const v8::debug::ConsoleCallArguments&,
60
- const v8::debug::ConsoleContext& consoleContext) override;
61
- void Warn(const v8::debug::ConsoleCallArguments&,
62
- const v8::debug::ConsoleContext& consoleContext) override;
63
- void Dir(const v8::debug::ConsoleCallArguments&,
64
- const v8::debug::ConsoleContext& consoleContext) override;
65
- void DirXml(const v8::debug::ConsoleCallArguments&,
66
- const v8::debug::ConsoleContext& consoleContext) override;
67
- void Table(const v8::debug::ConsoleCallArguments&,
68
- const v8::debug::ConsoleContext& consoleContext) override;
69
- void Trace(const v8::debug::ConsoleCallArguments&,
70
- const v8::debug::ConsoleContext& consoleContext) override;
71
- void Group(const v8::debug::ConsoleCallArguments&,
72
- const v8::debug::ConsoleContext& consoleContext) override;
73
- void GroupCollapsed(const v8::debug::ConsoleCallArguments&,
74
- const v8::debug::ConsoleContext& consoleContext) override;
75
- void GroupEnd(const v8::debug::ConsoleCallArguments&,
76
- const v8::debug::ConsoleContext& consoleContext) override;
77
- void Clear(const v8::debug::ConsoleCallArguments&,
78
- const v8::debug::ConsoleContext& consoleContext) override;
79
- void Count(const v8::debug::ConsoleCallArguments&,
80
- const v8::debug::ConsoleContext& consoleContext) override;
81
- void CountReset(const v8::debug::ConsoleCallArguments&,
82
- const v8::debug::ConsoleContext& consoleContext) override;
83
- void Assert(const v8::debug::ConsoleCallArguments&,
84
- const v8::debug::ConsoleContext& consoleContext) override;
85
- void Profile(const v8::debug::ConsoleCallArguments&,
86
- const v8::debug::ConsoleContext& consoleContext) override;
87
- void ProfileEnd(const v8::debug::ConsoleCallArguments&,
88
- const v8::debug::ConsoleContext& consoleContext) override;
89
- void Time(const v8::debug::ConsoleCallArguments&,
90
- const v8::debug::ConsoleContext& consoleContext) override;
91
- void TimeLog(const v8::debug::ConsoleCallArguments&,
92
- const v8::debug::ConsoleContext& consoleContext) override;
93
- void TimeEnd(const v8::debug::ConsoleCallArguments&,
94
- const v8::debug::ConsoleContext& consoleContext) override;
95
- void TimeStamp(const v8::debug::ConsoleCallArguments&,
96
- const v8::debug::ConsoleContext& consoleContext) override;
97
-
98
- template <void (V8Console::*func)(const v8::FunctionCallbackInfo<v8::Value>&)>
99
- static void call(const v8::FunctionCallbackInfo<v8::Value>& info) {
100
- V8Console* console =
101
- static_cast<V8Console*>(info.Data().As<v8::External>()->Value());
102
- (console->*func)(info);
103
- }
104
- using CommandLineAPIData = std::pair<V8Console*, int>;
105
- template <void (V8Console::*func)(const v8::FunctionCallbackInfo<v8::Value>&,
106
- int)>
107
- static void call(const v8::FunctionCallbackInfo<v8::Value>& info) {
108
- CommandLineAPIData* data = static_cast<CommandLineAPIData*>(
109
- info.Data().As<v8::ArrayBuffer>()->GetBackingStore()->Data());
110
- (data->first->*func)(info, data->second);
111
- }
112
- template <void (V8Console::*func)(const v8::debug::ConsoleCallArguments&,
113
- const v8::debug::ConsoleContext&)>
114
- static void call(const v8::FunctionCallbackInfo<v8::Value>& info) {
115
- CommandLineAPIData* data = static_cast<CommandLineAPIData*>(
116
- info.Data().As<v8::ArrayBuffer>()->GetBackingStore()->Data());
117
- v8::debug::ConsoleCallArguments args(info);
118
- (data->first->*func)(args, v8::debug::ConsoleContext());
119
- }
120
-
121
- // TODO(foolip): There is no spec for the Memory Info API, see blink-dev:
122
- // https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJz71NmPwJ
123
- void memoryGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
124
- void memorySetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
125
-
126
- // CommandLineAPI
127
- void keysCallback(const v8::FunctionCallbackInfo<v8::Value>&, int sessionId);
128
- void valuesCallback(const v8::FunctionCallbackInfo<v8::Value>&,
129
- int sessionId);
130
- void debugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&,
131
- int sessionId);
132
- void undebugFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&,
133
- int sessionId);
134
- void monitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&,
135
- int sessionId);
136
- void unmonitorFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>&,
137
- int sessionId);
138
- void lastEvaluationResultCallback(const v8::FunctionCallbackInfo<v8::Value>&,
139
- int sessionId);
140
- void inspectCallback(const v8::FunctionCallbackInfo<v8::Value>&,
141
- int sessionId);
142
- void copyCallback(const v8::FunctionCallbackInfo<v8::Value>&, int sessionId);
143
- void inspectedObject(const v8::FunctionCallbackInfo<v8::Value>&,
144
- int sessionId, unsigned num);
145
- void inspectedObject0(const v8::FunctionCallbackInfo<v8::Value>& info,
146
- int sessionId) {
147
- inspectedObject(info, sessionId, 0);
148
- }
149
- void inspectedObject1(const v8::FunctionCallbackInfo<v8::Value>& info,
150
- int sessionId) {
151
- inspectedObject(info, sessionId, 1);
152
- }
153
- void inspectedObject2(const v8::FunctionCallbackInfo<v8::Value>& info,
154
- int sessionId) {
155
- inspectedObject(info, sessionId, 2);
156
- }
157
- void inspectedObject3(const v8::FunctionCallbackInfo<v8::Value>& info,
158
- int sessionId) {
159
- inspectedObject(info, sessionId, 3);
160
- }
161
- void inspectedObject4(const v8::FunctionCallbackInfo<v8::Value>& info,
162
- int sessionId) {
163
- inspectedObject(info, sessionId, 4);
164
- }
165
- void queryObjectsCallback(const v8::FunctionCallbackInfo<v8::Value>& info,
166
- int sessionId);
167
-
168
- V8InspectorImpl* m_inspector;
169
- };
170
-
171
- } // namespace v8_inspector
172
-
173
- #endif // V8_INSPECTOR_V8_CONSOLE_H_
@@ -1,62 +0,0 @@
1
- #ifndef v8_css_agent_impl_h
2
- #define v8_css_agent_impl_h
3
-
4
- #include "src/inspector/v8-inspector-impl.h"
5
- #include "src/inspector/protocol/CSS.h"
6
- #include "src/inspector/protocol/Protocol.h"
7
-
8
- namespace v8_inspector {
9
-
10
- class V8InspectorSessionImpl;
11
-
12
- using v8_inspector::protocol::Maybe;
13
- using String = v8_inspector::String16;
14
- using protocol::DispatchResponse;
15
-
16
-
17
- class V8CSSAgentImpl : public protocol::CSS::Backend {
18
- public:
19
- V8CSSAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*,
20
- protocol::DictionaryValue* state);
21
-
22
- ~V8CSSAgentImpl() override;
23
- V8CSSAgentImpl(const V8CSSAgentImpl&) = delete;
24
- V8CSSAgentImpl& operator=(const V8CSSAgentImpl&) = delete;
25
-
26
- void enable(std::unique_ptr<EnableCallback> callback) override;
27
- DispatchResponse disable() override;
28
- DispatchResponse getMatchedStylesForNode(int in_nodeId, Maybe<protocol::CSS::CSSStyle>* out_inlineStyle, Maybe<protocol::CSS::CSSStyle>* out_attributesStyle, Maybe<protocol::Array<protocol::CSS::RuleMatch>>* out_matchedCSSRules, Maybe<protocol::Array<protocol::CSS::PseudoElementMatches>>* out_pseudoElements, Maybe<protocol::Array<protocol::CSS::InheritedStyleEntry>>* out_inherited, Maybe<protocol::Array<protocol::CSS::CSSKeyframesRule>>* out_cssKeyframesRules) override;
29
- DispatchResponse getInlineStylesForNode(int in_nodeId, Maybe<protocol::CSS::CSSStyle>* out_inlineStyle, Maybe<protocol::CSS::CSSStyle>* out_attributesStyle) override;
30
- DispatchResponse getComputedStyleForNode(int in_nodeId, std::unique_ptr<protocol::Array<protocol::CSS::CSSComputedStyleProperty>>* out_computedStyle) override;
31
- DispatchResponse getPlatformFontsForNode(int in_nodeId, std::unique_ptr<protocol::Array<protocol::CSS::PlatformFontUsage>>* out_fonts) override;
32
- DispatchResponse getStyleSheetText(const String& in_styleSheetId, String* out_text) override;
33
- DispatchResponse addRule(const String& in_styleSheetId, const String& in_ruleText, std::unique_ptr<protocol::CSS::SourceRange> in_location, std::unique_ptr<protocol::CSS::CSSRule>* out_rule) override;
34
- DispatchResponse collectClassNames(const String& in_styleSheetId, std::unique_ptr<protocol::Array<String>>* out_classNames) override;
35
- DispatchResponse createStyleSheet(const String& in_frameId, String* out_styleSheetId) override;
36
- DispatchResponse forcePseudoState(int in_nodeId, std::unique_ptr<protocol::Array<String>> in_forcedPseudoClasses) override;
37
- DispatchResponse getBackgroundColors(int in_nodeId, Maybe<protocol::Array<String>>* out_backgroundColors, Maybe<String>* out_computedFontSize, Maybe<String>* out_computedFontWeight) override;
38
- DispatchResponse getMediaQueries(std::unique_ptr<protocol::Array<protocol::CSS::CSSMedia>>* out_medias) override;
39
- DispatchResponse setEffectivePropertyValueForNode(int in_nodeId, const String& in_propertyName, const String& in_value) override;
40
- DispatchResponse setKeyframeKey(const String& in_styleSheetId, std::unique_ptr<protocol::CSS::SourceRange> in_range, const String& in_keyText, std::unique_ptr<protocol::CSS::Value>* out_keyText) override;
41
- DispatchResponse setMediaText(const String& in_styleSheetId, std::unique_ptr<protocol::CSS::SourceRange> in_range, const String& in_text, std::unique_ptr<protocol::CSS::CSSMedia>* out_media) override;
42
- DispatchResponse setRuleSelector(const String& in_styleSheetId, std::unique_ptr<protocol::CSS::SourceRange> in_range, const String& in_selector, std::unique_ptr<protocol::CSS::SelectorList>* out_selectorList) override;
43
- DispatchResponse setStyleSheetText(const String& in_styleSheetId, const String& in_text, Maybe<String>* out_sourceMapURL) override;
44
- DispatchResponse setStyleTexts(std::unique_ptr<protocol::Array<protocol::CSS::StyleDeclarationEdit>> in_edits, std::unique_ptr<protocol::Array<protocol::CSS::CSSStyle>>* out_styles) override;
45
- DispatchResponse startRuleUsageTracking() override;
46
- DispatchResponse stopRuleUsageTracking(std::unique_ptr<protocol::Array<protocol::CSS::RuleUsage>>* out_ruleUsage) override;
47
- DispatchResponse takeCoverageDelta(std::unique_ptr<protocol::Array<protocol::CSS::RuleUsage>>* out_coverage) override;
48
-
49
- static V8CSSAgentImpl* Instance;
50
-
51
- private:
52
- protocol::CSS::Frontend m_frontend;
53
- protocol::DictionaryValue* m_state;
54
- V8InspectorImpl* m_inspector;
55
- V8InspectorSessionImpl* m_session;
56
-
57
- bool m_enabled;
58
- };
59
-
60
- }
61
-
62
- #endif /* v8_css_agent_impl_h */
@@ -1,248 +0,0 @@
1
- // Copyright 2015 the V8 project authors. All rights reserved.
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
-
5
- #ifndef V8_INSPECTOR_V8_DEBUGGER_AGENT_IMPL_H_
6
- #define V8_INSPECTOR_V8_DEBUGGER_AGENT_IMPL_H_
7
-
8
- #include <deque>
9
- #include <memory>
10
- #include <unordered_map>
11
- #include <vector>
12
-
13
- #include "src/base/macros.h"
14
- #include "src/debug/debug-interface.h"
15
- #include "src/debug/interface-types.h"
16
- #include "src/inspector/protocol/Debugger.h"
17
- #include "src/inspector/protocol/Forward.h"
18
-
19
- namespace v8_inspector {
20
-
21
- struct ScriptBreakpoint;
22
- class V8Debugger;
23
- class V8DebuggerScript;
24
- class V8InspectorImpl;
25
- class V8InspectorSessionImpl;
26
- class V8Regex;
27
-
28
- using protocol::Maybe;
29
- using protocol::Response;
30
-
31
- class V8DebuggerAgentImpl : public protocol::Debugger::Backend {
32
- public:
33
- enum BreakpointSource {
34
- UserBreakpointSource,
35
- DebugCommandBreakpointSource,
36
- MonitorCommandBreakpointSource
37
- };
38
-
39
- V8DebuggerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*,
40
- protocol::DictionaryValue* state);
41
- ~V8DebuggerAgentImpl() override;
42
- V8DebuggerAgentImpl(const V8DebuggerAgentImpl&) = delete;
43
- V8DebuggerAgentImpl& operator=(const V8DebuggerAgentImpl&) = delete;
44
- void restore();
45
-
46
- // Part of the protocol.
47
- Response enable(Maybe<double> maxScriptsCacheSize,
48
- String16* outDebuggerId) override;
49
- Response disable() override;
50
- Response setBreakpointsActive(bool active) override;
51
- Response setSkipAllPauses(bool skip) override;
52
- Response setBreakpointByUrl(
53
- int lineNumber, Maybe<String16> optionalURL,
54
- Maybe<String16> optionalURLRegex, Maybe<String16> optionalScriptHash,
55
- Maybe<int> optionalColumnNumber, Maybe<String16> optionalCondition,
56
- String16*,
57
- std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* locations)
58
- override;
59
- Response setBreakpoint(
60
- std::unique_ptr<protocol::Debugger::Location>,
61
- Maybe<String16> optionalCondition, String16*,
62
- std::unique_ptr<protocol::Debugger::Location>* actualLocation) override;
63
- Response setBreakpointOnFunctionCall(const String16& functionObjectId,
64
- Maybe<String16> optionalCondition,
65
- String16* outBreakpointId) override;
66
- Response setInstrumentationBreakpoint(const String16& instrumentation,
67
- String16* outBreakpointId) override;
68
- Response removeBreakpoint(const String16& breakpointId) override;
69
- Response continueToLocation(std::unique_ptr<protocol::Debugger::Location>,
70
- Maybe<String16> targetCallFrames) override;
71
- Response getStackTrace(
72
- std::unique_ptr<protocol::Runtime::StackTraceId> inStackTraceId,
73
- std::unique_ptr<protocol::Runtime::StackTrace>* outStackTrace) override;
74
- Response searchInContent(
75
- const String16& scriptId, const String16& query,
76
- Maybe<bool> optionalCaseSensitive, Maybe<bool> optionalIsRegex,
77
- std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>*)
78
- override;
79
- Response getPossibleBreakpoints(
80
- std::unique_ptr<protocol::Debugger::Location> start,
81
- Maybe<protocol::Debugger::Location> end, Maybe<bool> restrictToFunction,
82
- std::unique_ptr<protocol::Array<protocol::Debugger::BreakLocation>>*
83
- locations) override;
84
- Response setScriptSource(
85
- const String16& inScriptId, const String16& inScriptSource,
86
- Maybe<bool> dryRun,
87
- Maybe<protocol::Array<protocol::Debugger::CallFrame>>* optOutCallFrames,
88
- Maybe<bool>* optOutStackChanged,
89
- Maybe<protocol::Runtime::StackTrace>* optOutAsyncStackTrace,
90
- Maybe<protocol::Runtime::StackTraceId>* optOutAsyncStackTraceId,
91
- Maybe<protocol::Runtime::ExceptionDetails>* optOutCompileError) override;
92
- Response restartFrame(
93
- const String16& callFrameId,
94
- std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>*
95
- newCallFrames,
96
- Maybe<protocol::Runtime::StackTrace>* asyncStackTrace,
97
- Maybe<protocol::Runtime::StackTraceId>* asyncStackTraceId) override;
98
- Response getScriptSource(const String16& scriptId, String16* scriptSource,
99
- Maybe<protocol::Binary>* bytecode) override;
100
- Response getWasmBytecode(const String16& scriptId,
101
- protocol::Binary* bytecode) override;
102
- Response pause() override;
103
- Response resume(Maybe<bool> terminateOnResume) override;
104
- Response stepOver(Maybe<protocol::Array<protocol::Debugger::LocationRange>>
105
- inSkipList) override;
106
- Response stepInto(Maybe<bool> inBreakOnAsyncCall,
107
- Maybe<protocol::Array<protocol::Debugger::LocationRange>>
108
- inSkipList) override;
109
- Response stepOut() override;
110
- Response pauseOnAsyncCall(std::unique_ptr<protocol::Runtime::StackTraceId>
111
- inParentStackTraceId) override;
112
- Response setPauseOnExceptions(const String16& pauseState) override;
113
- Response evaluateOnCallFrame(
114
- const String16& callFrameId, const String16& expression,
115
- Maybe<String16> objectGroup, Maybe<bool> includeCommandLineAPI,
116
- Maybe<bool> silent, Maybe<bool> returnByValue,
117
- Maybe<bool> generatePreview, Maybe<bool> throwOnSideEffect,
118
- Maybe<double> timeout,
119
- std::unique_ptr<protocol::Runtime::RemoteObject>* result,
120
- Maybe<protocol::Runtime::ExceptionDetails>*) override;
121
- Response setVariableValue(
122
- int scopeNumber, const String16& variableName,
123
- std::unique_ptr<protocol::Runtime::CallArgument> newValue,
124
- const String16& callFrame) override;
125
- Response setReturnValue(
126
- std::unique_ptr<protocol::Runtime::CallArgument> newValue) override;
127
- Response setAsyncCallStackDepth(int depth) override;
128
- Response setBlackboxPatterns(
129
- std::unique_ptr<protocol::Array<String16>> patterns) override;
130
- Response setBlackboxedRanges(
131
- const String16& scriptId,
132
- std::unique_ptr<protocol::Array<protocol::Debugger::ScriptPosition>>
133
- positions) override;
134
-
135
- bool enabled() const { return m_enabled; }
136
-
137
- void setBreakpointFor(v8::Local<v8::Function> function,
138
- v8::Local<v8::String> condition,
139
- BreakpointSource source);
140
- void removeBreakpointFor(v8::Local<v8::Function> function,
141
- BreakpointSource source);
142
- void schedulePauseOnNextStatement(
143
- const String16& breakReason,
144
- std::unique_ptr<protocol::DictionaryValue> data);
145
- void cancelPauseOnNextStatement();
146
- void breakProgram(const String16& breakReason,
147
- std::unique_ptr<protocol::DictionaryValue> data);
148
-
149
- void reset();
150
-
151
- // Interface for V8InspectorImpl
152
- void didPause(int contextId, v8::Local<v8::Value> exception,
153
- const std::vector<v8::debug::BreakpointId>& hitBreakpoints,
154
- v8::debug::ExceptionType exceptionType, bool isUncaught,
155
- bool isOOMBreak, bool isAssert);
156
- void didContinue();
157
- void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success);
158
-
159
- bool isFunctionBlackboxed(const String16& scriptId,
160
- const v8::debug::Location& start,
161
- const v8::debug::Location& end);
162
- bool shouldBeSkipped(const String16& scriptId, int line, int column);
163
-
164
- bool acceptsPause(bool isOOMBreak) const;
165
-
166
- void ScriptCollected(const V8DebuggerScript* script);
167
-
168
- v8::Isolate* isolate() { return m_isolate; }
169
-
170
- private:
171
- void enableImpl();
172
-
173
- Response currentCallFrames(
174
- std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>*);
175
- std::unique_ptr<protocol::Runtime::StackTrace> currentAsyncStackTrace();
176
- std::unique_ptr<protocol::Runtime::StackTraceId> currentExternalStackTrace();
177
-
178
- void setPauseOnExceptionsImpl(int);
179
-
180
- std::unique_ptr<protocol::Debugger::Location> setBreakpointImpl(
181
- const String16& breakpointId, const String16& scriptId,
182
- const String16& condition, int lineNumber, int columnNumber);
183
- void setBreakpointImpl(const String16& breakpointId,
184
- v8::Local<v8::Function> function,
185
- v8::Local<v8::String> condition);
186
- void removeBreakpointImpl(const String16& breakpointId,
187
- const std::vector<V8DebuggerScript*>& scripts);
188
- void clearBreakDetails();
189
-
190
- void internalSetAsyncCallStackDepth(int);
191
- void increaseCachedSkipStackGeneration();
192
-
193
- Response setBlackboxPattern(const String16& pattern);
194
- void resetBlackboxedStateCache();
195
-
196
- bool isPaused() const;
197
-
198
- void setScriptInstrumentationBreakpointIfNeeded(V8DebuggerScript* script);
199
-
200
- Response processSkipList(
201
- protocol::Array<protocol::Debugger::LocationRange>* skipList);
202
-
203
- using ScriptsMap =
204
- std::unordered_map<String16, std::unique_ptr<V8DebuggerScript>>;
205
- using BreakpointIdToDebuggerBreakpointIdsMap =
206
- std::unordered_map<String16, std::vector<v8::debug::BreakpointId>>;
207
- using DebuggerBreakpointIdToBreakpointIdMap =
208
- std::unordered_map<v8::debug::BreakpointId, String16>;
209
-
210
- V8InspectorImpl* m_inspector;
211
- V8Debugger* m_debugger;
212
- V8InspectorSessionImpl* m_session;
213
- bool m_enabled;
214
- protocol::DictionaryValue* m_state;
215
- protocol::Debugger::Frontend m_frontend;
216
- v8::Isolate* m_isolate;
217
- ScriptsMap m_scripts;
218
- BreakpointIdToDebuggerBreakpointIdsMap m_breakpointIdToDebuggerBreakpointIds;
219
- DebuggerBreakpointIdToBreakpointIdMap m_debuggerBreakpointIdToBreakpointId;
220
- std::unordered_map<v8::debug::BreakpointId,
221
- std::unique_ptr<protocol::DictionaryValue>>
222
- m_breakpointsOnScriptRun;
223
-
224
- size_t m_maxScriptCacheSize = 0;
225
- size_t m_cachedScriptSize = 0;
226
- std::deque<String16> m_cachedScriptIds;
227
-
228
- using BreakReason =
229
- std::pair<String16, std::unique_ptr<protocol::DictionaryValue>>;
230
- std::vector<BreakReason> m_breakReason;
231
-
232
- void pushBreakDetails(
233
- const String16& breakReason,
234
- std::unique_ptr<protocol::DictionaryValue> breakAuxData);
235
- void popBreakDetails();
236
-
237
- bool m_skipAllPauses = false;
238
- bool m_breakpointsActive = false;
239
-
240
- std::unique_ptr<V8Regex> m_blackboxPattern;
241
- std::unordered_map<String16, std::vector<std::pair<int, int>>>
242
- m_blackboxedPositions;
243
- std::unordered_map<String16, std::vector<std::pair<int, int>>> m_skipList;
244
- };
245
-
246
- } // namespace v8_inspector
247
-
248
- #endif // V8_INSPECTOR_V8_DEBUGGER_AGENT_IMPL_H_
@@ -1,44 +0,0 @@
1
- // Copyright 2020 the V8 project authors. All rights reserved.
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
-
5
- #ifndef V8_INSPECTOR_V8_DEBUGGER_ID_H_
6
- #define V8_INSPECTOR_V8_DEBUGGER_ID_H_
7
-
8
- #include <utility>
9
-
10
- #include "src/base/macros.h"
11
- #include "src/inspector/protocol/Forward.h"
12
-
13
- namespace v8_inspector {
14
-
15
- class V8InspectorImpl;
16
-
17
- // This debugger id tries to be unique by generating two random
18
- // numbers, which should most likely avoid collisions.
19
- // Debugger id has a 1:1 mapping to context group. It is used to
20
- // attribute stack traces to a particular debugging, when doing any
21
- // cross-debugger operations (e.g. async step in).
22
- // See also Runtime.UniqueDebuggerId in the protocol.
23
- class V8DebuggerId {
24
- public:
25
- V8DebuggerId() = default;
26
- explicit V8DebuggerId(std::pair<int64_t, int64_t>);
27
- explicit V8DebuggerId(const String16&);
28
- V8DebuggerId(const V8DebuggerId&) V8_NOEXCEPT = default;
29
- ~V8DebuggerId() = default;
30
-
31
- static V8DebuggerId generate(V8InspectorImpl*);
32
-
33
- String16 toString() const;
34
- bool isValid() const;
35
- std::pair<int64_t, int64_t> pair() const;
36
-
37
- private:
38
- int64_t m_first = 0;
39
- int64_t m_second = 0;
40
- };
41
-
42
- } // namespace v8_inspector
43
-
44
- #endif // V8_INSPECTOR_V8_DEBUGGER_ID_H_
@@ -1,123 +0,0 @@
1
- /*
2
- * Copyright (C) 2008 Apple Inc. All rights reserved.
3
- * Copyright (C) 2010 Google Inc. All rights reserved.
4
- *
5
- * Redistribution and use in source and binary forms, with or without
6
- * modification, are permitted provided that the following conditions
7
- * are met:
8
- *
9
- * 1. Redistributions of source code must retain the above copyright
10
- * notice, this list of conditions and the following disclaimer.
11
- * 2. Redistributions in binary form must reproduce the above copyright
12
- * notice, this list of conditions and the following disclaimer in the
13
- * documentation and/or other materials provided with the distribution.
14
- * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
15
- * its contributors may be used to endorse or promote products derived
16
- * from this software without specific prior written permission.
17
- *
18
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
19
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
- */
29
-
30
- #ifndef V8_INSPECTOR_V8_DEBUGGER_SCRIPT_H_
31
- #define V8_INSPECTOR_V8_DEBUGGER_SCRIPT_H_
32
-
33
- #include <memory>
34
-
35
- #include "src/base/macros.h"
36
- #include "src/inspector/string-16.h"
37
- #include "src/inspector/string-util.h"
38
-
39
- #include "include/v8.h"
40
- #include "src/debug/debug-interface.h"
41
-
42
- namespace v8_inspector {
43
-
44
- class V8DebuggerAgentImpl;
45
- class V8InspectorClient;
46
-
47
- class V8DebuggerScript {
48
- public:
49
- enum class Language { JavaScript, WebAssembly };
50
- static std::unique_ptr<V8DebuggerScript> Create(
51
- v8::Isolate* isolate, v8::Local<v8::debug::Script> script,
52
- bool isLiveEdit, V8DebuggerAgentImpl* agent, V8InspectorClient* client);
53
-
54
- virtual ~V8DebuggerScript();
55
- V8DebuggerScript(const V8DebuggerScript&) = delete;
56
- V8DebuggerScript& operator=(const V8DebuggerScript&) = delete;
57
-
58
- const String16& scriptId() const { return m_id; }
59
- bool hasSourceURLComment() const { return m_hasSourceURLComment; }
60
- const String16& sourceURL() const { return m_url; }
61
- const String16& embedderName() const { return m_embedderName; }
62
-
63
- virtual const String16& sourceMappingURL() const = 0;
64
- virtual String16 source(size_t pos, size_t len = UINT_MAX) const = 0;
65
- virtual Language getLanguage() const = 0;
66
- virtual const String16& hash() const = 0;
67
- virtual int startLine() const = 0;
68
- virtual int startColumn() const = 0;
69
- virtual int endLine() const = 0;
70
- virtual int endColumn() const = 0;
71
- virtual int codeOffset() const = 0;
72
- int executionContextId() const { return m_executionContextId; }
73
- virtual bool isLiveEdit() const = 0;
74
- virtual bool isModule() const = 0;
75
- virtual bool isSourceLoadedLazily() const = 0;
76
- virtual int length() const = 0;
77
-
78
- void setSourceURL(const String16&);
79
- virtual void setSourceMappingURL(const String16&) = 0;
80
- virtual void setSource(const String16& source, bool preview,
81
- v8::debug::LiveEditResult* result) = 0;
82
-
83
- virtual bool getPossibleBreakpoints(
84
- const v8::debug::Location& start, const v8::debug::Location& end,
85
- bool ignoreNestedFunctions,
86
- std::vector<v8::debug::BreakLocation>* locations) = 0;
87
- virtual void resetBlackboxedStateCache() = 0;
88
-
89
- static const int kNoOffset = -1;
90
- virtual int offset(int lineNumber, int columnNumber) const = 0;
91
- virtual v8::debug::Location location(int offset) const = 0;
92
-
93
- virtual bool setBreakpoint(const String16& condition,
94
- v8::debug::Location* location, int* id) const = 0;
95
- virtual void MakeWeak() = 0;
96
- virtual bool setBreakpointOnRun(int* id) const = 0;
97
-
98
- #if V8_ENABLE_WEBASSEMBLY
99
- virtual v8::Maybe<v8::MemorySpan<const uint8_t>> wasmBytecode() const = 0;
100
- virtual v8::Maybe<v8::debug::WasmScript::DebugSymbolsType>
101
- getDebugSymbolsType() const = 0;
102
- virtual v8::Maybe<String16> getExternalDebugSymbolsURL() const = 0;
103
- void removeWasmBreakpoint(int id);
104
- #endif // V8_ENABLE_WEBASSEMBLY
105
-
106
- protected:
107
- V8DebuggerScript(v8::Isolate*, String16 id, String16 url,
108
- String16 embedderName);
109
-
110
- virtual v8::Local<v8::debug::Script> script() const = 0;
111
-
112
- String16 m_id;
113
- String16 m_url;
114
- bool m_hasSourceURLComment = false;
115
- int m_executionContextId = 0;
116
-
117
- v8::Isolate* m_isolate;
118
- String16 m_embedderName;
119
- };
120
-
121
- } // namespace v8_inspector
122
-
123
- #endif // V8_INSPECTOR_V8_DEBUGGER_SCRIPT_H_