@nativescript/canvas 2.0.0-alpha.10 → 2.0.0-alpha.12

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 (372) hide show
  1. package/Canvas/index.android.d.ts +4 -0
  2. package/Canvas/index.android.js +15 -1
  3. package/Canvas/index.android.js.map +1 -1
  4. package/Canvas/index.ios.js +0 -1
  5. package/Canvas/index.ios.js.map +1 -1
  6. package/WebGL/WebGLRenderingContext/index.js +9 -1
  7. package/WebGL/WebGLRenderingContext/index.js.map +1 -1
  8. package/package.json +1 -1
  9. package/platforms/android/canvas-release.aar +0 -0
  10. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  11. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +4 -0
  12. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +46 -0
  13. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  14. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +381 -16
  15. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -0
  16. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +3 -0
  17. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  18. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
  19. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +8 -0
  20. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +46 -0
  21. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  22. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  23. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +381 -16
  24. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -0
  25. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -0
  26. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +381 -16
  27. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -0
  28. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -0
  29. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +24 -24
  30. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  31. package/platforms/ios/Podfile +1 -1
  32. package/platforms/ios/build.xcconfig +1 -1
  33. package/platforms/ios/src/CanvasModule.h +1 -1
  34. package/platforms/ios/src/cpp/CanvasJSIModule.h +1 -1
  35. package/platforms/ios/src/cpp/CanvasJSIModule.mm +17 -17
  36. package/platforms/ios/src/cpp/Helpers.h +1 -1
  37. package/platforms/ios/src/cpp/ImageAssetImpl.h +1 -1
  38. package/platforms/ios/src/cpp/ImageBitmapImpl.h +1 -1
  39. package/platforms/ios/src/cpp/JSICallback.h +1 -1
  40. package/platforms/ios/src/cpp/JSIReadFileCallback.h +1 -1
  41. package/platforms/ios/src/cpp/TextDecoderImpl.h +1 -1
  42. package/platforms/ios/src/cpp/VecMutableBuffer.h +1 -1
  43. package/platforms/ios/src/cpp/canvas2d/CanvasGradient.h +1 -1
  44. package/platforms/ios/src/cpp/canvas2d/CanvasPattern.h +1 -1
  45. package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +1 -1
  46. package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.h +1 -1
  47. package/platforms/ios/src/cpp/canvas2d/MatrixImpl.h +1 -1
  48. package/platforms/ios/src/cpp/canvas2d/Path2D.h +1 -1
  49. package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.h +1 -1
  50. package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.h +1 -1
  51. package/platforms/ios/src/cpp/webgl/WebGLBuffer.h +1 -1
  52. package/platforms/ios/src/cpp/webgl/WebGLFramebuffer.h +1 -1
  53. package/platforms/ios/src/cpp/webgl/WebGLProgram.h +1 -1
  54. package/platforms/ios/src/cpp/webgl/WebGLRenderbuffer.h +1 -1
  55. package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.h +1 -1
  56. package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.h +1 -1
  57. package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.mm +1 -1
  58. package/platforms/ios/src/cpp/webgl/WebGLShader.h +1 -1
  59. package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.h +1 -1
  60. package/platforms/ios/src/cpp/webgl/WebGLTexture.h +1 -1
  61. package/platforms/ios/src/cpp/webgl/WebGLUniformLocation.h +1 -1
  62. package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.h +1 -1
  63. package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.h +1 -1
  64. package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.h +1 -1
  65. package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.h +1 -1
  66. package/platforms/ios/src/cpp/webgl/extensions/EXT_sRGBImpl.h +1 -1
  67. package/platforms/ios/src/cpp/webgl/extensions/EXT_shader_texture_lodImpl.h +1 -1
  68. package/platforms/ios/src/cpp/webgl/extensions/EXT_texture_filter_anisotropicImpl.h +1 -1
  69. package/platforms/ios/src/cpp/webgl/extensions/OES_element_index_uintImpl.h +1 -1
  70. package/platforms/ios/src/cpp/webgl/extensions/OES_fbo_render_mipmap.h +1 -1
  71. package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.h +1 -1
  72. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_floatImpl.h +1 -1
  73. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_float_linearImpl.h +1 -1
  74. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_floatImpl.h +1 -1
  75. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_float_linearImpl.h +1 -1
  76. package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.h +1 -1
  77. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_color_buffer_floatImpl.h +1 -1
  78. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_atcImpl.h +1 -1
  79. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etc1Impl.h +1 -1
  80. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etcImpl.h +1 -1
  81. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_pvrtcImpl.h +1 -1
  82. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tcImpl.h +1 -1
  83. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tc_srgbImpl.h +1 -1
  84. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_depth_textureImpl.h +1 -1
  85. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.h +1 -1
  86. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.h +1 -1
  87. package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.h +1 -1
  88. package/platforms/ios/src/cpp/webgl2/WebGLQuery.h +1 -1
  89. package/platforms/ios/src/cpp/webgl2/WebGLSampler.h +1 -1
  90. package/platforms/ios/src/cpp/webgl2/WebGLSyncImpl.h +1 -1
  91. package/platforms/ios/src/cpp/webgl2/WebGLTransformFeedback.h +1 -1
  92. package/platforms/ios/src/cpp/webgl2/WebGLVertexArrayObject.h +1 -1
  93. package/pods/Headers/include/APIDesign.md +0 -72
  94. package/pods/Headers/include/DEPS +0 -10
  95. package/pods/Headers/include/DIR_METADATA +0 -11
  96. package/pods/Headers/include/OWNERS +0 -23
  97. package/pods/Headers/include/cppgc/DEPS +0 -8
  98. package/pods/Headers/include/cppgc/OWNERS +0 -2
  99. package/pods/Headers/include/cppgc/README.md +0 -133
  100. package/pods/Headers/include/cppgc/allocation.h +0 -310
  101. package/pods/Headers/include/cppgc/common.h +0 -29
  102. package/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  103. package/pods/Headers/include/cppgc/custom-space.h +0 -97
  104. package/pods/Headers/include/cppgc/default-platform.h +0 -67
  105. package/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  106. package/pods/Headers/include/cppgc/explicit-management.h +0 -100
  107. package/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  108. package/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  109. package/pods/Headers/include/cppgc/heap-state.h +0 -82
  110. package/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  111. package/pods/Headers/include/cppgc/heap.h +0 -206
  112. package/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  113. package/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  114. package/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  115. package/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  116. package/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  117. package/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  118. package/pods/Headers/include/cppgc/internal/logging.h +0 -50
  119. package/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  120. package/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  121. package/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  122. package/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  123. package/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  124. package/pods/Headers/include/cppgc/macros.h +0 -26
  125. package/pods/Headers/include/cppgc/member.h +0 -291
  126. package/pods/Headers/include/cppgc/name-provider.h +0 -65
  127. package/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  128. package/pods/Headers/include/cppgc/persistent.h +0 -370
  129. package/pods/Headers/include/cppgc/platform.h +0 -156
  130. package/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  131. package/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  132. package/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  133. package/pods/Headers/include/cppgc/source-location.h +0 -92
  134. package/pods/Headers/include/cppgc/testing.h +0 -106
  135. package/pods/Headers/include/cppgc/trace-trait.h +0 -116
  136. package/pods/Headers/include/cppgc/type-traits.h +0 -240
  137. package/pods/Headers/include/cppgc/visitor.h +0 -379
  138. package/pods/Headers/include/js_protocol-1.2.json +0 -936
  139. package/pods/Headers/include/js_protocol-1.3.json +0 -1112
  140. package/pods/Headers/include/js_protocol.pdl +0 -1709
  141. package/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  142. package/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  143. package/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  144. package/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  145. package/pods/Headers/include/libffi.h +0 -12
  146. package/pods/Headers/include/libplatform/DEPS +0 -9
  147. package/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  148. package/pods/Headers/include/libplatform/libplatform.h +0 -106
  149. package/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  150. package/pods/Headers/include/v8-array-buffer.h +0 -433
  151. package/pods/Headers/include/v8-callbacks.h +0 -397
  152. package/pods/Headers/include/v8-container.h +0 -129
  153. package/pods/Headers/include/v8-context.h +0 -407
  154. package/pods/Headers/include/v8-cppgc.h +0 -215
  155. package/pods/Headers/include/v8-data.h +0 -80
  156. package/pods/Headers/include/v8-date.h +0 -43
  157. package/pods/Headers/include/v8-debug.h +0 -168
  158. package/pods/Headers/include/v8-embedder-heap.h +0 -218
  159. package/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  160. package/pods/Headers/include/v8-exception.h +0 -217
  161. package/pods/Headers/include/v8-extension.h +0 -62
  162. package/pods/Headers/include/v8-external.h +0 -37
  163. package/pods/Headers/include/v8-fast-api-calls.h +0 -939
  164. package/pods/Headers/include/v8-forward.h +0 -81
  165. package/pods/Headers/include/v8-function-callback.h +0 -475
  166. package/pods/Headers/include/v8-function.h +0 -125
  167. package/pods/Headers/include/v8-initialization.h +0 -315
  168. package/pods/Headers/include/v8-inspector-protocol.h +0 -13
  169. package/pods/Headers/include/v8-inspector.h +0 -376
  170. package/pods/Headers/include/v8-internal.h +0 -661
  171. package/pods/Headers/include/v8-isolate.h +0 -1709
  172. package/pods/Headers/include/v8-json.h +0 -47
  173. package/pods/Headers/include/v8-local-handle.h +0 -455
  174. package/pods/Headers/include/v8-locker.h +0 -149
  175. package/pods/Headers/include/v8-maybe.h +0 -137
  176. package/pods/Headers/include/v8-memory-span.h +0 -43
  177. package/pods/Headers/include/v8-message.h +0 -216
  178. package/pods/Headers/include/v8-metrics.h +0 -255
  179. package/pods/Headers/include/v8-microtask-queue.h +0 -152
  180. package/pods/Headers/include/v8-microtask.h +0 -28
  181. package/pods/Headers/include/v8-object.h +0 -775
  182. package/pods/Headers/include/v8-persistent-handle.h +0 -590
  183. package/pods/Headers/include/v8-platform.h +0 -1092
  184. package/pods/Headers/include/v8-primitive-object.h +0 -118
  185. package/pods/Headers/include/v8-primitive.h +0 -866
  186. package/pods/Headers/include/v8-profiler.h +0 -1198
  187. package/pods/Headers/include/v8-promise.h +0 -174
  188. package/pods/Headers/include/v8-proxy.h +0 -50
  189. package/pods/Headers/include/v8-regexp.h +0 -105
  190. package/pods/Headers/include/v8-script.h +0 -748
  191. package/pods/Headers/include/v8-snapshot.h +0 -196
  192. package/pods/Headers/include/v8-statistics.h +0 -217
  193. package/pods/Headers/include/v8-template.h +0 -1079
  194. package/pods/Headers/include/v8-traced-handle.h +0 -420
  195. package/pods/Headers/include/v8-typed-array.h +0 -282
  196. package/pods/Headers/include/v8-unwinder-state.h +0 -31
  197. package/pods/Headers/include/v8-unwinder.h +0 -132
  198. package/pods/Headers/include/v8-util.h +0 -658
  199. package/pods/Headers/include/v8-value-serializer-version.h +0 -24
  200. package/pods/Headers/include/v8-value-serializer.h +0 -279
  201. package/pods/Headers/include/v8-value.h +0 -526
  202. package/pods/Headers/include/v8-version-string.h +0 -38
  203. package/pods/Headers/include/v8-version.h +0 -20
  204. package/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  205. package/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  206. package/pods/Headers/include/v8-wasm.h +0 -257
  207. package/pods/Headers/include/v8-weak-callback-info.h +0 -86
  208. package/pods/Headers/include/v8.h +0 -88
  209. package/pods/Headers/include/v8config.h +0 -605
  210. package/pods/Headers/inspector/InspectorServer.h +0 -20
  211. package/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  212. package/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  213. package/pods/Headers/inspector/base64.h +0 -9
  214. package/pods/Headers/inspector/src/base/address-region.h +0 -95
  215. package/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  216. package/pods/Headers/inspector/src/base/atomicops.h +0 -332
  217. package/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  218. package/pods/Headers/inspector/src/base/base-export.h +0 -31
  219. package/pods/Headers/inspector/src/base/bits.h +0 -343
  220. package/pods/Headers/inspector/src/base/build_config.h +0 -234
  221. package/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  222. package/pods/Headers/inspector/src/base/export-template.h +0 -163
  223. package/pods/Headers/inspector/src/base/flags.h +0 -130
  224. package/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  225. package/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  226. package/pods/Headers/inspector/src/base/logging.h +0 -417
  227. package/pods/Headers/inspector/src/base/macros.h +0 -423
  228. package/pods/Headers/inspector/src/base/memory.h +0 -89
  229. package/pods/Headers/inspector/src/base/once.h +0 -108
  230. package/pods/Headers/inspector/src/base/optional.h +0 -882
  231. package/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  232. package/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  233. package/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  234. package/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  235. package/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  236. package/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  237. package/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  238. package/pods/Headers/inspector/src/base/template-utils.h +0 -113
  239. package/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  240. package/pods/Headers/inspector/src/common/checks.h +0 -38
  241. package/pods/Headers/inspector/src/common/globals.h +0 -1842
  242. package/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  243. package/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  244. package/pods/Headers/inspector/src/init/v8.h +0 -52
  245. package/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  246. package/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  247. package/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  248. package/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  249. package/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  250. package/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  251. package/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  252. package/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  253. package/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  254. package/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  255. package/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  256. package/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  257. package/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  258. package/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  259. package/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  260. package/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  261. package/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  262. package/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  263. package/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  264. package/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  265. package/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  266. package/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  267. package/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  268. package/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  269. package/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  270. package/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  271. package/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  272. package/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  273. package/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  274. package/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  275. package/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  276. package/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  277. package/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  278. package/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  279. package/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  280. package/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  281. package/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  282. package/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  283. package/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  284. package/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  285. package/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  286. package/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  287. package/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  288. package/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  289. package/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  290. package/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  291. package/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  292. package/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  293. package/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  294. package/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  295. package/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  296. package/pods/Headers/inspector/src/utils/allocation.h +0 -367
  297. package/pods/Headers/inspector/src/utils/vector.h +0 -324
  298. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  299. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  300. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  301. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  302. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  303. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  304. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  305. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  306. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  307. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  308. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  309. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  310. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  311. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  312. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  313. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  314. package/pods/Headers/inspector/utils.h +0 -32
  315. package/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  316. package/pods/Headers/jsi/decorator.h +0 -770
  317. package/pods/Headers/jsi/instrumentation.h +0 -117
  318. package/pods/Headers/jsi/jsi-inl.h +0 -338
  319. package/pods/Headers/jsi/jsi.h +0 -1571
  320. package/pods/Headers/jsi/jsilib.h +0 -59
  321. package/pods/Headers/jsi/threadsafe.h +0 -79
  322. package/pods/Headers/runtime/ArgConverter.h +0 -61
  323. package/pods/Headers/runtime/ArrayAdapter.h +0 -13
  324. package/pods/Headers/runtime/Caches.h +0 -98
  325. package/pods/Headers/runtime/ClassBuilder.h +0 -61
  326. package/pods/Headers/runtime/Common.h +0 -9
  327. package/pods/Headers/runtime/ConcurrentMap.h +0 -55
  328. package/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  329. package/pods/Headers/runtime/Console.h +0 -27
  330. package/pods/Headers/runtime/Constants.h +0 -15
  331. package/pods/Headers/runtime/DataWrapper.h +0 -671
  332. package/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  333. package/pods/Headers/runtime/ExtVector.h +0 -21
  334. package/pods/Headers/runtime/FFICall.h +0 -105
  335. package/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  336. package/pods/Headers/runtime/FunctionReference.h +0 -18
  337. package/pods/Headers/runtime/Helpers.h +0 -84
  338. package/pods/Headers/runtime/InlineFunctions.h +0 -16
  339. package/pods/Headers/runtime/Interop.h +0 -202
  340. package/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  341. package/pods/Headers/runtime/Metadata.h +0 -981
  342. package/pods/Headers/runtime/MetadataBuilder.h +0 -72
  343. package/pods/Headers/runtime/MetadataInlines.h +0 -157
  344. package/pods/Headers/runtime/ModuleInternal.h +0 -59
  345. package/pods/Headers/runtime/NSDataAdapter.h +0 -13
  346. package/pods/Headers/runtime/NativeScriptException.h +0 -27
  347. package/pods/Headers/runtime/ObjectManager.h +0 -31
  348. package/pods/Headers/runtime/OneByteStringResource.h +0 -21
  349. package/pods/Headers/runtime/Pointer.h +0 -26
  350. package/pods/Headers/runtime/PromiseProxy.h +0 -15
  351. package/pods/Headers/runtime/Reference.h +0 -38
  352. package/pods/Headers/runtime/Runtime.h +0 -67
  353. package/pods/Headers/runtime/RuntimeConfig.h +0 -17
  354. package/pods/Headers/runtime/SetTimeout.h +0 -34
  355. package/pods/Headers/runtime/SimpleAllocator.h +0 -23
  356. package/pods/Headers/runtime/StringHasher.h +0 -315
  357. package/pods/Headers/runtime/SymbolIterator.h +0 -18
  358. package/pods/Headers/runtime/SymbolLoader.h +0 -27
  359. package/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  360. package/pods/Headers/runtime/TSHelpers.h +0 -15
  361. package/pods/Headers/runtime/Tasks.h +0 -19
  362. package/pods/Headers/runtime/UnmanagedType.h +0 -21
  363. package/pods/Headers/runtime/WeakRef.h +0 -15
  364. package/pods/Headers/runtime/Worker.h +0 -26
  365. package/pods/Headers/runtime/robin_hood.h +0 -2184
  366. package/pods/Headers/v8runtime/HostProxy.h +0 -71
  367. package/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -74
  368. package/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  369. package/pods/Headers/v8runtime/V8Runtime.h +0 -240
  370. package/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  371. package/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  372. package/pods/NativeScript.podspec +0 -68
