@abaplint/transpiler-cli 2.3.112 → 2.3.113

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 +9 -2
  2. package/package.json +2 -2
  3. package/output/#ui2#cl_json.clas.locals.mjs +0 -207
  4. package/output/#ui2#cl_json.clas.locals.mjs.map +0 -10
  5. package/output/#ui2#cl_json.clas.mjs +0 -160
  6. package/output/#ui2#cl_json.clas.mjs.map +0 -10
  7. package/output/_init.mjs +0 -8964
  8. package/output/_top.mjs +0 -2
  9. package/output/_unit_open.mjs +0 -25
  10. package/output/abap_boolean.dtel.mjs +0 -6
  11. package/output/abap_callstack.ttyp.mjs +0 -4
  12. package/output/abap_callstack_line.tabl.mjs +0 -5
  13. package/output/abap_encod.dtel.mjs +0 -6
  14. package/output/balmnr.dtel.mjs +0 -6
  15. package/output/balognr.dtel.mjs +0 -6
  16. package/output/bapi_fld.dtel.mjs +0 -6
  17. package/output/bapi_line.dtel.mjs +0 -6
  18. package/output/bapi_msg.dtel.mjs +0 -6
  19. package/output/bapi_mtype.dtel.mjs +0 -6
  20. package/output/bapi_param.dtel.mjs +0 -6
  21. package/output/bapi_rcode.dtel.mjs +0 -6
  22. package/output/bapilogsys.dtel.mjs +0 -6
  23. package/output/bapioption.dtel.mjs +0 -6
  24. package/output/bapiret2.tabl.mjs +0 -5
  25. package/output/bapireturn.tabl.mjs +0 -5
  26. package/output/bapisign.dtel.mjs +0 -6
  27. package/output/boolean.dtel.mjs +0 -6
  28. package/output/char1.dtel.mjs +0 -6
  29. package/output/char10.dtel.mjs +0 -6
  30. package/output/char15.dtel.mjs +0 -6
  31. package/output/char25.dtel.mjs +0 -6
  32. package/output/char32.dtel.mjs +0 -6
  33. package/output/char4.dtel.mjs +0 -6
  34. package/output/cl_abap_char_utilities.clas.mjs +0 -72
  35. package/output/cl_abap_char_utilities.clas.mjs.map +0 -10
  36. package/output/cl_abap_classdescr.clas.mjs +0 -31
  37. package/output/cl_abap_classdescr.clas.mjs.map +0 -10
  38. package/output/cl_abap_codepage.clas.mjs +0 -54
  39. package/output/cl_abap_codepage.clas.mjs.map +0 -10
  40. package/output/cl_abap_complexdescr.clas.mjs +0 -16
  41. package/output/cl_abap_complexdescr.clas.mjs.map +0 -10
  42. package/output/cl_abap_conv_codepage.clas.locals.mjs +0 -42
  43. package/output/cl_abap_conv_codepage.clas.locals.mjs.map +0 -10
  44. package/output/cl_abap_conv_codepage.clas.mjs +0 -31
  45. package/output/cl_abap_conv_codepage.clas.mjs.map +0 -10
  46. package/output/cl_abap_conv_in_ce.clas.mjs +0 -118
  47. package/output/cl_abap_conv_in_ce.clas.mjs.map +0 -10
  48. package/output/cl_abap_conv_out_ce.clas.mjs +0 -82
  49. package/output/cl_abap_conv_out_ce.clas.mjs.map +0 -10
  50. package/output/cl_abap_datadescr.clas.mjs +0 -35
  51. package/output/cl_abap_datadescr.clas.mjs.map +0 -10
  52. package/output/cl_abap_elemdescr.clas.mjs +0 -148
  53. package/output/cl_abap_elemdescr.clas.mjs.map +0 -10
  54. package/output/cl_abap_enumdescr.clas.mjs +0 -19
  55. package/output/cl_abap_enumdescr.clas.mjs.map +0 -10
  56. package/output/cl_abap_exceptional_values.clas.mjs +0 -65
  57. package/output/cl_abap_exceptional_values.clas.mjs.map +0 -10
  58. package/output/cl_abap_format.clas.mjs +0 -26
  59. package/output/cl_abap_format.clas.mjs.map +0 -10
  60. package/output/cl_abap_gzip.clas.mjs +0 -87
  61. package/output/cl_abap_gzip.clas.mjs.map +0 -10
  62. package/output/cl_abap_hmac.clas.mjs +0 -64
  63. package/output/cl_abap_hmac.clas.mjs.map +0 -10
  64. package/output/cl_abap_intfdescr.clas.mjs +0 -16
  65. package/output/cl_abap_intfdescr.clas.mjs.map +0 -10
  66. package/output/cl_abap_matcher.clas.mjs +0 -76
  67. package/output/cl_abap_matcher.clas.mjs.map +0 -10
  68. package/output/cl_abap_math.clas.mjs +0 -41
  69. package/output/cl_abap_math.clas.mjs.map +0 -10
  70. package/output/cl_abap_objectdescr.clas.mjs +0 -76
  71. package/output/cl_abap_objectdescr.clas.mjs.map +0 -10
  72. package/output/cl_abap_random.clas.mjs +0 -52
  73. package/output/cl_abap_random.clas.mjs.map +0 -10
  74. package/output/cl_abap_random_int.clas.mjs +0 -35
  75. package/output/cl_abap_random_int.clas.mjs.map +0 -10
  76. package/output/cl_abap_refdescr.clas.mjs +0 -35
  77. package/output/cl_abap_refdescr.clas.mjs.map +0 -10
  78. package/output/cl_abap_regex.clas.mjs +0 -43
  79. package/output/cl_abap_regex.clas.mjs.map +0 -10
  80. package/output/cl_abap_structdescr.clas.mjs +0 -180
  81. package/output/cl_abap_structdescr.clas.mjs.map +0 -10
  82. package/output/cl_abap_tabledescr.clas.mjs +0 -152
  83. package/output/cl_abap_tabledescr.clas.mjs.map +0 -10
  84. package/output/cl_abap_tstmp.clas.mjs +0 -99
  85. package/output/cl_abap_tstmp.clas.mjs.map +0 -10
  86. package/output/cl_abap_typedescr.clas.mjs +0 -368
  87. package/output/cl_abap_typedescr.clas.mjs.map +0 -10
  88. package/output/cl_abap_unit_assert.clas.locals.mjs +0 -57
  89. package/output/cl_abap_unit_assert.clas.locals.mjs.map +0 -10
  90. package/output/cl_abap_unit_assert.clas.mjs +0 -323
  91. package/output/cl_abap_unit_assert.clas.mjs.map +0 -10
  92. package/output/cl_abap_zip.clas.locals.mjs +0 -115
  93. package/output/cl_abap_zip.clas.locals.mjs.map +0 -10
  94. package/output/cl_abap_zip.clas.mjs +0 -95
  95. package/output/cl_abap_zip.clas.mjs.map +0 -10
  96. package/output/cl_apc_tcp_client_manager.clas.locals.mjs +0 -86
  97. package/output/cl_apc_tcp_client_manager.clas.locals.mjs.map +0 -10
  98. package/output/cl_apc_tcp_client_manager.clas.mjs +0 -31
  99. package/output/cl_apc_tcp_client_manager.clas.mjs.map +0 -10
  100. package/output/cl_apc_wsp_ext_stateless_base.clas.mjs +0 -30
  101. package/output/cl_apc_wsp_ext_stateless_base.clas.mjs.map +0 -10
  102. package/output/cl_bcs.clas.mjs +0 -63
  103. package/output/cl_bcs.clas.mjs.map +0 -10
  104. package/output/cl_bcs_convert.clas.mjs +0 -34
  105. package/output/cl_bcs_convert.clas.mjs.map +0 -10
  106. package/output/cl_cam_address_bcs.clas.mjs +0 -28
  107. package/output/cl_cam_address_bcs.clas.mjs.map +0 -10
  108. package/output/cl_demo_output.clas.mjs +0 -40
  109. package/output/cl_demo_output.clas.mjs.map +0 -10
  110. package/output/cl_document_bcs.clas.mjs +0 -45
  111. package/output/cl_document_bcs.clas.mjs.map +0 -10
  112. package/output/cl_gdt_conversion.clas.mjs +0 -122
  113. package/output/cl_gdt_conversion.clas.mjs.map +0 -10
  114. package/output/cl_gui_cfw.clas.mjs +0 -32
  115. package/output/cl_gui_cfw.clas.mjs.map +0 -10
  116. package/output/cl_gui_container.clas.mjs +0 -22
  117. package/output/cl_gui_container.clas.mjs.map +0 -10
  118. package/output/cl_gui_frontend_services.clas.mjs +0 -273
  119. package/output/cl_gui_frontend_services.clas.mjs.map +0 -10
  120. package/output/cl_http_client.clas.mjs +0 -164
  121. package/output/cl_http_client.clas.mjs.map +0 -10
  122. package/output/cl_http_entity.clas.mjs +0 -493
  123. package/output/cl_http_entity.clas.mjs.map +0 -10
  124. package/output/cl_http_server.clas.mjs +0 -28
  125. package/output/cl_http_server.clas.mjs.map +0 -10
  126. package/output/cl_http_utility.clas.mjs +0 -178
  127. package/output/cl_http_utility.clas.mjs.map +0 -10
  128. package/output/cl_i18n_languages.clas.mjs +0 -318
  129. package/output/cl_i18n_languages.clas.mjs.map +0 -10
  130. package/output/cl_ixml.clas.locals.mjs +0 -1161
  131. package/output/cl_ixml.clas.locals.mjs.map +0 -10
  132. package/output/cl_ixml.clas.mjs +0 -62
  133. package/output/cl_ixml.clas.mjs.map +0 -10
  134. package/output/cl_message_helper.clas.mjs +0 -81
  135. package/output/cl_message_helper.clas.mjs.map +0 -10
  136. package/output/cl_numberrange_runtime.clas.mjs +0 -32
  137. package/output/cl_numberrange_runtime.clas.mjs.map +0 -10
  138. package/output/cl_oo_factory.clas.mjs +0 -38
  139. package/output/cl_oo_factory.clas.mjs.map +0 -10
  140. package/output/cl_progress_indicator.clas.mjs +0 -30
  141. package/output/cl_progress_indicator.clas.mjs.map +0 -10
  142. package/output/cl_salv_aggregations.clas.mjs +0 -14
  143. package/output/cl_salv_aggregations.clas.mjs.map +0 -10
  144. package/output/cl_salv_column.clas.mjs +0 -35
  145. package/output/cl_salv_column.clas.mjs.map +0 -10
  146. package/output/cl_salv_columns_table.clas.mjs +0 -42
  147. package/output/cl_salv_columns_table.clas.mjs.map +0 -10
  148. package/output/cl_salv_events_table.clas.mjs +0 -14
  149. package/output/cl_salv_events_table.clas.mjs.map +0 -10
  150. package/output/cl_salv_functions_list.clas.mjs +0 -19
  151. package/output/cl_salv_functions_list.clas.mjs.map +0 -10
  152. package/output/cl_salv_table.clas.mjs +0 -122
  153. package/output/cl_salv_table.clas.mjs.map +0 -10
  154. package/output/cl_shm_area.clas.mjs +0 -267
  155. package/output/cl_shm_area.clas.mjs.map +0 -10
  156. package/output/cl_shm_service.clas.mjs +0 -56
  157. package/output/cl_shm_service.clas.mjs.map +0 -10
  158. package/output/cl_sxml_string_reader.clas.locals.mjs +0 -323
  159. package/output/cl_sxml_string_reader.clas.locals.mjs.map +0 -10
  160. package/output/cl_sxml_string_reader.clas.mjs +0 -25
  161. package/output/cl_sxml_string_reader.clas.mjs.map +0 -10
  162. package/output/cl_sxml_string_writer.clas.mjs +0 -146
  163. package/output/cl_sxml_string_writer.clas.mjs.map +0 -10
  164. package/output/cl_system_uuid.clas.mjs +0 -35
  165. package/output/cl_system_uuid.clas.mjs.map +0 -10
  166. package/output/cx_abap_message_digest.clas.mjs +0 -16
  167. package/output/cx_abap_message_digest.clas.mjs.map +0 -10
  168. package/output/cx_abap_random.clas.mjs +0 -16
  169. package/output/cx_abap_random.clas.mjs.map +0 -10
  170. package/output/cx_apc_error.clas.mjs +0 -16
  171. package/output/cx_apc_error.clas.mjs.map +0 -10
  172. package/output/cx_bcs.clas.mjs +0 -16
  173. package/output/cx_bcs.clas.mjs.map +0 -10
  174. package/output/cx_dynamic_check.clas.mjs +0 -15
  175. package/output/cx_dynamic_check.clas.mjs.map +0 -10
  176. package/output/cx_gdt_conversion.clas.mjs +0 -16
  177. package/output/cx_gdt_conversion.clas.mjs.map +0 -10
  178. package/output/cx_no_check.clas.mjs +0 -17
  179. package/output/cx_no_check.clas.mjs.map +0 -10
  180. package/output/cx_oo_clif_not_exists.clas.mjs +0 -16
  181. package/output/cx_oo_clif_not_exists.clas.mjs.map +0 -10
  182. package/output/cx_parameter_invalid.clas.mjs +0 -16
  183. package/output/cx_parameter_invalid.clas.mjs.map +0 -10
  184. package/output/cx_parameter_invalid_range.clas.mjs +0 -16
  185. package/output/cx_parameter_invalid_range.clas.mjs.map +0 -10
  186. package/output/cx_parameter_invalid_type.clas.mjs +0 -16
  187. package/output/cx_parameter_invalid_type.clas.mjs.map +0 -10
  188. package/output/cx_root.clas.mjs +0 -44
  189. package/output/cx_root.clas.mjs.map +0 -10
  190. package/output/cx_salv_access_error.clas.mjs +0 -16
  191. package/output/cx_salv_access_error.clas.mjs.map +0 -10
  192. package/output/cx_salv_data_error.clas.mjs +0 -16
  193. package/output/cx_salv_data_error.clas.mjs.map +0 -10
  194. package/output/cx_salv_error.clas.mjs +0 -16
  195. package/output/cx_salv_error.clas.mjs.map +0 -10
  196. package/output/cx_salv_msg.clas.mjs +0 -16
  197. package/output/cx_salv_msg.clas.mjs.map +0 -10
  198. package/output/cx_salv_not_found.clas.mjs +0 -16
  199. package/output/cx_salv_not_found.clas.mjs.map +0 -10
  200. package/output/cx_salv_static_check.clas.mjs +0 -16
  201. package/output/cx_salv_static_check.clas.mjs.map +0 -10
  202. package/output/cx_shm_already_detached.clas.mjs +0 -16
  203. package/output/cx_shm_already_detached.clas.mjs.map +0 -10
  204. package/output/cx_shm_attach_error.clas.mjs +0 -16
  205. package/output/cx_shm_attach_error.clas.mjs.map +0 -10
  206. package/output/cx_shm_build_failed.clas.mjs +0 -16
  207. package/output/cx_shm_build_failed.clas.mjs.map +0 -10
  208. package/output/cx_shm_change_lock_active.clas.mjs +0 -16
  209. package/output/cx_shm_change_lock_active.clas.mjs.map +0 -10
  210. package/output/cx_shm_completion_error.clas.mjs +0 -16
  211. package/output/cx_shm_completion_error.clas.mjs.map +0 -10
  212. package/output/cx_shm_detach_error.clas.mjs +0 -16
  213. package/output/cx_shm_detach_error.clas.mjs.map +0 -10
  214. package/output/cx_shm_error.clas.mjs +0 -16
  215. package/output/cx_shm_error.clas.mjs.map +0 -10
  216. package/output/cx_shm_event_execution_failed.clas.mjs +0 -16
  217. package/output/cx_shm_event_execution_failed.clas.mjs.map +0 -10
  218. package/output/cx_shm_exclusive_lock_active.clas.mjs +0 -16
  219. package/output/cx_shm_exclusive_lock_active.clas.mjs.map +0 -10
  220. package/output/cx_shm_general_error.clas.mjs +0 -16
  221. package/output/cx_shm_general_error.clas.mjs.map +0 -10
  222. package/output/cx_shm_inconsistent.clas.mjs +0 -16
  223. package/output/cx_shm_inconsistent.clas.mjs.map +0 -10
  224. package/output/cx_shm_initial_reference.clas.mjs +0 -16
  225. package/output/cx_shm_initial_reference.clas.mjs.map +0 -10
  226. package/output/cx_shm_no_active_version.clas.mjs +0 -16
  227. package/output/cx_shm_no_active_version.clas.mjs.map +0 -10
  228. package/output/cx_shm_parameter_error.clas.mjs +0 -16
  229. package/output/cx_shm_parameter_error.clas.mjs.map +0 -10
  230. package/output/cx_shm_pending_lock_removed.clas.mjs +0 -16
  231. package/output/cx_shm_pending_lock_removed.clas.mjs.map +0 -10
  232. package/output/cx_shm_read_lock_active.clas.mjs +0 -16
  233. package/output/cx_shm_read_lock_active.clas.mjs.map +0 -10
  234. package/output/cx_shm_secondary_commit.clas.mjs +0 -16
  235. package/output/cx_shm_secondary_commit.clas.mjs.map +0 -10
  236. package/output/cx_shm_version_limit_exceeded.clas.mjs +0 -16
  237. package/output/cx_shm_version_limit_exceeded.clas.mjs.map +0 -10
  238. package/output/cx_shm_wrong_handle.clas.mjs +0 -16
  239. package/output/cx_shm_wrong_handle.clas.mjs.map +0 -10
  240. package/output/cx_shma_dynamic.clas.mjs +0 -16
  241. package/output/cx_shma_dynamic.clas.mjs.map +0 -10
  242. package/output/cx_shma_inconsistent.clas.mjs +0 -16
  243. package/output/cx_shma_inconsistent.clas.mjs.map +0 -10
  244. package/output/cx_shma_not_configured.clas.mjs +0 -16
  245. package/output/cx_shma_not_configured.clas.mjs.map +0 -10
  246. package/output/cx_static_check.clas.mjs +0 -27
  247. package/output/cx_static_check.clas.mjs.map +0 -10
  248. package/output/cx_sxml_error.clas.mjs +0 -16
  249. package/output/cx_sxml_error.clas.mjs.map +0 -10
  250. package/output/cx_sxml_illegal_argument_error.clas.mjs +0 -16
  251. package/output/cx_sxml_illegal_argument_error.clas.mjs.map +0 -10
  252. package/output/cx_sxml_name_error.clas.mjs +0 -16
  253. package/output/cx_sxml_name_error.clas.mjs.map +0 -10
  254. package/output/cx_sxml_parse_error.clas.mjs +0 -20
  255. package/output/cx_sxml_parse_error.clas.mjs.map +0 -10
  256. package/output/cx_sxml_state_error.clas.mjs +0 -16
  257. package/output/cx_sxml_state_error.clas.mjs.map +0 -10
  258. package/output/cx_sy_arithmetic_error.clas.mjs +0 -16
  259. package/output/cx_sy_arithmetic_error.clas.mjs.map +0 -10
  260. package/output/cx_sy_buffer_overflow.clas.mjs +0 -16
  261. package/output/cx_sy_buffer_overflow.clas.mjs.map +0 -10
  262. package/output/cx_sy_codepage_converter_init.clas.mjs +0 -16
  263. package/output/cx_sy_codepage_converter_init.clas.mjs.map +0 -10
  264. package/output/cx_sy_compression_error.clas.mjs +0 -16
  265. package/output/cx_sy_compression_error.clas.mjs.map +0 -10
  266. package/output/cx_sy_conversion_codepage.clas.mjs +0 -17
  267. package/output/cx_sy_conversion_codepage.clas.mjs.map +0 -10
  268. package/output/cx_sy_conversion_data_loss.clas.mjs +0 -16
  269. package/output/cx_sy_conversion_data_loss.clas.mjs.map +0 -10
  270. package/output/cx_sy_conversion_error.clas.mjs +0 -16
  271. package/output/cx_sy_conversion_error.clas.mjs.map +0 -10
  272. package/output/cx_sy_conversion_no_number.clas.mjs +0 -16
  273. package/output/cx_sy_conversion_no_number.clas.mjs.map +0 -10
  274. package/output/cx_sy_conversion_overflow.clas.mjs +0 -16
  275. package/output/cx_sy_conversion_overflow.clas.mjs.map +0 -10
  276. package/output/cx_sy_create_data_error.clas.mjs +0 -16
  277. package/output/cx_sy_create_data_error.clas.mjs.map +0 -10
  278. package/output/cx_sy_create_object_error.clas.mjs +0 -29
  279. package/output/cx_sy_create_object_error.clas.mjs.map +0 -10
  280. package/output/cx_sy_data_access_error.clas.mjs +0 -16
  281. package/output/cx_sy_data_access_error.clas.mjs.map +0 -10
  282. package/output/cx_sy_duplicate_key.clas.mjs +0 -16
  283. package/output/cx_sy_duplicate_key.clas.mjs.map +0 -10
  284. package/output/cx_sy_dyn_call_error.clas.mjs +0 -16
  285. package/output/cx_sy_dyn_call_error.clas.mjs.map +0 -10
  286. package/output/cx_sy_dyn_call_illegal_class.clas.mjs +0 -16
  287. package/output/cx_sy_dyn_call_illegal_class.clas.mjs.map +0 -10
  288. package/output/cx_sy_dyn_call_illegal_func.clas.mjs +0 -16
  289. package/output/cx_sy_dyn_call_illegal_func.clas.mjs.map +0 -10
  290. package/output/cx_sy_dyn_call_illegal_method.clas.mjs +0 -27
  291. package/output/cx_sy_dyn_call_illegal_method.clas.mjs.map +0 -10
  292. package/output/cx_sy_dyn_call_param_not_found.clas.mjs +0 -16
  293. package/output/cx_sy_dyn_call_param_not_found.clas.mjs.map +0 -10
  294. package/output/cx_sy_dyn_call_parameter_error.clas.mjs +0 -17
  295. package/output/cx_sy_dyn_call_parameter_error.clas.mjs.map +0 -10
  296. package/output/cx_sy_dynamic_osql_error.clas.mjs +0 -18
  297. package/output/cx_sy_dynamic_osql_error.clas.mjs.map +0 -10
  298. package/output/cx_sy_dynamic_osql_semantics.clas.mjs +0 -18
  299. package/output/cx_sy_dynamic_osql_semantics.clas.mjs.map +0 -10
  300. package/output/cx_sy_itab_duplicate_key.clas.mjs +0 -16
  301. package/output/cx_sy_itab_duplicate_key.clas.mjs.map +0 -10
  302. package/output/cx_sy_itab_error.clas.mjs +0 -16
  303. package/output/cx_sy_itab_error.clas.mjs.map +0 -10
  304. package/output/cx_sy_itab_line_not_found.clas.mjs +0 -16
  305. package/output/cx_sy_itab_line_not_found.clas.mjs.map +0 -10
  306. package/output/cx_sy_message_illegal_text.clas.mjs +0 -16
  307. package/output/cx_sy_message_illegal_text.clas.mjs.map +0 -10
  308. package/output/cx_sy_move_cast_error.clas.mjs +0 -16
  309. package/output/cx_sy_move_cast_error.clas.mjs.map +0 -10
  310. package/output/cx_sy_open_sql_error.clas.mjs +0 -18
  311. package/output/cx_sy_open_sql_error.clas.mjs.map +0 -10
  312. package/output/cx_sy_range_out_of_bounds.clas.mjs +0 -16
  313. package/output/cx_sy_range_out_of_bounds.clas.mjs.map +0 -10
  314. package/output/cx_sy_ref_is_initial.clas.mjs +0 -16
  315. package/output/cx_sy_ref_is_initial.clas.mjs.map +0 -10
  316. package/output/cx_sy_sql_error.clas.mjs +0 -20
  317. package/output/cx_sy_sql_error.clas.mjs.map +0 -10
  318. package/output/cx_sy_strg_par_val.clas.mjs +0 -16
  319. package/output/cx_sy_strg_par_val.clas.mjs.map +0 -10
  320. package/output/cx_sy_struct_attributes.clas.mjs +0 -16
  321. package/output/cx_sy_struct_attributes.clas.mjs.map +0 -10
  322. package/output/cx_sy_struct_comp_name.clas.mjs +0 -16
  323. package/output/cx_sy_struct_comp_name.clas.mjs.map +0 -10
  324. package/output/cx_sy_struct_comp_type.clas.mjs +0 -16
  325. package/output/cx_sy_struct_comp_type.clas.mjs.map +0 -10
  326. package/output/cx_sy_struct_creation.clas.mjs +0 -16
  327. package/output/cx_sy_struct_creation.clas.mjs.map +0 -10
  328. package/output/cx_sy_type_creation.clas.mjs +0 -16
  329. package/output/cx_sy_type_creation.clas.mjs.map +0 -10
  330. package/output/cx_sy_zerodivide.clas.mjs +0 -16
  331. package/output/cx_sy_zerodivide.clas.mjs.map +0 -10
  332. package/output/cx_transformation_error.clas.mjs +0 -16
  333. package/output/cx_transformation_error.clas.mjs.map +0 -10
  334. package/output/cx_uuid_error.clas.mjs +0 -16
  335. package/output/cx_uuid_error.clas.mjs.map +0 -10
  336. package/output/cx_xslt_exception.clas.mjs +0 -16
  337. package/output/cx_xslt_exception.clas.mjs.map +0 -10
  338. package/output/cx_xslt_format_error.clas.mjs +0 -16
  339. package/output/cx_xslt_format_error.clas.mjs.map +0 -10
  340. package/output/cx_xslt_runtime_error.clas.mjs +0 -16
  341. package/output/cx_xslt_runtime_error.clas.mjs.map +0 -10
  342. package/output/cx_xslt_system_error.clas.mjs +0 -16
  343. package/output/cx_xslt_system_error.clas.mjs.map +0 -10
  344. package/output/dats.dtel.mjs +0 -6
  345. package/output/ddfields.ttyp.mjs +0 -4
  346. package/output/ddoption.dtel.mjs +0 -6
  347. package/output/ddsign.dtel.mjs +0 -6
  348. package/output/devclass.dtel.mjs +0 -6
  349. package/output/dfies.tabl.mjs +0 -5
  350. package/output/doku_obj.dtel.mjs +0 -6
  351. package/output/dynprofld.dtel.mjs +0 -6
  352. package/output/file_table.tabl.mjs +0 -5
  353. package/output/filetable.ttyp.mjs +0 -4
  354. package/output/flag.dtel.mjs +0 -6
  355. package/output/funcname.dtel.mjs +0 -6
  356. package/output/guid.dtel.mjs +0 -6
  357. package/output/if_abap_channel_types.intf.mjs +0 -9
  358. package/output/if_abap_channel_types.intf.mjs.map +0 -8
  359. package/output/if_abap_conv_in.intf.mjs +0 -8
  360. package/output/if_abap_conv_in.intf.mjs.map +0 -8
  361. package/output/if_abap_conv_out.intf.mjs +0 -8
  362. package/output/if_abap_conv_out.intf.mjs.map +0 -8
  363. package/output/if_abap_unit_constant.intf.mjs +0 -15
  364. package/output/if_abap_unit_constant.intf.mjs.map +0 -8
  365. package/output/if_apc_tcp_frame_types.intf.mjs +0 -14
  366. package/output/if_apc_tcp_frame_types.intf.mjs.map +0 -8
  367. package/output/if_apc_wsp_binding_manager.intf.mjs +0 -8
  368. package/output/if_apc_wsp_binding_manager.intf.mjs.map +0 -8
  369. package/output/if_apc_wsp_client.intf.mjs +0 -8
  370. package/output/if_apc_wsp_client.intf.mjs.map +0 -8
  371. package/output/if_apc_wsp_event_handler.intf.mjs +0 -8
  372. package/output/if_apc_wsp_event_handler.intf.mjs.map +0 -8
  373. package/output/if_apc_wsp_extension.intf.mjs +0 -8
  374. package/output/if_apc_wsp_extension.intf.mjs.map +0 -8
  375. package/output/if_apc_wsp_initial_request.intf.mjs +0 -8
  376. package/output/if_apc_wsp_initial_request.intf.mjs.map +0 -8
  377. package/output/if_apc_wsp_message.intf.mjs +0 -8
  378. package/output/if_apc_wsp_message.intf.mjs.map +0 -8
  379. package/output/if_apc_wsp_message_manager.intf.mjs +0 -8
  380. package/output/if_apc_wsp_message_manager.intf.mjs.map +0 -8
  381. package/output/if_apc_wsp_server_context.intf.mjs +0 -8
  382. package/output/if_apc_wsp_server_context.intf.mjs.map +0 -8
  383. package/output/if_aunit_constants.intf.mjs +0 -27
  384. package/output/if_aunit_constants.intf.mjs.map +0 -8
  385. package/output/if_document_bcs.intf.mjs +0 -8
  386. package/output/if_document_bcs.intf.mjs.map +0 -8
  387. package/output/if_http_client.intf.mjs +0 -12
  388. package/output/if_http_client.intf.mjs.map +0 -8
  389. package/output/if_http_entity.intf.mjs +0 -14
  390. package/output/if_http_entity.intf.mjs.map +0 -8
  391. package/output/if_http_extension.intf.mjs +0 -12
  392. package/output/if_http_extension.intf.mjs.map +0 -8
  393. package/output/if_http_request.intf.mjs +0 -16
  394. package/output/if_http_request.intf.mjs.map +0 -8
  395. package/output/if_http_response.intf.mjs +0 -8
  396. package/output/if_http_response.intf.mjs.map +0 -8
  397. package/output/if_http_server.intf.mjs +0 -20
  398. package/output/if_http_server.intf.mjs.map +0 -8
  399. package/output/if_http_utility.intf.mjs +0 -8
  400. package/output/if_http_utility.intf.mjs.map +0 -8
  401. package/output/if_ixml.intf.mjs +0 -8
  402. package/output/if_ixml.intf.mjs.map +0 -8
  403. package/output/if_ixml_attribute.intf.mjs +0 -8
  404. package/output/if_ixml_attribute.intf.mjs.map +0 -8
  405. package/output/if_ixml_document.intf.mjs +0 -8
  406. package/output/if_ixml_document.intf.mjs.map +0 -8
  407. package/output/if_ixml_element.intf.mjs +0 -8
  408. package/output/if_ixml_element.intf.mjs.map +0 -8
  409. package/output/if_ixml_encoding.intf.mjs +0 -10
  410. package/output/if_ixml_encoding.intf.mjs.map +0 -8
  411. package/output/if_ixml_istream.intf.mjs +0 -8
  412. package/output/if_ixml_istream.intf.mjs.map +0 -8
  413. package/output/if_ixml_named_node_map.intf.mjs +0 -8
  414. package/output/if_ixml_named_node_map.intf.mjs.map +0 -8
  415. package/output/if_ixml_node.intf.mjs +0 -12
  416. package/output/if_ixml_node.intf.mjs.map +0 -8
  417. package/output/if_ixml_node_iterator.intf.mjs +0 -8
  418. package/output/if_ixml_node_iterator.intf.mjs.map +0 -8
  419. package/output/if_ixml_node_list.intf.mjs +0 -8
  420. package/output/if_ixml_node_list.intf.mjs.map +0 -8
  421. package/output/if_ixml_ostream.intf.mjs +0 -8
  422. package/output/if_ixml_ostream.intf.mjs.map +0 -8
  423. package/output/if_ixml_parse_error.intf.mjs +0 -8
  424. package/output/if_ixml_parse_error.intf.mjs.map +0 -8
  425. package/output/if_ixml_parser.intf.mjs +0 -10
  426. package/output/if_ixml_parser.intf.mjs.map +0 -8
  427. package/output/if_ixml_renderer.intf.mjs +0 -8
  428. package/output/if_ixml_renderer.intf.mjs.map +0 -8
  429. package/output/if_ixml_stream_factory.intf.mjs +0 -8
  430. package/output/if_ixml_stream_factory.intf.mjs.map +0 -8
  431. package/output/if_ixml_unknown.intf.mjs +0 -8
  432. package/output/if_ixml_unknown.intf.mjs.map +0 -8
  433. package/output/if_message.intf.mjs +0 -8
  434. package/output/if_message.intf.mjs.map +0 -8
  435. package/output/if_oo_adt_classrun.intf.mjs +0 -8
  436. package/output/if_oo_adt_classrun.intf.mjs.map +0 -8
  437. package/output/if_oo_adt_classrun_out.intf.mjs +0 -8
  438. package/output/if_oo_adt_classrun_out.intf.mjs.map +0 -8
  439. package/output/if_oo_clif_source.intf.mjs +0 -8
  440. package/output/if_oo_clif_source.intf.mjs.map +0 -8
  441. package/output/if_recipient_bcs.intf.mjs +0 -8
  442. package/output/if_recipient_bcs.intf.mjs.map +0 -8
  443. package/output/if_salv_c_bool_sap.intf.mjs +0 -12
  444. package/output/if_salv_c_bool_sap.intf.mjs.map +0 -8
  445. package/output/if_salv_c_selection_mode.intf.mjs +0 -18
  446. package/output/if_salv_c_selection_mode.intf.mjs.map +0 -8
  447. package/output/if_sender_bcs.intf.mjs +0 -8
  448. package/output/if_sender_bcs.intf.mjs.map +0 -8
  449. package/output/if_serializable_object.intf.mjs +0 -8
  450. package/output/if_serializable_object.intf.mjs.map +0 -8
  451. package/output/if_shm_build_instance.intf.mjs +0 -8
  452. package/output/if_shm_build_instance.intf.mjs.map +0 -8
  453. package/output/if_shm_trace.intf.mjs +0 -8
  454. package/output/if_shm_trace.intf.mjs.map +0 -8
  455. package/output/if_sxml.intf.mjs +0 -17
  456. package/output/if_sxml.intf.mjs.map +0 -8
  457. package/output/if_sxml_attribute.intf.mjs +0 -9
  458. package/output/if_sxml_attribute.intf.mjs.map +0 -8
  459. package/output/if_sxml_close_element.intf.mjs +0 -8
  460. package/output/if_sxml_close_element.intf.mjs.map +0 -8
  461. package/output/if_sxml_node.intf.mjs +0 -19
  462. package/output/if_sxml_node.intf.mjs.map +0 -8
  463. package/output/if_sxml_open_element.intf.mjs +0 -8
  464. package/output/if_sxml_open_element.intf.mjs.map +0 -8
  465. package/output/if_sxml_reader.intf.mjs +0 -8
  466. package/output/if_sxml_reader.intf.mjs.map +0 -8
  467. package/output/if_sxml_value.intf.mjs +0 -11
  468. package/output/if_sxml_value.intf.mjs.map +0 -8
  469. package/output/if_sxml_value_node.intf.mjs +0 -8
  470. package/output/if_sxml_value_node.intf.mjs.map +0 -8
  471. package/output/if_sxml_writer.intf.mjs +0 -26
  472. package/output/if_sxml_writer.intf.mjs.map +0 -8
  473. package/output/if_sxmlp_factory.intf.mjs +0 -8
  474. package/output/if_sxmlp_factory.intf.mjs.map +0 -8
  475. package/output/if_sxmlp_list.intf.mjs +0 -8
  476. package/output/if_sxmlp_list.intf.mjs.map +0 -8
  477. package/output/if_sxmlp_part.intf.mjs +0 -8
  478. package/output/if_sxmlp_part.intf.mjs.map +0 -8
  479. package/output/if_sxmlp_simple.intf.mjs +0 -8
  480. package/output/if_sxmlp_simple.intf.mjs.map +0 -8
  481. package/output/if_system_uuid_rfc4122_static.intf.mjs +0 -8
  482. package/output/if_system_uuid_rfc4122_static.intf.mjs.map +0 -8
  483. package/output/if_system_uuid_static.intf.mjs +0 -8
  484. package/output/if_system_uuid_static.intf.mjs.map +0 -8
  485. package/output/if_t100_dyn_msg.intf.mjs +0 -8
  486. package/output/if_t100_dyn_msg.intf.mjs.map +0 -8
  487. package/output/if_t100_message.intf.mjs +0 -15
  488. package/output/if_t100_message.intf.mjs.map +0 -8
  489. package/output/ihttpnvp.tabl.mjs +0 -5
  490. package/output/index.mjs +0 -35
  491. package/output/init.mjs +0 -8965
  492. package/output/int1.dtel.mjs +0 -6
  493. package/output/int2.dtel.mjs +0 -6
  494. package/output/int4.dtel.mjs +0 -6
  495. package/output/kernel_authority_check.clas.mjs +0 -20
  496. package/output/kernel_authority_check.clas.mjs.map +0 -10
  497. package/output/kernel_call.clas.mjs +0 -28
  498. package/output/kernel_call.clas.mjs.map +0 -10
  499. package/output/kernel_call_transformation.clas.mjs +0 -182
  500. package/output/kernel_call_transformation.clas.mjs.map +0 -10
  501. package/output/kernel_create_data_handle.clas.mjs +0 -121
  502. package/output/kernel_create_data_handle.clas.mjs.map +0 -10
  503. package/output/kernel_cx_assert.clas.mjs +0 -33
  504. package/output/kernel_cx_assert.clas.mjs.map +0 -10
  505. package/output/kernel_fugr_test.clas.mjs +0 -14
  506. package/output/kernel_fugr_test.clas.mjs.map +0 -10
  507. package/output/kernel_ixml_json_to_data.clas.mjs +0 -145
  508. package/output/kernel_ixml_json_to_data.clas.mjs.map +0 -10
  509. package/output/kernel_ixml_xml_to_data.clas.mjs +0 -96
  510. package/output/kernel_ixml_xml_to_data.clas.mjs.map +0 -10
  511. package/output/kernel_json_to_ixml.clas.mjs +0 -78
  512. package/output/kernel_json_to_ixml.clas.mjs.map +0 -10
  513. package/output/kernel_lock.clas.mjs +0 -31
  514. package/output/kernel_lock.clas.mjs.map +0 -10
  515. package/output/kernel_numberrange.clas.mjs +0 -38
  516. package/output/kernel_numberrange.clas.mjs.map +0 -10
  517. package/output/kernel_push_channels.clas.mjs +0 -20
  518. package/output/kernel_push_channels.clas.mjs.map +0 -10
  519. package/output/kernel_scan_abap_source.clas.mjs +0 -212
  520. package/output/kernel_scan_abap_source.clas.mjs.map +0 -10
  521. package/output/kernel_unit_runner.clas.mjs +0 -199
  522. package/output/kernel_unit_runner.clas.mjs.map +0 -10
  523. package/output/laiso.dtel.mjs +0 -6
  524. package/output/land1.dtel.mjs +0 -6
  525. package/output/langu.dtel.mjs +0 -6
  526. package/output/lvc_nokeyc.dtel.mjs +0 -6
  527. package/output/mandt.dtel.mjs +0 -6
  528. package/output/match_result.tabl.mjs +0 -5
  529. package/output/match_result_tab.ttyp.mjs +0 -4
  530. package/output/msehi.dtel.mjs +0 -6
  531. package/output/number_get_next.fugr.number_get_next.mjs +0 -23
  532. package/output/number_get_next.fugr.number_get_next.mjs.map +0 -8
  533. package/output/number_get_next.fugr.saplnumber_get_next.mjs +0 -5
  534. package/output/number_get_next.fugr.saplnumber_get_next.mjs.map +0 -8
  535. package/output/numc4.dtel.mjs +0 -6
  536. package/output/openabap.fugr.conversion_exit_alpha_input.mjs +0 -17
  537. package/output/openabap.fugr.conversion_exit_alpha_input.mjs.map +0 -8
  538. package/output/openabap.fugr.conversion_exit_alpha_output.mjs +0 -18
  539. package/output/openabap.fugr.conversion_exit_alpha_output.mjs.map +0 -8
  540. package/output/openabap.fugr.conversion_exit_isola_input.mjs +0 -20
  541. package/output/openabap.fugr.conversion_exit_isola_input.mjs.map +0 -8
  542. package/output/openabap.fugr.conversion_exit_isola_output.mjs +0 -17
  543. package/output/openabap.fugr.conversion_exit_isola_output.mjs.map +0 -8
  544. package/output/openabap.fugr.convert_itf_to_stream_text.mjs +0 -21
  545. package/output/openabap.fugr.convert_itf_to_stream_text.mjs.map +0 -8
  546. package/output/openabap.fugr.docu_get.mjs +0 -29
  547. package/output/openabap.fugr.docu_get.mjs.map +0 -8
  548. package/output/openabap.fugr.generate_sec_random.mjs +0 -19
  549. package/output/openabap.fugr.generate_sec_random.mjs.map +0 -8
  550. package/output/openabap.fugr.get_system_timezone.mjs +0 -12
  551. package/output/openabap.fugr.get_system_timezone.mjs.map +0 -8
  552. package/output/openabap.fugr.saplzopenabap.mjs +0 -5
  553. package/output/openabap.fugr.saplzopenabap.mjs.map +0 -8
  554. package/output/openabap.fugr.system_callstack.mjs +0 -16
  555. package/output/openabap.fugr.system_callstack.mjs.map +0 -8
  556. package/output/openabap.fugr.system_installed_languages.mjs +0 -13
  557. package/output/openabap.fugr.system_installed_languages.mjs.map +0 -8
  558. package/output/openabap.fugr.text_split.mjs +0 -33
  559. package/output/openabap.fugr.text_split.mjs.map +0 -8
  560. package/output/reposrc.tabl.mjs +0 -5
  561. package/output/rfcdest.dtel.mjs +0 -6
  562. package/output/scrtext_l.dtel.mjs +0 -6
  563. package/output/scrtext_m.dtel.mjs +0 -6
  564. package/output/scrtext_s.dtel.mjs +0 -6
  565. package/output/scx_attrname.dtel.mjs +0 -6
  566. package/output/scx_t100key.tabl.mjs +0 -5
  567. package/output/seoclsname.dtel.mjs +0 -6
  568. package/output/shm_affect_server.dtel.mjs +0 -6
  569. package/output/shm_area_name.dtel.mjs +0 -6
  570. package/output/shm_attach_mode.dtel.mjs +0 -6
  571. package/output/shm_auto_build_class_name.dtel.mjs +0 -6
  572. package/output/shm_client.dtel.mjs +0 -6
  573. package/output/shm_constr_invocation_mode.dtel.mjs +0 -6
  574. package/output/shm_inst_infos.dtel.mjs +0 -6
  575. package/output/shm_inst_name.dtel.mjs +0 -6
  576. package/output/shm_life_context.dtel.mjs +0 -6
  577. package/output/shm_properties.tabl.mjs +0 -5
  578. package/output/shm_rc.dtel.mjs +0 -6
  579. package/output/shma_attributes.tabl.mjs +0 -5
  580. package/output/shma_client.dtel.mjs +0 -6
  581. package/output/shmm_trc_variant_name.dtel.mjs +0 -6
  582. package/output/so_raw255.dtel.mjs +0 -6
  583. package/output/so_text255.dtel.mjs +0 -6
  584. package/output/soli.tabl.mjs +0 -5
  585. package/output/soli_tab.ttyp.mjs +0 -4
  586. package/output/solix.tabl.mjs +0 -5
  587. package/output/solix_tab.ttyp.mjs +0 -4
  588. package/output/sotr_conc.dtel.mjs +0 -6
  589. package/output/spras.dtel.mjs +0 -6
  590. package/output/ssfapplssl.dtel.mjs +0 -6
  591. package/output/sstmnt.tabl.mjs +0 -5
  592. package/output/sstmnt_tab.ttyp.mjs +0 -4
  593. package/output/sstruc.tabl.mjs +0 -5
  594. package/output/sstruc_tab.ttyp.mjs +0 -4
  595. package/output/stokes.tabl.mjs +0 -5
  596. package/output/stokes_tab.ttyp.mjs +0 -4
  597. package/output/stokesx.tabl.mjs +0 -5
  598. package/output/string_table.ttyp.mjs +0 -4
  599. package/output/submatch_result.tabl.mjs +0 -5
  600. package/output/submatch_result_tab.ttyp.mjs +0 -4
  601. package/output/sydate.dtel.mjs +0 -6
  602. package/output/symsg.tabl.mjs +0 -5
  603. package/output/symsgid.dtel.mjs +0 -6
  604. package/output/symsgno.dtel.mjs +0 -6
  605. package/output/symsgty.dtel.mjs +0 -6
  606. package/output/symsgv.dtel.mjs +0 -6
  607. package/output/syst_host.dtel.mjs +0 -6
  608. package/output/sysubrc.dtel.mjs +0 -6
  609. package/output/sysuuid_c36.dtel.mjs +0 -6
  610. package/output/sysuuid_x16.dtel.mjs +0 -6
  611. package/output/syuname.dtel.mjs +0 -6
  612. package/output/t000.tabl.mjs +0 -5
  613. package/output/t100.tabl.mjs +0 -5
  614. package/output/tabfdpos.dtel.mjs +0 -6
  615. package/output/tabname.dtel.mjs +0 -6
  616. package/output/tadir.tabl.mjs +0 -5
  617. package/output/tdevc.tabl.mjs +0 -5
  618. package/output/tdline.dtel.mjs +0 -6
  619. package/output/text20.dtel.mjs +0 -6
  620. package/output/text200.dtel.mjs +0 -6
  621. package/output/text255.dtel.mjs +0 -6
  622. package/output/text30.dtel.mjs +0 -6
  623. package/output/text80.dtel.mjs +0 -6
  624. package/output/textpool.tabl.mjs +0 -5
  625. package/output/tfdir.tabl.mjs +0 -5
  626. package/output/tihttpnvp.ttyp.mjs +0 -4
  627. package/output/timestamp.dtel.mjs +0 -6
  628. package/output/timestampl.dtel.mjs +0 -6
  629. package/output/timezone.dtel.mjs +0 -6
  630. package/output/tline.tabl.mjs +0 -5
  631. package/output/tline_tab.ttyp.mjs +0 -4
  632. package/output/trfunction.dtel.mjs +0 -6
  633. package/output/trkorr.dtel.mjs +0 -6
  634. package/output/tzntstmpl.dtel.mjs +0 -6
  635. package/output/uname.dtel.mjs +0 -6
  636. package/output/w3mime.tabl.mjs +0 -5
  637. package/output/wwwdatatab.tabl.mjs +0 -5
  638. package/output/wwwparams.tabl.mjs +0 -5
  639. package/output/xfeld.dtel.mjs +0 -6
  640. package/output/xsdboolean.dtel.mjs +0 -6
  641. package/output/xsdtime_t.dtel.mjs +0 -6
  642. package/output/zw3mi.fugr.saplzw3mi.mjs +0 -5
  643. package/output/zw3mi.fugr.saplzw3mi.mjs.map +0 -8
  644. package/output/zw3mi.fugr.wwwdata_export.mjs +0 -14
  645. package/output/zw3mi.fugr.wwwdata_export.mjs.map +0 -8
  646. package/output/zw3mi.fugr.wwwdata_import.mjs +0 -14
  647. package/output/zw3mi.fugr.wwwdata_import.mjs.map +0 -8
  648. package/output/zw3mi.fugr.wwwparams_insert.mjs +0 -12
  649. package/output/zw3mi.fugr.wwwparams_insert.mjs.map +0 -8
  650. package/output/zw3mi.fugr.wwwparams_read.mjs +0 -27
  651. package/output/zw3mi.fugr.wwwparams_read.mjs.map +0 -8
