@abaplint/transpiler-cli 2.3.111 → 2.3.112

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 (651) hide show
  1. package/build/bundle.js +74695 -1519
  2. package/output/#ui2#cl_json.clas.locals.mjs +207 -0
  3. package/output/#ui2#cl_json.clas.locals.mjs.map +10 -0
  4. package/output/#ui2#cl_json.clas.mjs +160 -0
  5. package/output/#ui2#cl_json.clas.mjs.map +10 -0
  6. package/output/_init.mjs +8964 -0
  7. package/output/_top.mjs +2 -0
  8. package/output/_unit_open.mjs +25 -0
  9. package/output/abap_boolean.dtel.mjs +6 -0
  10. package/output/abap_callstack.ttyp.mjs +4 -0
  11. package/output/abap_callstack_line.tabl.mjs +5 -0
  12. package/output/abap_encod.dtel.mjs +6 -0
  13. package/output/balmnr.dtel.mjs +6 -0
  14. package/output/balognr.dtel.mjs +6 -0
  15. package/output/bapi_fld.dtel.mjs +6 -0
  16. package/output/bapi_line.dtel.mjs +6 -0
  17. package/output/bapi_msg.dtel.mjs +6 -0
  18. package/output/bapi_mtype.dtel.mjs +6 -0
  19. package/output/bapi_param.dtel.mjs +6 -0
  20. package/output/bapi_rcode.dtel.mjs +6 -0
  21. package/output/bapilogsys.dtel.mjs +6 -0
  22. package/output/bapioption.dtel.mjs +6 -0
  23. package/output/bapiret2.tabl.mjs +5 -0
  24. package/output/bapireturn.tabl.mjs +5 -0
  25. package/output/bapisign.dtel.mjs +6 -0
  26. package/output/boolean.dtel.mjs +6 -0
  27. package/output/char1.dtel.mjs +6 -0
  28. package/output/char10.dtel.mjs +6 -0
  29. package/output/char15.dtel.mjs +6 -0
  30. package/output/char25.dtel.mjs +6 -0
  31. package/output/char32.dtel.mjs +6 -0
  32. package/output/char4.dtel.mjs +6 -0
  33. package/output/cl_abap_char_utilities.clas.mjs +72 -0
  34. package/output/cl_abap_char_utilities.clas.mjs.map +10 -0
  35. package/output/cl_abap_classdescr.clas.mjs +31 -0
  36. package/output/cl_abap_classdescr.clas.mjs.map +10 -0
  37. package/output/cl_abap_codepage.clas.mjs +54 -0
  38. package/output/cl_abap_codepage.clas.mjs.map +10 -0
  39. package/output/cl_abap_complexdescr.clas.mjs +16 -0
  40. package/output/cl_abap_complexdescr.clas.mjs.map +10 -0
  41. package/output/cl_abap_conv_codepage.clas.locals.mjs +42 -0
  42. package/output/cl_abap_conv_codepage.clas.locals.mjs.map +10 -0
  43. package/output/cl_abap_conv_codepage.clas.mjs +31 -0
  44. package/output/cl_abap_conv_codepage.clas.mjs.map +10 -0
  45. package/output/cl_abap_conv_in_ce.clas.mjs +118 -0
  46. package/output/cl_abap_conv_in_ce.clas.mjs.map +10 -0
  47. package/output/cl_abap_conv_out_ce.clas.mjs +82 -0
  48. package/output/cl_abap_conv_out_ce.clas.mjs.map +10 -0
  49. package/output/cl_abap_datadescr.clas.mjs +35 -0
  50. package/output/cl_abap_datadescr.clas.mjs.map +10 -0
  51. package/output/cl_abap_elemdescr.clas.mjs +148 -0
  52. package/output/cl_abap_elemdescr.clas.mjs.map +10 -0
  53. package/output/cl_abap_enumdescr.clas.mjs +19 -0
  54. package/output/cl_abap_enumdescr.clas.mjs.map +10 -0
  55. package/output/cl_abap_exceptional_values.clas.mjs +65 -0
  56. package/output/cl_abap_exceptional_values.clas.mjs.map +10 -0
  57. package/output/cl_abap_format.clas.mjs +26 -0
  58. package/output/cl_abap_format.clas.mjs.map +10 -0
  59. package/output/cl_abap_gzip.clas.mjs +87 -0
  60. package/output/cl_abap_gzip.clas.mjs.map +10 -0
  61. package/output/cl_abap_hmac.clas.mjs +64 -0
  62. package/output/cl_abap_hmac.clas.mjs.map +10 -0
  63. package/output/cl_abap_intfdescr.clas.mjs +16 -0
  64. package/output/cl_abap_intfdescr.clas.mjs.map +10 -0
  65. package/output/cl_abap_matcher.clas.mjs +76 -0
  66. package/output/cl_abap_matcher.clas.mjs.map +10 -0
  67. package/output/cl_abap_math.clas.mjs +41 -0
  68. package/output/cl_abap_math.clas.mjs.map +10 -0
  69. package/output/cl_abap_objectdescr.clas.mjs +76 -0
  70. package/output/cl_abap_objectdescr.clas.mjs.map +10 -0
  71. package/output/cl_abap_random.clas.mjs +52 -0
  72. package/output/cl_abap_random.clas.mjs.map +10 -0
  73. package/output/cl_abap_random_int.clas.mjs +35 -0
  74. package/output/cl_abap_random_int.clas.mjs.map +10 -0
  75. package/output/cl_abap_refdescr.clas.mjs +35 -0
  76. package/output/cl_abap_refdescr.clas.mjs.map +10 -0
  77. package/output/cl_abap_regex.clas.mjs +43 -0
  78. package/output/cl_abap_regex.clas.mjs.map +10 -0
  79. package/output/cl_abap_structdescr.clas.mjs +180 -0
  80. package/output/cl_abap_structdescr.clas.mjs.map +10 -0
  81. package/output/cl_abap_tabledescr.clas.mjs +152 -0
  82. package/output/cl_abap_tabledescr.clas.mjs.map +10 -0
  83. package/output/cl_abap_tstmp.clas.mjs +99 -0
  84. package/output/cl_abap_tstmp.clas.mjs.map +10 -0
  85. package/output/cl_abap_typedescr.clas.mjs +368 -0
  86. package/output/cl_abap_typedescr.clas.mjs.map +10 -0
  87. package/output/cl_abap_unit_assert.clas.locals.mjs +57 -0
  88. package/output/cl_abap_unit_assert.clas.locals.mjs.map +10 -0
  89. package/output/cl_abap_unit_assert.clas.mjs +323 -0
  90. package/output/cl_abap_unit_assert.clas.mjs.map +10 -0
  91. package/output/cl_abap_zip.clas.locals.mjs +115 -0
  92. package/output/cl_abap_zip.clas.locals.mjs.map +10 -0
  93. package/output/cl_abap_zip.clas.mjs +95 -0
  94. package/output/cl_abap_zip.clas.mjs.map +10 -0
  95. package/output/cl_apc_tcp_client_manager.clas.locals.mjs +86 -0
  96. package/output/cl_apc_tcp_client_manager.clas.locals.mjs.map +10 -0
  97. package/output/cl_apc_tcp_client_manager.clas.mjs +31 -0
  98. package/output/cl_apc_tcp_client_manager.clas.mjs.map +10 -0
  99. package/output/cl_apc_wsp_ext_stateless_base.clas.mjs +30 -0
  100. package/output/cl_apc_wsp_ext_stateless_base.clas.mjs.map +10 -0
  101. package/output/cl_bcs.clas.mjs +63 -0
  102. package/output/cl_bcs.clas.mjs.map +10 -0
  103. package/output/cl_bcs_convert.clas.mjs +34 -0
  104. package/output/cl_bcs_convert.clas.mjs.map +10 -0
  105. package/output/cl_cam_address_bcs.clas.mjs +28 -0
  106. package/output/cl_cam_address_bcs.clas.mjs.map +10 -0
  107. package/output/cl_demo_output.clas.mjs +40 -0
  108. package/output/cl_demo_output.clas.mjs.map +10 -0
  109. package/output/cl_document_bcs.clas.mjs +45 -0
  110. package/output/cl_document_bcs.clas.mjs.map +10 -0
  111. package/output/cl_gdt_conversion.clas.mjs +122 -0
  112. package/output/cl_gdt_conversion.clas.mjs.map +10 -0
  113. package/output/cl_gui_cfw.clas.mjs +32 -0
  114. package/output/cl_gui_cfw.clas.mjs.map +10 -0
  115. package/output/cl_gui_container.clas.mjs +22 -0
  116. package/output/cl_gui_container.clas.mjs.map +10 -0
  117. package/output/cl_gui_frontend_services.clas.mjs +273 -0
  118. package/output/cl_gui_frontend_services.clas.mjs.map +10 -0
  119. package/output/cl_http_client.clas.mjs +164 -0
  120. package/output/cl_http_client.clas.mjs.map +10 -0
  121. package/output/cl_http_entity.clas.mjs +493 -0
  122. package/output/cl_http_entity.clas.mjs.map +10 -0
  123. package/output/cl_http_server.clas.mjs +28 -0
  124. package/output/cl_http_server.clas.mjs.map +10 -0
  125. package/output/cl_http_utility.clas.mjs +178 -0
  126. package/output/cl_http_utility.clas.mjs.map +10 -0
  127. package/output/cl_i18n_languages.clas.mjs +318 -0
  128. package/output/cl_i18n_languages.clas.mjs.map +10 -0
  129. package/output/cl_ixml.clas.locals.mjs +1161 -0
  130. package/output/cl_ixml.clas.locals.mjs.map +10 -0
  131. package/output/cl_ixml.clas.mjs +62 -0
  132. package/output/cl_ixml.clas.mjs.map +10 -0
  133. package/output/cl_message_helper.clas.mjs +81 -0
  134. package/output/cl_message_helper.clas.mjs.map +10 -0
  135. package/output/cl_numberrange_runtime.clas.mjs +32 -0
  136. package/output/cl_numberrange_runtime.clas.mjs.map +10 -0
  137. package/output/cl_oo_factory.clas.mjs +38 -0
  138. package/output/cl_oo_factory.clas.mjs.map +10 -0
  139. package/output/cl_progress_indicator.clas.mjs +30 -0
  140. package/output/cl_progress_indicator.clas.mjs.map +10 -0
  141. package/output/cl_salv_aggregations.clas.mjs +14 -0
  142. package/output/cl_salv_aggregations.clas.mjs.map +10 -0
  143. package/output/cl_salv_column.clas.mjs +35 -0
  144. package/output/cl_salv_column.clas.mjs.map +10 -0
  145. package/output/cl_salv_columns_table.clas.mjs +42 -0
  146. package/output/cl_salv_columns_table.clas.mjs.map +10 -0
  147. package/output/cl_salv_events_table.clas.mjs +14 -0
  148. package/output/cl_salv_events_table.clas.mjs.map +10 -0
  149. package/output/cl_salv_functions_list.clas.mjs +19 -0
  150. package/output/cl_salv_functions_list.clas.mjs.map +10 -0
  151. package/output/cl_salv_table.clas.mjs +122 -0
  152. package/output/cl_salv_table.clas.mjs.map +10 -0
  153. package/output/cl_shm_area.clas.mjs +267 -0
  154. package/output/cl_shm_area.clas.mjs.map +10 -0
  155. package/output/cl_shm_service.clas.mjs +56 -0
  156. package/output/cl_shm_service.clas.mjs.map +10 -0
  157. package/output/cl_sxml_string_reader.clas.locals.mjs +323 -0
  158. package/output/cl_sxml_string_reader.clas.locals.mjs.map +10 -0
  159. package/output/cl_sxml_string_reader.clas.mjs +25 -0
  160. package/output/cl_sxml_string_reader.clas.mjs.map +10 -0
  161. package/output/cl_sxml_string_writer.clas.mjs +146 -0
  162. package/output/cl_sxml_string_writer.clas.mjs.map +10 -0
  163. package/output/cl_system_uuid.clas.mjs +35 -0
  164. package/output/cl_system_uuid.clas.mjs.map +10 -0
  165. package/output/cx_abap_message_digest.clas.mjs +16 -0
  166. package/output/cx_abap_message_digest.clas.mjs.map +10 -0
  167. package/output/cx_abap_random.clas.mjs +16 -0
  168. package/output/cx_abap_random.clas.mjs.map +10 -0
  169. package/output/cx_apc_error.clas.mjs +16 -0
  170. package/output/cx_apc_error.clas.mjs.map +10 -0
  171. package/output/cx_bcs.clas.mjs +16 -0
  172. package/output/cx_bcs.clas.mjs.map +10 -0
  173. package/output/cx_dynamic_check.clas.mjs +15 -0
  174. package/output/cx_dynamic_check.clas.mjs.map +10 -0
  175. package/output/cx_gdt_conversion.clas.mjs +16 -0
  176. package/output/cx_gdt_conversion.clas.mjs.map +10 -0
  177. package/output/cx_no_check.clas.mjs +17 -0
  178. package/output/cx_no_check.clas.mjs.map +10 -0
  179. package/output/cx_oo_clif_not_exists.clas.mjs +16 -0
  180. package/output/cx_oo_clif_not_exists.clas.mjs.map +10 -0
  181. package/output/cx_parameter_invalid.clas.mjs +16 -0
  182. package/output/cx_parameter_invalid.clas.mjs.map +10 -0
  183. package/output/cx_parameter_invalid_range.clas.mjs +16 -0
  184. package/output/cx_parameter_invalid_range.clas.mjs.map +10 -0
  185. package/output/cx_parameter_invalid_type.clas.mjs +16 -0
  186. package/output/cx_parameter_invalid_type.clas.mjs.map +10 -0
  187. package/output/cx_root.clas.mjs +44 -0
  188. package/output/cx_root.clas.mjs.map +10 -0
  189. package/output/cx_salv_access_error.clas.mjs +16 -0
  190. package/output/cx_salv_access_error.clas.mjs.map +10 -0
  191. package/output/cx_salv_data_error.clas.mjs +16 -0
  192. package/output/cx_salv_data_error.clas.mjs.map +10 -0
  193. package/output/cx_salv_error.clas.mjs +16 -0
  194. package/output/cx_salv_error.clas.mjs.map +10 -0
  195. package/output/cx_salv_msg.clas.mjs +16 -0
  196. package/output/cx_salv_msg.clas.mjs.map +10 -0
  197. package/output/cx_salv_not_found.clas.mjs +16 -0
  198. package/output/cx_salv_not_found.clas.mjs.map +10 -0
  199. package/output/cx_salv_static_check.clas.mjs +16 -0
  200. package/output/cx_salv_static_check.clas.mjs.map +10 -0
  201. package/output/cx_shm_already_detached.clas.mjs +16 -0
  202. package/output/cx_shm_already_detached.clas.mjs.map +10 -0
  203. package/output/cx_shm_attach_error.clas.mjs +16 -0
  204. package/output/cx_shm_attach_error.clas.mjs.map +10 -0
  205. package/output/cx_shm_build_failed.clas.mjs +16 -0
  206. package/output/cx_shm_build_failed.clas.mjs.map +10 -0
  207. package/output/cx_shm_change_lock_active.clas.mjs +16 -0
  208. package/output/cx_shm_change_lock_active.clas.mjs.map +10 -0
  209. package/output/cx_shm_completion_error.clas.mjs +16 -0
  210. package/output/cx_shm_completion_error.clas.mjs.map +10 -0
  211. package/output/cx_shm_detach_error.clas.mjs +16 -0
  212. package/output/cx_shm_detach_error.clas.mjs.map +10 -0
  213. package/output/cx_shm_error.clas.mjs +16 -0
  214. package/output/cx_shm_error.clas.mjs.map +10 -0
  215. package/output/cx_shm_event_execution_failed.clas.mjs +16 -0
  216. package/output/cx_shm_event_execution_failed.clas.mjs.map +10 -0
  217. package/output/cx_shm_exclusive_lock_active.clas.mjs +16 -0
  218. package/output/cx_shm_exclusive_lock_active.clas.mjs.map +10 -0
  219. package/output/cx_shm_general_error.clas.mjs +16 -0
  220. package/output/cx_shm_general_error.clas.mjs.map +10 -0
  221. package/output/cx_shm_inconsistent.clas.mjs +16 -0
  222. package/output/cx_shm_inconsistent.clas.mjs.map +10 -0
  223. package/output/cx_shm_initial_reference.clas.mjs +16 -0
  224. package/output/cx_shm_initial_reference.clas.mjs.map +10 -0
  225. package/output/cx_shm_no_active_version.clas.mjs +16 -0
  226. package/output/cx_shm_no_active_version.clas.mjs.map +10 -0
  227. package/output/cx_shm_parameter_error.clas.mjs +16 -0
  228. package/output/cx_shm_parameter_error.clas.mjs.map +10 -0
  229. package/output/cx_shm_pending_lock_removed.clas.mjs +16 -0
  230. package/output/cx_shm_pending_lock_removed.clas.mjs.map +10 -0
  231. package/output/cx_shm_read_lock_active.clas.mjs +16 -0
  232. package/output/cx_shm_read_lock_active.clas.mjs.map +10 -0
  233. package/output/cx_shm_secondary_commit.clas.mjs +16 -0
  234. package/output/cx_shm_secondary_commit.clas.mjs.map +10 -0
  235. package/output/cx_shm_version_limit_exceeded.clas.mjs +16 -0
  236. package/output/cx_shm_version_limit_exceeded.clas.mjs.map +10 -0
  237. package/output/cx_shm_wrong_handle.clas.mjs +16 -0
  238. package/output/cx_shm_wrong_handle.clas.mjs.map +10 -0
  239. package/output/cx_shma_dynamic.clas.mjs +16 -0
  240. package/output/cx_shma_dynamic.clas.mjs.map +10 -0
  241. package/output/cx_shma_inconsistent.clas.mjs +16 -0
  242. package/output/cx_shma_inconsistent.clas.mjs.map +10 -0
  243. package/output/cx_shma_not_configured.clas.mjs +16 -0
  244. package/output/cx_shma_not_configured.clas.mjs.map +10 -0
  245. package/output/cx_static_check.clas.mjs +27 -0
  246. package/output/cx_static_check.clas.mjs.map +10 -0
  247. package/output/cx_sxml_error.clas.mjs +16 -0
  248. package/output/cx_sxml_error.clas.mjs.map +10 -0
  249. package/output/cx_sxml_illegal_argument_error.clas.mjs +16 -0
  250. package/output/cx_sxml_illegal_argument_error.clas.mjs.map +10 -0
  251. package/output/cx_sxml_name_error.clas.mjs +16 -0
  252. package/output/cx_sxml_name_error.clas.mjs.map +10 -0
  253. package/output/cx_sxml_parse_error.clas.mjs +20 -0
  254. package/output/cx_sxml_parse_error.clas.mjs.map +10 -0
  255. package/output/cx_sxml_state_error.clas.mjs +16 -0
  256. package/output/cx_sxml_state_error.clas.mjs.map +10 -0
  257. package/output/cx_sy_arithmetic_error.clas.mjs +16 -0
  258. package/output/cx_sy_arithmetic_error.clas.mjs.map +10 -0
  259. package/output/cx_sy_buffer_overflow.clas.mjs +16 -0
  260. package/output/cx_sy_buffer_overflow.clas.mjs.map +10 -0
  261. package/output/cx_sy_codepage_converter_init.clas.mjs +16 -0
  262. package/output/cx_sy_codepage_converter_init.clas.mjs.map +10 -0
  263. package/output/cx_sy_compression_error.clas.mjs +16 -0
  264. package/output/cx_sy_compression_error.clas.mjs.map +10 -0
  265. package/output/cx_sy_conversion_codepage.clas.mjs +17 -0
  266. package/output/cx_sy_conversion_codepage.clas.mjs.map +10 -0
  267. package/output/cx_sy_conversion_data_loss.clas.mjs +16 -0
  268. package/output/cx_sy_conversion_data_loss.clas.mjs.map +10 -0
  269. package/output/cx_sy_conversion_error.clas.mjs +16 -0
  270. package/output/cx_sy_conversion_error.clas.mjs.map +10 -0
  271. package/output/cx_sy_conversion_no_number.clas.mjs +16 -0
  272. package/output/cx_sy_conversion_no_number.clas.mjs.map +10 -0
  273. package/output/cx_sy_conversion_overflow.clas.mjs +16 -0
  274. package/output/cx_sy_conversion_overflow.clas.mjs.map +10 -0
  275. package/output/cx_sy_create_data_error.clas.mjs +16 -0
  276. package/output/cx_sy_create_data_error.clas.mjs.map +10 -0
  277. package/output/cx_sy_create_object_error.clas.mjs +29 -0
  278. package/output/cx_sy_create_object_error.clas.mjs.map +10 -0
  279. package/output/cx_sy_data_access_error.clas.mjs +16 -0
  280. package/output/cx_sy_data_access_error.clas.mjs.map +10 -0
  281. package/output/cx_sy_duplicate_key.clas.mjs +16 -0
  282. package/output/cx_sy_duplicate_key.clas.mjs.map +10 -0
  283. package/output/cx_sy_dyn_call_error.clas.mjs +16 -0
  284. package/output/cx_sy_dyn_call_error.clas.mjs.map +10 -0
  285. package/output/cx_sy_dyn_call_illegal_class.clas.mjs +16 -0
  286. package/output/cx_sy_dyn_call_illegal_class.clas.mjs.map +10 -0
  287. package/output/cx_sy_dyn_call_illegal_func.clas.mjs +16 -0
  288. package/output/cx_sy_dyn_call_illegal_func.clas.mjs.map +10 -0
  289. package/output/cx_sy_dyn_call_illegal_method.clas.mjs +27 -0
  290. package/output/cx_sy_dyn_call_illegal_method.clas.mjs.map +10 -0
  291. package/output/cx_sy_dyn_call_param_not_found.clas.mjs +16 -0
  292. package/output/cx_sy_dyn_call_param_not_found.clas.mjs.map +10 -0
  293. package/output/cx_sy_dyn_call_parameter_error.clas.mjs +17 -0
  294. package/output/cx_sy_dyn_call_parameter_error.clas.mjs.map +10 -0
  295. package/output/cx_sy_dynamic_osql_error.clas.mjs +18 -0
  296. package/output/cx_sy_dynamic_osql_error.clas.mjs.map +10 -0
  297. package/output/cx_sy_dynamic_osql_semantics.clas.mjs +18 -0
  298. package/output/cx_sy_dynamic_osql_semantics.clas.mjs.map +10 -0
  299. package/output/cx_sy_itab_duplicate_key.clas.mjs +16 -0
  300. package/output/cx_sy_itab_duplicate_key.clas.mjs.map +10 -0
  301. package/output/cx_sy_itab_error.clas.mjs +16 -0
  302. package/output/cx_sy_itab_error.clas.mjs.map +10 -0
  303. package/output/cx_sy_itab_line_not_found.clas.mjs +16 -0
  304. package/output/cx_sy_itab_line_not_found.clas.mjs.map +10 -0
  305. package/output/cx_sy_message_illegal_text.clas.mjs +16 -0
  306. package/output/cx_sy_message_illegal_text.clas.mjs.map +10 -0
  307. package/output/cx_sy_move_cast_error.clas.mjs +16 -0
  308. package/output/cx_sy_move_cast_error.clas.mjs.map +10 -0
  309. package/output/cx_sy_open_sql_error.clas.mjs +18 -0
  310. package/output/cx_sy_open_sql_error.clas.mjs.map +10 -0
  311. package/output/cx_sy_range_out_of_bounds.clas.mjs +16 -0
  312. package/output/cx_sy_range_out_of_bounds.clas.mjs.map +10 -0
  313. package/output/cx_sy_ref_is_initial.clas.mjs +16 -0
  314. package/output/cx_sy_ref_is_initial.clas.mjs.map +10 -0
  315. package/output/cx_sy_sql_error.clas.mjs +20 -0
  316. package/output/cx_sy_sql_error.clas.mjs.map +10 -0
  317. package/output/cx_sy_strg_par_val.clas.mjs +16 -0
  318. package/output/cx_sy_strg_par_val.clas.mjs.map +10 -0
  319. package/output/cx_sy_struct_attributes.clas.mjs +16 -0
  320. package/output/cx_sy_struct_attributes.clas.mjs.map +10 -0
  321. package/output/cx_sy_struct_comp_name.clas.mjs +16 -0
  322. package/output/cx_sy_struct_comp_name.clas.mjs.map +10 -0
  323. package/output/cx_sy_struct_comp_type.clas.mjs +16 -0
  324. package/output/cx_sy_struct_comp_type.clas.mjs.map +10 -0
  325. package/output/cx_sy_struct_creation.clas.mjs +16 -0
  326. package/output/cx_sy_struct_creation.clas.mjs.map +10 -0
  327. package/output/cx_sy_type_creation.clas.mjs +16 -0
  328. package/output/cx_sy_type_creation.clas.mjs.map +10 -0
  329. package/output/cx_sy_zerodivide.clas.mjs +16 -0
  330. package/output/cx_sy_zerodivide.clas.mjs.map +10 -0
  331. package/output/cx_transformation_error.clas.mjs +16 -0
  332. package/output/cx_transformation_error.clas.mjs.map +10 -0
  333. package/output/cx_uuid_error.clas.mjs +16 -0
  334. package/output/cx_uuid_error.clas.mjs.map +10 -0
  335. package/output/cx_xslt_exception.clas.mjs +16 -0
  336. package/output/cx_xslt_exception.clas.mjs.map +10 -0
  337. package/output/cx_xslt_format_error.clas.mjs +16 -0
  338. package/output/cx_xslt_format_error.clas.mjs.map +10 -0
  339. package/output/cx_xslt_runtime_error.clas.mjs +16 -0
  340. package/output/cx_xslt_runtime_error.clas.mjs.map +10 -0
  341. package/output/cx_xslt_system_error.clas.mjs +16 -0
  342. package/output/cx_xslt_system_error.clas.mjs.map +10 -0
  343. package/output/dats.dtel.mjs +6 -0
  344. package/output/ddfields.ttyp.mjs +4 -0
  345. package/output/ddoption.dtel.mjs +6 -0
  346. package/output/ddsign.dtel.mjs +6 -0
  347. package/output/devclass.dtel.mjs +6 -0
  348. package/output/dfies.tabl.mjs +5 -0
  349. package/output/doku_obj.dtel.mjs +6 -0
  350. package/output/dynprofld.dtel.mjs +6 -0
  351. package/output/file_table.tabl.mjs +5 -0
  352. package/output/filetable.ttyp.mjs +4 -0
  353. package/output/flag.dtel.mjs +6 -0
  354. package/output/funcname.dtel.mjs +6 -0
  355. package/output/guid.dtel.mjs +6 -0
  356. package/output/if_abap_channel_types.intf.mjs +9 -0
  357. package/output/if_abap_channel_types.intf.mjs.map +8 -0
  358. package/output/if_abap_conv_in.intf.mjs +8 -0
  359. package/output/if_abap_conv_in.intf.mjs.map +8 -0
  360. package/output/if_abap_conv_out.intf.mjs +8 -0
  361. package/output/if_abap_conv_out.intf.mjs.map +8 -0
  362. package/output/if_abap_unit_constant.intf.mjs +15 -0
  363. package/output/if_abap_unit_constant.intf.mjs.map +8 -0
  364. package/output/if_apc_tcp_frame_types.intf.mjs +14 -0
  365. package/output/if_apc_tcp_frame_types.intf.mjs.map +8 -0
  366. package/output/if_apc_wsp_binding_manager.intf.mjs +8 -0
  367. package/output/if_apc_wsp_binding_manager.intf.mjs.map +8 -0
  368. package/output/if_apc_wsp_client.intf.mjs +8 -0
  369. package/output/if_apc_wsp_client.intf.mjs.map +8 -0
  370. package/output/if_apc_wsp_event_handler.intf.mjs +8 -0
  371. package/output/if_apc_wsp_event_handler.intf.mjs.map +8 -0
  372. package/output/if_apc_wsp_extension.intf.mjs +8 -0
  373. package/output/if_apc_wsp_extension.intf.mjs.map +8 -0
  374. package/output/if_apc_wsp_initial_request.intf.mjs +8 -0
  375. package/output/if_apc_wsp_initial_request.intf.mjs.map +8 -0
  376. package/output/if_apc_wsp_message.intf.mjs +8 -0
  377. package/output/if_apc_wsp_message.intf.mjs.map +8 -0
  378. package/output/if_apc_wsp_message_manager.intf.mjs +8 -0
  379. package/output/if_apc_wsp_message_manager.intf.mjs.map +8 -0
  380. package/output/if_apc_wsp_server_context.intf.mjs +8 -0
  381. package/output/if_apc_wsp_server_context.intf.mjs.map +8 -0
  382. package/output/if_aunit_constants.intf.mjs +27 -0
  383. package/output/if_aunit_constants.intf.mjs.map +8 -0
  384. package/output/if_document_bcs.intf.mjs +8 -0
  385. package/output/if_document_bcs.intf.mjs.map +8 -0
  386. package/output/if_http_client.intf.mjs +12 -0
  387. package/output/if_http_client.intf.mjs.map +8 -0
  388. package/output/if_http_entity.intf.mjs +14 -0
  389. package/output/if_http_entity.intf.mjs.map +8 -0
  390. package/output/if_http_extension.intf.mjs +12 -0
  391. package/output/if_http_extension.intf.mjs.map +8 -0
  392. package/output/if_http_request.intf.mjs +16 -0
  393. package/output/if_http_request.intf.mjs.map +8 -0
  394. package/output/if_http_response.intf.mjs +8 -0
  395. package/output/if_http_response.intf.mjs.map +8 -0
  396. package/output/if_http_server.intf.mjs +20 -0
  397. package/output/if_http_server.intf.mjs.map +8 -0
  398. package/output/if_http_utility.intf.mjs +8 -0
  399. package/output/if_http_utility.intf.mjs.map +8 -0
  400. package/output/if_ixml.intf.mjs +8 -0
  401. package/output/if_ixml.intf.mjs.map +8 -0
  402. package/output/if_ixml_attribute.intf.mjs +8 -0
  403. package/output/if_ixml_attribute.intf.mjs.map +8 -0
  404. package/output/if_ixml_document.intf.mjs +8 -0
  405. package/output/if_ixml_document.intf.mjs.map +8 -0
  406. package/output/if_ixml_element.intf.mjs +8 -0
  407. package/output/if_ixml_element.intf.mjs.map +8 -0
  408. package/output/if_ixml_encoding.intf.mjs +10 -0
  409. package/output/if_ixml_encoding.intf.mjs.map +8 -0
  410. package/output/if_ixml_istream.intf.mjs +8 -0
  411. package/output/if_ixml_istream.intf.mjs.map +8 -0
  412. package/output/if_ixml_named_node_map.intf.mjs +8 -0
  413. package/output/if_ixml_named_node_map.intf.mjs.map +8 -0
  414. package/output/if_ixml_node.intf.mjs +12 -0
  415. package/output/if_ixml_node.intf.mjs.map +8 -0
  416. package/output/if_ixml_node_iterator.intf.mjs +8 -0
  417. package/output/if_ixml_node_iterator.intf.mjs.map +8 -0
  418. package/output/if_ixml_node_list.intf.mjs +8 -0
  419. package/output/if_ixml_node_list.intf.mjs.map +8 -0
  420. package/output/if_ixml_ostream.intf.mjs +8 -0
  421. package/output/if_ixml_ostream.intf.mjs.map +8 -0
  422. package/output/if_ixml_parse_error.intf.mjs +8 -0
  423. package/output/if_ixml_parse_error.intf.mjs.map +8 -0
  424. package/output/if_ixml_parser.intf.mjs +10 -0
  425. package/output/if_ixml_parser.intf.mjs.map +8 -0
  426. package/output/if_ixml_renderer.intf.mjs +8 -0
  427. package/output/if_ixml_renderer.intf.mjs.map +8 -0
  428. package/output/if_ixml_stream_factory.intf.mjs +8 -0
  429. package/output/if_ixml_stream_factory.intf.mjs.map +8 -0
  430. package/output/if_ixml_unknown.intf.mjs +8 -0
  431. package/output/if_ixml_unknown.intf.mjs.map +8 -0
  432. package/output/if_message.intf.mjs +8 -0
  433. package/output/if_message.intf.mjs.map +8 -0
  434. package/output/if_oo_adt_classrun.intf.mjs +8 -0
  435. package/output/if_oo_adt_classrun.intf.mjs.map +8 -0
  436. package/output/if_oo_adt_classrun_out.intf.mjs +8 -0
  437. package/output/if_oo_adt_classrun_out.intf.mjs.map +8 -0
  438. package/output/if_oo_clif_source.intf.mjs +8 -0
  439. package/output/if_oo_clif_source.intf.mjs.map +8 -0
  440. package/output/if_recipient_bcs.intf.mjs +8 -0
  441. package/output/if_recipient_bcs.intf.mjs.map +8 -0
  442. package/output/if_salv_c_bool_sap.intf.mjs +12 -0
  443. package/output/if_salv_c_bool_sap.intf.mjs.map +8 -0
  444. package/output/if_salv_c_selection_mode.intf.mjs +18 -0
  445. package/output/if_salv_c_selection_mode.intf.mjs.map +8 -0
  446. package/output/if_sender_bcs.intf.mjs +8 -0
  447. package/output/if_sender_bcs.intf.mjs.map +8 -0
  448. package/output/if_serializable_object.intf.mjs +8 -0
  449. package/output/if_serializable_object.intf.mjs.map +8 -0
  450. package/output/if_shm_build_instance.intf.mjs +8 -0
  451. package/output/if_shm_build_instance.intf.mjs.map +8 -0
  452. package/output/if_shm_trace.intf.mjs +8 -0
  453. package/output/if_shm_trace.intf.mjs.map +8 -0
  454. package/output/if_sxml.intf.mjs +17 -0
  455. package/output/if_sxml.intf.mjs.map +8 -0
  456. package/output/if_sxml_attribute.intf.mjs +9 -0
  457. package/output/if_sxml_attribute.intf.mjs.map +8 -0
  458. package/output/if_sxml_close_element.intf.mjs +8 -0
  459. package/output/if_sxml_close_element.intf.mjs.map +8 -0
  460. package/output/if_sxml_node.intf.mjs +19 -0
  461. package/output/if_sxml_node.intf.mjs.map +8 -0
  462. package/output/if_sxml_open_element.intf.mjs +8 -0
  463. package/output/if_sxml_open_element.intf.mjs.map +8 -0
  464. package/output/if_sxml_reader.intf.mjs +8 -0
  465. package/output/if_sxml_reader.intf.mjs.map +8 -0
  466. package/output/if_sxml_value.intf.mjs +11 -0
  467. package/output/if_sxml_value.intf.mjs.map +8 -0
  468. package/output/if_sxml_value_node.intf.mjs +8 -0
  469. package/output/if_sxml_value_node.intf.mjs.map +8 -0
  470. package/output/if_sxml_writer.intf.mjs +26 -0
  471. package/output/if_sxml_writer.intf.mjs.map +8 -0
  472. package/output/if_sxmlp_factory.intf.mjs +8 -0
  473. package/output/if_sxmlp_factory.intf.mjs.map +8 -0
  474. package/output/if_sxmlp_list.intf.mjs +8 -0
  475. package/output/if_sxmlp_list.intf.mjs.map +8 -0
  476. package/output/if_sxmlp_part.intf.mjs +8 -0
  477. package/output/if_sxmlp_part.intf.mjs.map +8 -0
  478. package/output/if_sxmlp_simple.intf.mjs +8 -0
  479. package/output/if_sxmlp_simple.intf.mjs.map +8 -0
  480. package/output/if_system_uuid_rfc4122_static.intf.mjs +8 -0
  481. package/output/if_system_uuid_rfc4122_static.intf.mjs.map +8 -0
  482. package/output/if_system_uuid_static.intf.mjs +8 -0
  483. package/output/if_system_uuid_static.intf.mjs.map +8 -0
  484. package/output/if_t100_dyn_msg.intf.mjs +8 -0
  485. package/output/if_t100_dyn_msg.intf.mjs.map +8 -0
  486. package/output/if_t100_message.intf.mjs +15 -0
  487. package/output/if_t100_message.intf.mjs.map +8 -0
  488. package/output/ihttpnvp.tabl.mjs +5 -0
  489. package/output/index.mjs +35 -0
  490. package/output/init.mjs +8965 -0
  491. package/output/int1.dtel.mjs +6 -0
  492. package/output/int2.dtel.mjs +6 -0
  493. package/output/int4.dtel.mjs +6 -0
  494. package/output/kernel_authority_check.clas.mjs +20 -0
  495. package/output/kernel_authority_check.clas.mjs.map +10 -0
  496. package/output/kernel_call.clas.mjs +28 -0
  497. package/output/kernel_call.clas.mjs.map +10 -0
  498. package/output/kernel_call_transformation.clas.mjs +182 -0
  499. package/output/kernel_call_transformation.clas.mjs.map +10 -0
  500. package/output/kernel_create_data_handle.clas.mjs +121 -0
  501. package/output/kernel_create_data_handle.clas.mjs.map +10 -0
  502. package/output/kernel_cx_assert.clas.mjs +33 -0
  503. package/output/kernel_cx_assert.clas.mjs.map +10 -0
  504. package/output/kernel_fugr_test.clas.mjs +14 -0
  505. package/output/kernel_fugr_test.clas.mjs.map +10 -0
  506. package/output/kernel_ixml_json_to_data.clas.mjs +145 -0
  507. package/output/kernel_ixml_json_to_data.clas.mjs.map +10 -0
  508. package/output/kernel_ixml_xml_to_data.clas.mjs +96 -0
  509. package/output/kernel_ixml_xml_to_data.clas.mjs.map +10 -0
  510. package/output/kernel_json_to_ixml.clas.mjs +78 -0
  511. package/output/kernel_json_to_ixml.clas.mjs.map +10 -0
  512. package/output/kernel_lock.clas.mjs +31 -0
  513. package/output/kernel_lock.clas.mjs.map +10 -0
  514. package/output/kernel_numberrange.clas.mjs +38 -0
  515. package/output/kernel_numberrange.clas.mjs.map +10 -0
  516. package/output/kernel_push_channels.clas.mjs +20 -0
  517. package/output/kernel_push_channels.clas.mjs.map +10 -0
  518. package/output/kernel_scan_abap_source.clas.mjs +212 -0
  519. package/output/kernel_scan_abap_source.clas.mjs.map +10 -0
  520. package/output/kernel_unit_runner.clas.mjs +199 -0
  521. package/output/kernel_unit_runner.clas.mjs.map +10 -0
  522. package/output/laiso.dtel.mjs +6 -0
  523. package/output/land1.dtel.mjs +6 -0
  524. package/output/langu.dtel.mjs +6 -0
  525. package/output/lvc_nokeyc.dtel.mjs +6 -0
  526. package/output/mandt.dtel.mjs +6 -0
  527. package/output/match_result.tabl.mjs +5 -0
  528. package/output/match_result_tab.ttyp.mjs +4 -0
  529. package/output/msehi.dtel.mjs +6 -0
  530. package/output/number_get_next.fugr.number_get_next.mjs +23 -0
  531. package/output/number_get_next.fugr.number_get_next.mjs.map +8 -0
  532. package/output/number_get_next.fugr.saplnumber_get_next.mjs +5 -0
  533. package/output/number_get_next.fugr.saplnumber_get_next.mjs.map +8 -0
  534. package/output/numc4.dtel.mjs +6 -0
  535. package/output/openabap.fugr.conversion_exit_alpha_input.mjs +17 -0
  536. package/output/openabap.fugr.conversion_exit_alpha_input.mjs.map +8 -0
  537. package/output/openabap.fugr.conversion_exit_alpha_output.mjs +18 -0
  538. package/output/openabap.fugr.conversion_exit_alpha_output.mjs.map +8 -0
  539. package/output/openabap.fugr.conversion_exit_isola_input.mjs +20 -0
  540. package/output/openabap.fugr.conversion_exit_isola_input.mjs.map +8 -0
  541. package/output/openabap.fugr.conversion_exit_isola_output.mjs +17 -0
  542. package/output/openabap.fugr.conversion_exit_isola_output.mjs.map +8 -0
  543. package/output/openabap.fugr.convert_itf_to_stream_text.mjs +21 -0
  544. package/output/openabap.fugr.convert_itf_to_stream_text.mjs.map +8 -0
  545. package/output/openabap.fugr.docu_get.mjs +29 -0
  546. package/output/openabap.fugr.docu_get.mjs.map +8 -0
  547. package/output/openabap.fugr.generate_sec_random.mjs +19 -0
  548. package/output/openabap.fugr.generate_sec_random.mjs.map +8 -0
  549. package/output/openabap.fugr.get_system_timezone.mjs +12 -0
  550. package/output/openabap.fugr.get_system_timezone.mjs.map +8 -0
  551. package/output/openabap.fugr.saplzopenabap.mjs +5 -0
  552. package/output/openabap.fugr.saplzopenabap.mjs.map +8 -0
  553. package/output/openabap.fugr.system_callstack.mjs +16 -0
  554. package/output/openabap.fugr.system_callstack.mjs.map +8 -0
  555. package/output/openabap.fugr.system_installed_languages.mjs +13 -0
  556. package/output/openabap.fugr.system_installed_languages.mjs.map +8 -0
  557. package/output/openabap.fugr.text_split.mjs +33 -0
  558. package/output/openabap.fugr.text_split.mjs.map +8 -0
  559. package/output/reposrc.tabl.mjs +5 -0
  560. package/output/rfcdest.dtel.mjs +6 -0
  561. package/output/scrtext_l.dtel.mjs +6 -0
  562. package/output/scrtext_m.dtel.mjs +6 -0
  563. package/output/scrtext_s.dtel.mjs +6 -0
  564. package/output/scx_attrname.dtel.mjs +6 -0
  565. package/output/scx_t100key.tabl.mjs +5 -0
  566. package/output/seoclsname.dtel.mjs +6 -0
  567. package/output/shm_affect_server.dtel.mjs +6 -0
  568. package/output/shm_area_name.dtel.mjs +6 -0
  569. package/output/shm_attach_mode.dtel.mjs +6 -0
  570. package/output/shm_auto_build_class_name.dtel.mjs +6 -0
  571. package/output/shm_client.dtel.mjs +6 -0
  572. package/output/shm_constr_invocation_mode.dtel.mjs +6 -0
  573. package/output/shm_inst_infos.dtel.mjs +6 -0
  574. package/output/shm_inst_name.dtel.mjs +6 -0
  575. package/output/shm_life_context.dtel.mjs +6 -0
  576. package/output/shm_properties.tabl.mjs +5 -0
  577. package/output/shm_rc.dtel.mjs +6 -0
  578. package/output/shma_attributes.tabl.mjs +5 -0
  579. package/output/shma_client.dtel.mjs +6 -0
  580. package/output/shmm_trc_variant_name.dtel.mjs +6 -0
  581. package/output/so_raw255.dtel.mjs +6 -0
  582. package/output/so_text255.dtel.mjs +6 -0
  583. package/output/soli.tabl.mjs +5 -0
  584. package/output/soli_tab.ttyp.mjs +4 -0
  585. package/output/solix.tabl.mjs +5 -0
  586. package/output/solix_tab.ttyp.mjs +4 -0
  587. package/output/sotr_conc.dtel.mjs +6 -0
  588. package/output/spras.dtel.mjs +6 -0
  589. package/output/ssfapplssl.dtel.mjs +6 -0
  590. package/output/sstmnt.tabl.mjs +5 -0
  591. package/output/sstmnt_tab.ttyp.mjs +4 -0
  592. package/output/sstruc.tabl.mjs +5 -0
  593. package/output/sstruc_tab.ttyp.mjs +4 -0
  594. package/output/stokes.tabl.mjs +5 -0
  595. package/output/stokes_tab.ttyp.mjs +4 -0
  596. package/output/stokesx.tabl.mjs +5 -0
  597. package/output/string_table.ttyp.mjs +4 -0
  598. package/output/submatch_result.tabl.mjs +5 -0
  599. package/output/submatch_result_tab.ttyp.mjs +4 -0
  600. package/output/sydate.dtel.mjs +6 -0
  601. package/output/symsg.tabl.mjs +5 -0
  602. package/output/symsgid.dtel.mjs +6 -0
  603. package/output/symsgno.dtel.mjs +6 -0
  604. package/output/symsgty.dtel.mjs +6 -0
  605. package/output/symsgv.dtel.mjs +6 -0
  606. package/output/syst_host.dtel.mjs +6 -0
  607. package/output/sysubrc.dtel.mjs +6 -0
  608. package/output/sysuuid_c36.dtel.mjs +6 -0
  609. package/output/sysuuid_x16.dtel.mjs +6 -0
  610. package/output/syuname.dtel.mjs +6 -0
  611. package/output/t000.tabl.mjs +5 -0
  612. package/output/t100.tabl.mjs +5 -0
  613. package/output/tabfdpos.dtel.mjs +6 -0
  614. package/output/tabname.dtel.mjs +6 -0
  615. package/output/tadir.tabl.mjs +5 -0
  616. package/output/tdevc.tabl.mjs +5 -0
  617. package/output/tdline.dtel.mjs +6 -0
  618. package/output/text20.dtel.mjs +6 -0
  619. package/output/text200.dtel.mjs +6 -0
  620. package/output/text255.dtel.mjs +6 -0
  621. package/output/text30.dtel.mjs +6 -0
  622. package/output/text80.dtel.mjs +6 -0
  623. package/output/textpool.tabl.mjs +5 -0
  624. package/output/tfdir.tabl.mjs +5 -0
  625. package/output/tihttpnvp.ttyp.mjs +4 -0
  626. package/output/timestamp.dtel.mjs +6 -0
  627. package/output/timestampl.dtel.mjs +6 -0
  628. package/output/timezone.dtel.mjs +6 -0
  629. package/output/tline.tabl.mjs +5 -0
  630. package/output/tline_tab.ttyp.mjs +4 -0
  631. package/output/trfunction.dtel.mjs +6 -0
  632. package/output/trkorr.dtel.mjs +6 -0
  633. package/output/tzntstmpl.dtel.mjs +6 -0
  634. package/output/uname.dtel.mjs +6 -0
  635. package/output/w3mime.tabl.mjs +5 -0
  636. package/output/wwwdatatab.tabl.mjs +5 -0
  637. package/output/wwwparams.tabl.mjs +5 -0
  638. package/output/xfeld.dtel.mjs +6 -0
  639. package/output/xsdboolean.dtel.mjs +6 -0
  640. package/output/xsdtime_t.dtel.mjs +6 -0
  641. package/output/zw3mi.fugr.saplzw3mi.mjs +5 -0
  642. package/output/zw3mi.fugr.saplzw3mi.mjs.map +8 -0
  643. package/output/zw3mi.fugr.wwwdata_export.mjs +14 -0
  644. package/output/zw3mi.fugr.wwwdata_export.mjs.map +8 -0
  645. package/output/zw3mi.fugr.wwwdata_import.mjs +14 -0
  646. package/output/zw3mi.fugr.wwwdata_import.mjs.map +8 -0
  647. package/output/zw3mi.fugr.wwwparams_insert.mjs +12 -0
  648. package/output/zw3mi.fugr.wwwparams_insert.mjs.map +8 -0
  649. package/output/zw3mi.fugr.wwwparams_read.mjs +27 -0
  650. package/output/zw3mi.fugr.wwwparams_read.mjs.map +8 -0
  651. package/package.json +3 -3