@@ -1,892 +0,0 @@
1
- // This file is generated by TypeBuilder_h.template.
2
-
3
- // Copyright (c) 2016 The Chromium Authors. All rights reserved.
4
- // Use of this source code is governed by a BSD-style license that can be
5
- // found in the LICENSE file.
6
-
7
- #ifndef v8_inspector_protocol_Debugger_h
8
- #define v8_inspector_protocol_Debugger_h
9
-
10
- #include "src/inspector/protocol/Protocol.h"
11
- // For each imported domain we generate a ValueConversions struct instead of a full domain definition
12
- // and include Domain::API version from there.
13
- #include "src/inspector/protocol/Runtime.h"
14
- #include "include/inspector/Debugger.h"
15
-
16
- namespace v8_inspector {
17
- namespace protocol {
18
- namespace Debugger {
19
- using BreakpointId = String;
20
- using CallFrameId = String;
21
- class Location;
22
- class ScriptPosition;
23
- class LocationRange;
24
- class CallFrame;
25
- class Scope;
26
- class SearchMatch;
27
- class BreakLocation;
28
- using ScriptLanguage = String;
29
- class DebugSymbols;
30
-
31
- // ------------- Forward and enum declarations.
32
-
33
- namespace ScriptLanguageEnum {
34
- extern const char JavaScript[];
35
- extern const char WebAssembly[];
36
- } // namespace ScriptLanguageEnum
37
-
38
- namespace ContinueToLocation {
39
- namespace TargetCallFramesEnum {
40
- extern const char* Any;
41
- extern const char* Current;
42
- } // TargetCallFramesEnum
43
- } // ContinueToLocation
44
-
45
- namespace SetInstrumentationBreakpoint {
46
- namespace InstrumentationEnum {
47
- extern const char* BeforeScriptExecution;
48
- extern const char* BeforeScriptWithSourceMapExecution;
49
- } // InstrumentationEnum
50
- } // SetInstrumentationBreakpoint
51
-
52
- namespace SetPauseOnExceptions {
53
- namespace StateEnum {
54
- extern const char* None;
55
- extern const char* Uncaught;
56
- extern const char* All;
57
- } // StateEnum
58
- } // SetPauseOnExceptions
59
-
60
- namespace Paused {
61
- namespace ReasonEnum {
62
- extern const char* Ambiguous;
63
- extern const char* Assert;
64
- extern const char* CSPViolation;
65
- extern const char* DebugCommand;
66
- extern const char* DOM;
67
- extern const char* EventListener;
68
- extern const char* Exception;
69
- extern const char* Instrumentation;
70
- extern const char* OOM;
71
- extern const char* Other;
72
- extern const char* PromiseRejection;
73
- extern const char* XHR;
74
- } // ReasonEnum
75
- } // Paused
76
-
77
- // ------------- Type and builder declarations.
78
-
79
- class Location : public ::v8_crdtp::ProtocolObject<Location> {
80
- public:
81
- ~Location() override { }
82
-
83
- String getScriptId() { return m_scriptId; }
84
- void setScriptId(const String& value) { m_scriptId = value; }
85
-
86
- int getLineNumber() { return m_lineNumber; }
87
- void setLineNumber(int value) { m_lineNumber = value; }
88
-
89
- bool hasColumnNumber() { return m_columnNumber.isJust(); }
90
- int getColumnNumber(int defaultValue) { return m_columnNumber.isJust() ? m_columnNumber.fromJust() : defaultValue; }
91
- void setColumnNumber(int value) { m_columnNumber = value; }
92
-
93
- template<int STATE>
94
- class LocationBuilder {
95
- public:
96
- enum {
97
- NoFieldsSet = 0,
98
- ScriptIdSet = 1 << 1,
99
- LineNumberSet = 1 << 2,
100
- AllFieldsSet = (ScriptIdSet | LineNumberSet | 0)};
101
-
102
-
103
- LocationBuilder<STATE | ScriptIdSet>& setScriptId(const String& value)
104
- {
105
- static_assert(!(STATE & ScriptIdSet), "property scriptId should not be set yet");
106
- m_result->setScriptId(value);
107
- return castState<ScriptIdSet>();
108
- }
109
-
110
- LocationBuilder<STATE | LineNumberSet>& setLineNumber(int value)
111
- {
112
- static_assert(!(STATE & LineNumberSet), "property lineNumber should not be set yet");
113
- m_result->setLineNumber(value);
114
- return castState<LineNumberSet>();
115
- }
116
-
117
- LocationBuilder<STATE>& setColumnNumber(int value)
118
- {
119
- m_result->setColumnNumber(value);
120
- return *this;
121
- }
122
-
123
- std::unique_ptr<Location> build()
124
- {
125
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
126
- return std::move(m_result);
127
- }
128
-
129
- private:
130
- friend class Location;
131
- LocationBuilder() : m_result(new Location()) { }
132
-
133
- template<int STEP> LocationBuilder<STATE | STEP>& castState()
134
- {
135
- return *reinterpret_cast<LocationBuilder<STATE | STEP>*>(this);
136
- }
137
-
138
- std::unique_ptr<protocol::Debugger::Location> m_result;
139
- };
140
-
141
- static LocationBuilder<0> create()
142
- {
143
- return LocationBuilder<0>();
144
- }
145
-
146
- private:
147
- DECLARE_SERIALIZATION_SUPPORT();
148
-
149
- Location()
150
- {
151
- m_lineNumber = 0;
152
- }
153
-
154
- String m_scriptId;
155
- int m_lineNumber;
156
- Maybe<int> m_columnNumber;
157
- };
158
-
159
-
160
- class ScriptPosition : public ::v8_crdtp::ProtocolObject<ScriptPosition> {
161
- public:
162
- ~ScriptPosition() override { }
163
-
164
- int getLineNumber() { return m_lineNumber; }
165
- void setLineNumber(int value) { m_lineNumber = value; }
166
-
167
- int getColumnNumber() { return m_columnNumber; }
168
- void setColumnNumber(int value) { m_columnNumber = value; }
169
-
170
- template<int STATE>
171
- class ScriptPositionBuilder {
172
- public:
173
- enum {
174
- NoFieldsSet = 0,
175
- LineNumberSet = 1 << 1,
176
- ColumnNumberSet = 1 << 2,
177
- AllFieldsSet = (LineNumberSet | ColumnNumberSet | 0)};
178
-
179
-
180
- ScriptPositionBuilder<STATE | LineNumberSet>& setLineNumber(int value)
181
- {
182
- static_assert(!(STATE & LineNumberSet), "property lineNumber should not be set yet");
183
- m_result->setLineNumber(value);
184
- return castState<LineNumberSet>();
185
- }
186
-
187
- ScriptPositionBuilder<STATE | ColumnNumberSet>& setColumnNumber(int value)
188
- {
189
- static_assert(!(STATE & ColumnNumberSet), "property columnNumber should not be set yet");
190
- m_result->setColumnNumber(value);
191
- return castState<ColumnNumberSet>();
192
- }
193
-
194
- std::unique_ptr<ScriptPosition> build()
195
- {
196
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
197
- return std::move(m_result);
198
- }
199
-
200
- private:
201
- friend class ScriptPosition;
202
- ScriptPositionBuilder() : m_result(new ScriptPosition()) { }
203
-
204
- template<int STEP> ScriptPositionBuilder<STATE | STEP>& castState()
205
- {
206
- return *reinterpret_cast<ScriptPositionBuilder<STATE | STEP>*>(this);
207
- }
208
-
209
- std::unique_ptr<protocol::Debugger::ScriptPosition> m_result;
210
- };
211
-
212
- static ScriptPositionBuilder<0> create()
213
- {
214
- return ScriptPositionBuilder<0>();
215
- }
216
-
217
- private:
218
- DECLARE_SERIALIZATION_SUPPORT();
219
-
220
- ScriptPosition()
221
- {
222
- m_lineNumber = 0;
223
- m_columnNumber = 0;
224
- }
225
-
226
- int m_lineNumber;
227
- int m_columnNumber;
228
- };
229
-
230
-
231
- class LocationRange : public ::v8_crdtp::ProtocolObject<LocationRange> {
232
- public:
233
- ~LocationRange() override { }
234
-
235
- String getScriptId() { return m_scriptId; }
236
- void setScriptId(const String& value) { m_scriptId = value; }
237
-
238
- protocol::Debugger::ScriptPosition* getStart() { return m_start.get(); }
239
- void setStart(std::unique_ptr<protocol::Debugger::ScriptPosition> value) { m_start = std::move(value); }
240
-
241
- protocol::Debugger::ScriptPosition* getEnd() { return m_end.get(); }
242
- void setEnd(std::unique_ptr<protocol::Debugger::ScriptPosition> value) { m_end = std::move(value); }
243
-
244
- template<int STATE>
245
- class LocationRangeBuilder {
246
- public:
247
- enum {
248
- NoFieldsSet = 0,
249
- ScriptIdSet = 1 << 1,
250
- StartSet = 1 << 2,
251
- EndSet = 1 << 3,
252
- AllFieldsSet = (ScriptIdSet | StartSet | EndSet | 0)};
253
-
254
-
255
- LocationRangeBuilder<STATE | ScriptIdSet>& setScriptId(const String& value)
256
- {
257
- static_assert(!(STATE & ScriptIdSet), "property scriptId should not be set yet");
258
- m_result->setScriptId(value);
259
- return castState<ScriptIdSet>();
260
- }
261
-
262
- LocationRangeBuilder<STATE | StartSet>& setStart(std::unique_ptr<protocol::Debugger::ScriptPosition> value)
263
- {
264
- static_assert(!(STATE & StartSet), "property start should not be set yet");
265
- m_result->setStart(std::move(value));
266
- return castState<StartSet>();
267
- }
268
-
269
- LocationRangeBuilder<STATE | EndSet>& setEnd(std::unique_ptr<protocol::Debugger::ScriptPosition> value)
270
- {
271
- static_assert(!(STATE & EndSet), "property end should not be set yet");
272
- m_result->setEnd(std::move(value));
273
- return castState<EndSet>();
274
- }
275
-
276
- std::unique_ptr<LocationRange> build()
277
- {
278
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
279
- return std::move(m_result);
280
- }
281
-
282
- private:
283
- friend class LocationRange;
284
- LocationRangeBuilder() : m_result(new LocationRange()) { }
285
-
286
- template<int STEP> LocationRangeBuilder<STATE | STEP>& castState()
287
- {
288
- return *reinterpret_cast<LocationRangeBuilder<STATE | STEP>*>(this);
289
- }
290
-
291
- std::unique_ptr<protocol::Debugger::LocationRange> m_result;
292
- };
293
-
294
- static LocationRangeBuilder<0> create()
295
- {
296
- return LocationRangeBuilder<0>();
297
- }
298
-
299
- private:
300
- DECLARE_SERIALIZATION_SUPPORT();
301
-
302
- LocationRange()
303
- {
304
- }
305
-
306
- String m_scriptId;
307
- std::unique_ptr<protocol::Debugger::ScriptPosition> m_start;
308
- std::unique_ptr<protocol::Debugger::ScriptPosition> m_end;
309
- };
310
-
311
-
312
- class CallFrame : public ::v8_crdtp::ProtocolObject<CallFrame> {
313
- public:
314
- ~CallFrame() override { }
315
-
316
- String getCallFrameId() { return m_callFrameId; }
317
- void setCallFrameId(const String& value) { m_callFrameId = value; }
318
-
319
- String getFunctionName() { return m_functionName; }
320
- void setFunctionName(const String& value) { m_functionName = value; }
321
-
322
- bool hasFunctionLocation() { return m_functionLocation.isJust(); }
323
- protocol::Debugger::Location* getFunctionLocation(protocol::Debugger::Location* defaultValue) { return m_functionLocation.isJust() ? m_functionLocation.fromJust() : defaultValue; }
324
- void setFunctionLocation(std::unique_ptr<protocol::Debugger::Location> value) { m_functionLocation = std::move(value); }
325
-
326
- protocol::Debugger::Location* getLocation() { return m_location.get(); }
327
- void setLocation(std::unique_ptr<protocol::Debugger::Location> value) { m_location = std::move(value); }
328
-
329
- String getUrl() { return m_url; }
330
- void setUrl(const String& value) { m_url = value; }
331
-
332
- protocol::Array<protocol::Debugger::Scope>* getScopeChain() { return m_scopeChain.get(); }
333
- void setScopeChain(std::unique_ptr<protocol::Array<protocol::Debugger::Scope>> value) { m_scopeChain = std::move(value); }
334
-
335
- protocol::Runtime::RemoteObject* getThis() { return m_this.get(); }
336
- void setThis(std::unique_ptr<protocol::Runtime::RemoteObject> value) { m_this = std::move(value); }
337
-
338
- bool hasReturnValue() { return m_returnValue.isJust(); }
339
- protocol::Runtime::RemoteObject* getReturnValue(protocol::Runtime::RemoteObject* defaultValue) { return m_returnValue.isJust() ? m_returnValue.fromJust() : defaultValue; }
340
- void setReturnValue(std::unique_ptr<protocol::Runtime::RemoteObject> value) { m_returnValue = std::move(value); }
341
-
342
- template<int STATE>
343
- class CallFrameBuilder {
344
- public:
345
- enum {
346
- NoFieldsSet = 0,
347
- CallFrameIdSet = 1 << 1,
348
- FunctionNameSet = 1 << 2,
349
- LocationSet = 1 << 3,
350
- UrlSet = 1 << 4,
351
- ScopeChainSet = 1 << 5,
352
- ThisSet = 1 << 6,
353
- AllFieldsSet = (CallFrameIdSet | FunctionNameSet | LocationSet | UrlSet | ScopeChainSet | ThisSet | 0)};
354
-
355
-
356
- CallFrameBuilder<STATE | CallFrameIdSet>& setCallFrameId(const String& value)
357
- {
358
- static_assert(!(STATE & CallFrameIdSet), "property callFrameId should not be set yet");
359
- m_result->setCallFrameId(value);
360
- return castState<CallFrameIdSet>();
361
- }
362
-
363
- CallFrameBuilder<STATE | FunctionNameSet>& setFunctionName(const String& value)
364
- {
365
- static_assert(!(STATE & FunctionNameSet), "property functionName should not be set yet");
366
- m_result->setFunctionName(value);
367
- return castState<FunctionNameSet>();
368
- }
369
-
370
- CallFrameBuilder<STATE>& setFunctionLocation(std::unique_ptr<protocol::Debugger::Location> value)
371
- {
372
- m_result->setFunctionLocation(std::move(value));
373
- return *this;
374
- }
375
-
376
- CallFrameBuilder<STATE | LocationSet>& setLocation(std::unique_ptr<protocol::Debugger::Location> value)
377
- {
378
- static_assert(!(STATE & LocationSet), "property location should not be set yet");
379
- m_result->setLocation(std::move(value));
380
- return castState<LocationSet>();
381
- }
382
-
383
- CallFrameBuilder<STATE | UrlSet>& setUrl(const String& value)
384
- {
385
- static_assert(!(STATE & UrlSet), "property url should not be set yet");
386
- m_result->setUrl(value);
387
- return castState<UrlSet>();
388
- }
389
-
390
- CallFrameBuilder<STATE | ScopeChainSet>& setScopeChain(std::unique_ptr<protocol::Array<protocol::Debugger::Scope>> value)
391
- {
392
- static_assert(!(STATE & ScopeChainSet), "property scopeChain should not be set yet");
393
- m_result->setScopeChain(std::move(value));
394
- return castState<ScopeChainSet>();
395
- }
396
-
397
- CallFrameBuilder<STATE | ThisSet>& setThis(std::unique_ptr<protocol::Runtime::RemoteObject> value)
398
- {
399
- static_assert(!(STATE & ThisSet), "property this should not be set yet");
400
- m_result->setThis(std::move(value));
401
- return castState<ThisSet>();
402
- }
403
-
404
- CallFrameBuilder<STATE>& setReturnValue(std::unique_ptr<protocol::Runtime::RemoteObject> value)
405
- {
406
- m_result->setReturnValue(std::move(value));
407
- return *this;
408
- }
409
-
410
- std::unique_ptr<CallFrame> build()
411
- {
412
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
413
- return std::move(m_result);
414
- }
415
-
416
- private:
417
- friend class CallFrame;
418
- CallFrameBuilder() : m_result(new CallFrame()) { }
419
-
420
- template<int STEP> CallFrameBuilder<STATE | STEP>& castState()
421
- {
422
- return *reinterpret_cast<CallFrameBuilder<STATE | STEP>*>(this);
423
- }
424
-
425
- std::unique_ptr<protocol::Debugger::CallFrame> m_result;
426
- };
427
-
428
- static CallFrameBuilder<0> create()
429
- {
430
- return CallFrameBuilder<0>();
431
- }
432
-
433
- private:
434
- DECLARE_SERIALIZATION_SUPPORT();
435
-
436
- CallFrame()
437
- {
438
- }
439
-
440
- String m_callFrameId;
441
- String m_functionName;
442
- Maybe<protocol::Debugger::Location> m_functionLocation;
443
- std::unique_ptr<protocol::Debugger::Location> m_location;
444
- String m_url;
445
- std::unique_ptr<protocol::Array<protocol::Debugger::Scope>> m_scopeChain;
446
- std::unique_ptr<protocol::Runtime::RemoteObject> m_this;
447
- Maybe<protocol::Runtime::RemoteObject> m_returnValue;
448
- };
449
-
450
-
451
- class Scope : public ::v8_crdtp::ProtocolObject<Scope> {
452
- public:
453
- ~Scope() override { }
454
-
455
- struct TypeEnum {
456
- static const char* Global;
457
- static const char* Local;
458
- static const char* With;
459
- static const char* Closure;
460
- static const char* Catch;
461
- static const char* Block;
462
- static const char* Script;
463
- static const char* Eval;
464
- static const char* Module;
465
- static const char* WasmExpressionStack;
466
- }; // TypeEnum
467
-
468
- String getType() { return m_type; }
469
- void setType(const String& value) { m_type = value; }
470
-
471
- protocol::Runtime::RemoteObject* getObject() { return m_object.get(); }
472
- void setObject(std::unique_ptr<protocol::Runtime::RemoteObject> value) { m_object = std::move(value); }
473
-
474
- bool hasName() { return m_name.isJust(); }
475
- String getName(const String& defaultValue) { return m_name.isJust() ? m_name.fromJust() : defaultValue; }
476
- void setName(const String& value) { m_name = value; }
477
-
478
- bool hasStartLocation() { return m_startLocation.isJust(); }
479
- protocol::Debugger::Location* getStartLocation(protocol::Debugger::Location* defaultValue) { return m_startLocation.isJust() ? m_startLocation.fromJust() : defaultValue; }
480
- void setStartLocation(std::unique_ptr<protocol::Debugger::Location> value) { m_startLocation = std::move(value); }
481
-
482
- bool hasEndLocation() { return m_endLocation.isJust(); }
483
- protocol::Debugger::Location* getEndLocation(protocol::Debugger::Location* defaultValue) { return m_endLocation.isJust() ? m_endLocation.fromJust() : defaultValue; }
484
- void setEndLocation(std::unique_ptr<protocol::Debugger::Location> value) { m_endLocation = std::move(value); }
485
-
486
- template<int STATE>
487
- class ScopeBuilder {
488
- public:
489
- enum {
490
- NoFieldsSet = 0,
491
- TypeSet = 1 << 1,
492
- ObjectSet = 1 << 2,
493
- AllFieldsSet = (TypeSet | ObjectSet | 0)};
494
-
495
-
496
- ScopeBuilder<STATE | TypeSet>& setType(const String& value)
497
- {
498
- static_assert(!(STATE & TypeSet), "property type should not be set yet");
499
- m_result->setType(value);
500
- return castState<TypeSet>();
501
- }
502
-
503
- ScopeBuilder<STATE | ObjectSet>& setObject(std::unique_ptr<protocol::Runtime::RemoteObject> value)
504
- {
505
- static_assert(!(STATE & ObjectSet), "property object should not be set yet");
506
- m_result->setObject(std::move(value));
507
- return castState<ObjectSet>();
508
- }
509
-
510
- ScopeBuilder<STATE>& setName(const String& value)
511
- {
512
- m_result->setName(value);
513
- return *this;
514
- }
515
-
516
- ScopeBuilder<STATE>& setStartLocation(std::unique_ptr<protocol::Debugger::Location> value)
517
- {
518
- m_result->setStartLocation(std::move(value));
519
- return *this;
520
- }
521
-
522
- ScopeBuilder<STATE>& setEndLocation(std::unique_ptr<protocol::Debugger::Location> value)
523
- {
524
- m_result->setEndLocation(std::move(value));
525
- return *this;
526
- }
527
-
528
- std::unique_ptr<Scope> build()
529
- {
530
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
531
- return std::move(m_result);
532
- }
533
-
534
- private:
535
- friend class Scope;
536
- ScopeBuilder() : m_result(new Scope()) { }
537
-
538
- template<int STEP> ScopeBuilder<STATE | STEP>& castState()
539
- {
540
- return *reinterpret_cast<ScopeBuilder<STATE | STEP>*>(this);
541
- }
542
-
543
- std::unique_ptr<protocol::Debugger::Scope> m_result;
544
- };
545
-
546
- static ScopeBuilder<0> create()
547
- {
548
- return ScopeBuilder<0>();
549
- }
550
-
551
- private:
552
- DECLARE_SERIALIZATION_SUPPORT();
553
-
554
- Scope()
555
- {
556
- }
557
-
558
- String m_type;
559
- std::unique_ptr<protocol::Runtime::RemoteObject> m_object;
560
- Maybe<String> m_name;
561
- Maybe<protocol::Debugger::Location> m_startLocation;
562
- Maybe<protocol::Debugger::Location> m_endLocation;
563
- };
564
-
565
-
566
- class SearchMatch : public ::v8_crdtp::ProtocolObject<SearchMatch>,
567
- public API::SearchMatch {
568
- public:
569
- ~SearchMatch() override { }
570
-
571
- double getLineNumber() { return m_lineNumber; }
572
- void setLineNumber(double value) { m_lineNumber = value; }
573
-
574
- String getLineContent() { return m_lineContent; }
575
- void setLineContent(const String& value) { m_lineContent = value; }
576
-
577
- template<int STATE>
578
- class SearchMatchBuilder {
579
- public:
580
- enum {
581
- NoFieldsSet = 0,
582
- LineNumberSet = 1 << 1,
583
- LineContentSet = 1 << 2,
584
- AllFieldsSet = (LineNumberSet | LineContentSet | 0)};
585
-
586
-
587
- SearchMatchBuilder<STATE | LineNumberSet>& setLineNumber(double value)
588
- {
589
- static_assert(!(STATE & LineNumberSet), "property lineNumber should not be set yet");
590
- m_result->setLineNumber(value);
591
- return castState<LineNumberSet>();
592
- }
593
-
594
- SearchMatchBuilder<STATE | LineContentSet>& setLineContent(const String& value)
595
- {
596
- static_assert(!(STATE & LineContentSet), "property lineContent should not be set yet");
597
- m_result->setLineContent(value);
598
- return castState<LineContentSet>();
599
- }
600
-
601
- std::unique_ptr<SearchMatch> build()
602
- {
603
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
604
- return std::move(m_result);
605
- }
606
-
607
- private:
608
- friend class SearchMatch;
609
- SearchMatchBuilder() : m_result(new SearchMatch()) { }
610
-
611
- template<int STEP> SearchMatchBuilder<STATE | STEP>& castState()
612
- {
613
- return *reinterpret_cast<SearchMatchBuilder<STATE | STEP>*>(this);
614
- }
615
-
616
- std::unique_ptr<protocol::Debugger::SearchMatch> m_result;
617
- };
618
-
619
- static SearchMatchBuilder<0> create()
620
- {
621
- return SearchMatchBuilder<0>();
622
- }
623
-
624
- private:
625
- DECLARE_SERIALIZATION_SUPPORT();
626
-
627
- SearchMatch()
628
- {
629
- m_lineNumber = 0;
630
- }
631
-
632
- double m_lineNumber;
633
- String m_lineContent;
634
- };
635
-
636
-
637
- class BreakLocation : public ::v8_crdtp::ProtocolObject<BreakLocation> {
638
- public:
639
- ~BreakLocation() override { }
640
-
641
- String getScriptId() { return m_scriptId; }
642
- void setScriptId(const String& value) { m_scriptId = value; }
643
-
644
- int getLineNumber() { return m_lineNumber; }
645
- void setLineNumber(int value) { m_lineNumber = value; }
646
-
647
- bool hasColumnNumber() { return m_columnNumber.isJust(); }
648
- int getColumnNumber(int defaultValue) { return m_columnNumber.isJust() ? m_columnNumber.fromJust() : defaultValue; }
649
- void setColumnNumber(int value) { m_columnNumber = value; }
650
-
651
- struct TypeEnum {
652
- static const char* DebuggerStatement;
653
- static const char* Call;
654
- static const char* Return;
655
- }; // TypeEnum
656
-
657
- bool hasType() { return m_type.isJust(); }
658
- String getType(const String& defaultValue) { return m_type.isJust() ? m_type.fromJust() : defaultValue; }
659
- void setType(const String& value) { m_type = value; }
660
-
661
- template<int STATE>
662
- class BreakLocationBuilder {
663
- public:
664
- enum {
665
- NoFieldsSet = 0,
666
- ScriptIdSet = 1 << 1,
667
- LineNumberSet = 1 << 2,
668
- AllFieldsSet = (ScriptIdSet | LineNumberSet | 0)};
669
-
670
-
671
- BreakLocationBuilder<STATE | ScriptIdSet>& setScriptId(const String& value)
672
- {
673
- static_assert(!(STATE & ScriptIdSet), "property scriptId should not be set yet");
674
- m_result->setScriptId(value);
675
- return castState<ScriptIdSet>();
676
- }
677
-
678
- BreakLocationBuilder<STATE | LineNumberSet>& setLineNumber(int value)
679
- {
680
- static_assert(!(STATE & LineNumberSet), "property lineNumber should not be set yet");
681
- m_result->setLineNumber(value);
682
- return castState<LineNumberSet>();
683
- }
684
-
685
- BreakLocationBuilder<STATE>& setColumnNumber(int value)
686
- {
687
- m_result->setColumnNumber(value);
688
- return *this;
689
- }
690
-
691
- BreakLocationBuilder<STATE>& setType(const String& value)
692
- {
693
- m_result->setType(value);
694
- return *this;
695
- }
696
-
697
- std::unique_ptr<BreakLocation> build()
698
- {
699
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
700
- return std::move(m_result);
701
- }
702
-
703
- private:
704
- friend class BreakLocation;
705
- BreakLocationBuilder() : m_result(new BreakLocation()) { }
706
-
707
- template<int STEP> BreakLocationBuilder<STATE | STEP>& castState()
708
- {
709
- return *reinterpret_cast<BreakLocationBuilder<STATE | STEP>*>(this);
710
- }
711
-
712
- std::unique_ptr<protocol::Debugger::BreakLocation> m_result;
713
- };
714
-
715
- static BreakLocationBuilder<0> create()
716
- {
717
- return BreakLocationBuilder<0>();
718
- }
719
-
720
- private:
721
- DECLARE_SERIALIZATION_SUPPORT();
722
-
723
- BreakLocation()
724
- {
725
- m_lineNumber = 0;
726
- }
727
-
728
- String m_scriptId;
729
- int m_lineNumber;
730
- Maybe<int> m_columnNumber;
731
- Maybe<String> m_type;
732
- };
733
-
734
-
735
- class DebugSymbols : public ::v8_crdtp::ProtocolObject<DebugSymbols> {
736
- public:
737
- ~DebugSymbols() override { }
738
-
739
- struct TypeEnum {
740
- static const char* None;
741
- static const char* SourceMap;
742
- static const char* EmbeddedDWARF;
743
- static const char* ExternalDWARF;
744
- }; // TypeEnum
745
-
746
- String getType() { return m_type; }
747
- void setType(const String& value) { m_type = value; }
748
-
749
- bool hasExternalURL() { return m_externalURL.isJust(); }
750
- String getExternalURL(const String& defaultValue) { return m_externalURL.isJust() ? m_externalURL.fromJust() : defaultValue; }
751
- void setExternalURL(const String& value) { m_externalURL = value; }
752
-
753
- template<int STATE>
754
- class DebugSymbolsBuilder {
755
- public:
756
- enum {
757
- NoFieldsSet = 0,
758
- TypeSet = 1 << 1,
759
- AllFieldsSet = (TypeSet | 0)};
760
-
761
-
762
- DebugSymbolsBuilder<STATE | TypeSet>& setType(const String& value)
763
- {
764
- static_assert(!(STATE & TypeSet), "property type should not be set yet");
765
- m_result->setType(value);
766
- return castState<TypeSet>();
767
- }
768
-
769
- DebugSymbolsBuilder<STATE>& setExternalURL(const String& value)
770
- {
771
- m_result->setExternalURL(value);
772
- return *this;
773
- }
774
-
775
- std::unique_ptr<DebugSymbols> build()
776
- {
777
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
778
- return std::move(m_result);
779
- }
780
-
781
- private:
782
- friend class DebugSymbols;
783
- DebugSymbolsBuilder() : m_result(new DebugSymbols()) { }
784
-
785
- template<int STEP> DebugSymbolsBuilder<STATE | STEP>& castState()
786
- {
787
- return *reinterpret_cast<DebugSymbolsBuilder<STATE | STEP>*>(this);
788
- }
789
-
790
- std::unique_ptr<protocol::Debugger::DebugSymbols> m_result;
791
- };
792
-
793
- static DebugSymbolsBuilder<0> create()
794
- {
795
- return DebugSymbolsBuilder<0>();
796
- }
797
-
798
- private:
799
- DECLARE_SERIALIZATION_SUPPORT();
800
-
801
- DebugSymbols()
802
- {
803
- }
804
-
805
- String m_type;
806
- Maybe<String> m_externalURL;
807
- };
808
-
809
-
810
- // ------------- Backend interface.
811
-
812
- class Backend {
813
- public:
814
- virtual ~Backend() { }
815
-
816
- virtual DispatchResponse continueToLocation(std::unique_ptr<protocol::Debugger::Location> in_location, Maybe<String> in_targetCallFrames) = 0;
817
- virtual DispatchResponse disable() = 0;
818
- virtual DispatchResponse enable(Maybe<double> in_maxScriptsCacheSize, String* out_debuggerId) = 0;
819
- virtual DispatchResponse evaluateOnCallFrame(const String& in_callFrameId, const String& in_expression, Maybe<String> in_objectGroup, Maybe<bool> in_includeCommandLineAPI, Maybe<bool> in_silent, Maybe<bool> in_returnByValue, Maybe<bool> in_generatePreview, Maybe<bool> in_throwOnSideEffect, Maybe<double> in_timeout, std::unique_ptr<protocol::Runtime::RemoteObject>* out_result, Maybe<protocol::Runtime::ExceptionDetails>* out_exceptionDetails) = 0;
820
- virtual DispatchResponse getPossibleBreakpoints(std::unique_ptr<protocol::Debugger::Location> in_start, Maybe<protocol::Debugger::Location> in_end, Maybe<bool> in_restrictToFunction, std::unique_ptr<protocol::Array<protocol::Debugger::BreakLocation>>* out_locations) = 0;
821
- virtual DispatchResponse getScriptSource(const String& in_scriptId, String* out_scriptSource, Maybe<Binary>* out_bytecode) = 0;
822
- virtual DispatchResponse getWasmBytecode(const String& in_scriptId, Binary* out_bytecode) = 0;
823
- virtual DispatchResponse getStackTrace(std::unique_ptr<protocol::Runtime::StackTraceId> in_stackTraceId, std::unique_ptr<protocol::Runtime::StackTrace>* out_stackTrace) = 0;
824
- virtual DispatchResponse pause() = 0;
825
- virtual DispatchResponse pauseOnAsyncCall(std::unique_ptr<protocol::Runtime::StackTraceId> in_parentStackTraceId) = 0;
826
- virtual DispatchResponse removeBreakpoint(const String& in_breakpointId) = 0;
827
- virtual DispatchResponse restartFrame(const String& in_callFrameId, std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>* out_callFrames, Maybe<protocol::Runtime::StackTrace>* out_asyncStackTrace, Maybe<protocol::Runtime::StackTraceId>* out_asyncStackTraceId) = 0;
828
- virtual DispatchResponse resume(Maybe<bool> in_terminateOnResume) = 0;
829
- virtual DispatchResponse searchInContent(const String& in_scriptId, const String& in_query, Maybe<bool> in_caseSensitive, Maybe<bool> in_isRegex, std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>* out_result) = 0;
830
- virtual DispatchResponse setAsyncCallStackDepth(int in_maxDepth) = 0;
831
- virtual DispatchResponse setBlackboxPatterns(std::unique_ptr<protocol::Array<String>> in_patterns) = 0;
832
- virtual DispatchResponse setBlackboxedRanges(const String& in_scriptId, std::unique_ptr<protocol::Array<protocol::Debugger::ScriptPosition>> in_positions) = 0;
833
- virtual DispatchResponse setBreakpoint(std::unique_ptr<protocol::Debugger::Location> in_location, Maybe<String> in_condition, String* out_breakpointId, std::unique_ptr<protocol::Debugger::Location>* out_actualLocation) = 0;
834
- virtual DispatchResponse setInstrumentationBreakpoint(const String& in_instrumentation, String* out_breakpointId) = 0;
835
- virtual DispatchResponse setBreakpointByUrl(int in_lineNumber, Maybe<String> in_url, Maybe<String> in_urlRegex, Maybe<String> in_scriptHash, Maybe<int> in_columnNumber, Maybe<String> in_condition, String* out_breakpointId, std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* out_locations) = 0;
836
- virtual DispatchResponse setBreakpointOnFunctionCall(const String& in_objectId, Maybe<String> in_condition, String* out_breakpointId) = 0;
837
- virtual DispatchResponse setBreakpointsActive(bool in_active) = 0;
838
- virtual DispatchResponse setPauseOnExceptions(const String& in_state) = 0;
839
- virtual DispatchResponse setReturnValue(std::unique_ptr<protocol::Runtime::CallArgument> in_newValue) = 0;
840
- virtual DispatchResponse setScriptSource(const String& in_scriptId, const String& in_scriptSource, Maybe<bool> in_dryRun, Maybe<protocol::Array<protocol::Debugger::CallFrame>>* out_callFrames, Maybe<bool>* out_stackChanged, Maybe<protocol::Runtime::StackTrace>* out_asyncStackTrace, Maybe<protocol::Runtime::StackTraceId>* out_asyncStackTraceId, Maybe<protocol::Runtime::ExceptionDetails>* out_exceptionDetails) = 0;
841
- virtual DispatchResponse setSkipAllPauses(bool in_skip) = 0;
842
- virtual DispatchResponse setVariableValue(int in_scopeNumber, const String& in_variableName, std::unique_ptr<protocol::Runtime::CallArgument> in_newValue, const String& in_callFrameId) = 0;
843
- virtual DispatchResponse stepInto(Maybe<bool> in_breakOnAsyncCall, Maybe<protocol::Array<protocol::Debugger::LocationRange>> in_skipList) = 0;
844
- virtual DispatchResponse stepOut() = 0;
845
- virtual DispatchResponse stepOver(Maybe<protocol::Array<protocol::Debugger::LocationRange>> in_skipList) = 0;
846
-
847
- };
848
-
849
- // ------------- Frontend interface.
850
-
851
- class Frontend {
852
- public:
853
- explicit Frontend(FrontendChannel* frontend_channel) : frontend_channel_(frontend_channel) {}
854
- void breakpointResolved(const String& breakpointId, std::unique_ptr<protocol::Debugger::Location> location);
855
- void paused(std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>> callFrames, const String& reason, Maybe<protocol::DictionaryValue> data = Maybe<protocol::DictionaryValue>(), Maybe<protocol::Array<String>> hitBreakpoints = Maybe<protocol::Array<String>>(), Maybe<protocol::Runtime::StackTrace> asyncStackTrace = Maybe<protocol::Runtime::StackTrace>(), Maybe<protocol::Runtime::StackTraceId> asyncStackTraceId = Maybe<protocol::Runtime::StackTraceId>(), Maybe<protocol::Runtime::StackTraceId> asyncCallStackTraceId = Maybe<protocol::Runtime::StackTraceId>());
856
- void resumed();
857
- void scriptFailedToParse(const String& scriptId, const String& url, int startLine, int startColumn, int endLine, int endColumn, int executionContextId, const String& hash, Maybe<protocol::DictionaryValue> executionContextAuxData = Maybe<protocol::DictionaryValue>(), Maybe<String> sourceMapURL = Maybe<String>(), Maybe<bool> hasSourceURL = Maybe<bool>(), Maybe<bool> isModule = Maybe<bool>(), Maybe<int> length = Maybe<int>(), Maybe<protocol::Runtime::StackTrace> stackTrace = Maybe<protocol::Runtime::StackTrace>(), Maybe<int> codeOffset = Maybe<int>(), Maybe<String> scriptLanguage = Maybe<String>(), Maybe<String> embedderName = Maybe<String>());
858
- void scriptParsed(const String& scriptId, const String& url, int startLine, int startColumn, int endLine, int endColumn, int executionContextId, const String& hash, Maybe<protocol::DictionaryValue> executionContextAuxData = Maybe<protocol::DictionaryValue>(), Maybe<bool> isLiveEdit = Maybe<bool>(), Maybe<String> sourceMapURL = Maybe<String>(), Maybe<bool> hasSourceURL = Maybe<bool>(), Maybe<bool> isModule = Maybe<bool>(), Maybe<int> length = Maybe<int>(), Maybe<protocol::Runtime::StackTrace> stackTrace = Maybe<protocol::Runtime::StackTrace>(), Maybe<int> codeOffset = Maybe<int>(), Maybe<String> scriptLanguage = Maybe<String>(), Maybe<protocol::Debugger::DebugSymbols> debugSymbols = Maybe<protocol::Debugger::DebugSymbols>(), Maybe<String> embedderName = Maybe<String>());
859
-
860
- void flush();
861
- void sendRawNotification(std::unique_ptr<Serializable>);
862
- private:
863
- FrontendChannel* frontend_channel_;
864
- };
865
-
866
- // ------------- Dispatcher.
867
-
868
- class Dispatcher {
869
- public:
870
- static void wire(UberDispatcher*, Backend*);
871
-
872
- private:
873
- Dispatcher() { }
874
- };
875
-
876
- // ------------- Metainfo.
877
-
878
- class Metainfo {
879
- public:
880
- using BackendClass = Backend;
881
- using FrontendClass = Frontend;
882
- using DispatcherClass = Dispatcher;
883
- static const char domainName[];
884
- static const char commandPrefix[];
885
- static const char version[];
886
- };
887
-
888
- } // namespace Debugger
889
- } // namespace v8_inspector
890
- } // namespace protocol
891
-
892
- #endif // !defined(v8_inspector_protocol_Debugger_h)