@@ -1,43 +0,0 @@
1
- const {cx_root} = await import("./cx_root.clas.mjs");
2
- // cl_abap_regex.clas.abap
3
- class cl_abap_regex {
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
- this.mv_pattern = new abap.types.String({qualifiedName: "STRING"});
10
- this.mv_ignore_case = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
11
- let pattern = new abap.types.Character();
12
- if (INPUT && INPUT.pattern) {pattern = INPUT.pattern;}
13
- let ignore_case = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
14
- if (INPUT && INPUT.ignore_case) {ignore_case = INPUT.ignore_case;}
15
- if (INPUT === undefined || INPUT.ignore_case === undefined) {ignore_case = abap.builtin.abap_false;}
16
- this.mv_pattern.set(pattern);
17
- this.mv_ignore_case.set(ignore_case);
18
- return this;
19
- }
20
- async create_pcre(INPUT) {
21
- return cl_abap_regex.create_pcre(INPUT);
22
- }
23
- static async create_pcre(INPUT) {
24
- let regex = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_REGEX"});
25
- let pattern = new abap.types.Character();
26
- if (INPUT && INPUT.pattern) {pattern = INPUT.pattern;}
27
- let ignore_case = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
28
- if (INPUT && INPUT.ignore_case) {ignore_case = INPUT.ignore_case;}
29
- if (INPUT === undefined || INPUT.ignore_case === undefined) {ignore_case = abap.builtin.abap_false;}
30
- abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
31
- return regex;
32
- }
33
- async create_matcher(INPUT) {
34
- let ro_matcher = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_MATCHER"});
35
- let text = new abap.types.Character();
36
- if (INPUT && INPUT.text) {text = INPUT.text;}
37
- ro_matcher.set(await (new abap.Classes['CL_ABAP_MATCHER']()).constructor_({pattern: this.mv_pattern, ignore_case: this.mv_ignore_case, text: text}));
38
- return ro_matcher;
39
- }
40
- }
41
- abap.Classes['CL_ABAP_REGEX'] = cl_abap_regex;
42
- export {cl_abap_regex};
43
- //# sourceMappingURL=cl_abap_regex.clas.mjs.map
@@ -1,10 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [
4
- "cl_abap_regex.clas.abap"
5
- ],
6
- "names": [],
7
- "mappings": ";;AA2BA;;;EAEE;;;;;;;;;;IACE,oBAAa,OAAO;IACpB,wBAAiB,WAAW;IAC9B;;EAEA;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;IACnB;;EAEA;;;;;IAMA;;AAEF",
8
- "file": "cl_abap_regex.clas.mjs",
9
- "sourceRoot": ""
10
- }
@@ -1,180 +0,0 @@
1
- const {cl_abap_complexdescr} = await import("./cl_abap_complexdescr.clas.mjs");
2
- const {cx_root} = await import("./cx_root.clas.mjs");
3
- // cl_abap_structdescr.clas.abap
4
- class cl_abap_structdescr extends cl_abap_complexdescr {
5
- static INTERNAL_TYPE = 'CLAS';
6
- static IMPLEMENTED_INTERFACES = [];
7
- async constructor_(INPUT) {
8
- await super.constructor_(INPUT);
9
- this.me = new abap.types.ABAPObject();
10
- this.me.set(this);
11
- this.components = new abap.types.Table(new abap.types.Structure({"length": new abap.types.Integer({qualifiedName: "LENGTH"}), "decimals": new abap.types.Integer({qualifiedName: "DECIMALS"}), "type_kind": new abap.types.Character(1, {"qualifiedName":"abap_typekind"}), "name": new abap.types.Character(30, {"qualifiedName":"abap_compname"})}, "abap_compdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "abap_compdescr_tab");
12
- this.struct_kind = new abap.types.Character(1, {"qualifiedName":"abap_structkind"});
13
- this.mt_refs = new abap.types.Table(new abap.types.Structure({"name": new abap.types.String({qualifiedName: "CL_ABAP_STRUCTDESCR=>TY_REFS-NAME"}), "ref": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"})}, "cl_abap_structdescr=>ty_refs"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "");
14
- return this;
15
- }
16
- async get_symbols() {
17
- let p_result = new abap.types.Table(new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"}), "type": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"})}, "abap_simple_componentdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["NAME"]},"secondary":[]}, "abap_component_symbol_tab");
18
- abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
19
- return p_result;
20
- }
21
- async create(INPUT) {
22
- return cl_abap_structdescr.create(INPUT);
23
- }
24
- static async create(INPUT) {
25
- let ref = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_STRUCTDESCR"});
26
- let p_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");
27
- if (INPUT && INPUT.p_components) {p_components.set(INPUT.p_components);}
28
- let p_strict = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
29
- if (INPUT && INPUT.p_strict) {p_strict = INPUT.p_strict;}
30
- 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");
31
- let ls_ref = new abap.types.Structure({"name": new abap.types.String({qualifiedName: "CL_ABAP_STRUCTDESCR=>TY_REFS-NAME"}), "ref": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"})}, "cl_abap_structdescr=>ty_refs");
32
- if (abap.compare.eq(abap.builtin.lines({val: p_components}), new abap.types.Integer().set(0))) {
33
- throw await (new abap.Classes['CX_SY_STRUCT_ATTRIBUTES']()).constructor_();
34
- }
35
- for await (const unique71 of abap.statements.loop(p_components)) {
36
- ls_component.set(unique71);
37
- if (abap.compare.initial(ls_component.get().name)) {
38
- throw await (new abap.Classes['CX_SY_STRUCT_COMP_NAME']()).constructor_();
39
- } else if (abap.compare.initial(ls_component.get().type)) {
40
- throw await (new abap.Classes['CX_SY_STRUCT_COMP_TYPE']()).constructor_();
41
- } else if (abap.compare.gt(abap.builtin.strlen({val: ls_component.get().name}), new abap.types.Integer().set(30))) {
42
- throw await (new abap.Classes['CX_SY_STRUCT_COMP_NAME']()).constructor_();
43
- }
44
- }
45
- ref.set(await (new abap.Classes['CL_ABAP_STRUCTDESCR']()).constructor_());
46
- for await (const unique72 of abap.statements.loop(p_components)) {
47
- ls_component.set(unique72);
48
- abap.statements.clear(ls_ref);
49
- ls_ref.get().name.set(ls_component.get().name);
50
- ls_ref.get().ref.set(ls_component.get().type);
51
- abap.statements.append({source: ls_ref, target: ref.get().mt_refs});
52
- }
53
- await ref.get().update_components();
54
- ref.get().type_kind.set(cl_abap_structdescr.typekind_struct2);
55
- ref.get().kind.set(cl_abap_structdescr.kind_struct);
56
- return ref;
57
- }
58
- async get_included_view(INPUT) {
59
- let p_result = new abap.types.Table(new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"}), "type": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"})}, "abap_simple_componentdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "abap_component_view_tab");
60
- let p_level = new abap.types.Integer({qualifiedName: "I"});
61
- if (INPUT && INPUT.p_level) {p_level.set(INPUT.p_level);}
62
- abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
63
- return p_result;
64
- }
65
- async get_ddic_field_list(INPUT) {
66
- let rt_components = new abap.types.Table(new abap.types.Structure({"tabname": new abap.types.Character(30, {}), "fieldname": new abap.types.Character(30, {}), "langu": new abap.types.Character(1, {}), "position": new abap.types.Numc({length: 4}), "offset": new abap.types.Numc({length: 6}), "domname": new abap.types.Character(30, {}), "rollname": new abap.types.Character(30, {}), "checktable": new abap.types.Character(1, {}), "leng": new abap.types.Numc({length: 6}), "intlen": new abap.types.Numc({length: 6}), "outputlen": new abap.types.Numc({length: 6}), "decimals": new abap.types.Numc({length: 6}), "datatype": new abap.types.Character(1, {}), "inttype": new abap.types.Character(1, {}), "reftable": new abap.types.Character(1, {}), "reffield": new abap.types.Character(1, {}), "precfield": new abap.types.Character(1, {}), "authorid": new abap.types.Character(1, {}), "memoryid": new abap.types.Character(1, {}), "logflag": new abap.types.Character(1, {}), "mask": new abap.types.Character(1, {}), "masklen": new abap.types.Character(1, {}), "convexit": new abap.types.Character(1, {}), "headlen": new abap.types.Character(1, {}), "scrlen1": new abap.types.Character(1, {}), "scrlen2": new abap.types.Character(1, {}), "scrlen3": new abap.types.Character(1, {}), "fieldtext": new abap.types.Character(1, {}), "reptext": new abap.types.Character(1, {}), "scrtext_s": new abap.types.Character(1, {}), "scrtext_m": new abap.types.Character(1, {}), "scrtext_l": new abap.types.Character(1, {}), "keyflag": new abap.types.Character(1, {}), "lowercase": new abap.types.Character(1, {}), "mac": new abap.types.Character(1, {}), "genkey": new abap.types.Character(1, {}), "noforkey": new abap.types.Character(1, {}), "valexi": new abap.types.Character(1, {}), "noauthch": new abap.types.Character(1, {}), "sign": new abap.types.Character(1, {}), "dynpfld": new abap.types.Character(1, {}), "f4availabl": new abap.types.Character(1, {}), "comptype": new abap.types.Character(1, {}), "outputstyle": new abap.types.Character(1, {}), "lfieldname": new abap.types.Character(132, {})}, "DFIES"), {"withHeader":false}, "DDFIELDS");
67
- let p_langu = new abap.types.Character(1, {"qualifiedName":"sy-langu","conversionExit":"ISOLA"});
68
- if (INPUT && INPUT.p_langu) {p_langu = INPUT.p_langu;}
69
- if (INPUT === undefined || INPUT.p_langu === undefined) {p_langu = abap.builtin.sy.get().langu;}
70
- let p_including_substructres = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
71
- if (INPUT && INPUT.p_including_substructres) {p_including_substructres = INPUT.p_including_substructres;}
72
- if (INPUT === undefined || INPUT.p_including_substructres === undefined) {p_including_substructres = abap.builtin.abap_false;}
73
- 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");
74
- 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");
75
- let ls_return = new abap.types.Structure({"tabname": new abap.types.Character(30, {}), "fieldname": new abap.types.Character(30, {}), "langu": new abap.types.Character(1, {}), "position": new abap.types.Numc({length: 4}), "offset": new abap.types.Numc({length: 6}), "domname": new abap.types.Character(30, {}), "rollname": new abap.types.Character(30, {}), "checktable": new abap.types.Character(1, {}), "leng": new abap.types.Numc({length: 6}), "intlen": new abap.types.Numc({length: 6}), "outputlen": new abap.types.Numc({length: 6}), "decimals": new abap.types.Numc({length: 6}), "datatype": new abap.types.Character(1, {}), "inttype": new abap.types.Character(1, {}), "reftable": new abap.types.Character(1, {}), "reffield": new abap.types.Character(1, {}), "precfield": new abap.types.Character(1, {}), "authorid": new abap.types.Character(1, {}), "memoryid": new abap.types.Character(1, {}), "logflag": new abap.types.Character(1, {}), "mask": new abap.types.Character(1, {}), "masklen": new abap.types.Character(1, {}), "convexit": new abap.types.Character(1, {}), "headlen": new abap.types.Character(1, {}), "scrlen1": new abap.types.Character(1, {}), "scrlen2": new abap.types.Character(1, {}), "scrlen3": new abap.types.Character(1, {}), "fieldtext": new abap.types.Character(1, {}), "reptext": new abap.types.Character(1, {}), "scrtext_s": new abap.types.Character(1, {}), "scrtext_m": new abap.types.Character(1, {}), "scrtext_l": new abap.types.Character(1, {}), "keyflag": new abap.types.Character(1, {}), "lowercase": new abap.types.Character(1, {}), "mac": new abap.types.Character(1, {}), "genkey": new abap.types.Character(1, {}), "noforkey": new abap.types.Character(1, {}), "valexi": new abap.types.Character(1, {}), "noauthch": new abap.types.Character(1, {}), "sign": new abap.types.Character(1, {}), "dynpfld": new abap.types.Character(1, {}), "f4availabl": new abap.types.Character(1, {}), "comptype": new abap.types.Character(1, {}), "outputstyle": new abap.types.Character(1, {}), "lfieldname": new abap.types.Character(132, {})}, "DFIES");
76
- let lv_name = new abap.types.String({qualifiedName: "STRING"});
77
- let lv_keyfield = new abap.types.String({qualifiedName: "STRING"});
78
- let lo_elemdescr = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_ELEMDESCR"});
79
- let fs_component_ = new abap.types.FieldSymbol(new abap.types.Structure({"tabname": new abap.types.Character(30, {}), "fieldname": new abap.types.Character(30, {}), "langu": new abap.types.Character(1, {}), "position": new abap.types.Numc({length: 4}), "offset": new abap.types.Numc({length: 6}), "domname": new abap.types.Character(30, {}), "rollname": new abap.types.Character(30, {}), "checktable": new abap.types.Character(1, {}), "leng": new abap.types.Numc({length: 6}), "intlen": new abap.types.Numc({length: 6}), "outputlen": new abap.types.Numc({length: 6}), "decimals": new abap.types.Numc({length: 6}), "datatype": new abap.types.Character(1, {}), "inttype": new abap.types.Character(1, {}), "reftable": new abap.types.Character(1, {}), "reffield": new abap.types.Character(1, {}), "precfield": new abap.types.Character(1, {}), "authorid": new abap.types.Character(1, {}), "memoryid": new abap.types.Character(1, {}), "logflag": new abap.types.Character(1, {}), "mask": new abap.types.Character(1, {}), "masklen": new abap.types.Character(1, {}), "convexit": new abap.types.Character(1, {}), "headlen": new abap.types.Character(1, {}), "scrlen1": new abap.types.Character(1, {}), "scrlen2": new abap.types.Character(1, {}), "scrlen3": new abap.types.Character(1, {}), "fieldtext": new abap.types.Character(1, {}), "reptext": new abap.types.Character(1, {}), "scrtext_s": new abap.types.Character(1, {}), "scrtext_m": new abap.types.Character(1, {}), "scrtext_l": new abap.types.Character(1, {}), "keyflag": new abap.types.Character(1, {}), "lowercase": new abap.types.Character(1, {}), "mac": new abap.types.Character(1, {}), "genkey": new abap.types.Character(1, {}), "noforkey": new abap.types.Character(1, {}), "valexi": new abap.types.Character(1, {}), "noauthch": new abap.types.Character(1, {}), "sign": new abap.types.Character(1, {}), "dynpfld": new abap.types.Character(1, {}), "f4availabl": new abap.types.Character(1, {}), "comptype": new abap.types.Character(1, {}), "outputstyle": new abap.types.Character(1, {}), "lfieldname": new abap.types.Character(132, {})}, "DFIES"));
80
- lt_components.set((await this.get_components()));
81
- abap.statements.assert(abap.compare.cp(this.absolute_name, new abap.types.Character(7).set('+TYPE=*')));
82
- lv_name.set(this.absolute_name.getOffset({offset: 6}));
83
- for await (const unique73 of abap.statements.loop(lt_components)) {
84
- ls_component.set(unique73);
85
- abap.statements.clear(ls_return);
86
- ls_return.get().tabname.set(lv_name);
87
- ls_return.get().fieldname.set(ls_component.get().name);
88
- if (abap.compare.eq(ls_component.get().type.get().kind, abap.Classes['CL_ABAP_TYPEDESCR'].kind_elem)) {
89
- await abap.statements.cast(lo_elemdescr, ls_component.get().type);
90
- ls_return.get().leng.set(lo_elemdescr.get().output_length);
91
- }
92
- abap.statements.append({source: ls_return, target: rt_components});
93
- }
94
- for (const keyfield of abap.DDIC[lv_name.get()]?.keyFields || [] ) {
95
- lv_keyfield.set(keyfield);
96
- abap.statements.readTable(rt_components,{assigning: fs_component_,withKey: (i) => {return abap.compare.eq(i.fieldname, lv_keyfield);}});
97
- abap.statements.assert(abap.compare.eq(abap.builtin.sy.get().subrc, new abap.types.Integer().set(0)));
98
- fs_component_.get().keyflag.set(abap.builtin.abap_true);
99
- }
100
- return rt_components;
101
- }
102
- async is_ddic_type() {
103
- let bool = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
104
- bool.set(this.ddic);
105
- return bool;
106
- }
107
- async construct_from_data(INPUT) {
108
- return cl_abap_structdescr.construct_from_data(INPUT);
109
- }
110
- static async construct_from_data(INPUT) {
111
- let descr = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_STRUCTDESCR"});
112
- let data = new abap.types.Character(4);
113
- if (INPUT && INPUT.data) {data = INPUT.data;}
114
- let lv_name = new abap.types.String({qualifiedName: "STRING"});
115
- let ls_ref = new abap.types.Structure({"name": new abap.types.String({qualifiedName: "CL_ABAP_STRUCTDESCR=>TY_REFS-NAME"}), "ref": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"})}, "cl_abap_structdescr=>ty_refs");
116
- let lo_datadescr = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
117
- let fs_fs_ = new abap.types.FieldSymbol(new abap.types.Character(4));
118
- descr.set(await (new abap.Classes['CL_ABAP_STRUCTDESCR']()).constructor_());
119
- for (const name of Object.keys(INPUT.data.value)) {
120
- lv_name.set(name.toUpperCase());
121
- abap.statements.assign({component: lv_name, target: fs_fs_, source: data});
122
- await abap.statements.cast(lo_datadescr, (await abap.Classes['CL_ABAP_TYPEDESCR'].describe_by_data({p_data: fs_fs_})));
123
- ls_ref.get().name.set(lv_name);
124
- ls_ref.get().ref.set(lo_datadescr);
125
- abap.statements.append({source: ls_ref, target: descr.get().mt_refs});
126
- }
127
- await descr.get().update_components();
128
- return descr;
129
- }
130
- async update_components() {
131
- let ls_component = new abap.types.Structure({"length": new abap.types.Integer({qualifiedName: "LENGTH"}), "decimals": new abap.types.Integer({qualifiedName: "DECIMALS"}), "type_kind": new abap.types.Character(1, {"qualifiedName":"abap_typekind"}), "name": new abap.types.Character(30, {"qualifiedName":"abap_compname"})}, "abap_compdescr");
132
- let ls_ref = new abap.types.Structure({"name": new abap.types.String({qualifiedName: "CL_ABAP_STRUCTDESCR=>TY_REFS-NAME"}), "ref": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"})}, "cl_abap_structdescr=>ty_refs");
133
- abap.statements.clear(this.components);
134
- for await (const unique74 of abap.statements.loop(this.mt_refs)) {
135
- ls_ref.set(unique74);
136
- abap.statements.clear(ls_component);
137
- ls_component.get().name.set(ls_ref.get().name);
138
- ls_component.get().type_kind.set(ls_ref.get().ref.get().type_kind);
139
- abap.statements.append({source: ls_component, target: this.components});
140
- }
141
- }
142
- async get_components() {
143
- let rt_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");
144
- let ls_component = new abap.types.Structure({"length": new abap.types.Integer({qualifiedName: "LENGTH"}), "decimals": new abap.types.Integer({qualifiedName: "DECIMALS"}), "type_kind": new abap.types.Character(1, {"qualifiedName":"abap_typekind"}), "name": new abap.types.Character(30, {"qualifiedName":"abap_compname"})}, "abap_compdescr");
145
- let ret = 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");
146
- let ls_ref = new abap.types.Structure({"name": new abap.types.String({qualifiedName: "CL_ABAP_STRUCTDESCR=>TY_REFS-NAME"}), "ref": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"})}, "cl_abap_structdescr=>ty_refs");
147
- for await (const unique75 of abap.statements.loop(this.components)) {
148
- ls_component.set(unique75);
149
- abap.statements.clear(ret);
150
- ret.get().name.set(ls_component.get().name);
151
- abap.statements.readTable(this.mt_refs,{into: ls_ref,withKey: (i) => {return abap.compare.eq(i.name, ls_component.get().name);}});
152
- if (abap.compare.eq(abap.builtin.sy.get().subrc, new abap.types.Integer().set(0))) {
153
- ret.get().type.set(ls_ref.get().ref);
154
- }
155
- abap.statements.append({source: ret, target: rt_components});
156
- }
157
- return rt_components;
158
- }
159
- async get_component_type(INPUT) {
160
- let p_descr_ref = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
161
- let p_name = new abap.types.Character(4);
162
- if (INPUT && INPUT.p_name) {p_name = INPUT.p_name;}
163
- let line = new abap.types.Structure({"name": new abap.types.String({qualifiedName: "CL_ABAP_STRUCTDESCR=>TY_REFS-NAME"}), "ref": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"})}, "cl_abap_structdescr=>ty_refs");
164
- abap.statements.readTable(this.mt_refs,{into: line,withKey: (i) => {return abap.compare.eq(i.name, p_name);}});
165
- if (abap.compare.ne(abap.builtin.sy.get().subrc, new abap.types.Integer().set(0))) {
166
- throw new abap.ClassicError({classic: "component_not_found"});
167
- } else {
168
- p_descr_ref.set(line.get().ref);
169
- }
170
- return p_descr_ref;
171
- }
172
- }
173
- abap.Classes['CL_ABAP_STRUCTDESCR'] = cl_abap_structdescr;
174
- cl_abap_structdescr.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");
175
- cl_abap_structdescr.component_table = 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");
176
- cl_abap_structdescr.included_view = new abap.types.Table(new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"}), "type": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"})}, "abap_simple_componentdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "abap_component_view_tab");
177
- cl_abap_structdescr.symbol_table = new abap.types.Table(new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"}), "type": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"})}, "abap_simple_componentdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["NAME"]},"secondary":[]}, "abap_component_symbol_tab");
178
- cl_abap_structdescr.ty_refs = new abap.types.Structure({"name": new abap.types.String({qualifiedName: "CL_ABAP_STRUCTDESCR=>TY_REFS-NAME"}), "ref": new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"})}, "cl_abap_structdescr=>ty_refs");
179
- export {cl_abap_structdescr};
180
- //# sourceMappingURL=cl_abap_structdescr.clas.mjs.map
@@ -1,10 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [
4
- "cl_abap_structdescr.clas.abap"
5
- ],
6
- "names": [],
7
- "mappings": ";;;AAqEA;;;;;;;;;;;;EAEE;;IACE,oCAAS,GAAF,iCAAI,wCAAM;IACnB;;EAEA;;;;;;;;;QACO,8VAAsC;QACtC,gOAAiC;IAEtC,iBAAyB,GAAtB,yBAAO,gBAAiB,gCAAC;MAC1B;IACF;;;MAGE,yBAAG,YAAY,MAAC,MAAe;QAC7B;MACF,gCAAO,YAAY,MAAC,MAAe;QACjC;MACF,wBAAmC,GAA5B,0BAAQ,YAAY,MAAC,SAAS,iCAAE;QACrC;MACF;IACF;;;;MAIE,sBAAM,MAAM;MACZ,MAAM,MAAC,UAAO,YAAY,MAAC,KAAI;MAC/B,MAAM,MAAC,SAAO,YAAY,MAAC,KAAI;MAC/B,gCAAO,gBAAU,GAAG,OAAE,OAAO;IAC/B;uCACyB;IAEzB,GAAG,OAAE,cAAY,oCAAgB;IACjC,GAAG,OAAE,SAAO,+BAAW;IACzB;;EAEA;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;IACnB;;EAEA;;;;;;;;QAEO,sgBAAkC;QAClC,8VAAwC;QACxC,6gEAAwC;QACxC,0DAAyB;QACzB,8DAAyB;QACzB,8EAA2C;IAChD,IAAc,aAAsC;IAEpD,mBAAgB,4BAAiB;IAEjC,oCAAqB,GAAd,oBAAiB,2CAAS;IACjC,YAAU,yCAAe;;;MAGvB,sBAAM,SAAS;MACf,SAAS,MAAC,aAAU,OAAO;MAC3B,SAAS,MAAC,eAAY,YAAY,MAAC,KAAI;MACvC,iBAA2B,GAAxB,YAAY,MAAC,KAAI,OAAE,MAAO,kCAAmB,UAAS;mCACvD,cAAgB,YAAY,MAAC,KAAI;QACjC,SAAS,MAAC,UAAO,YAAY,OAAE,aAAa;MAC9C;MAEA,gCAAO,mBAAa,aAAa;IACnC;IAGA;MACA;MAEA,sIAA+E;MAC/E,oCAAgB,GAAT,eAAE,MAAC,QAAQ,gCAAC;MACnB,aAAW,MAAC,aAAU,sBAAS;IAC/B;IAEF;;EAEA;;IACE,SAAO,SAAI;IACb;;EAEA;;;;;;;QAEO,0DAAwB;QACxB,gOAAiC;QACjC,8EAA0C;IAE/C,IAAc,MAAa;;IAK3B;MACA;MACA,wEAAkD;iCAClD,eAAgB,2EAA2C;MAC3D,MAAM,MAAC,UAAO,OAAO;MACrB,MAAM,MAAC,SAAO,YAAY;MAC1B,gCAAO,gBAAU,KAAK,OAAE,OAAO;IAC/B;yCAE2B;IAC7B;;EAEA;QACO,+UAAoC;QACpC,gOAAiC;IAEtC,sBAAM,eAAU;;;MAEd,sBAAM,YAAY;MAClB,YAAY,MAAC,UAAO,MAAM,MAAC,KAAI;MAC/B,YAAY,MAAC,eAAY,MAAM,MAAC,IAAG,OAAE,SAAS;MAC9C,gCAAO,sBAAgB,eAAU;IACnC;EACF;EAEA;;QACO,+UAAoC;QACpC,qVAAuC;QACvC,gOAAiC;;;MAGpC,sBAAM,GAAG;MACT,GAAG,MAAC,UAAO,YAAY,MAAC,KAAI;MAC5B,gIAAgE;MAChE,iBAAY,GAAT,eAAE,MAAC,QAAQ,gCAAC;QACb,GAAG,MAAC,UAAO,MAAM,MAAC,IAAG;MACvB;MAGA,gCAAO,aAAO,aAAa;IAC7B;IACF;;EAEA;;;;QACO,8NAAyB;IAC9B,6GAAmD;IACnD,iBAAY,GAAT,eAAE,MAAC,QAAS,gCAAC;MACd;IACF;MACE,gBAAc,IAAI,MAAC,IAAG;IACxB;IACF;;AAEF",
8
- "file": "cl_abap_structdescr.clas.mjs",
9
- "sourceRoot": ""
10
- }
@@ -1,152 +0,0 @@
1
- const {cl_abap_datadescr} = await import("./cl_abap_datadescr.clas.mjs");
2
- const {cx_root} = await import("./cx_root.clas.mjs");
3
- // cl_abap_tabledescr.clas.abap
4
- class cl_abap_tabledescr extends cl_abap_datadescr {
5
- static INTERNAL_TYPE = 'CLAS';
6
- static IMPLEMENTED_INTERFACES = [];
7
- async constructor_(INPUT) {
8
- await super.constructor_(INPUT);
9
- this.me = new abap.types.ABAPObject();
10
- this.me.set(this);
11
- this.has_unique_key = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
12
- this.key = new abap.types.Table(new abap.types.Structure({"name": new abap.types.Character(255, {"qualifiedName":"abap_keyname"})}, "abap_keydescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "abap_keydescr_tab");
13
- this.key_defkind = new abap.types.Character(1, {"qualifiedName":"abap_keydefkind"});
14
- this.table_kind = new abap.types.Character(1, {"qualifiedName":"abap_tablekind"});
15
- this.mo_line_type = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TYPEDESCR"});
16
- this.tablekind_any = cl_abap_tabledescr.tablekind_any;
17
- this.tablekind_std = cl_abap_tabledescr.tablekind_std;
18
- this.tablekind_index = cl_abap_tabledescr.tablekind_index;
19
- this.tablekind_hashed = cl_abap_tabledescr.tablekind_hashed;
20
- this.tablekind_sorted = cl_abap_tabledescr.tablekind_sorted;
21
- this.keydefkind_default = cl_abap_tabledescr.keydefkind_default;
22
- this.keydefkind_tableline = cl_abap_tabledescr.keydefkind_tableline;
23
- this.keydefkind_user = cl_abap_tabledescr.keydefkind_user;
24
- this.keydefkind_empty = cl_abap_tabledescr.keydefkind_empty;
25
- return this;
26
- }
27
- async create(INPUT) {
28
- return cl_abap_tabledescr.create(INPUT);
29
- }
30
- static async create(INPUT) {
31
- let ref = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TABLEDESCR"});
32
- let p_line_type = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TYPEDESCR"});
33
- if (INPUT && INPUT.p_line_type) {p_line_type.set(INPUT.p_line_type);}
34
- let p_table_kind = new abap.types.Character(1, {"qualifiedName":"abap_tablekind"});
35
- if (INPUT && INPUT.p_table_kind) {p_table_kind = INPUT.p_table_kind;}
36
- if (INPUT === undefined || INPUT.p_table_kind === undefined) {p_table_kind = this.tablekind_std;}
37
- let p_unique = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
38
- if (INPUT && INPUT.p_unique) {p_unique = INPUT.p_unique;}
39
- if (INPUT === undefined || INPUT.p_unique === undefined) {p_unique = abap.builtin.abap_false;}
40
- let p_key = new abap.types.Table(new abap.types.Structure({"name": new abap.types.Character(255, {"qualifiedName":"abap_keyname"})}, "abap_keydescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "abap_keydescr_tab");
41
- if (INPUT && INPUT.p_key) {p_key.set(INPUT.p_key);}
42
- let p_key_kind = new abap.types.Character(1, {"qualifiedName":"abap_keydefkind"});
43
- if (INPUT && INPUT.p_key_kind) {p_key_kind = INPUT.p_key_kind;}
44
- if (INPUT === undefined || INPUT.p_key_kind === undefined) {p_key_kind = this.keydefkind_default;}
45
- abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
46
- return ref;
47
- }
48
- async get_with_keys(INPUT) {
49
- return cl_abap_tabledescr.get_with_keys(INPUT);
50
- }
51
- static async get_with_keys(INPUT) {
52
- let p_result = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TABLEDESCR"});
53
- let p_line_type = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
54
- if (INPUT && INPUT.p_line_type) {p_line_type.set(INPUT.p_line_type);}
55
- let p_keys = new abap.types.Table(new abap.types.Structure({"components": new abap.types.Table(new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"})}, "abap_table_keycompdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "abap_table_keydescr-components"), "name": new abap.types.String({qualifiedName: "NAME"}), "is_primary": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "access_kind": new abap.types.String({qualifiedName: "ACCESS_KIND"}), "is_unique": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "key_kind": new abap.types.String({qualifiedName: "KEY_KIND"})}, "abap_table_keydescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "abap_table_keydescr_tab");
56
- if (INPUT && INPUT.p_keys) {p_keys.set(INPUT.p_keys);}
57
- let ls_key = new abap.types.Structure({"components": new abap.types.Table(new abap.types.Structure({"name": new abap.types.String({qualifiedName: "NAME"})}, "abap_table_keycompdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "abap_table_keydescr-components"), "name": new abap.types.String({qualifiedName: "NAME"}), "is_primary": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "access_kind": new abap.types.String({qualifiedName: "ACCESS_KIND"}), "is_unique": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "key_kind": new abap.types.String({qualifiedName: "KEY_KIND"})}, "abap_table_keydescr");
58
- if (abap.compare.ne(abap.builtin.lines({val: p_keys}), new abap.types.Integer().set(1))) {
59
- abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
60
- }
61
- abap.statements.readTable(p_keys,{index: new abap.types.Integer().set(1),into: ls_key});
62
- abap.statements.assert(abap.compare.eq(abap.builtin.sy.get().subrc, new abap.types.Integer().set(0)));
63
- p_result.set(await (new abap.Classes['CL_ABAP_TABLEDESCR']()).constructor_());
64
- p_result.get().has_unique_key.set(ls_key.get().is_unique);
65
- p_result.get().mo_line_type.set(p_line_type);
66
- p_result.get().key_defkind.set(ls_key.get().key_kind);
67
- p_result.get().table_kind.set(ls_key.get().access_kind);
68
- p_result.get().type_kind.set(cl_abap_tabledescr.typekind_table);
69
- p_result.get().kind.set(cl_abap_tabledescr.kind_table);
70
- return p_result;
71
- }
72
- async get(INPUT) {
73
- return cl_abap_tabledescr.get(INPUT);
74
- }
75
- static async get(INPUT) {
76
- let val = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TABLEDESCR"});
77
- let type = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TYPEDESCR"});
78
- if (INPUT && INPUT.type) {type.set(INPUT.type);}
79
- abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
80
- return val;
81
- }
82
- async construct_from_data(INPUT) {
83
- return cl_abap_tabledescr.construct_from_data(INPUT);
84
- }
85
- static async construct_from_data(INPUT) {
86
- let descr = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TABLEDESCR"});
87
- let data = new abap.types.Character(4);
88
- if (INPUT && INPUT.data) {data = INPUT.data;}
89
- let lv_dummy = new abap.types.Integer({qualifiedName: "I"});
90
- let lv_flag = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
91
- let lv_str = new abap.types.String({qualifiedName: "STRING"});
92
- let lo_struct = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_STRUCTDESCR"});
93
- 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");
94
- 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");
95
- let ls_key = new abap.types.Structure({"name": new abap.types.Character(255, {"qualifiedName":"abap_keyname"})}, "abap_keydescr");
96
- descr.set(await (new abap.Classes['CL_ABAP_TABLEDESCR']()).constructor_());
97
- lv_flag.set(data.getOptions()?.primaryKey?.isUnique === true ? "X" : "");
98
- descr.get().has_unique_key.set(lv_flag);
99
- lv_dummy = data.getRowType();
100
- descr.get().mo_line_type.set((await abap.Classes['CL_ABAP_TYPEDESCR'].describe_by_data({p_data: lv_dummy})));
101
- lv_flag.set(data.getOptions()?.primaryKey?.keyFields.length > 0 ? "X" : "");
102
- if (abap.compare.eq(lv_flag, abap.builtin.abap_true)) {
103
- descr.get().key_defkind.set(cl_abap_tabledescr.keydefkind_user);
104
- for (const k of data.getOptions()?.primaryKey?.keyFields) {
105
- lv_str.set(k);
106
- ls_key.get().name.set(lv_str);
107
- abap.statements.append({source: ls_key, target: descr.get().key});
108
- }
109
- if (abap.compare.eq(abap.builtin.lines({val: descr.get().key}), new abap.types.Integer().set(1)) && abap.compare.eq(ls_key.get().name, new abap.types.Character(10).set('TABLE_LINE'))) {
110
- descr.get().key_defkind.set(cl_abap_tabledescr.keydefkind_tableline);
111
- }
112
- } else {
113
- descr.get().key_defkind.set(cl_abap_tabledescr.keydefkind_default);
114
- if (abap.compare.eq(descr.get().mo_line_type.get().kind, cl_abap_tabledescr.kind_struct)) {
115
- await abap.statements.cast(lo_struct, descr.get().mo_line_type);
116
- lt_components.set((await lo_struct.get().get_components()));
117
- for await (const unique76 of abap.statements.loop(lt_components)) {
118
- ls_component.set(unique76);
119
- ls_key.get().name.set(ls_component.get().name);
120
- abap.statements.append({source: ls_key, target: descr.get().key});
121
- }
122
- }
123
- }
124
- return descr;
125
- }
126
- async get_table_line_type() {
127
- let type = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
128
- await abap.statements.cast(type, this.mo_line_type);
129
- return type;
130
- }
131
- }
132
- abap.Classes['CL_ABAP_TABLEDESCR'] = cl_abap_tabledescr;
133
- cl_abap_tabledescr.tablekind_any = new abap.types.Character(1, {});
134
- cl_abap_tabledescr.tablekind_any.set('A');
135
- cl_abap_tabledescr.tablekind_std = new abap.types.Character(1, {});
136
- cl_abap_tabledescr.tablekind_std.set('S');
137
- cl_abap_tabledescr.tablekind_index = new abap.types.Character(1, {});
138
- cl_abap_tabledescr.tablekind_index.set('I');
139
- cl_abap_tabledescr.tablekind_hashed = new abap.types.Character(1, {});
140
- cl_abap_tabledescr.tablekind_hashed.set('H');
141
- cl_abap_tabledescr.tablekind_sorted = new abap.types.Character(1, {});
142
- cl_abap_tabledescr.tablekind_sorted.set('O');
143
- cl_abap_tabledescr.keydefkind_default = new abap.types.Character(1, {});
144
- cl_abap_tabledescr.keydefkind_default.set('D');
145
- cl_abap_tabledescr.keydefkind_tableline = new abap.types.Character(1, {});
146
- cl_abap_tabledescr.keydefkind_tableline.set('L');
147
- cl_abap_tabledescr.keydefkind_user = new abap.types.Character(1, {});
148
- cl_abap_tabledescr.keydefkind_user.set('U');
149
- cl_abap_tabledescr.keydefkind_empty = new abap.types.Character(1, {});
150
- cl_abap_tabledescr.keydefkind_empty.set('E');
151
- export {cl_abap_tabledescr};
152
- //# sourceMappingURL=cl_abap_tabledescr.clas.mjs.map
@@ -1,10 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [
4
- "cl_abap_tabledescr.clas.abap"
5
- ],
6
- "names": [],
7
- "mappings": ";;;AAkDA;;;;;;;;;;;;;;;;;;;;;;;EACE;;;;;;;;;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;IACnB;;EAEA;;;;;;;;;QACO,yuBAA0B;IAE/B,iBAAmB,GAAhB,yBAAO,UAAY,gCAAC;MACrB,oCAAS,GAAF,iCAAI,wCAAM;IACnB;IACA,sFAAqC;IACrC,oCAAgB,GAAT,eAAE,MAAC,QAAQ,gCAAC;;IAGnB,QAAQ,OAAE,mBAAiB,MAAM,MAAC,UAAS;IAC3C,QAAQ,OAAE,iBAAiB,WAAW;IACtC,QAAQ,OAAE,gBAAiB,MAAM,MAAC,SAAQ;IAC1C,QAAQ,OAAE,eAAiB,MAAM,MAAC,YAAW;IAC7C,QAAQ,OAAE,cAAiB,iCAAc;IACzC,QAAQ,OAAE,SAAiB,6BAAU;IACvC;;EAEA;;;;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;IACnB;;EAEA;;;;;;;QAEO,uDAAoB;QACpB,2FAA4B;QAC5B,yDAAyB;QACzB,6EAA6C;QAC7C,sgBAAuD;QACvD,8VAAwC;QACxC,6HAA4C;;IAIjD;IACA,KAAK,OAAE,mBAAiB,OAAO;IAE/B;IACA,KAAK,OAAE,kBAAe,6EAA+C;IAErE;IACA,iBAAW,GAAR,SAAU,uBAAS;MACpB,KAAK,OAAE,gBAAc,kCAAe;MAEpC;QACA;QACA,MAAM,MAAC,UAAO,MAAM;QACpB,gCAAO,gBAAU,KAAK,OAAE,GAAG;MAC3B;MAEA,iBAAuB,GAApB,yBAAO,KAAK,OAAE,OAAQ,gCAAE,iBAAgB,GAAZ,MAAM,MAAC,OAAO,+CAAY;QACvD,KAAK,OAAE,gBAAc,uCAAoB;MAC3C;IACF;MAEE,KAAK,OAAE,gBAAc,qCAAkB;MACvC,iBAA6B,GAA1B,KAAK,OAAE,YAAY,OAAE,MAAO,+BAAW;mCACxC,WAAa,KAAK,OAAE,YAAY;QAChC,mBAAgB,uCAA4B;;;UAE1C,MAAM,MAAC,UAAO,YAAY,MAAC,KAAI;UAC/B,gCAAO,gBAAU,KAAK,OAAE,GAAG;QAC7B;MACF;IACF;IAEF;;EAEA;;+BACE,MAAQ,iBAAY;IACtB;;AACF",
8
- "file": "cl_abap_tabledescr.clas.mjs",
9
- "sourceRoot": ""
10
- }
@@ -1,99 +0,0 @@
1
- const {cx_root} = await import("./cx_root.clas.mjs");
2
- // cl_abap_tstmp.clas.abap
3
- class cl_abap_tstmp {
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 td_add(INPUT) {
12
- return cl_abap_tstmp.td_add(INPUT);
13
- }
14
- static async td_add(INPUT) {
15
- let date = new abap.types.Date({qualifiedName: "D"});
16
- if (INPUT && INPUT.date) {date.set(INPUT.date);}
17
- let time = new abap.types.Time({qualifiedName: "T"});
18
- if (INPUT && INPUT.time) {time.set(INPUT.time);}
19
- let secs = new abap.types.Packed({length: 8, decimals: 0});
20
- if (INPUT && INPUT.secs) {secs = INPUT.secs;}
21
- let res_date = new abap.types.Date({qualifiedName: "D"});
22
- if (INPUT && INPUT.res_date) {res_date = INPUT.res_date;}
23
- let res_time = new abap.types.Time({qualifiedName: "T"});
24
- if (INPUT && INPUT.res_time) {res_time = INPUT.res_time;}
25
- abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
26
- }
27
- async move(INPUT) {
28
- return cl_abap_tstmp.move(INPUT);
29
- }
30
- static async move(INPUT) {
31
- let tstmp_src = new abap.types.Packed({length: 1, decimals: 0});
32
- if (INPUT && INPUT.tstmp_src) {tstmp_src.set(INPUT.tstmp_src);}
33
- let tstmp_tgt = new abap.types.Packed({length: 1, decimals: 0});
34
- if (INPUT && INPUT.tstmp_tgt) {tstmp_tgt = INPUT.tstmp_tgt;}
35
- tstmp_tgt.set(tstmp_src);
36
- }
37
- async systemtstmp_syst2utc(INPUT) {
38
- return cl_abap_tstmp.systemtstmp_syst2utc(INPUT);
39
- }
40
- static async systemtstmp_syst2utc(INPUT) {
41
- let syst_date = new abap.types.Date({qualifiedName: "D"});
42
- if (INPUT && INPUT.syst_date) {syst_date.set(INPUT.syst_date);}
43
- let syst_time = new abap.types.Time({qualifiedName: "T"});
44
- if (INPUT && INPUT.syst_time) {syst_time.set(INPUT.syst_time);}
45
- let utc_tstmp = new abap.types.Packed({length: 1, decimals: 0});
46
- if (INPUT && INPUT.utc_tstmp) {utc_tstmp = INPUT.utc_tstmp;}
47
- utc_tstmp.set(new abap.types.String().set(`${abap.templateFormatting(syst_date)}${abap.templateFormatting(syst_time)}`));
48
- }
49
- async subtract(INPUT) {
50
- return cl_abap_tstmp.subtract(INPUT);
51
- }
52
- static async subtract(INPUT) {
53
- let r_secs = new abap.types.Integer({qualifiedName: "I"});
54
- let tstmp1 = new abap.types.Packed({length: 1, decimals: 0});
55
- if (INPUT && INPUT.tstmp1) {tstmp1.set(INPUT.tstmp1);}
56
- let tstmp2 = new abap.types.Packed({length: 1, decimals: 0});
57
- if (INPUT && INPUT.tstmp2) {tstmp2.set(INPUT.tstmp2);}
58
- let str = new abap.types.String({qualifiedName: "STRING"});
59
- str.set(new abap.types.String().set(`${abap.templateFormatting(tstmp1,{"timestamp":"iso"})}`));
60
- let t1 = Date.parse(str.get());
61
- str.set(new abap.types.String().set(`${abap.templateFormatting(tstmp2,{"timestamp":"iso"})}`));
62
- let t2 = Date.parse(str.get());
63
- r_secs.set((t1 - t2)/1000);
64
- return r_secs;
65
- }
66
- async add(INPUT) {
67
- return cl_abap_tstmp.add(INPUT);
68
- }
69
- static async add(INPUT) {
70
- let time = new abap.types.Packed({length: 15, decimals: 0, qualifiedName: "TIMESTAMP"});
71
- let tstmp = new abap.types.Packed({length: 1, decimals: 0});
72
- if (INPUT && INPUT.tstmp) {tstmp.set(INPUT.tstmp);}
73
- let secs = new abap.types.Integer({qualifiedName: "I"});
74
- if (INPUT && INPUT.secs) {secs.set(INPUT.secs);}
75
- let str = new abap.types.String({qualifiedName: "STRING"});
76
- str.set(new abap.types.String().set(`${abap.templateFormatting(tstmp,{"timestamp":"iso"})}`));
77
- let t1 = new Date(Date.parse(str.get() + "Z"));
78
- t1.setSeconds( t1.getSeconds() + secs.get() );
79
- time.set(t1.toISOString().slice(0, 19).replace(/-/g, "").replace(/:/g, "").replace("T", ""));
80
- return time;
81
- }
82
- async subtractsecs(INPUT) {
83
- return cl_abap_tstmp.subtractsecs(INPUT);
84
- }
85
- static async subtractsecs(INPUT) {
86
- let time = new abap.types.Packed({length: 15, decimals: 0, qualifiedName: "TIMESTAMP"});
87
- let tstmp = new abap.types.Packed({length: 1, decimals: 0});
88
- if (INPUT && INPUT.tstmp) {tstmp.set(INPUT.tstmp);}
89
- let secs = new abap.types.Integer({qualifiedName: "I"});
90
- if (INPUT && INPUT.secs) {secs.set(INPUT.secs);}
91
- let lv_secs = new abap.types.Integer({qualifiedName: "I"});
92
- lv_secs.set(abap.operators.multiply(secs,new abap.types.Integer().set(-1)));
93
- time.set((await this.add({tstmp: tstmp, secs: lv_secs})));
94
- return time;
95
- }
96
- }
97
- abap.Classes['CL_ABAP_TSTMP'] = cl_abap_tstmp;
98
- export {cl_abap_tstmp};
99
- //# sourceMappingURL=cl_abap_tstmp.clas.mjs.map
@@ -1,10 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [
4
- "cl_abap_tstmp.clas.abap"
5
- ],
6
- "names": [],
7
- "mappings": ";;AA8CA;;;;;;;;EAEE;;;;;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;EACnB;EAEA;;;;;;;;IAEE,cAAY,SAAS;EAEvB;EAEA;;;;;;;;;;IAEE,uHAAwC;EAC1C;EAEA;;;;;;;;;QACO,sDAAe;IACpB,6FAAkC;IAClC;IACA,6FAAkC;IAClC;IACA;IACF;;EAEA;;;;;;;;;QACO,sDAAe;IACpB,4FAAiC;IACjC;IACA;IACA;IACF;;EAEA;;;;;;;;;QACO,sDAAc;IACnB,YAAe,wBAAL,KAAO,iCAAE;IACnB,UAAO,8CAEY;IACrB;;AACF",
8
- "file": "cl_abap_tstmp.clas.mjs",
9
- "sourceRoot": ""
10
- }