@@ -0,0 +1,6 @@
1
+ abap.DDIC["INT1"] = {
2
+ "objectType": "DTEL",
3
+ "type": new abap.types.Integer({qualifiedName: "INT1"}),
4
+ "domain": undefined,
5
+ "fixedValues": undefined,
6
+ };
@@ -0,0 +1,6 @@
1
+ abap.DDIC["INT2"] = {
2
+ "objectType": "DTEL",
3
+ "type": new abap.types.Integer({qualifiedName: "INT2"}),
4
+ "domain": undefined,
5
+ "fixedValues": undefined,
6
+ };
@@ -0,0 +1,6 @@
1
+ abap.DDIC["INT4"] = {
2
+ "objectType": "DTEL",
3
+ "type": new abap.types.Integer({qualifiedName: "INT4"}),
4
+ "domain": undefined,
5
+ "fixedValues": undefined,
6
+ };
@@ -0,0 +1,20 @@
1
+ const {cx_root} = await import("./cx_root.clas.mjs");
2
+ // kernel_authority_check.clas.abap
3
+ class kernel_authority_check {
4
+ static INTERNAL_TYPE = 'CLAS';
5
+ static IMPLEMENTED_INTERFACES = [];
6
+ async constructor_(INPUT) {
7
+ this.me = new abap.types.ABAPObject();
8
+ this.me.set(this);
9
+ return this;
10
+ }
11
+ async call() {
12
+ return kernel_authority_check.call();
13
+ }
14
+ static async call() {
15
+ abap.builtin.sy.get().subrc.set(new abap.types.Integer().set(0));
16
+ }
17
+ }
18
+ abap.Classes['KERNEL_AUTHORITY_CHECK'] = kernel_authority_check;
19
+ export {kernel_authority_check};
20
+ //# sourceMappingURL=kernel_authority_check.clas.mjs.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [
4
+ "kernel_authority_check.clas.abap"
5
+ ],
6
+ "names": [],
7
+ "mappings": ";;AAMA;;;;;;;;EAEE;;;;IAEE,eAAE,MAAC,WAAQ,+BAAC;EACd;AAEF",
8
+ "file": "kernel_authority_check.clas.mjs",
9
+ "sourceRoot": ""
10
+ }
@@ -0,0 +1,28 @@
1
+ const {cx_root} = await import("./cx_root.clas.mjs");
2
+ // kernel_call.clas.abap
3
+ class kernel_call {
4
+ static INTERNAL_TYPE = 'CLAS';
5
+ static IMPLEMENTED_INTERFACES = [];
6
+ async constructor_(INPUT) {
7
+ this.me = new abap.types.ABAPObject();
8
+ this.me.set(this);
9
+ return this;
10
+ }
11
+ async call(INPUT) {
12
+ return kernel_call.call(INPUT);
13
+ }
14
+ static async call(INPUT) {
15
+ let input = new abap.types.Character(4);
16
+ if (INPUT && INPUT.input) {input = INPUT.input;}
17
+ let uuid = new abap.types.Hex({length: 16});
18
+ let name = new abap.types.String({qualifiedName: "STRING"});
19
+ name.set(INPUT.name);
20
+ if (abap.compare.eq(name, new abap.types.Character(10).set('RFCControl'))) {
21
+ uuid.set((await abap.Classes['CL_SYSTEM_UUID'].if_system_uuid_static$create_uuid_x16()));
22
+ INPUT.uuid.set(uuid);
23
+ }
24
+ }
25
+ }
26
+ abap.Classes['KERNEL_CALL'] = kernel_call;
27
+ export {kernel_call};
28
+ //# sourceMappingURL=kernel_call.clas.mjs.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [
4
+ "kernel_call.clas.abap"
5
+ ],
6
+ "names": [],
7
+ "mappings": ";;AASA;;;;;;;;EAEE;;;;;;QAEO,uCAAqB;QACrB,uDAAgB;IAErB;IAEA,iBAAQ,GAAL,MAAO,+CAAY;MACpB,UAAO,6EAAwD;MAC/D;IACF;EAEF;AAEF",
8
+ "file": "kernel_call.clas.mjs",
9
+ "sourceRoot": ""
10
+ }
@@ -0,0 +1,182 @@
1
+ const {cx_root} = await import("./cx_root.clas.mjs");
2
+ // kernel_call_transformation.clas.abap
3
+ class kernel_call_transformation {
4
+ static INTERNAL_TYPE = 'CLAS';
5
+ static IMPLEMENTED_INTERFACES = [];
6
+ async constructor_(INPUT) {
7
+ this.me = new abap.types.ABAPObject();
8
+ this.me.set(this);
9
+ return this;
10
+ }
11
+ async call(INPUT) {
12
+ return kernel_call_transformation.call(INPUT);
13
+ }
14
+ static async call(INPUT) {
15
+ let input = new abap.types.Character(4);
16
+ if (INPUT && INPUT.input) {input = INPUT.input;}
17
+ let lv_name = new abap.types.String({qualifiedName: "STRING"});
18
+ let lv_source = new abap.types.String({qualifiedName: "STRING"});
19
+ let result = new abap.types.DataReference(new abap.types.Character(4));
20
+ let lt_rtab = new abap.types.Table(new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"}), "value": new abap.types.DataReference(new abap.types.Character(4))}, "abap_trans_srcbind"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "abap_trans_srcbind_tab");
21
+ let ls_rtab = new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"}), "value": new abap.types.DataReference(new abap.types.Character(4))}, "abap_trans_srcbind");
22
+ let lv_type = new abap.types.String({qualifiedName: "STRING"});
23
+ abap.statements.clear(kernel_call_transformation.mi_doc);
24
+ abap.statements.clear(kernel_call_transformation.mi_writer);
25
+ lv_name.set(INPUT.name.toUpperCase());
26
+ abap.statements.assert(abap.compare.eq(lv_name, new abap.types.Character(2).set('ID')));
27
+ if (INPUT.sourceXML?.constructor.name === "ABAPObject") this.mi_doc.set(INPUT.sourceXML);
28
+ if (INPUT.sourceXML?.constructor.name === "String") lv_source.set(INPUT.sourceXML);
29
+ if (abap.compare.initial(lv_source) === false) {
30
+ if (abap.compare.eq(lv_source.getOffset({length: 1}), new abap.types.Character(1).set('<'))) {
31
+ lv_type.set(new abap.types.Character(3).set('XML'));
32
+ await this.parse_xml({iv_xml: lv_source});
33
+ } else if (abap.compare.eq(lv_source.getOffset({length: 1}), new abap.types.Character(1).set('{')) || abap.compare.eq(lv_source.getOffset({length: 1}), new abap.types.Character(1).set('['))) {
34
+ lv_type.set(new abap.types.Character(4).set('JSON'));
35
+ kernel_call_transformation.mi_doc.set((await abap.Classes['KERNEL_JSON_TO_IXML'].build({iv_json: lv_source})));
36
+ } else {
37
+ throw await (new abap.Classes['CX_XSLT_FORMAT_ERROR']()).constructor_();
38
+ }
39
+ }
40
+ if (typeof INPUT.source === "object" && INPUT.resultXML?.constructor.name === "ABAPObject") {
41
+ this.mi_writer.set(INPUT.resultXML);
42
+ }
43
+ if (abap.compare.initial(kernel_call_transformation.mi_writer) === false) {
44
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$open_element({name: new abap.types.Character(6).set('object')});
45
+ for (const name in INPUT.source) {
46
+ lv_name.set(name);
47
+ if (INPUT.source[name].constructor.name === "FieldSymbol") {
48
+ result.assign(INPUT.source[name].getPointer());
49
+ } else {
50
+ result.assign(INPUT.source[name]);
51
+ }
52
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$open_element({name: new abap.types.Character(3).set('str')});
53
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$write_attribute({name: new abap.types.Character(4).set('name'), value: abap.builtin.to_upper({val: lv_name})});
54
+ await this.traverse_write({iv_ref: result});
55
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$close_element();
56
+ }
57
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$close_element();
58
+ return;
59
+ }
60
+ if (abap.compare.initial(lv_source) && abap.compare.initial(kernel_call_transformation.mi_doc)) {
61
+ throw await (new abap.Classes['CX_XSLT_RUNTIME_ERROR']()).constructor_();
62
+ }
63
+ if (INPUT.result.constructor.name === "Table") {
64
+ lt_rtab = INPUT.result;
65
+ for await (const unique45 of abap.statements.loop(lt_rtab)) {
66
+ ls_rtab.set(unique45);
67
+ await abap.Classes['KERNEL_IXML_XML_TO_DATA'].build({iv_name: ls_rtab.get().name, iv_ref: ls_rtab.get().value, ii_doc: kernel_call_transformation.mi_doc});
68
+ }
69
+ } else {
70
+ for (const name in INPUT.result) {
71
+ lv_name.set(name.toUpperCase());
72
+ if (INPUT.result[name].constructor.name === "FieldSymbol") {
73
+ result.assign(INPUT.result[name].getPointer());
74
+ } else {
75
+ result.assign(INPUT.result[name]);
76
+ }
77
+ if (abap.compare.eq(lv_type, new abap.types.Character(4).set('JSON'))) {
78
+ await abap.Classes['KERNEL_IXML_JSON_TO_DATA'].build({iv_name: lv_name, iv_ref: result, ii_doc: kernel_call_transformation.mi_doc});
79
+ } else {
80
+ await abap.Classes['KERNEL_IXML_XML_TO_DATA'].build({iv_name: lv_name, iv_ref: result, ii_doc: kernel_call_transformation.mi_doc});
81
+ }
82
+ }
83
+ }
84
+ }
85
+ async traverse_write_type(INPUT) {
86
+ return kernel_call_transformation.traverse_write_type(INPUT);
87
+ }
88
+ static async traverse_write_type(INPUT) {
89
+ let rv_type = new abap.types.String({qualifiedName: "STRING"});
90
+ let iv_ref = new abap.types.DataReference(new abap.types.Character(4));
91
+ if (INPUT && INPUT.iv_ref) {iv_ref = INPUT.iv_ref;}
92
+ let lo_type = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TYPEDESCR"});
93
+ lo_type.set((await abap.Classes['CL_ABAP_TYPEDESCR'].describe_by_data({p_data: (iv_ref).dereference()})));
94
+ let unique46 = lo_type.get().type_kind;
95
+ if (abap.compare.eq(unique46, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_int) || abap.compare.eq(unique46, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_int1) || abap.compare.eq(unique46, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_int2) || abap.compare.eq(unique46, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_int8) || abap.compare.eq(unique46, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_decfloat) || abap.compare.eq(unique46, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_decfloat16) || abap.compare.eq(unique46, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_decfloat34)) {
96
+ rv_type.set(new abap.types.Character(3).set('num'));
97
+ } else {
98
+ rv_type.set(new abap.types.Character(3).set('str'));
99
+ }
100
+ return rv_type;
101
+ }
102
+ async traverse_write(INPUT) {
103
+ return kernel_call_transformation.traverse_write(INPUT);
104
+ }
105
+ static async traverse_write(INPUT) {
106
+ let iv_ref = new abap.types.DataReference(new abap.types.Character(4));
107
+ if (INPUT && INPUT.iv_ref) {iv_ref = INPUT.iv_ref;}
108
+ let lo_type = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TYPEDESCR"});
109
+ let lo_struc = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_STRUCTDESCR"});
110
+ let lt_comps = new abap.types.Table(new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"}), "type": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"}), "as_include": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "suffix": new abap.types.String({qualifiedName: "SUFFIX"})}, "abap_componentdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "abap_component_tab");
111
+ let li_element = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT"});
112
+ let li_sub = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT"});
113
+ let ls_compo = new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"}), "type": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"}), "as_include": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "suffix": new abap.types.String({qualifiedName: "SUFFIX"})}, "abap_componentdescr");
114
+ let lv_ref = new abap.types.DataReference(new abap.types.Character(4));
115
+ let fs_any_ = new abap.types.FieldSymbol(new abap.types.Character(4));
116
+ let fs_table_ = new abap.types.FieldSymbol(new abap.types.Table(new abap.types.Character(4), {"withHeader":false}));
117
+ let fs_field_ = new abap.types.FieldSymbol(new abap.types.Character(4));
118
+ lo_type.set((await abap.Classes['CL_ABAP_TYPEDESCR'].describe_by_data({p_data: (iv_ref).dereference()})));
119
+ let unique47 = lo_type.get().kind;
120
+ if (abap.compare.eq(unique47, abap.Classes['CL_ABAP_TYPEDESCR'].kind_struct)) {
121
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$open_element({name: new abap.types.Character(6).set('object')});
122
+ await abap.statements.cast(lo_struc, lo_type);
123
+ lt_comps.set((await lo_struc.get().get_components()));
124
+ abap.statements.assign({target: fs_any_, source: (iv_ref).dereference()});
125
+ for await (const unique48 of abap.statements.loop(lt_comps)) {
126
+ ls_compo.set(unique48);
127
+ abap.statements.assign({component: ls_compo.get().name, target: fs_field_, source: fs_any_});
128
+ lv_ref.assign(fs_field_.getPointer());
129
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$open_element({name: (await this.traverse_write_type({iv_ref: lv_ref}))});
130
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$write_attribute({name: new abap.types.Character(4).set('name'), value: abap.builtin.to_upper({val: ls_compo.get().name})});
131
+ await this.traverse_write({iv_ref: lv_ref});
132
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$close_element();
133
+ }
134
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$close_element();
135
+ } else if (abap.compare.eq(unique47, abap.Classes['CL_ABAP_TYPEDESCR'].kind_elem)) {
136
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$write_value({value: (iv_ref).dereference()});
137
+ } else if (abap.compare.eq(unique47, abap.Classes['CL_ABAP_TYPEDESCR'].kind_table)) {
138
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$open_element({name: new abap.types.Character(5).set('array')});
139
+ abap.statements.assign({target: fs_table_, source: (iv_ref).dereference()});
140
+ for await (const unique49 of abap.statements.loop(fs_table_)) {
141
+ fs_any_.assign(unique49);
142
+ lv_ref.assign(fs_any_.getPointer());
143
+ if (abap.compare.eq(((await abap.Classes['CL_ABAP_TYPEDESCR'].describe_by_data({p_data: (lv_ref).dereference()}))).get().kind, abap.Classes['CL_ABAP_TYPEDESCR'].kind_elem)) {
144
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$open_element({name: (await this.traverse_write_type({iv_ref: lv_ref}))});
145
+ }
146
+ await this.traverse_write({iv_ref: lv_ref});
147
+ if (abap.compare.eq(((await abap.Classes['CL_ABAP_TYPEDESCR'].describe_by_data({p_data: (lv_ref).dereference()}))).get().kind, abap.Classes['CL_ABAP_TYPEDESCR'].kind_elem)) {
148
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$close_element();
149
+ }
150
+ }
151
+ await kernel_call_transformation.mi_writer.get().if_sxml_writer$close_element();
152
+ } else {
153
+ abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(19).set('todo_traverse_write')));
154
+ }
155
+ }
156
+ async parse_xml(INPUT) {
157
+ return kernel_call_transformation.parse_xml(INPUT);
158
+ }
159
+ static async parse_xml(INPUT) {
160
+ let iv_xml = new abap.types.String({qualifiedName: "STRING"});
161
+ if (INPUT && INPUT.iv_xml) {iv_xml.set(INPUT.iv_xml);}
162
+ let li_factory = new abap.types.ABAPObject({qualifiedName: "IF_IXML_STREAM_FACTORY"});
163
+ let li_istream = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ISTREAM"});
164
+ let li_parser = new abap.types.ABAPObject({qualifiedName: "IF_IXML_PARSER"});
165
+ let li_ixml = new abap.types.ABAPObject({qualifiedName: "IF_IXML"});
166
+ let lv_subrc = new abap.types.Integer({qualifiedName: "I"});
167
+ li_ixml.set((await abap.Classes['CL_IXML'].create()));
168
+ kernel_call_transformation.mi_doc.set((await li_ixml.get().if_ixml$create_document()));
169
+ li_factory.set((await li_ixml.get().if_ixml$create_stream_factory()));
170
+ li_istream.set((await li_factory.get().if_ixml_stream_factory$create_istream_string({xml: iv_xml})));
171
+ li_parser.set((await li_ixml.get().if_ixml$create_parser({stream_factory: li_factory, istream: li_istream, document: kernel_call_transformation.mi_doc})));
172
+ await li_parser.get().if_ixml_parser$add_strip_space_element();
173
+ lv_subrc.set((await li_parser.get().if_ixml_parser$parse()));
174
+ await li_istream.get().if_ixml_istream$close();
175
+ abap.statements.assert(abap.compare.eq(lv_subrc, new abap.types.Integer().set(0)));
176
+ }
177
+ }
178
+ abap.Classes['KERNEL_CALL_TRANSFORMATION'] = kernel_call_transformation;
179
+ kernel_call_transformation.mi_doc = new abap.types.ABAPObject({qualifiedName: "IF_IXML_DOCUMENT"});
180
+ kernel_call_transformation.mi_writer = new abap.types.ABAPObject({qualifiedName: "IF_SXML_WRITER"});
181
+ export {kernel_call_transformation};
182
+ //# sourceMappingURL=kernel_call_transformation.clas.mjs.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [
4
+ "kernel_call_transformation.clas.abap"
5
+ ],
6
+ "names": [],
7
+ "mappings": ";;AAgBA;;;;;;;;EAEE;;;;;;QAIO,0DAAqB;QACrB,4DAAqB;QACrB,kEAA0B;QAC1B,iWAAqC;QACrC,sLAA8B;QAC9B,0DAAqB;IAE1B,sBAAM,iCAAM;IACZ,sBAAM,oCAAS;IAKf;IACA,oCAAe,GAAR,SAAU,sCAAI;IAGrB;IACA;IACA,yBAAG,oBAAwB;MACzB,iBAAgB,GAAb,kCAAe,qCAAG;QACnB,YAAU,sCAAK;iDACO;MACxB,wBAAoB,GAAb,kCAAe,qCAAI,iBAAgB,GAAb,kCAAe,qCAAG;QAC7C,YAAU,uCAAM;QAChB,uCAAS,sEAAuC;MAClD;QACE;MACF;IACF;IAGA;MACA;IACA;IAEA,yBAAG,+CAAwB;qIAGiB;MAC1C;QACA;QACA;UACA;UACA;YACA;YACA;wIACuC;0LACgC;uDAC/C;2FACG;UAC3B;yFAC2B;UAC3B;QACF;QAEA,yBAAG,UAAqB,yBAAI,kCAAiB;UAC3C;QACF;QAEA;UAEA;;;sKAKsB;UACtB;QACA;UAEA;YACA;YACA;cACA;cACA;gBACA;gBACA;gBACA,iBAAW,GAAR,SAAU,wCAAM;qJAIG;gBACtB;oJAIsB;gBACtB;cACA;YACA;UAIF;UAEA;;;;;;;gBACO,yEAAqC;YAC1C,aAAU,2FAAgD;YAC1D,IACE,WADG,OAAO,OAAE,SAAd;;cAQI,YAAU,sCAAK;;cAEf,YAAU,sCAAK;;YAErB;;UAEA;;;;;;gBAGO,yEAAqC;gBACrC,4EAAwC;gBACxC,igBAAkD;gBAClD,0EAAsC;gBACtC,sEAAkC;gBAClC,0VAA8B;gBAC9B,kEAAuB;YAC5B,IAAc,OAAc;YAC5B,IAAc,SAAsB;YACpC,IAAc,SAAgB;YAG9B,aAAU,2FAAgD;YAE1D,IACE,OAgBA,AAEA,IAnBG,OAAO,OAAE,IAAd;;6IAE8C;yCAE1C,UAAY,OAAO;cACnB,cAAW,sCAA2B;cACtC,uEAAyB;;;gBAEvB,0FAA4D;gBAC9B,cAAb,sBAAmB;wJAC2B;0MACc;2DACrD;+FACG;cAC7B;6FAE2B;;0HAEQ;;4IAEM;cAEzC,yEAA2B;;;gBAEG,cAAX,oBAAiB;gBAClC,iBAA0D,KAAvD,mGAAkD,MAAO,kCAAmB,UAAS;0JACvB;gBACjE;2DACwB;gBACxB,iBAA0D,KAAvD,mGAAkD,MAAO,kCAAmB,UAAS;iGAC3D;gBAC7B;cACF;6FAE2B;;cAE3B,oCAAS,GAAF,iCAAI,wDAAqB;;UAGtC;UAEA;;;;;;gBAEO,iFAA6C;gBAC7C,0EAAsC;gBACtC,wEAAqC;gBACrC,+DAA8B;gBAC9B,uDAAiB;YAEtB,aAAU,uCAAkB;YAC5B,uCAAU,8CAA2B;YAErC,gBAAa,oDAAiC;YAC9C,gBAAa,mFAA2C;YACxD,eAAY,0IAEiD;0EACxB;YACrC,cAAW,6CAAmB;0DACV;YAEpB,oCAAgB,GAAT,UAAW,gCAAC;UAErB;QAEF",
8
+ "file": "kernel_call_transformation.clas.mjs",
9
+ "sourceRoot": ""
10
+ }
@@ -0,0 +1,121 @@
1
+ const {cx_root} = await import("./cx_root.clas.mjs");
2
+ // kernel_create_data_handle.clas.abap
3
+ class kernel_create_data_handle {
4
+ static INTERNAL_TYPE = 'CLAS';
5
+ static IMPLEMENTED_INTERFACES = [];
6
+ async constructor_(INPUT) {
7
+ this.me = new abap.types.ABAPObject();
8
+ this.me.set(this);
9
+ return this;
10
+ }
11
+ async call(INPUT) {
12
+ return kernel_create_data_handle.call(INPUT);
13
+ }
14
+ static async call(INPUT) {
15
+ let handle = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
16
+ if (INPUT && INPUT.handle) {handle.set(INPUT.handle);}
17
+ let dref = new abap.types.DataReference(new abap.types.Character(4));
18
+ if (INPUT && INPUT.dref) {dref = INPUT.dref;}
19
+ abap.statements.assert(abap.compare.initial(handle) === false);
20
+ let unique61 = handle.get().kind;
21
+ if (abap.compare.eq(unique61, abap.Classes['CL_ABAP_TYPEDESCR'].kind_elem)) {
22
+ await this.elem({handle: handle, dref: dref});
23
+ } else if (abap.compare.eq(unique61, abap.Classes['CL_ABAP_TYPEDESCR'].kind_struct)) {
24
+ await this.struct({handle: handle, dref: dref});
25
+ } else if (abap.compare.eq(unique61, abap.Classes['CL_ABAP_TYPEDESCR'].kind_table)) {
26
+ await this.table({handle: handle, dref: dref});
27
+ } else if (abap.compare.eq(unique61, abap.Classes['CL_ABAP_TYPEDESCR'].kind_ref)) {
28
+ await this.ref({handle: handle, dref: dref});
29
+ } else {
30
+ console.dir(handle);
31
+ abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
32
+ }
33
+ }
34
+ async ref(INPUT) {
35
+ return kernel_create_data_handle.ref(INPUT);
36
+ }
37
+ static async ref(INPUT) {
38
+ let handle = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
39
+ if (INPUT && INPUT.handle) {handle.set(INPUT.handle);}
40
+ let dref = new abap.types.DataReference(new abap.types.Character(4));
41
+ if (INPUT && INPUT.dref) {dref = INPUT.dref;}
42
+ let lo_ref = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_REFDESCR"});
43
+ let lo_data = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
44
+ let field = new abap.types.DataReference(new abap.types.Character(4));
45
+ await abap.statements.cast(lo_ref, handle);
46
+ await abap.statements.cast(lo_data, (await lo_ref.get().get_referenced_type()));
47
+ await this.call({handle: lo_data, dref: field});
48
+ dref.assign(new abap.types.DataReference(field.getPointer()));
49
+ }
50
+ async struct(INPUT) {
51
+ return kernel_create_data_handle.struct(INPUT);
52
+ }
53
+ static async struct(INPUT) {
54
+ let handle = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
55
+ if (INPUT && INPUT.handle) {handle.set(INPUT.handle);}
56
+ let dref = new abap.types.DataReference(new abap.types.Character(4));
57
+ if (INPUT && INPUT.dref) {dref = INPUT.dref;}
58
+ let lo_struct = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_STRUCTDESCR"});
59
+ let lt_components = new abap.types.Table(new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"}), "type": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"}), "as_include": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "suffix": new abap.types.String({qualifiedName: "SUFFIX"})}, "abap_componentdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "abap_component_tab");
60
+ let ls_component = new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"}), "type": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"}), "as_include": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "suffix": new abap.types.String({qualifiedName: "SUFFIX"})}, "abap_componentdescr");
61
+ let field = new abap.types.DataReference(new abap.types.Character(4));
62
+ await abap.statements.cast(lo_struct, handle);
63
+ lt_components.set((await lo_struct.get().get_components()));
64
+ let obj = {};
65
+ for await (const unique62 of abap.statements.loop(lt_components)) {
66
+ ls_component.set(unique62);
67
+ await this.call({handle: (await lo_struct.get().get_component_type({p_name: ls_component.get().name})), dref: field});
68
+ obj[ls_component.get().name.get().toLowerCase()] = field.getPointer();
69
+ }
70
+ dref.assign(new abap.types.Structure(obj));
71
+ }
72
+ async table(INPUT) {
73
+ return kernel_create_data_handle.table(INPUT);
74
+ }
75
+ static async table(INPUT) {
76
+ let handle = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
77
+ if (INPUT && INPUT.handle) {handle.set(INPUT.handle);}
78
+ let dref = new abap.types.DataReference(new abap.types.Character(4));
79
+ if (INPUT && INPUT.dref) {dref = INPUT.dref;}
80
+ let lo_table = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TABLEDESCR"});
81
+ let field = new abap.types.DataReference(new abap.types.Character(4));
82
+ await abap.statements.cast(lo_table, handle);
83
+ await this.call({handle: (await lo_table.get().get_table_line_type()), dref: field});
84
+ dref.assign(new abap.types.Table(field.getPointer()));
85
+ }
86
+ async elem(INPUT) {
87
+ return kernel_create_data_handle.elem(INPUT);
88
+ }
89
+ static async elem(INPUT) {
90
+ let handle = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
91
+ if (INPUT && INPUT.handle) {handle.set(INPUT.handle);}
92
+ let dref = new abap.types.DataReference(new abap.types.Character(4));
93
+ if (INPUT && INPUT.dref) {dref = INPUT.dref;}
94
+ let unique63 = handle.get().type_kind;
95
+ if (abap.compare.eq(unique63, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_float)) {
96
+ abap.statements.createData(dref,{"typeName": "F"});
97
+ } else if (abap.compare.eq(unique63, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_string)) {
98
+ abap.statements.createData(dref,{"typeName": "STRING"});
99
+ } else if (abap.compare.eq(unique63, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_xstring)) {
100
+ abap.statements.createData(dref,{"typeName": "XSTRING"});
101
+ } else if (abap.compare.eq(unique63, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_int)) {
102
+ abap.statements.createData(dref,{"typeName": "I"});
103
+ } else if (abap.compare.eq(unique63, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_date)) {
104
+ abap.statements.createData(dref,{"typeName": "D"});
105
+ } else if (abap.compare.eq(unique63, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_hex)) {
106
+ abap.statements.createData(dref,{"typeName": "X","length": handle.get().length});
107
+ } else if (abap.compare.eq(unique63, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_packed)) {
108
+ abap.statements.createData(dref,{"typeName": "P","length": handle.get().length,"decimals": handle.get().decimals});
109
+ } else if (abap.compare.eq(unique63, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_char)) {
110
+ abap.statements.createData(dref,{"typeName": "C","length": handle.get().length});
111
+ } else if (abap.compare.eq(unique63, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_time)) {
112
+ abap.statements.createData(dref,{"typeName": "T"});
113
+ } else {
114
+ console.dir(handle);
115
+ abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
116
+ }
117
+ }
118
+ }
119
+ abap.Classes['KERNEL_CREATE_DATA_HANDLE'] = kernel_create_data_handle;
120
+ export {kernel_create_data_handle};
121
+ //# sourceMappingURL=kernel_create_data_handle.clas.mjs.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [
4
+ "kernel_create_data_handle.clas.abap"
5
+ ],
6
+ "names": [],
7
+ "mappings": ";;AA8BA;;;;;;;;EAEE;;;;;;;;IACE,4CAAO,iBAAe;IAEtB,IACE,OAGA,AAGA,AAGA,IAVG,MAAM,OAAE,IAAb;;mDAGgC;;qDAGE;;oDAGD;;kDAGF;;MAE3B;MACA,oCAAS,GAAF,iCAAI,wCAAM;;EAEvB;EAEA;;;;;;;;QACO,uEAAoC;QACpC,yEAAqC;QACrC,iEAAwB;+BAE7B,QAAU,MAAM;+BAChB,UAAW,yCAA8B;mDAKrB;IAEpB;EACF;EAEA;;;;;;;;QACO,6EAA6C;QAC7C,sgBAAuD;QACvD,8VAAwC;QACxC,iEAA8B;+BAEnC,WAAa,MAAM;IACnB,mBAAgB,uCAA4B;IAC5C;;;2HAOsB;MACpB;IACF;IACA;EACF;EAEA;;;;;;;;QACO,2EAAuC;QACvC,iEAAyB;+BAE9B,UAAY,MAAM;wFAME;IAEpB;EACF;EAEA;;;;;;;;IACE,IACE,OAEA,AAEA,AAEA,AAEA,AAEA,AAEA,AAEA,AAEA,IAjBG,MAAM,OAAE,SAAb;;;;;;;;;;;;;;;;;;;;MAoBI;MACA,oCAAS,GAAF,iCAAI,wCAAM;;EAEvB;AAEF",
8
+ "file": "kernel_create_data_handle.clas.mjs",
9
+ "sourceRoot": ""
10
+ }
@@ -0,0 +1,33 @@
1
+ const {cx_dynamic_check} = await import("./cx_dynamic_check.clas.mjs");
2
+ const {cx_root} = await import("./cx_root.clas.mjs");
3
+ // kernel_cx_assert.clas.abap
4
+ class kernel_cx_assert extends cx_dynamic_check {
5
+ static INTERNAL_TYPE = 'CLAS';
6
+ static IMPLEMENTED_INTERFACES = [];
7
+ async constructor_(INPUT) {
8
+ this.me = new abap.types.ABAPObject();
9
+ this.me.set(this);
10
+ this.actual = new abap.types.String({qualifiedName: "STRING"});
11
+ this.expected = new abap.types.String({qualifiedName: "STRING"});
12
+ this.msg = new abap.types.String({qualifiedName: "STRING"});
13
+ let msg = new abap.types.String({qualifiedName: "STRING"});
14
+ if (INPUT && INPUT.msg) {msg.set(INPUT.msg);}
15
+ let previous = new abap.types.ABAPObject({qualifiedName: "CX_ROOT"});
16
+ if (INPUT && INPUT.previous) {previous.set(INPUT.previous);}
17
+ let expected = new abap.types.String({qualifiedName: "STRING"});
18
+ if (INPUT && INPUT.expected) {expected.set(INPUT.expected);}
19
+ let actual = new abap.types.String({qualifiedName: "STRING"});
20
+ if (INPUT && INPUT.actual) {actual.set(INPUT.actual);}
21
+ await super.constructor_({previous: previous});
22
+ this.me.get().expected.set(expected);
23
+ this.me.get().actual.set(actual);
24
+ this.me.get().msg.set(msg);
25
+ if (abap.compare.initial(this.me.get().msg)) {
26
+ this.me.get().msg.set(new abap.types.String().set(`Unit test assertion failed`));
27
+ }
28
+ return this;
29
+ }
30
+ }
31
+ abap.Classes['KERNEL_CX_ASSERT'] = kernel_cx_assert;
32
+ export {kernel_cx_assert};
33
+ //# sourceMappingURL=kernel_cx_assert.clas.mjs.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [
4
+ "kernel_cx_assert.clas.abap"
5
+ ],
6
+ "names": [],
7
+ "mappings": ";;;AAcA;;;EAEE;;;;;;;;;;;;;;kDAC2C;IACzC,OAAE,OAAE,aAAW,QAAQ;IACvB,OAAE,OAAE,WAAS,MAAM;IACnB,OAAE,OAAE,QAAM,GAAG;IACb,yBAAG,OAAE,OAAE,IAAc;MACnB,OAAE,OAAE,iEAAkC;IACxC;IACF;;AAEF",
8
+ "file": "kernel_cx_assert.clas.mjs",
9
+ "sourceRoot": ""
10
+ }
@@ -0,0 +1,14 @@
1
+ const {cx_root} = await import("./cx_root.clas.mjs");
2
+ // kernel_fugr_test.clas.abap
3
+ class kernel_fugr_test {
4
+ static INTERNAL_TYPE = 'CLAS';
5
+ static IMPLEMENTED_INTERFACES = [];
6
+ async constructor_(INPUT) {
7
+ this.me = new abap.types.ABAPObject();
8
+ this.me.set(this);
9
+ return this;
10
+ }
11
+ }
12
+ abap.Classes['KERNEL_FUGR_TEST'] = kernel_fugr_test;
13
+ export {kernel_fugr_test};
14
+ //# sourceMappingURL=kernel_fugr_test.clas.mjs.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [
4
+ "kernel_fugr_test.clas.abap"
5
+ ],
6
+ "names": [],
7
+ "mappings": ";;AAIA;;;;;;;;AAEA",
8
+ "file": "kernel_fugr_test.clas.mjs",
9
+ "sourceRoot": ""
10
+ }
@@ -0,0 +1,145 @@
1
+ const {cx_root} = await import("./cx_root.clas.mjs");
2
+ // kernel_ixml_json_to_data.clas.abap
3
+ class kernel_ixml_json_to_data {
4
+ static INTERNAL_TYPE = 'CLAS';
5
+ static IMPLEMENTED_INTERFACES = [];
6
+ async constructor_(INPUT) {
7
+ this.me = new abap.types.ABAPObject();
8
+ this.me.set(this);
9
+ return this;
10
+ }
11
+ async get_field_name(INPUT) {
12
+ return kernel_ixml_json_to_data.get_field_name(INPUT);
13
+ }
14
+ static async get_field_name(INPUT) {
15
+ let rv_name = new abap.types.String({qualifiedName: "STRING"});
16
+ let ii_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE"});
17
+ if (INPUT && INPUT.ii_node) {ii_node.set(INPUT.ii_node);}
18
+ let li_aiterator = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR"});
19
+ let li_anode = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE"});
20
+ let attr = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NAMED_NODE_MAP"});
21
+ attr.set((await ii_node.get().if_ixml_node$get_attributes()));
22
+ if (abap.compare.initial(attr) === false) {
23
+ li_aiterator.set((await attr.get().if_ixml_named_node_map$create_iterator()));
24
+ const indexBackup1 = abap.builtin.sy.get().index.get();
25
+ let unique50 = 1;
26
+ while (true) {
27
+ abap.builtin.sy.get().index.set(unique50++);
28
+ li_anode.set((await li_aiterator.get().if_ixml_node_iterator$get_next()));
29
+ if (abap.compare.initial(li_anode)) {
30
+ break;
31
+ }
32
+ rv_name.set((await li_anode.get().if_ixml_node$get_value()));
33
+ abap.builtin.sy.get().index.set(indexBackup1);
34
+ return rv_name;
35
+ }
36
+ abap.builtin.sy.get().index.set(indexBackup1);
37
+ }
38
+ return rv_name;
39
+ }
40
+ async build(INPUT) {
41
+ return kernel_ixml_json_to_data.build(INPUT);
42
+ }
43
+ static async build(INPUT) {
44
+ let iv_name = new abap.types.String({qualifiedName: "STRING"});
45
+ if (INPUT && INPUT.iv_name) {iv_name.set(INPUT.iv_name);}
46
+ let iv_ref = new abap.types.DataReference(new abap.types.Character(4));
47
+ if (INPUT && INPUT.iv_ref) {iv_ref = INPUT.iv_ref;}
48
+ let ii_doc = new abap.types.ABAPObject({qualifiedName: "IF_IXML_DOCUMENT"});
49
+ if (INPUT && INPUT.ii_doc) {ii_doc.set(INPUT.ii_doc);}
50
+ let li_first = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE"});
51
+ let li_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE"});
52
+ let lv_name = new abap.types.String({qualifiedName: "STRING"});
53
+ let li_iterator = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR"});
54
+ li_first.set((await (await ii_doc.get().if_ixml_document$get_root()).get().if_ixml_node$get_first_child()));
55
+ abap.statements.assert(abap.compare.eq((await li_first.get().if_ixml_node$get_name()), new abap.types.Character(6).set('object')));
56
+ li_iterator.set((await (await li_first.get().if_ixml_node$get_children()).get().if_ixml_node_list$create_iterator()));
57
+ const indexBackup1 = abap.builtin.sy.get().index.get();
58
+ let unique51 = 1;
59
+ while (true) {
60
+ abap.builtin.sy.get().index.set(unique51++);
61
+ li_node.set((await li_iterator.get().if_ixml_node_iterator$get_next()));
62
+ if (abap.compare.initial(li_node)) {
63
+ break;
64
+ }
65
+ lv_name.set((await this.get_field_name({ii_node: li_node})));
66
+ if (abap.compare.eq(lv_name, iv_name)) {
67
+ await this.traverse({iv_ref: iv_ref, ii_node: li_node});
68
+ abap.builtin.sy.get().index.set(indexBackup1);
69
+ return;
70
+ }
71
+ }
72
+ abap.builtin.sy.get().index.set(indexBackup1);
73
+ }
74
+ async traverse(INPUT) {
75
+ return kernel_ixml_json_to_data.traverse(INPUT);
76
+ }
77
+ static async traverse(INPUT) {
78
+ let ii_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE"});
79
+ if (INPUT && INPUT.ii_node) {ii_node.set(INPUT.ii_node);}
80
+ let iv_ref = new abap.types.DataReference(new abap.types.Character(4));
81
+ if (INPUT && INPUT.iv_ref) {iv_ref = INPUT.iv_ref;}
82
+ let lo_type = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TYPEDESCR"});
83
+ let li_child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE"});
84
+ let lv_name = new abap.types.String({qualifiedName: "STRING"});
85
+ let li_iterator = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR"});
86
+ let lv_ref = new abap.types.DataReference(new abap.types.Character(4));
87
+ let fs_any_ = new abap.types.FieldSymbol(new abap.types.Character(4));
88
+ let fs_field_ = new abap.types.FieldSymbol(new abap.types.Character(4));
89
+ let fs_tab_ = new abap.types.FieldSymbol(new abap.types.Table(new abap.types.Character(4), {"withHeader":false}));
90
+ lo_type.set((await abap.Classes['CL_ABAP_TYPEDESCR'].describe_by_data({p_data: (iv_ref).dereference()})));
91
+ let unique52 = lo_type.get().kind;
92
+ if (abap.compare.eq(unique52, abap.Classes['CL_ABAP_TYPEDESCR'].kind_struct)) {
93
+ abap.statements.assert(abap.compare.eq((await ii_node.get().if_ixml_node$get_name()), new abap.types.Character(6).set('object')));
94
+ abap.statements.assign({target: fs_any_, source: (iv_ref).dereference()});
95
+ li_iterator.set((await (await ii_node.get().if_ixml_node$get_children()).get().if_ixml_node_list$create_iterator()));
96
+ const indexBackup1 = abap.builtin.sy.get().index.get();
97
+ let unique53 = 1;
98
+ while (true) {
99
+ abap.builtin.sy.get().index.set(unique53++);
100
+ li_child.set((await li_iterator.get().if_ixml_node_iterator$get_next()));
101
+ if (abap.compare.initial(li_child)) {
102
+ break;
103
+ }
104
+ lv_name.set((await this.get_field_name({ii_node: li_child})));
105
+ abap.statements.assign({component: lv_name, target: fs_field_, source: fs_any_});
106
+ if (abap.compare.eq(abap.builtin.sy.get().subrc, new abap.types.Integer().set(0))) {
107
+ lv_ref.assign(fs_field_.getPointer());
108
+ await this.traverse({ii_node: li_child, iv_ref: lv_ref});
109
+ }
110
+ }
111
+ abap.builtin.sy.get().index.set(indexBackup1);
112
+ } else if (abap.compare.eq(unique52, abap.Classes['CL_ABAP_TYPEDESCR'].kind_elem)) {
113
+ li_child.set((await ii_node.get().if_ixml_node$get_first_child()));
114
+ abap.statements.assert(abap.compare.eq((await li_child.get().if_ixml_node$get_name()), new abap.types.Character(5).set('#text')));
115
+ abap.statements.assign({target: fs_any_, source: (iv_ref).dereference()});
116
+ fs_any_.set((await li_child.get().if_ixml_node$get_value()));
117
+ if (abap.compare.eq(lo_type.get().type_kind, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_char) || abap.compare.eq(lo_type.get().type_kind, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_clike) || abap.compare.eq(lo_type.get().type_kind, abap.Classes['CL_ABAP_TYPEDESCR'].typekind_string)) {
118
+ abap.statements.replace({target: fs_any_, all: true, with: new abap.types.Character(1).set('"'), of: new abap.types.Character(2).set('\\"')});
119
+ }
120
+ } else if (abap.compare.eq(unique52, abap.Classes['CL_ABAP_TYPEDESCR'].kind_table)) {
121
+ abap.statements.assert(abap.compare.eq((await ii_node.get().if_ixml_node$get_name()), new abap.types.Character(5).set('array')));
122
+ abap.statements.assign({target: fs_tab_, source: (iv_ref).dereference()});
123
+ li_iterator.set((await (await ii_node.get().if_ixml_node$get_children()).get().if_ixml_node_list$create_iterator()));
124
+ const indexBackup2 = abap.builtin.sy.get().index.get();
125
+ let unique54 = 1;
126
+ while (true) {
127
+ abap.builtin.sy.get().index.set(unique54++);
128
+ li_child.set((await li_iterator.get().if_ixml_node_iterator$get_next()));
129
+ if (abap.compare.initial(li_child)) {
130
+ break;
131
+ }
132
+ abap.statements.createData(lv_ref,{"likeLineOf": fs_tab_});
133
+ abap.statements.assign({target: fs_any_, source: (lv_ref).dereference()});
134
+ await this.traverse({ii_node: li_child, iv_ref: lv_ref});
135
+ abap.statements.insertInternal({data: fs_any_, table: fs_tab_});
136
+ }
137
+ abap.builtin.sy.get().index.set(indexBackup2);
138
+ } else {
139
+ console.dir(lo_type.get().kind.get());
140
+ }
141
+ }
142
+ }
143
+ abap.Classes['KERNEL_IXML_JSON_TO_DATA'] = kernel_ixml_json_to_data;
144
+ export {kernel_ixml_json_to_data};
145
+ //# sourceMappingURL=kernel_ixml_json_to_data.clas.mjs.map