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

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 (366) hide show
  1. package/WebGL/WebGLRenderingContext/index.js +1 -1
  2. package/WebGL/WebGLRenderingContext/index.js.map +1 -1
  3. package/package.json +1 -1
  4. package/platforms/android/canvas-release.aar +0 -0
  5. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  6. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +4 -0
  7. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +46 -0
  8. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  9. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +381 -16
  10. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -0
  11. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +3 -0
  12. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  13. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
  14. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +8 -0
  15. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +46 -0
  16. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  17. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  18. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +381 -16
  19. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -0
  20. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -0
  21. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +381 -16
  22. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -0
  23. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -0
  24. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +24 -24
  25. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  26. package/platforms/ios/Podfile +1 -1
  27. package/platforms/ios/build.xcconfig +1 -1
  28. package/platforms/ios/src/CanvasModule.h +1 -1
  29. package/platforms/ios/src/cpp/CanvasJSIModule.h +1 -1
  30. package/platforms/ios/src/cpp/CanvasJSIModule.mm +17 -17
  31. package/platforms/ios/src/cpp/Helpers.h +1 -1
  32. package/platforms/ios/src/cpp/ImageAssetImpl.h +1 -1
  33. package/platforms/ios/src/cpp/ImageBitmapImpl.h +1 -1
  34. package/platforms/ios/src/cpp/JSICallback.h +1 -1
  35. package/platforms/ios/src/cpp/JSIReadFileCallback.h +1 -1
  36. package/platforms/ios/src/cpp/TextDecoderImpl.h +1 -1
  37. package/platforms/ios/src/cpp/VecMutableBuffer.h +1 -1
  38. package/platforms/ios/src/cpp/canvas2d/CanvasGradient.h +1 -1
  39. package/platforms/ios/src/cpp/canvas2d/CanvasPattern.h +1 -1
  40. package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +1 -1
  41. package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.h +1 -1
  42. package/platforms/ios/src/cpp/canvas2d/MatrixImpl.h +1 -1
  43. package/platforms/ios/src/cpp/canvas2d/Path2D.h +1 -1
  44. package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.h +1 -1
  45. package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.h +1 -1
  46. package/platforms/ios/src/cpp/webgl/WebGLBuffer.h +1 -1
  47. package/platforms/ios/src/cpp/webgl/WebGLFramebuffer.h +1 -1
  48. package/platforms/ios/src/cpp/webgl/WebGLProgram.h +1 -1
  49. package/platforms/ios/src/cpp/webgl/WebGLRenderbuffer.h +1 -1
  50. package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.h +1 -1
  51. package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.h +1 -1
  52. package/platforms/ios/src/cpp/webgl/WebGLShader.h +1 -1
  53. package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.h +1 -1
  54. package/platforms/ios/src/cpp/webgl/WebGLTexture.h +1 -1
  55. package/platforms/ios/src/cpp/webgl/WebGLUniformLocation.h +1 -1
  56. package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.h +1 -1
  57. package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.h +1 -1
  58. package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.h +1 -1
  59. package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.h +1 -1
  60. package/platforms/ios/src/cpp/webgl/extensions/EXT_sRGBImpl.h +1 -1
  61. package/platforms/ios/src/cpp/webgl/extensions/EXT_shader_texture_lodImpl.h +1 -1
  62. package/platforms/ios/src/cpp/webgl/extensions/EXT_texture_filter_anisotropicImpl.h +1 -1
  63. package/platforms/ios/src/cpp/webgl/extensions/OES_element_index_uintImpl.h +1 -1
  64. package/platforms/ios/src/cpp/webgl/extensions/OES_fbo_render_mipmap.h +1 -1
  65. package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.h +1 -1
  66. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_floatImpl.h +1 -1
  67. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_float_linearImpl.h +1 -1
  68. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_floatImpl.h +1 -1
  69. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_float_linearImpl.h +1 -1
  70. package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.h +1 -1
  71. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_color_buffer_floatImpl.h +1 -1
  72. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_atcImpl.h +1 -1
  73. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etc1Impl.h +1 -1
  74. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etcImpl.h +1 -1
  75. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_pvrtcImpl.h +1 -1
  76. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tcImpl.h +1 -1
  77. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tc_srgbImpl.h +1 -1
  78. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_depth_textureImpl.h +1 -1
  79. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.h +1 -1
  80. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.h +1 -1
  81. package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.h +1 -1
  82. package/platforms/ios/src/cpp/webgl2/WebGLQuery.h +1 -1
  83. package/platforms/ios/src/cpp/webgl2/WebGLSampler.h +1 -1
  84. package/platforms/ios/src/cpp/webgl2/WebGLSyncImpl.h +1 -1
  85. package/platforms/ios/src/cpp/webgl2/WebGLTransformFeedback.h +1 -1
  86. package/platforms/ios/src/cpp/webgl2/WebGLVertexArrayObject.h +1 -1
  87. package/pods/Headers/include/APIDesign.md +0 -72
  88. package/pods/Headers/include/DEPS +0 -10
  89. package/pods/Headers/include/DIR_METADATA +0 -11
  90. package/pods/Headers/include/OWNERS +0 -23
  91. package/pods/Headers/include/cppgc/DEPS +0 -8
  92. package/pods/Headers/include/cppgc/OWNERS +0 -2
  93. package/pods/Headers/include/cppgc/README.md +0 -133
  94. package/pods/Headers/include/cppgc/allocation.h +0 -310
  95. package/pods/Headers/include/cppgc/common.h +0 -29
  96. package/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  97. package/pods/Headers/include/cppgc/custom-space.h +0 -97
  98. package/pods/Headers/include/cppgc/default-platform.h +0 -67
  99. package/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  100. package/pods/Headers/include/cppgc/explicit-management.h +0 -100
  101. package/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  102. package/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  103. package/pods/Headers/include/cppgc/heap-state.h +0 -82
  104. package/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  105. package/pods/Headers/include/cppgc/heap.h +0 -206
  106. package/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  107. package/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  108. package/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  109. package/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  110. package/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  111. package/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  112. package/pods/Headers/include/cppgc/internal/logging.h +0 -50
  113. package/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  114. package/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  115. package/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  116. package/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  117. package/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  118. package/pods/Headers/include/cppgc/macros.h +0 -26
  119. package/pods/Headers/include/cppgc/member.h +0 -291
  120. package/pods/Headers/include/cppgc/name-provider.h +0 -65
  121. package/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  122. package/pods/Headers/include/cppgc/persistent.h +0 -370
  123. package/pods/Headers/include/cppgc/platform.h +0 -156
  124. package/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  125. package/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  126. package/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  127. package/pods/Headers/include/cppgc/source-location.h +0 -92
  128. package/pods/Headers/include/cppgc/testing.h +0 -106
  129. package/pods/Headers/include/cppgc/trace-trait.h +0 -116
  130. package/pods/Headers/include/cppgc/type-traits.h +0 -240
  131. package/pods/Headers/include/cppgc/visitor.h +0 -379
  132. package/pods/Headers/include/js_protocol-1.2.json +0 -936
  133. package/pods/Headers/include/js_protocol-1.3.json +0 -1112
  134. package/pods/Headers/include/js_protocol.pdl +0 -1709
  135. package/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  136. package/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  137. package/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  138. package/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  139. package/pods/Headers/include/libffi.h +0 -12
  140. package/pods/Headers/include/libplatform/DEPS +0 -9
  141. package/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  142. package/pods/Headers/include/libplatform/libplatform.h +0 -106
  143. package/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  144. package/pods/Headers/include/v8-array-buffer.h +0 -433
  145. package/pods/Headers/include/v8-callbacks.h +0 -397
  146. package/pods/Headers/include/v8-container.h +0 -129
  147. package/pods/Headers/include/v8-context.h +0 -407
  148. package/pods/Headers/include/v8-cppgc.h +0 -215
  149. package/pods/Headers/include/v8-data.h +0 -80
  150. package/pods/Headers/include/v8-date.h +0 -43
  151. package/pods/Headers/include/v8-debug.h +0 -168
  152. package/pods/Headers/include/v8-embedder-heap.h +0 -218
  153. package/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  154. package/pods/Headers/include/v8-exception.h +0 -217
  155. package/pods/Headers/include/v8-extension.h +0 -62
  156. package/pods/Headers/include/v8-external.h +0 -37
  157. package/pods/Headers/include/v8-fast-api-calls.h +0 -939
  158. package/pods/Headers/include/v8-forward.h +0 -81
  159. package/pods/Headers/include/v8-function-callback.h +0 -475
  160. package/pods/Headers/include/v8-function.h +0 -125
  161. package/pods/Headers/include/v8-initialization.h +0 -315
  162. package/pods/Headers/include/v8-inspector-protocol.h +0 -13
  163. package/pods/Headers/include/v8-inspector.h +0 -376
  164. package/pods/Headers/include/v8-internal.h +0 -661
  165. package/pods/Headers/include/v8-isolate.h +0 -1709
  166. package/pods/Headers/include/v8-json.h +0 -47
  167. package/pods/Headers/include/v8-local-handle.h +0 -455
  168. package/pods/Headers/include/v8-locker.h +0 -149
  169. package/pods/Headers/include/v8-maybe.h +0 -137
  170. package/pods/Headers/include/v8-memory-span.h +0 -43
  171. package/pods/Headers/include/v8-message.h +0 -216
  172. package/pods/Headers/include/v8-metrics.h +0 -255
  173. package/pods/Headers/include/v8-microtask-queue.h +0 -152
  174. package/pods/Headers/include/v8-microtask.h +0 -28
  175. package/pods/Headers/include/v8-object.h +0 -775
  176. package/pods/Headers/include/v8-persistent-handle.h +0 -590
  177. package/pods/Headers/include/v8-platform.h +0 -1092
  178. package/pods/Headers/include/v8-primitive-object.h +0 -118
  179. package/pods/Headers/include/v8-primitive.h +0 -866
  180. package/pods/Headers/include/v8-profiler.h +0 -1198
  181. package/pods/Headers/include/v8-promise.h +0 -174
  182. package/pods/Headers/include/v8-proxy.h +0 -50
  183. package/pods/Headers/include/v8-regexp.h +0 -105
  184. package/pods/Headers/include/v8-script.h +0 -748
  185. package/pods/Headers/include/v8-snapshot.h +0 -196
  186. package/pods/Headers/include/v8-statistics.h +0 -217
  187. package/pods/Headers/include/v8-template.h +0 -1079
  188. package/pods/Headers/include/v8-traced-handle.h +0 -420
  189. package/pods/Headers/include/v8-typed-array.h +0 -282
  190. package/pods/Headers/include/v8-unwinder-state.h +0 -31
  191. package/pods/Headers/include/v8-unwinder.h +0 -132
  192. package/pods/Headers/include/v8-util.h +0 -658
  193. package/pods/Headers/include/v8-value-serializer-version.h +0 -24
  194. package/pods/Headers/include/v8-value-serializer.h +0 -279
  195. package/pods/Headers/include/v8-value.h +0 -526
  196. package/pods/Headers/include/v8-version-string.h +0 -38
  197. package/pods/Headers/include/v8-version.h +0 -20
  198. package/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  199. package/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  200. package/pods/Headers/include/v8-wasm.h +0 -257
  201. package/pods/Headers/include/v8-weak-callback-info.h +0 -86
  202. package/pods/Headers/include/v8.h +0 -88
  203. package/pods/Headers/include/v8config.h +0 -605
  204. package/pods/Headers/inspector/InspectorServer.h +0 -20
  205. package/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  206. package/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  207. package/pods/Headers/inspector/base64.h +0 -9
  208. package/pods/Headers/inspector/src/base/address-region.h +0 -95
  209. package/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  210. package/pods/Headers/inspector/src/base/atomicops.h +0 -332
  211. package/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  212. package/pods/Headers/inspector/src/base/base-export.h +0 -31
  213. package/pods/Headers/inspector/src/base/bits.h +0 -343
  214. package/pods/Headers/inspector/src/base/build_config.h +0 -234
  215. package/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  216. package/pods/Headers/inspector/src/base/export-template.h +0 -163
  217. package/pods/Headers/inspector/src/base/flags.h +0 -130
  218. package/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  219. package/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  220. package/pods/Headers/inspector/src/base/logging.h +0 -417
  221. package/pods/Headers/inspector/src/base/macros.h +0 -423
  222. package/pods/Headers/inspector/src/base/memory.h +0 -89
  223. package/pods/Headers/inspector/src/base/once.h +0 -108
  224. package/pods/Headers/inspector/src/base/optional.h +0 -882
  225. package/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  226. package/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  227. package/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  228. package/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  229. package/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  230. package/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  231. package/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  232. package/pods/Headers/inspector/src/base/template-utils.h +0 -113
  233. package/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  234. package/pods/Headers/inspector/src/common/checks.h +0 -38
  235. package/pods/Headers/inspector/src/common/globals.h +0 -1842
  236. package/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  237. package/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  238. package/pods/Headers/inspector/src/init/v8.h +0 -52
  239. package/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  240. package/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  241. package/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  242. package/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  243. package/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  244. package/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  245. package/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  246. package/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  247. package/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  248. package/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  249. package/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  250. package/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  251. package/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  252. package/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  253. package/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  254. package/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  255. package/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  256. package/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  257. package/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  258. package/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  259. package/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  260. package/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  261. package/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  262. package/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  263. package/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  264. package/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  265. package/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  266. package/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  267. package/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  268. package/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  269. package/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  270. package/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  271. package/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  272. package/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  273. package/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  274. package/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  275. package/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  276. package/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  277. package/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  278. package/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  279. package/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  280. package/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  281. package/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  282. package/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  283. package/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  284. package/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  285. package/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  286. package/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  287. package/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  288. package/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  289. package/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  290. package/pods/Headers/inspector/src/utils/allocation.h +0 -367
  291. package/pods/Headers/inspector/src/utils/vector.h +0 -324
  292. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  293. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  294. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  295. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  296. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  297. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  298. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  299. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  300. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  301. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  302. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  303. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  304. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  305. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  306. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  307. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  308. package/pods/Headers/inspector/utils.h +0 -32
  309. package/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  310. package/pods/Headers/jsi/decorator.h +0 -770
  311. package/pods/Headers/jsi/instrumentation.h +0 -117
  312. package/pods/Headers/jsi/jsi-inl.h +0 -338
  313. package/pods/Headers/jsi/jsi.h +0 -1571
  314. package/pods/Headers/jsi/jsilib.h +0 -59
  315. package/pods/Headers/jsi/threadsafe.h +0 -79
  316. package/pods/Headers/runtime/ArgConverter.h +0 -61
  317. package/pods/Headers/runtime/ArrayAdapter.h +0 -13
  318. package/pods/Headers/runtime/Caches.h +0 -98
  319. package/pods/Headers/runtime/ClassBuilder.h +0 -61
  320. package/pods/Headers/runtime/Common.h +0 -9
  321. package/pods/Headers/runtime/ConcurrentMap.h +0 -55
  322. package/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  323. package/pods/Headers/runtime/Console.h +0 -27
  324. package/pods/Headers/runtime/Constants.h +0 -15
  325. package/pods/Headers/runtime/DataWrapper.h +0 -671
  326. package/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  327. package/pods/Headers/runtime/ExtVector.h +0 -21
  328. package/pods/Headers/runtime/FFICall.h +0 -105
  329. package/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  330. package/pods/Headers/runtime/FunctionReference.h +0 -18
  331. package/pods/Headers/runtime/Helpers.h +0 -84
  332. package/pods/Headers/runtime/InlineFunctions.h +0 -16
  333. package/pods/Headers/runtime/Interop.h +0 -202
  334. package/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  335. package/pods/Headers/runtime/Metadata.h +0 -981
  336. package/pods/Headers/runtime/MetadataBuilder.h +0 -72
  337. package/pods/Headers/runtime/MetadataInlines.h +0 -157
  338. package/pods/Headers/runtime/ModuleInternal.h +0 -59
  339. package/pods/Headers/runtime/NSDataAdapter.h +0 -13
  340. package/pods/Headers/runtime/NativeScriptException.h +0 -27
  341. package/pods/Headers/runtime/ObjectManager.h +0 -31
  342. package/pods/Headers/runtime/OneByteStringResource.h +0 -21
  343. package/pods/Headers/runtime/Pointer.h +0 -26
  344. package/pods/Headers/runtime/PromiseProxy.h +0 -15
  345. package/pods/Headers/runtime/Reference.h +0 -38
  346. package/pods/Headers/runtime/Runtime.h +0 -67
  347. package/pods/Headers/runtime/RuntimeConfig.h +0 -17
  348. package/pods/Headers/runtime/SetTimeout.h +0 -34
  349. package/pods/Headers/runtime/SimpleAllocator.h +0 -23
  350. package/pods/Headers/runtime/StringHasher.h +0 -315
  351. package/pods/Headers/runtime/SymbolIterator.h +0 -18
  352. package/pods/Headers/runtime/SymbolLoader.h +0 -27
  353. package/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  354. package/pods/Headers/runtime/TSHelpers.h +0 -15
  355. package/pods/Headers/runtime/Tasks.h +0 -19
  356. package/pods/Headers/runtime/UnmanagedType.h +0 -21
  357. package/pods/Headers/runtime/WeakRef.h +0 -15
  358. package/pods/Headers/runtime/Worker.h +0 -26
  359. package/pods/Headers/runtime/robin_hood.h +0 -2184
  360. package/pods/Headers/v8runtime/HostProxy.h +0 -71
  361. package/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -74
  362. package/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  363. package/pods/Headers/v8runtime/V8Runtime.h +0 -240
  364. package/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  365. package/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  366. 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)