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

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