@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.
- package/build/bundle.js +74695 -1519
- package/output/#ui2#cl_json.clas.locals.mjs +207 -0
- package/output/#ui2#cl_json.clas.locals.mjs.map +10 -0
- package/output/#ui2#cl_json.clas.mjs +160 -0
- package/output/#ui2#cl_json.clas.mjs.map +10 -0
- package/output/_init.mjs +8964 -0
- package/output/_top.mjs +2 -0
- package/output/_unit_open.mjs +25 -0
- package/output/abap_boolean.dtel.mjs +6 -0
- package/output/abap_callstack.ttyp.mjs +4 -0
- package/output/abap_callstack_line.tabl.mjs +5 -0
- package/output/abap_encod.dtel.mjs +6 -0
- package/output/balmnr.dtel.mjs +6 -0
- package/output/balognr.dtel.mjs +6 -0
- package/output/bapi_fld.dtel.mjs +6 -0
- package/output/bapi_line.dtel.mjs +6 -0
- package/output/bapi_msg.dtel.mjs +6 -0
- package/output/bapi_mtype.dtel.mjs +6 -0
- package/output/bapi_param.dtel.mjs +6 -0
- package/output/bapi_rcode.dtel.mjs +6 -0
- package/output/bapilogsys.dtel.mjs +6 -0
- package/output/bapioption.dtel.mjs +6 -0
- package/output/bapiret2.tabl.mjs +5 -0
- package/output/bapireturn.tabl.mjs +5 -0
- package/output/bapisign.dtel.mjs +6 -0
- package/output/boolean.dtel.mjs +6 -0
- package/output/char1.dtel.mjs +6 -0
- package/output/char10.dtel.mjs +6 -0
- package/output/char15.dtel.mjs +6 -0
- package/output/char25.dtel.mjs +6 -0
- package/output/char32.dtel.mjs +6 -0
- package/output/char4.dtel.mjs +6 -0
- package/output/cl_abap_char_utilities.clas.mjs +72 -0
- package/output/cl_abap_char_utilities.clas.mjs.map +10 -0
- package/output/cl_abap_classdescr.clas.mjs +31 -0
- package/output/cl_abap_classdescr.clas.mjs.map +10 -0
- package/output/cl_abap_codepage.clas.mjs +54 -0
- package/output/cl_abap_codepage.clas.mjs.map +10 -0
- package/output/cl_abap_complexdescr.clas.mjs +16 -0
- package/output/cl_abap_complexdescr.clas.mjs.map +10 -0
- package/output/cl_abap_conv_codepage.clas.locals.mjs +42 -0
- package/output/cl_abap_conv_codepage.clas.locals.mjs.map +10 -0
- package/output/cl_abap_conv_codepage.clas.mjs +31 -0
- package/output/cl_abap_conv_codepage.clas.mjs.map +10 -0
- package/output/cl_abap_conv_in_ce.clas.mjs +118 -0
- package/output/cl_abap_conv_in_ce.clas.mjs.map +10 -0
- package/output/cl_abap_conv_out_ce.clas.mjs +82 -0
- package/output/cl_abap_conv_out_ce.clas.mjs.map +10 -0
- package/output/cl_abap_datadescr.clas.mjs +35 -0
- package/output/cl_abap_datadescr.clas.mjs.map +10 -0
- package/output/cl_abap_elemdescr.clas.mjs +148 -0
- package/output/cl_abap_elemdescr.clas.mjs.map +10 -0
- package/output/cl_abap_enumdescr.clas.mjs +19 -0
- package/output/cl_abap_enumdescr.clas.mjs.map +10 -0
- package/output/cl_abap_exceptional_values.clas.mjs +65 -0
- package/output/cl_abap_exceptional_values.clas.mjs.map +10 -0
- package/output/cl_abap_format.clas.mjs +26 -0
- package/output/cl_abap_format.clas.mjs.map +10 -0
- package/output/cl_abap_gzip.clas.mjs +87 -0
- package/output/cl_abap_gzip.clas.mjs.map +10 -0
- package/output/cl_abap_hmac.clas.mjs +64 -0
- package/output/cl_abap_hmac.clas.mjs.map +10 -0
- package/output/cl_abap_intfdescr.clas.mjs +16 -0
- package/output/cl_abap_intfdescr.clas.mjs.map +10 -0
- package/output/cl_abap_matcher.clas.mjs +76 -0
- package/output/cl_abap_matcher.clas.mjs.map +10 -0
- package/output/cl_abap_math.clas.mjs +41 -0
- package/output/cl_abap_math.clas.mjs.map +10 -0
- package/output/cl_abap_objectdescr.clas.mjs +76 -0
- package/output/cl_abap_objectdescr.clas.mjs.map +10 -0
- package/output/cl_abap_random.clas.mjs +52 -0
- package/output/cl_abap_random.clas.mjs.map +10 -0
- package/output/cl_abap_random_int.clas.mjs +35 -0
- package/output/cl_abap_random_int.clas.mjs.map +10 -0
- package/output/cl_abap_refdescr.clas.mjs +35 -0
- package/output/cl_abap_refdescr.clas.mjs.map +10 -0
- package/output/cl_abap_regex.clas.mjs +43 -0
- package/output/cl_abap_regex.clas.mjs.map +10 -0
- package/output/cl_abap_structdescr.clas.mjs +180 -0
- package/output/cl_abap_structdescr.clas.mjs.map +10 -0
- package/output/cl_abap_tabledescr.clas.mjs +152 -0
- package/output/cl_abap_tabledescr.clas.mjs.map +10 -0
- package/output/cl_abap_tstmp.clas.mjs +99 -0
- package/output/cl_abap_tstmp.clas.mjs.map +10 -0
- package/output/cl_abap_typedescr.clas.mjs +368 -0
- package/output/cl_abap_typedescr.clas.mjs.map +10 -0
- package/output/cl_abap_unit_assert.clas.locals.mjs +57 -0
- package/output/cl_abap_unit_assert.clas.locals.mjs.map +10 -0
- package/output/cl_abap_unit_assert.clas.mjs +323 -0
- package/output/cl_abap_unit_assert.clas.mjs.map +10 -0
- package/output/cl_abap_zip.clas.locals.mjs +115 -0
- package/output/cl_abap_zip.clas.locals.mjs.map +10 -0
- package/output/cl_abap_zip.clas.mjs +95 -0
- package/output/cl_abap_zip.clas.mjs.map +10 -0
- package/output/cl_apc_tcp_client_manager.clas.locals.mjs +86 -0
- package/output/cl_apc_tcp_client_manager.clas.locals.mjs.map +10 -0
- package/output/cl_apc_tcp_client_manager.clas.mjs +31 -0
- package/output/cl_apc_tcp_client_manager.clas.mjs.map +10 -0
- package/output/cl_apc_wsp_ext_stateless_base.clas.mjs +30 -0
- package/output/cl_apc_wsp_ext_stateless_base.clas.mjs.map +10 -0
- package/output/cl_bcs.clas.mjs +63 -0
- package/output/cl_bcs.clas.mjs.map +10 -0
- package/output/cl_bcs_convert.clas.mjs +34 -0
- package/output/cl_bcs_convert.clas.mjs.map +10 -0
- package/output/cl_cam_address_bcs.clas.mjs +28 -0
- package/output/cl_cam_address_bcs.clas.mjs.map +10 -0
- package/output/cl_demo_output.clas.mjs +40 -0
- package/output/cl_demo_output.clas.mjs.map +10 -0
- package/output/cl_document_bcs.clas.mjs +45 -0
- package/output/cl_document_bcs.clas.mjs.map +10 -0
- package/output/cl_gdt_conversion.clas.mjs +122 -0
- package/output/cl_gdt_conversion.clas.mjs.map +10 -0
- package/output/cl_gui_cfw.clas.mjs +32 -0
- package/output/cl_gui_cfw.clas.mjs.map +10 -0
- package/output/cl_gui_container.clas.mjs +22 -0
- package/output/cl_gui_container.clas.mjs.map +10 -0
- package/output/cl_gui_frontend_services.clas.mjs +273 -0
- package/output/cl_gui_frontend_services.clas.mjs.map +10 -0
- package/output/cl_http_client.clas.mjs +164 -0
- package/output/cl_http_client.clas.mjs.map +10 -0
- package/output/cl_http_entity.clas.mjs +493 -0
- package/output/cl_http_entity.clas.mjs.map +10 -0
- package/output/cl_http_server.clas.mjs +28 -0
- package/output/cl_http_server.clas.mjs.map +10 -0
- package/output/cl_http_utility.clas.mjs +178 -0
- package/output/cl_http_utility.clas.mjs.map +10 -0
- package/output/cl_i18n_languages.clas.mjs +318 -0
- package/output/cl_i18n_languages.clas.mjs.map +10 -0
- package/output/cl_ixml.clas.locals.mjs +1161 -0
- package/output/cl_ixml.clas.locals.mjs.map +10 -0
- package/output/cl_ixml.clas.mjs +62 -0
- package/output/cl_ixml.clas.mjs.map +10 -0
- package/output/cl_message_helper.clas.mjs +81 -0
- package/output/cl_message_helper.clas.mjs.map +10 -0
- package/output/cl_numberrange_runtime.clas.mjs +32 -0
- package/output/cl_numberrange_runtime.clas.mjs.map +10 -0
- package/output/cl_oo_factory.clas.mjs +38 -0
- package/output/cl_oo_factory.clas.mjs.map +10 -0
- package/output/cl_progress_indicator.clas.mjs +30 -0
- package/output/cl_progress_indicator.clas.mjs.map +10 -0
- package/output/cl_salv_aggregations.clas.mjs +14 -0
- package/output/cl_salv_aggregations.clas.mjs.map +10 -0
- package/output/cl_salv_column.clas.mjs +35 -0
- package/output/cl_salv_column.clas.mjs.map +10 -0
- package/output/cl_salv_columns_table.clas.mjs +42 -0
- package/output/cl_salv_columns_table.clas.mjs.map +10 -0
- package/output/cl_salv_events_table.clas.mjs +14 -0
- package/output/cl_salv_events_table.clas.mjs.map +10 -0
- package/output/cl_salv_functions_list.clas.mjs +19 -0
- package/output/cl_salv_functions_list.clas.mjs.map +10 -0
- package/output/cl_salv_table.clas.mjs +122 -0
- package/output/cl_salv_table.clas.mjs.map +10 -0
- package/output/cl_shm_area.clas.mjs +267 -0
- package/output/cl_shm_area.clas.mjs.map +10 -0
- package/output/cl_shm_service.clas.mjs +56 -0
- package/output/cl_shm_service.clas.mjs.map +10 -0
- package/output/cl_sxml_string_reader.clas.locals.mjs +323 -0
- package/output/cl_sxml_string_reader.clas.locals.mjs.map +10 -0
- package/output/cl_sxml_string_reader.clas.mjs +25 -0
- package/output/cl_sxml_string_reader.clas.mjs.map +10 -0
- package/output/cl_sxml_string_writer.clas.mjs +146 -0
- package/output/cl_sxml_string_writer.clas.mjs.map +10 -0
- package/output/cl_system_uuid.clas.mjs +35 -0
- package/output/cl_system_uuid.clas.mjs.map +10 -0
- package/output/cx_abap_message_digest.clas.mjs +16 -0
- package/output/cx_abap_message_digest.clas.mjs.map +10 -0
- package/output/cx_abap_random.clas.mjs +16 -0
- package/output/cx_abap_random.clas.mjs.map +10 -0
- package/output/cx_apc_error.clas.mjs +16 -0
- package/output/cx_apc_error.clas.mjs.map +10 -0
- package/output/cx_bcs.clas.mjs +16 -0
- package/output/cx_bcs.clas.mjs.map +10 -0
- package/output/cx_dynamic_check.clas.mjs +15 -0
- package/output/cx_dynamic_check.clas.mjs.map +10 -0
- package/output/cx_gdt_conversion.clas.mjs +16 -0
- package/output/cx_gdt_conversion.clas.mjs.map +10 -0
- package/output/cx_no_check.clas.mjs +17 -0
- package/output/cx_no_check.clas.mjs.map +10 -0
- package/output/cx_oo_clif_not_exists.clas.mjs +16 -0
- package/output/cx_oo_clif_not_exists.clas.mjs.map +10 -0
- package/output/cx_parameter_invalid.clas.mjs +16 -0
- package/output/cx_parameter_invalid.clas.mjs.map +10 -0
- package/output/cx_parameter_invalid_range.clas.mjs +16 -0
- package/output/cx_parameter_invalid_range.clas.mjs.map +10 -0
- package/output/cx_parameter_invalid_type.clas.mjs +16 -0
- package/output/cx_parameter_invalid_type.clas.mjs.map +10 -0
- package/output/cx_root.clas.mjs +44 -0
- package/output/cx_root.clas.mjs.map +10 -0
- package/output/cx_salv_access_error.clas.mjs +16 -0
- package/output/cx_salv_access_error.clas.mjs.map +10 -0
- package/output/cx_salv_data_error.clas.mjs +16 -0
- package/output/cx_salv_data_error.clas.mjs.map +10 -0
- package/output/cx_salv_error.clas.mjs +16 -0
- package/output/cx_salv_error.clas.mjs.map +10 -0
- package/output/cx_salv_msg.clas.mjs +16 -0
- package/output/cx_salv_msg.clas.mjs.map +10 -0
- package/output/cx_salv_not_found.clas.mjs +16 -0
- package/output/cx_salv_not_found.clas.mjs.map +10 -0
- package/output/cx_salv_static_check.clas.mjs +16 -0
- package/output/cx_salv_static_check.clas.mjs.map +10 -0
- package/output/cx_shm_already_detached.clas.mjs +16 -0
- package/output/cx_shm_already_detached.clas.mjs.map +10 -0
- package/output/cx_shm_attach_error.clas.mjs +16 -0
- package/output/cx_shm_attach_error.clas.mjs.map +10 -0
- package/output/cx_shm_build_failed.clas.mjs +16 -0
- package/output/cx_shm_build_failed.clas.mjs.map +10 -0
- package/output/cx_shm_change_lock_active.clas.mjs +16 -0
- package/output/cx_shm_change_lock_active.clas.mjs.map +10 -0
- package/output/cx_shm_completion_error.clas.mjs +16 -0
- package/output/cx_shm_completion_error.clas.mjs.map +10 -0
- package/output/cx_shm_detach_error.clas.mjs +16 -0
- package/output/cx_shm_detach_error.clas.mjs.map +10 -0
- package/output/cx_shm_error.clas.mjs +16 -0
- package/output/cx_shm_error.clas.mjs.map +10 -0
- package/output/cx_shm_event_execution_failed.clas.mjs +16 -0
- package/output/cx_shm_event_execution_failed.clas.mjs.map +10 -0
- package/output/cx_shm_exclusive_lock_active.clas.mjs +16 -0
- package/output/cx_shm_exclusive_lock_active.clas.mjs.map +10 -0
- package/output/cx_shm_general_error.clas.mjs +16 -0
- package/output/cx_shm_general_error.clas.mjs.map +10 -0
- package/output/cx_shm_inconsistent.clas.mjs +16 -0
- package/output/cx_shm_inconsistent.clas.mjs.map +10 -0
- package/output/cx_shm_initial_reference.clas.mjs +16 -0
- package/output/cx_shm_initial_reference.clas.mjs.map +10 -0
- package/output/cx_shm_no_active_version.clas.mjs +16 -0
- package/output/cx_shm_no_active_version.clas.mjs.map +10 -0
- package/output/cx_shm_parameter_error.clas.mjs +16 -0
- package/output/cx_shm_parameter_error.clas.mjs.map +10 -0
- package/output/cx_shm_pending_lock_removed.clas.mjs +16 -0
- package/output/cx_shm_pending_lock_removed.clas.mjs.map +10 -0
- package/output/cx_shm_read_lock_active.clas.mjs +16 -0
- package/output/cx_shm_read_lock_active.clas.mjs.map +10 -0
- package/output/cx_shm_secondary_commit.clas.mjs +16 -0
- package/output/cx_shm_secondary_commit.clas.mjs.map +10 -0
- package/output/cx_shm_version_limit_exceeded.clas.mjs +16 -0
- package/output/cx_shm_version_limit_exceeded.clas.mjs.map +10 -0
- package/output/cx_shm_wrong_handle.clas.mjs +16 -0
- package/output/cx_shm_wrong_handle.clas.mjs.map +10 -0
- package/output/cx_shma_dynamic.clas.mjs +16 -0
- package/output/cx_shma_dynamic.clas.mjs.map +10 -0
- package/output/cx_shma_inconsistent.clas.mjs +16 -0
- package/output/cx_shma_inconsistent.clas.mjs.map +10 -0
- package/output/cx_shma_not_configured.clas.mjs +16 -0
- package/output/cx_shma_not_configured.clas.mjs.map +10 -0
- package/output/cx_static_check.clas.mjs +27 -0
- package/output/cx_static_check.clas.mjs.map +10 -0
- package/output/cx_sxml_error.clas.mjs +16 -0
- package/output/cx_sxml_error.clas.mjs.map +10 -0
- package/output/cx_sxml_illegal_argument_error.clas.mjs +16 -0
- package/output/cx_sxml_illegal_argument_error.clas.mjs.map +10 -0
- package/output/cx_sxml_name_error.clas.mjs +16 -0
- package/output/cx_sxml_name_error.clas.mjs.map +10 -0
- package/output/cx_sxml_parse_error.clas.mjs +20 -0
- package/output/cx_sxml_parse_error.clas.mjs.map +10 -0
- package/output/cx_sxml_state_error.clas.mjs +16 -0
- package/output/cx_sxml_state_error.clas.mjs.map +10 -0
- package/output/cx_sy_arithmetic_error.clas.mjs +16 -0
- package/output/cx_sy_arithmetic_error.clas.mjs.map +10 -0
- package/output/cx_sy_buffer_overflow.clas.mjs +16 -0
- package/output/cx_sy_buffer_overflow.clas.mjs.map +10 -0
- package/output/cx_sy_codepage_converter_init.clas.mjs +16 -0
- package/output/cx_sy_codepage_converter_init.clas.mjs.map +10 -0
- package/output/cx_sy_compression_error.clas.mjs +16 -0
- package/output/cx_sy_compression_error.clas.mjs.map +10 -0
- package/output/cx_sy_conversion_codepage.clas.mjs +17 -0
- package/output/cx_sy_conversion_codepage.clas.mjs.map +10 -0
- package/output/cx_sy_conversion_data_loss.clas.mjs +16 -0
- package/output/cx_sy_conversion_data_loss.clas.mjs.map +10 -0
- package/output/cx_sy_conversion_error.clas.mjs +16 -0
- package/output/cx_sy_conversion_error.clas.mjs.map +10 -0
- package/output/cx_sy_conversion_no_number.clas.mjs +16 -0
- package/output/cx_sy_conversion_no_number.clas.mjs.map +10 -0
- package/output/cx_sy_conversion_overflow.clas.mjs +16 -0
- package/output/cx_sy_conversion_overflow.clas.mjs.map +10 -0
- package/output/cx_sy_create_data_error.clas.mjs +16 -0
- package/output/cx_sy_create_data_error.clas.mjs.map +10 -0
- package/output/cx_sy_create_object_error.clas.mjs +29 -0
- package/output/cx_sy_create_object_error.clas.mjs.map +10 -0
- package/output/cx_sy_data_access_error.clas.mjs +16 -0
- package/output/cx_sy_data_access_error.clas.mjs.map +10 -0
- package/output/cx_sy_duplicate_key.clas.mjs +16 -0
- package/output/cx_sy_duplicate_key.clas.mjs.map +10 -0
- package/output/cx_sy_dyn_call_error.clas.mjs +16 -0
- package/output/cx_sy_dyn_call_error.clas.mjs.map +10 -0
- package/output/cx_sy_dyn_call_illegal_class.clas.mjs +16 -0
- package/output/cx_sy_dyn_call_illegal_class.clas.mjs.map +10 -0
- package/output/cx_sy_dyn_call_illegal_func.clas.mjs +16 -0
- package/output/cx_sy_dyn_call_illegal_func.clas.mjs.map +10 -0
- package/output/cx_sy_dyn_call_illegal_method.clas.mjs +27 -0
- package/output/cx_sy_dyn_call_illegal_method.clas.mjs.map +10 -0
- package/output/cx_sy_dyn_call_param_not_found.clas.mjs +16 -0
- package/output/cx_sy_dyn_call_param_not_found.clas.mjs.map +10 -0
- package/output/cx_sy_dyn_call_parameter_error.clas.mjs +17 -0
- package/output/cx_sy_dyn_call_parameter_error.clas.mjs.map +10 -0
- package/output/cx_sy_dynamic_osql_error.clas.mjs +18 -0
- package/output/cx_sy_dynamic_osql_error.clas.mjs.map +10 -0
- package/output/cx_sy_dynamic_osql_semantics.clas.mjs +18 -0
- package/output/cx_sy_dynamic_osql_semantics.clas.mjs.map +10 -0
- package/output/cx_sy_itab_duplicate_key.clas.mjs +16 -0
- package/output/cx_sy_itab_duplicate_key.clas.mjs.map +10 -0
- package/output/cx_sy_itab_error.clas.mjs +16 -0
- package/output/cx_sy_itab_error.clas.mjs.map +10 -0
- package/output/cx_sy_itab_line_not_found.clas.mjs +16 -0
- package/output/cx_sy_itab_line_not_found.clas.mjs.map +10 -0
- package/output/cx_sy_message_illegal_text.clas.mjs +16 -0
- package/output/cx_sy_message_illegal_text.clas.mjs.map +10 -0
- package/output/cx_sy_move_cast_error.clas.mjs +16 -0
- package/output/cx_sy_move_cast_error.clas.mjs.map +10 -0
- package/output/cx_sy_open_sql_error.clas.mjs +18 -0
- package/output/cx_sy_open_sql_error.clas.mjs.map +10 -0
- package/output/cx_sy_range_out_of_bounds.clas.mjs +16 -0
- package/output/cx_sy_range_out_of_bounds.clas.mjs.map +10 -0
- package/output/cx_sy_ref_is_initial.clas.mjs +16 -0
- package/output/cx_sy_ref_is_initial.clas.mjs.map +10 -0
- package/output/cx_sy_sql_error.clas.mjs +20 -0
- package/output/cx_sy_sql_error.clas.mjs.map +10 -0
- package/output/cx_sy_strg_par_val.clas.mjs +16 -0
- package/output/cx_sy_strg_par_val.clas.mjs.map +10 -0
- package/output/cx_sy_struct_attributes.clas.mjs +16 -0
- package/output/cx_sy_struct_attributes.clas.mjs.map +10 -0
- package/output/cx_sy_struct_comp_name.clas.mjs +16 -0
- package/output/cx_sy_struct_comp_name.clas.mjs.map +10 -0
- package/output/cx_sy_struct_comp_type.clas.mjs +16 -0
- package/output/cx_sy_struct_comp_type.clas.mjs.map +10 -0
- package/output/cx_sy_struct_creation.clas.mjs +16 -0
- package/output/cx_sy_struct_creation.clas.mjs.map +10 -0
- package/output/cx_sy_type_creation.clas.mjs +16 -0
- package/output/cx_sy_type_creation.clas.mjs.map +10 -0
- package/output/cx_sy_zerodivide.clas.mjs +16 -0
- package/output/cx_sy_zerodivide.clas.mjs.map +10 -0
- package/output/cx_transformation_error.clas.mjs +16 -0
- package/output/cx_transformation_error.clas.mjs.map +10 -0
- package/output/cx_uuid_error.clas.mjs +16 -0
- package/output/cx_uuid_error.clas.mjs.map +10 -0
- package/output/cx_xslt_exception.clas.mjs +16 -0
- package/output/cx_xslt_exception.clas.mjs.map +10 -0
- package/output/cx_xslt_format_error.clas.mjs +16 -0
- package/output/cx_xslt_format_error.clas.mjs.map +10 -0
- package/output/cx_xslt_runtime_error.clas.mjs +16 -0
- package/output/cx_xslt_runtime_error.clas.mjs.map +10 -0
- package/output/cx_xslt_system_error.clas.mjs +16 -0
- package/output/cx_xslt_system_error.clas.mjs.map +10 -0
- package/output/dats.dtel.mjs +6 -0
- package/output/ddfields.ttyp.mjs +4 -0
- package/output/ddoption.dtel.mjs +6 -0
- package/output/ddsign.dtel.mjs +6 -0
- package/output/devclass.dtel.mjs +6 -0
- package/output/dfies.tabl.mjs +5 -0
- package/output/doku_obj.dtel.mjs +6 -0
- package/output/dynprofld.dtel.mjs +6 -0
- package/output/file_table.tabl.mjs +5 -0
- package/output/filetable.ttyp.mjs +4 -0
- package/output/flag.dtel.mjs +6 -0
- package/output/funcname.dtel.mjs +6 -0
- package/output/guid.dtel.mjs +6 -0
- package/output/if_abap_channel_types.intf.mjs +9 -0
- package/output/if_abap_channel_types.intf.mjs.map +8 -0
- package/output/if_abap_conv_in.intf.mjs +8 -0
- package/output/if_abap_conv_in.intf.mjs.map +8 -0
- package/output/if_abap_conv_out.intf.mjs +8 -0
- package/output/if_abap_conv_out.intf.mjs.map +8 -0
- package/output/if_abap_unit_constant.intf.mjs +15 -0
- package/output/if_abap_unit_constant.intf.mjs.map +8 -0
- package/output/if_apc_tcp_frame_types.intf.mjs +14 -0
- package/output/if_apc_tcp_frame_types.intf.mjs.map +8 -0
- package/output/if_apc_wsp_binding_manager.intf.mjs +8 -0
- package/output/if_apc_wsp_binding_manager.intf.mjs.map +8 -0
- package/output/if_apc_wsp_client.intf.mjs +8 -0
- package/output/if_apc_wsp_client.intf.mjs.map +8 -0
- package/output/if_apc_wsp_event_handler.intf.mjs +8 -0
- package/output/if_apc_wsp_event_handler.intf.mjs.map +8 -0
- package/output/if_apc_wsp_extension.intf.mjs +8 -0
- package/output/if_apc_wsp_extension.intf.mjs.map +8 -0
- package/output/if_apc_wsp_initial_request.intf.mjs +8 -0
- package/output/if_apc_wsp_initial_request.intf.mjs.map +8 -0
- package/output/if_apc_wsp_message.intf.mjs +8 -0
- package/output/if_apc_wsp_message.intf.mjs.map +8 -0
- package/output/if_apc_wsp_message_manager.intf.mjs +8 -0
- package/output/if_apc_wsp_message_manager.intf.mjs.map +8 -0
- package/output/if_apc_wsp_server_context.intf.mjs +8 -0
- package/output/if_apc_wsp_server_context.intf.mjs.map +8 -0
- package/output/if_aunit_constants.intf.mjs +27 -0
- package/output/if_aunit_constants.intf.mjs.map +8 -0
- package/output/if_document_bcs.intf.mjs +8 -0
- package/output/if_document_bcs.intf.mjs.map +8 -0
- package/output/if_http_client.intf.mjs +12 -0
- package/output/if_http_client.intf.mjs.map +8 -0
- package/output/if_http_entity.intf.mjs +14 -0
- package/output/if_http_entity.intf.mjs.map +8 -0
- package/output/if_http_extension.intf.mjs +12 -0
- package/output/if_http_extension.intf.mjs.map +8 -0
- package/output/if_http_request.intf.mjs +16 -0
- package/output/if_http_request.intf.mjs.map +8 -0
- package/output/if_http_response.intf.mjs +8 -0
- package/output/if_http_response.intf.mjs.map +8 -0
- package/output/if_http_server.intf.mjs +20 -0
- package/output/if_http_server.intf.mjs.map +8 -0
- package/output/if_http_utility.intf.mjs +8 -0
- package/output/if_http_utility.intf.mjs.map +8 -0
- package/output/if_ixml.intf.mjs +8 -0
- package/output/if_ixml.intf.mjs.map +8 -0
- package/output/if_ixml_attribute.intf.mjs +8 -0
- package/output/if_ixml_attribute.intf.mjs.map +8 -0
- package/output/if_ixml_document.intf.mjs +8 -0
- package/output/if_ixml_document.intf.mjs.map +8 -0
- package/output/if_ixml_element.intf.mjs +8 -0
- package/output/if_ixml_element.intf.mjs.map +8 -0
- package/output/if_ixml_encoding.intf.mjs +10 -0
- package/output/if_ixml_encoding.intf.mjs.map +8 -0
- package/output/if_ixml_istream.intf.mjs +8 -0
- package/output/if_ixml_istream.intf.mjs.map +8 -0
- package/output/if_ixml_named_node_map.intf.mjs +8 -0
- package/output/if_ixml_named_node_map.intf.mjs.map +8 -0
- package/output/if_ixml_node.intf.mjs +12 -0
- package/output/if_ixml_node.intf.mjs.map +8 -0
- package/output/if_ixml_node_iterator.intf.mjs +8 -0
- package/output/if_ixml_node_iterator.intf.mjs.map +8 -0
- package/output/if_ixml_node_list.intf.mjs +8 -0
- package/output/if_ixml_node_list.intf.mjs.map +8 -0
- package/output/if_ixml_ostream.intf.mjs +8 -0
- package/output/if_ixml_ostream.intf.mjs.map +8 -0
- package/output/if_ixml_parse_error.intf.mjs +8 -0
- package/output/if_ixml_parse_error.intf.mjs.map +8 -0
- package/output/if_ixml_parser.intf.mjs +10 -0
- package/output/if_ixml_parser.intf.mjs.map +8 -0
- package/output/if_ixml_renderer.intf.mjs +8 -0
- package/output/if_ixml_renderer.intf.mjs.map +8 -0
- package/output/if_ixml_stream_factory.intf.mjs +8 -0
- package/output/if_ixml_stream_factory.intf.mjs.map +8 -0
- package/output/if_ixml_unknown.intf.mjs +8 -0
- package/output/if_ixml_unknown.intf.mjs.map +8 -0
- package/output/if_message.intf.mjs +8 -0
- package/output/if_message.intf.mjs.map +8 -0
- package/output/if_oo_adt_classrun.intf.mjs +8 -0
- package/output/if_oo_adt_classrun.intf.mjs.map +8 -0
- package/output/if_oo_adt_classrun_out.intf.mjs +8 -0
- package/output/if_oo_adt_classrun_out.intf.mjs.map +8 -0
- package/output/if_oo_clif_source.intf.mjs +8 -0
- package/output/if_oo_clif_source.intf.mjs.map +8 -0
- package/output/if_recipient_bcs.intf.mjs +8 -0
- package/output/if_recipient_bcs.intf.mjs.map +8 -0
- package/output/if_salv_c_bool_sap.intf.mjs +12 -0
- package/output/if_salv_c_bool_sap.intf.mjs.map +8 -0
- package/output/if_salv_c_selection_mode.intf.mjs +18 -0
- package/output/if_salv_c_selection_mode.intf.mjs.map +8 -0
- package/output/if_sender_bcs.intf.mjs +8 -0
- package/output/if_sender_bcs.intf.mjs.map +8 -0
- package/output/if_serializable_object.intf.mjs +8 -0
- package/output/if_serializable_object.intf.mjs.map +8 -0
- package/output/if_shm_build_instance.intf.mjs +8 -0
- package/output/if_shm_build_instance.intf.mjs.map +8 -0
- package/output/if_shm_trace.intf.mjs +8 -0
- package/output/if_shm_trace.intf.mjs.map +8 -0
- package/output/if_sxml.intf.mjs +17 -0
- package/output/if_sxml.intf.mjs.map +8 -0
- package/output/if_sxml_attribute.intf.mjs +9 -0
- package/output/if_sxml_attribute.intf.mjs.map +8 -0
- package/output/if_sxml_close_element.intf.mjs +8 -0
- package/output/if_sxml_close_element.intf.mjs.map +8 -0
- package/output/if_sxml_node.intf.mjs +19 -0
- package/output/if_sxml_node.intf.mjs.map +8 -0
- package/output/if_sxml_open_element.intf.mjs +8 -0
- package/output/if_sxml_open_element.intf.mjs.map +8 -0
- package/output/if_sxml_reader.intf.mjs +8 -0
- package/output/if_sxml_reader.intf.mjs.map +8 -0
- package/output/if_sxml_value.intf.mjs +11 -0
- package/output/if_sxml_value.intf.mjs.map +8 -0
- package/output/if_sxml_value_node.intf.mjs +8 -0
- package/output/if_sxml_value_node.intf.mjs.map +8 -0
- package/output/if_sxml_writer.intf.mjs +26 -0
- package/output/if_sxml_writer.intf.mjs.map +8 -0
- package/output/if_sxmlp_factory.intf.mjs +8 -0
- package/output/if_sxmlp_factory.intf.mjs.map +8 -0
- package/output/if_sxmlp_list.intf.mjs +8 -0
- package/output/if_sxmlp_list.intf.mjs.map +8 -0
- package/output/if_sxmlp_part.intf.mjs +8 -0
- package/output/if_sxmlp_part.intf.mjs.map +8 -0
- package/output/if_sxmlp_simple.intf.mjs +8 -0
- package/output/if_sxmlp_simple.intf.mjs.map +8 -0
- package/output/if_system_uuid_rfc4122_static.intf.mjs +8 -0
- package/output/if_system_uuid_rfc4122_static.intf.mjs.map +8 -0
- package/output/if_system_uuid_static.intf.mjs +8 -0
- package/output/if_system_uuid_static.intf.mjs.map +8 -0
- package/output/if_t100_dyn_msg.intf.mjs +8 -0
- package/output/if_t100_dyn_msg.intf.mjs.map +8 -0
- package/output/if_t100_message.intf.mjs +15 -0
- package/output/if_t100_message.intf.mjs.map +8 -0
- package/output/ihttpnvp.tabl.mjs +5 -0
- package/output/index.mjs +35 -0
- package/output/init.mjs +8965 -0
- package/output/int1.dtel.mjs +6 -0
- package/output/int2.dtel.mjs +6 -0
- package/output/int4.dtel.mjs +6 -0
- package/output/kernel_authority_check.clas.mjs +20 -0
- package/output/kernel_authority_check.clas.mjs.map +10 -0
- package/output/kernel_call.clas.mjs +28 -0
- package/output/kernel_call.clas.mjs.map +10 -0
- package/output/kernel_call_transformation.clas.mjs +182 -0
- package/output/kernel_call_transformation.clas.mjs.map +10 -0
- package/output/kernel_create_data_handle.clas.mjs +121 -0
- package/output/kernel_create_data_handle.clas.mjs.map +10 -0
- package/output/kernel_cx_assert.clas.mjs +33 -0
- package/output/kernel_cx_assert.clas.mjs.map +10 -0
- package/output/kernel_fugr_test.clas.mjs +14 -0
- package/output/kernel_fugr_test.clas.mjs.map +10 -0
- package/output/kernel_ixml_json_to_data.clas.mjs +145 -0
- package/output/kernel_ixml_json_to_data.clas.mjs.map +10 -0
- package/output/kernel_ixml_xml_to_data.clas.mjs +96 -0
- package/output/kernel_ixml_xml_to_data.clas.mjs.map +10 -0
- package/output/kernel_json_to_ixml.clas.mjs +78 -0
- package/output/kernel_json_to_ixml.clas.mjs.map +10 -0
- package/output/kernel_lock.clas.mjs +31 -0
- package/output/kernel_lock.clas.mjs.map +10 -0
- package/output/kernel_numberrange.clas.mjs +38 -0
- package/output/kernel_numberrange.clas.mjs.map +10 -0
- package/output/kernel_push_channels.clas.mjs +20 -0
- package/output/kernel_push_channels.clas.mjs.map +10 -0
- package/output/kernel_scan_abap_source.clas.mjs +212 -0
- package/output/kernel_scan_abap_source.clas.mjs.map +10 -0
- package/output/kernel_unit_runner.clas.mjs +199 -0
- package/output/kernel_unit_runner.clas.mjs.map +10 -0
- package/output/laiso.dtel.mjs +6 -0
- package/output/land1.dtel.mjs +6 -0
- package/output/langu.dtel.mjs +6 -0
- package/output/lvc_nokeyc.dtel.mjs +6 -0
- package/output/mandt.dtel.mjs +6 -0
- package/output/match_result.tabl.mjs +5 -0
- package/output/match_result_tab.ttyp.mjs +4 -0
- package/output/msehi.dtel.mjs +6 -0
- package/output/number_get_next.fugr.number_get_next.mjs +23 -0
- package/output/number_get_next.fugr.number_get_next.mjs.map +8 -0
- package/output/number_get_next.fugr.saplnumber_get_next.mjs +5 -0
- package/output/number_get_next.fugr.saplnumber_get_next.mjs.map +8 -0
- package/output/numc4.dtel.mjs +6 -0
- package/output/openabap.fugr.conversion_exit_alpha_input.mjs +17 -0
- package/output/openabap.fugr.conversion_exit_alpha_input.mjs.map +8 -0
- package/output/openabap.fugr.conversion_exit_alpha_output.mjs +18 -0
- package/output/openabap.fugr.conversion_exit_alpha_output.mjs.map +8 -0
- package/output/openabap.fugr.conversion_exit_isola_input.mjs +20 -0
- package/output/openabap.fugr.conversion_exit_isola_input.mjs.map +8 -0
- package/output/openabap.fugr.conversion_exit_isola_output.mjs +17 -0
- package/output/openabap.fugr.conversion_exit_isola_output.mjs.map +8 -0
- package/output/openabap.fugr.convert_itf_to_stream_text.mjs +21 -0
- package/output/openabap.fugr.convert_itf_to_stream_text.mjs.map +8 -0
- package/output/openabap.fugr.docu_get.mjs +29 -0
- package/output/openabap.fugr.docu_get.mjs.map +8 -0
- package/output/openabap.fugr.generate_sec_random.mjs +19 -0
- package/output/openabap.fugr.generate_sec_random.mjs.map +8 -0
- package/output/openabap.fugr.get_system_timezone.mjs +12 -0
- package/output/openabap.fugr.get_system_timezone.mjs.map +8 -0
- package/output/openabap.fugr.saplzopenabap.mjs +5 -0
- package/output/openabap.fugr.saplzopenabap.mjs.map +8 -0
- package/output/openabap.fugr.system_callstack.mjs +16 -0
- package/output/openabap.fugr.system_callstack.mjs.map +8 -0
- package/output/openabap.fugr.system_installed_languages.mjs +13 -0
- package/output/openabap.fugr.system_installed_languages.mjs.map +8 -0
- package/output/openabap.fugr.text_split.mjs +33 -0
- package/output/openabap.fugr.text_split.mjs.map +8 -0
- package/output/reposrc.tabl.mjs +5 -0
- package/output/rfcdest.dtel.mjs +6 -0
- package/output/scrtext_l.dtel.mjs +6 -0
- package/output/scrtext_m.dtel.mjs +6 -0
- package/output/scrtext_s.dtel.mjs +6 -0
- package/output/scx_attrname.dtel.mjs +6 -0
- package/output/scx_t100key.tabl.mjs +5 -0
- package/output/seoclsname.dtel.mjs +6 -0
- package/output/shm_affect_server.dtel.mjs +6 -0
- package/output/shm_area_name.dtel.mjs +6 -0
- package/output/shm_attach_mode.dtel.mjs +6 -0
- package/output/shm_auto_build_class_name.dtel.mjs +6 -0
- package/output/shm_client.dtel.mjs +6 -0
- package/output/shm_constr_invocation_mode.dtel.mjs +6 -0
- package/output/shm_inst_infos.dtel.mjs +6 -0
- package/output/shm_inst_name.dtel.mjs +6 -0
- package/output/shm_life_context.dtel.mjs +6 -0
- package/output/shm_properties.tabl.mjs +5 -0
- package/output/shm_rc.dtel.mjs +6 -0
- package/output/shma_attributes.tabl.mjs +5 -0
- package/output/shma_client.dtel.mjs +6 -0
- package/output/shmm_trc_variant_name.dtel.mjs +6 -0
- package/output/so_raw255.dtel.mjs +6 -0
- package/output/so_text255.dtel.mjs +6 -0
- package/output/soli.tabl.mjs +5 -0
- package/output/soli_tab.ttyp.mjs +4 -0
- package/output/solix.tabl.mjs +5 -0
- package/output/solix_tab.ttyp.mjs +4 -0
- package/output/sotr_conc.dtel.mjs +6 -0
- package/output/spras.dtel.mjs +6 -0
- package/output/ssfapplssl.dtel.mjs +6 -0
- package/output/sstmnt.tabl.mjs +5 -0
- package/output/sstmnt_tab.ttyp.mjs +4 -0
- package/output/sstruc.tabl.mjs +5 -0
- package/output/sstruc_tab.ttyp.mjs +4 -0
- package/output/stokes.tabl.mjs +5 -0
- package/output/stokes_tab.ttyp.mjs +4 -0
- package/output/stokesx.tabl.mjs +5 -0
- package/output/string_table.ttyp.mjs +4 -0
- package/output/submatch_result.tabl.mjs +5 -0
- package/output/submatch_result_tab.ttyp.mjs +4 -0
- package/output/sydate.dtel.mjs +6 -0
- package/output/symsg.tabl.mjs +5 -0
- package/output/symsgid.dtel.mjs +6 -0
- package/output/symsgno.dtel.mjs +6 -0
- package/output/symsgty.dtel.mjs +6 -0
- package/output/symsgv.dtel.mjs +6 -0
- package/output/syst_host.dtel.mjs +6 -0
- package/output/sysubrc.dtel.mjs +6 -0
- package/output/sysuuid_c36.dtel.mjs +6 -0
- package/output/sysuuid_x16.dtel.mjs +6 -0
- package/output/syuname.dtel.mjs +6 -0
- package/output/t000.tabl.mjs +5 -0
- package/output/t100.tabl.mjs +5 -0
- package/output/tabfdpos.dtel.mjs +6 -0
- package/output/tabname.dtel.mjs +6 -0
- package/output/tadir.tabl.mjs +5 -0
- package/output/tdevc.tabl.mjs +5 -0
- package/output/tdline.dtel.mjs +6 -0
- package/output/text20.dtel.mjs +6 -0
- package/output/text200.dtel.mjs +6 -0
- package/output/text255.dtel.mjs +6 -0
- package/output/text30.dtel.mjs +6 -0
- package/output/text80.dtel.mjs +6 -0
- package/output/textpool.tabl.mjs +5 -0
- package/output/tfdir.tabl.mjs +5 -0
- package/output/tihttpnvp.ttyp.mjs +4 -0
- package/output/timestamp.dtel.mjs +6 -0
- package/output/timestampl.dtel.mjs +6 -0
- package/output/timezone.dtel.mjs +6 -0
- package/output/tline.tabl.mjs +5 -0
- package/output/tline_tab.ttyp.mjs +4 -0
- package/output/trfunction.dtel.mjs +6 -0
- package/output/trkorr.dtel.mjs +6 -0
- package/output/tzntstmpl.dtel.mjs +6 -0
- package/output/uname.dtel.mjs +6 -0
- package/output/w3mime.tabl.mjs +5 -0
- package/output/wwwdatatab.tabl.mjs +5 -0
- package/output/wwwparams.tabl.mjs +5 -0
- package/output/xfeld.dtel.mjs +6 -0
- package/output/xsdboolean.dtel.mjs +6 -0
- package/output/xsdtime_t.dtel.mjs +6 -0
- package/output/zw3mi.fugr.saplzw3mi.mjs +5 -0
- package/output/zw3mi.fugr.saplzw3mi.mjs.map +8 -0
- package/output/zw3mi.fugr.wwwdata_export.mjs +14 -0
- package/output/zw3mi.fugr.wwwdata_export.mjs.map +8 -0
- package/output/zw3mi.fugr.wwwdata_import.mjs +14 -0
- package/output/zw3mi.fugr.wwwdata_import.mjs.map +8 -0
- package/output/zw3mi.fugr.wwwparams_insert.mjs +12 -0
- package/output/zw3mi.fugr.wwwparams_insert.mjs.map +8 -0
- package/output/zw3mi.fugr.wwwparams_read.mjs +27 -0
- package/output/zw3mi.fugr.wwwparams_read.mjs.map +8 -0
- package/package.json +3 -3
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
const {cx_root} = await import("./cx_root.clas.mjs");
|
|
2
|
+
// cl_abap_gzip.clas.abap
|
|
3
|
+
class cl_abap_gzip {
|
|
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 decompress_text(INPUT) {
|
|
12
|
+
return cl_abap_gzip.decompress_text(INPUT);
|
|
13
|
+
}
|
|
14
|
+
static async decompress_text(INPUT) {
|
|
15
|
+
let gzip_in = new abap.types.Hex();
|
|
16
|
+
if (INPUT && INPUT.gzip_in) {gzip_in = INPUT.gzip_in;}
|
|
17
|
+
let gzip_in_len = new abap.types.Integer({qualifiedName: "I"});
|
|
18
|
+
if (INPUT && INPUT.gzip_in_len) {gzip_in_len.set(INPUT.gzip_in_len);}
|
|
19
|
+
if (INPUT === undefined || INPUT.gzip_in_len === undefined) {gzip_in_len = new abap.types.Integer().set(-1);}
|
|
20
|
+
let conversion = new abap.types.Character(20, {"qualifiedName":"ABAP_ENCOD"});
|
|
21
|
+
if (INPUT && INPUT.conversion) {conversion.set(INPUT.conversion);}
|
|
22
|
+
if (INPUT === undefined || INPUT.conversion === undefined) {conversion = new abap.types.Character(7).set('DEFAULT');}
|
|
23
|
+
let text_out = new abap.types.Character();
|
|
24
|
+
if (INPUT && INPUT.text_out) {text_out = INPUT.text_out;}
|
|
25
|
+
let text_out_len = new abap.types.Integer({qualifiedName: "I"});
|
|
26
|
+
if (INPUT && INPUT.text_out_len) {text_out_len = INPUT.text_out_len;}
|
|
27
|
+
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
|
|
28
|
+
}
|
|
29
|
+
async compress_text(INPUT) {
|
|
30
|
+
return cl_abap_gzip.compress_text(INPUT);
|
|
31
|
+
}
|
|
32
|
+
static async compress_text(INPUT) {
|
|
33
|
+
let text_in = new abap.types.Character();
|
|
34
|
+
if (INPUT && INPUT.text_in) {text_in = INPUT.text_in;}
|
|
35
|
+
let text_in_len = new abap.types.Integer({qualifiedName: "I"});
|
|
36
|
+
if (INPUT && INPUT.text_in_len) {text_in_len.set(INPUT.text_in_len);}
|
|
37
|
+
if (INPUT === undefined || INPUT.text_in_len === undefined) {text_in_len = new abap.types.Integer().set(-1);}
|
|
38
|
+
let compress_level = new abap.types.Integer({qualifiedName: "I"});
|
|
39
|
+
if (INPUT && INPUT.compress_level) {compress_level.set(INPUT.compress_level);}
|
|
40
|
+
if (INPUT === undefined || INPUT.compress_level === undefined) {compress_level = new abap.types.Integer().set(6);}
|
|
41
|
+
let conversion = new abap.types.Character(20, {"qualifiedName":"ABAP_ENCOD"});
|
|
42
|
+
if (INPUT && INPUT.conversion) {conversion.set(INPUT.conversion);}
|
|
43
|
+
if (INPUT === undefined || INPUT.conversion === undefined) {conversion = new abap.types.Character(7).set('DEFAULT');}
|
|
44
|
+
let gzip_out = new abap.types.Hex();
|
|
45
|
+
if (INPUT && INPUT.gzip_out) {gzip_out = INPUT.gzip_out;}
|
|
46
|
+
let gzip_out_len = new abap.types.Integer({qualifiedName: "I"});
|
|
47
|
+
if (INPUT && INPUT.gzip_out_len) {gzip_out_len = INPUT.gzip_out_len;}
|
|
48
|
+
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
|
|
49
|
+
}
|
|
50
|
+
async decompress_binary(INPUT) {
|
|
51
|
+
return cl_abap_gzip.decompress_binary(INPUT);
|
|
52
|
+
}
|
|
53
|
+
static async decompress_binary(INPUT) {
|
|
54
|
+
let gzip_in = new abap.types.XString({qualifiedName: "XSTRING"});
|
|
55
|
+
if (INPUT && INPUT.gzip_in) {gzip_in.set(INPUT.gzip_in);}
|
|
56
|
+
let raw_out = new abap.types.XString({qualifiedName: "XSTRING"});
|
|
57
|
+
if (INPUT && INPUT.raw_out) {raw_out = INPUT.raw_out;}
|
|
58
|
+
let raw_out_len = new abap.types.Integer({qualifiedName: "I"});
|
|
59
|
+
if (INPUT && INPUT.raw_out_len) {raw_out_len = INPUT.raw_out_len;}
|
|
60
|
+
const zlib = await import("zlib");
|
|
61
|
+
const buf = Buffer.from(gzip_in.get(), "hex");
|
|
62
|
+
const decompress = zlib.inflateRawSync(buf).toString("hex").toUpperCase();
|
|
63
|
+
raw_out.set(decompress);
|
|
64
|
+
raw_out_len.set(abap.builtin.xstrlen({val: raw_out}));
|
|
65
|
+
}
|
|
66
|
+
async compress_binary(INPUT) {
|
|
67
|
+
return cl_abap_gzip.compress_binary(INPUT);
|
|
68
|
+
}
|
|
69
|
+
static async compress_binary(INPUT) {
|
|
70
|
+
let compress_level = new abap.types.Integer({qualifiedName: "I"});
|
|
71
|
+
if (INPUT && INPUT.compress_level) {compress_level.set(INPUT.compress_level);}
|
|
72
|
+
let raw_in = new abap.types.XString({qualifiedName: "XSTRING"});
|
|
73
|
+
if (INPUT && INPUT.raw_in) {raw_in.set(INPUT.raw_in);}
|
|
74
|
+
let gzip_out = new abap.types.XString({qualifiedName: "XSTRING"});
|
|
75
|
+
if (INPUT && INPUT.gzip_out) {gzip_out = INPUT.gzip_out;}
|
|
76
|
+
let gzip_out_len = new abap.types.Integer({qualifiedName: "I"});
|
|
77
|
+
if (INPUT && INPUT.gzip_out_len) {gzip_out_len = INPUT.gzip_out_len;}
|
|
78
|
+
const zlib = await import("zlib");
|
|
79
|
+
const buf = Buffer.from(raw_in.get(), "hex");
|
|
80
|
+
const gzi = zlib.deflateRawSync(buf).toString("hex").toUpperCase();
|
|
81
|
+
gzip_out.set(gzi);
|
|
82
|
+
gzip_out_len.set(abap.builtin.xstrlen({val: gzip_out}));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
abap.Classes['CL_ABAP_GZIP'] = cl_abap_gzip;
|
|
86
|
+
export {cl_abap_gzip};
|
|
87
|
+
//# sourceMappingURL=cl_abap_gzip.clas.mjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": [
|
|
4
|
+
"cl_abap_gzip.clas.abap"
|
|
5
|
+
],
|
|
6
|
+
"names": [],
|
|
7
|
+
"mappings": ";;AA+CA;;;;;;;;EACE;;;;;;;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;EACnB;EAEA;;;;;;;;;;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;EACnB;EAEA;;;;;;;;;;IACE;IACA;IACA;IAEA;IACA,gBAAc,2BAAS,SAAS;EAClC;EAEA;;;;;;;;;;;;IAEE;IACA;IACA;IAEA;IACA,iBAAe,2BAAS,UAAU;EACpC;AACF",
|
|
8
|
+
"file": "cl_abap_gzip.clas.mjs",
|
|
9
|
+
"sourceRoot": ""
|
|
10
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const {cx_root} = await import("./cx_root.clas.mjs");
|
|
2
|
+
// cl_abap_hmac.clas.abap
|
|
3
|
+
class cl_abap_hmac {
|
|
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 calculate_hmac_for_raw(INPUT) {
|
|
12
|
+
return cl_abap_hmac.calculate_hmac_for_raw(INPUT);
|
|
13
|
+
}
|
|
14
|
+
static async calculate_hmac_for_raw(INPUT) {
|
|
15
|
+
let if_algorithm = new abap.types.String({qualifiedName: "STRING"});
|
|
16
|
+
if (INPUT && INPUT.if_algorithm) {if_algorithm.set(INPUT.if_algorithm);}
|
|
17
|
+
if (INPUT === undefined || INPUT.if_algorithm === undefined) {if_algorithm = new abap.types.Character(4).set('SHA1');}
|
|
18
|
+
let if_key = new abap.types.XString({qualifiedName: "XSTRING"});
|
|
19
|
+
if (INPUT && INPUT.if_key) {if_key.set(INPUT.if_key);}
|
|
20
|
+
let if_data = new abap.types.XString({qualifiedName: "XSTRING"});
|
|
21
|
+
if (INPUT && INPUT.if_data) {if_data.set(INPUT.if_data);}
|
|
22
|
+
let ef_hmacstring = new abap.types.String({qualifiedName: "STRING"});
|
|
23
|
+
if (INPUT && INPUT.ef_hmacstring) {ef_hmacstring = INPUT.ef_hmacstring;}
|
|
24
|
+
let ef_hmacxstring = new abap.types.XString({qualifiedName: "XSTRING"});
|
|
25
|
+
if (INPUT && INPUT.ef_hmacxstring) {ef_hmacxstring = INPUT.ef_hmacxstring;}
|
|
26
|
+
let lv_algorithm = new abap.types.String({qualifiedName: "STRING"});
|
|
27
|
+
abap.statements.clear(ef_hmacstring);
|
|
28
|
+
abap.statements.clear(ef_hmacxstring);
|
|
29
|
+
lv_algorithm.set(abap.builtin.to_lower({val: if_algorithm}));
|
|
30
|
+
abap.statements.assert(abap.compare.eq(lv_algorithm, new abap.types.Character(4).set('sha1')) || abap.compare.eq(lv_algorithm, new abap.types.Character(3).set('md5')) || abap.compare.eq(lv_algorithm, new abap.types.Character(6).set('sha256')));
|
|
31
|
+
const crypto = await import("crypto");
|
|
32
|
+
if (abap.compare.initial(if_key)) {
|
|
33
|
+
var shasum = crypto.createHash(lv_algorithm.get());
|
|
34
|
+
shasum.update(if_data.get(), "hex");
|
|
35
|
+
ef_hmacstring.set(shasum.digest("hex").toUpperCase());
|
|
36
|
+
} else {
|
|
37
|
+
let hmac = crypto.createHmac(lv_algorithm.get(), Buffer.from(if_key.get(), "hex")).update(if_data.get(), "hex").digest("hex").toUpperCase();
|
|
38
|
+
ef_hmacstring.set(hmac);
|
|
39
|
+
}
|
|
40
|
+
ef_hmacxstring.set(ef_hmacstring);
|
|
41
|
+
}
|
|
42
|
+
async calculate_hmac_for_char(INPUT) {
|
|
43
|
+
return cl_abap_hmac.calculate_hmac_for_char(INPUT);
|
|
44
|
+
}
|
|
45
|
+
static async calculate_hmac_for_char(INPUT) {
|
|
46
|
+
let if_algorithm = new abap.types.String({qualifiedName: "STRING"});
|
|
47
|
+
if (INPUT && INPUT.if_algorithm) {if_algorithm.set(INPUT.if_algorithm);}
|
|
48
|
+
if (INPUT === undefined || INPUT.if_algorithm === undefined) {if_algorithm = new abap.types.Character(4).set('SHA1');}
|
|
49
|
+
let if_key = new abap.types.XString({qualifiedName: "XSTRING"});
|
|
50
|
+
if (INPUT && INPUT.if_key) {if_key.set(INPUT.if_key);}
|
|
51
|
+
let if_data = new abap.types.String({qualifiedName: "STRING"});
|
|
52
|
+
if (INPUT && INPUT.if_data) {if_data.set(INPUT.if_data);}
|
|
53
|
+
let ef_hmacstring = new abap.types.String({qualifiedName: "STRING"});
|
|
54
|
+
if (INPUT && INPUT.ef_hmacstring) {ef_hmacstring = INPUT.ef_hmacstring;}
|
|
55
|
+
let ef_hmacxstring = new abap.types.XString({qualifiedName: "XSTRING"});
|
|
56
|
+
if (INPUT && INPUT.ef_hmacxstring) {ef_hmacxstring = INPUT.ef_hmacxstring;}
|
|
57
|
+
let ef_hmacb64string = new abap.types.String({qualifiedName: "STRING"});
|
|
58
|
+
if (INPUT && INPUT.ef_hmacb64string) {ef_hmacb64string = INPUT.ef_hmacb64string;}
|
|
59
|
+
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
abap.Classes['CL_ABAP_HMAC'] = cl_abap_hmac;
|
|
63
|
+
export {cl_abap_hmac};
|
|
64
|
+
//# sourceMappingURL=cl_abap_hmac.clas.mjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": [
|
|
4
|
+
"cl_abap_hmac.clas.abap"
|
|
5
|
+
],
|
|
6
|
+
"names": [],
|
|
7
|
+
"mappings": ";;AA0BA;;;;;;;;EACE;;;;;;;;;;;;;;;QAEO,+DAAwB;IAE7B,sBAAM,aAAa;IACnB,sBAAM,cAAc;IAEpB,iBAAe,4BAAU,cAAc;IACvC,oCAAoB,GAAb,cAAe,wCAAO,iBAAgB,GAAb,cAAe,uCAAM,iBAAgB,GAAb,cAAe,0CAAQ;IAG/E;IACA,yBAAG,OAAiB;MAClB;MACA;MACA;IACF;MACE;MACA;IACF;IAEA,mBAAiB,aAAa;EAEhC;EAEA;;;;;;;;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;EACnB;AACF",
|
|
8
|
+
"file": "cl_abap_hmac.clas.mjs",
|
|
9
|
+
"sourceRoot": ""
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const {cl_abap_objectdescr} = await import("./cl_abap_objectdescr.clas.mjs");
|
|
2
|
+
const {cx_root} = await import("./cx_root.clas.mjs");
|
|
3
|
+
// cl_abap_intfdescr.clas.abap
|
|
4
|
+
class cl_abap_intfdescr extends cl_abap_objectdescr {
|
|
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
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
abap.Classes['CL_ABAP_INTFDESCR'] = cl_abap_intfdescr;
|
|
15
|
+
export {cl_abap_intfdescr};
|
|
16
|
+
//# sourceMappingURL=cl_abap_intfdescr.clas.mjs.map
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
const {cx_root} = await import("./cx_root.clas.mjs");
|
|
2
|
+
// cl_abap_matcher.clas.abap
|
|
3
|
+
class cl_abap_matcher {
|
|
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.mt_matches = new abap.types.Table(new abap.types.Structure({"line": new abap.types.Integer(), "offset": new abap.types.Integer(), "length": new abap.types.Integer(), "submatches": new abap.types.Table(new abap.types.Structure({"offset": new abap.types.Integer(), "length": new abap.types.Integer()}, "SUBMATCH_RESULT"), {"withHeader":false}, "SUBMATCH_RESULT_TAB")}, "MATCH_RESULT"), {"withHeader":false}, "MATCH_RESULT_TAB");
|
|
10
|
+
this.mv_index = new abap.types.Integer({qualifiedName: "I"});
|
|
11
|
+
this.mv_text = new abap.types.String({qualifiedName: "STRING"});
|
|
12
|
+
this.mv_pattern = new abap.types.String({qualifiedName: "STRING"});
|
|
13
|
+
let pattern = new abap.types.Character();
|
|
14
|
+
if (INPUT && INPUT.pattern) {pattern = INPUT.pattern;}
|
|
15
|
+
let ignore_case = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
|
|
16
|
+
if (INPUT && INPUT.ignore_case) {ignore_case = INPUT.ignore_case;}
|
|
17
|
+
let text = new abap.types.Character();
|
|
18
|
+
if (INPUT && INPUT.text) {text = INPUT.text;}
|
|
19
|
+
if (abap.compare.eq(ignore_case, abap.builtin.abap_true)) {
|
|
20
|
+
abap.statements.find(text, {regex: pattern, first: false, ignoringCase: true, results: this.mt_matches});
|
|
21
|
+
} else {
|
|
22
|
+
abap.statements.find(text, {regex: pattern, first: false, results: this.mt_matches});
|
|
23
|
+
}
|
|
24
|
+
this.mv_pattern.set(pattern);
|
|
25
|
+
this.mv_text.set(text);
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
async match() {
|
|
29
|
+
let success = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
|
|
30
|
+
abap.statements.find(this.mv_text, {regex: new abap.types.String().set(`^${abap.templateFormatting(this.mv_pattern)}$`), first: false});
|
|
31
|
+
success.set(abap.builtin.boolc(abap.compare.eq(abap.builtin.sy.get().subrc, new abap.types.Integer().set(0))));
|
|
32
|
+
return success;
|
|
33
|
+
}
|
|
34
|
+
async find_all() {
|
|
35
|
+
let rt_matches = new abap.types.Table(new abap.types.Structure({"line": new abap.types.Integer(), "offset": new abap.types.Integer(), "length": new abap.types.Integer(), "submatches": new abap.types.Table(new abap.types.Structure({"offset": new abap.types.Integer(), "length": new abap.types.Integer()}, "SUBMATCH_RESULT"), {"withHeader":false}, "SUBMATCH_RESULT_TAB")}, "MATCH_RESULT"), {"withHeader":false}, "MATCH_RESULT_TAB");
|
|
36
|
+
rt_matches.set(this.mt_matches);
|
|
37
|
+
return rt_matches;
|
|
38
|
+
}
|
|
39
|
+
async find_next() {
|
|
40
|
+
let found = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
|
|
41
|
+
this.mv_index.set(abap.operators.add(this.mv_index,new abap.types.Integer().set(1)));
|
|
42
|
+
abap.statements.readTable(this.mt_matches,{index: this.mv_index});
|
|
43
|
+
found.set(abap.builtin.boolc(abap.compare.eq(abap.builtin.sy.get().subrc, new abap.types.Integer().set(0))));
|
|
44
|
+
return found;
|
|
45
|
+
}
|
|
46
|
+
async get_submatch(INPUT) {
|
|
47
|
+
let match = new abap.types.String({qualifiedName: "STRING"});
|
|
48
|
+
let index = new abap.types.Integer({qualifiedName: "I"});
|
|
49
|
+
if (INPUT && INPUT.index) {index.set(INPUT.index);}
|
|
50
|
+
let ls_match = new abap.types.Structure({"line": new abap.types.Integer(), "offset": new abap.types.Integer(), "length": new abap.types.Integer(), "submatches": new abap.types.Table(new abap.types.Structure({"offset": new abap.types.Integer(), "length": new abap.types.Integer()}, "SUBMATCH_RESULT"), {"withHeader":false}, "SUBMATCH_RESULT_TAB")}, "MATCH_RESULT");
|
|
51
|
+
let ls_submatch = new abap.types.Structure({"offset": new abap.types.Integer(), "length": new abap.types.Integer()}, "SUBMATCH_RESULT");
|
|
52
|
+
abap.statements.readTable(this.mt_matches,{index: this.mv_index,into: ls_match});
|
|
53
|
+
abap.statements.readTable(ls_match.get().submatches,{index: index,into: ls_submatch});
|
|
54
|
+
if (abap.compare.eq(abap.builtin.sy.get().subrc, new abap.types.Integer().set(0))) {
|
|
55
|
+
match.set(this.mv_text.getOffset({offset: ls_submatch.get().offset, length: ls_submatch.get().length}));
|
|
56
|
+
}
|
|
57
|
+
return match;
|
|
58
|
+
}
|
|
59
|
+
async get_offset() {
|
|
60
|
+
let offset = new abap.types.Integer({qualifiedName: "I"});
|
|
61
|
+
let ls_match = new abap.types.Structure({"line": new abap.types.Integer(), "offset": new abap.types.Integer(), "length": new abap.types.Integer(), "submatches": new abap.types.Table(new abap.types.Structure({"offset": new abap.types.Integer(), "length": new abap.types.Integer()}, "SUBMATCH_RESULT"), {"withHeader":false}, "SUBMATCH_RESULT_TAB")}, "MATCH_RESULT");
|
|
62
|
+
abap.statements.readTable(this.mt_matches,{index: this.mv_index,into: ls_match});
|
|
63
|
+
offset.set(ls_match.get().offset);
|
|
64
|
+
return offset;
|
|
65
|
+
}
|
|
66
|
+
async get_length() {
|
|
67
|
+
let length = new abap.types.Integer({qualifiedName: "I"});
|
|
68
|
+
let ls_match = new abap.types.Structure({"line": new abap.types.Integer(), "offset": new abap.types.Integer(), "length": new abap.types.Integer(), "submatches": new abap.types.Table(new abap.types.Structure({"offset": new abap.types.Integer(), "length": new abap.types.Integer()}, "SUBMATCH_RESULT"), {"withHeader":false}, "SUBMATCH_RESULT_TAB")}, "MATCH_RESULT");
|
|
69
|
+
abap.statements.readTable(this.mt_matches,{index: this.mv_index,into: ls_match});
|
|
70
|
+
length.set(ls_match.get().length);
|
|
71
|
+
return length;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
abap.Classes['CL_ABAP_MATCHER'] = cl_abap_matcher;
|
|
75
|
+
export {cl_abap_matcher};
|
|
76
|
+
//# sourceMappingURL=cl_abap_matcher.clas.mjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": [
|
|
4
|
+
"cl_abap_matcher.clas.abap"
|
|
5
|
+
],
|
|
6
|
+
"names": [],
|
|
7
|
+
"mappings": ";;AA2CA;;;EAEE;;;;;;;;;;;;;IACE,iBAAe,GAAZ,aAAc,uBAAS;;IAE1B;;IAEA;IACA,oBAAa,OAAO;IACpB,iBAAU,IAAI;IAChB;;EAEA;;;IAEE,YAAU,gCAAgB,GAAT,eAAE,MAAC,QAAQ,gCAAlB,CAAqB;IACjC;;EAEA;;IACE,eAAa,eAAU;IACzB;;EAEA;;IACE,kBAAoB,mBAAT,cAAW,gCAAC;IACvB,gEAA2D;IAC3D,UAAQ,gCAAgB,GAAT,eAAE,MAAC,QAAQ,gCAAlB,CAAqB;IAC/B;;EAEA;;;;QACO,uWAAgC;QAChC,mIAA4C;IACjD,+EAAkD;IAClD,oFAA2D;IAC3D,iBAAY,GAAT,eAAE,MAAC,QAAQ,gCAAC;MACb,UAAQ,4FAA8C;IACxD;IACF;;EAEA;;QACO,uWAAgC;IACrC,+EAAkD;IAClD,WAAS,QAAQ,MAAC,OAAM;IAC1B;;EAEA;;QACO,uWAAgC;IACrC,+EAAkD;IAClD,WAAS,QAAQ,MAAC,OAAM;IAC1B;;AAEF",
|
|
8
|
+
"file": "cl_abap_matcher.clas.mjs",
|
|
9
|
+
"sourceRoot": ""
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const {cx_root} = await import("./cx_root.clas.mjs");
|
|
2
|
+
// cl_abap_math.clas.abap
|
|
3
|
+
class cl_abap_math {
|
|
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.min_int4 = cl_abap_math.min_int4;
|
|
10
|
+
this.max_int4 = cl_abap_math.max_int4;
|
|
11
|
+
this.round_ceiling = cl_abap_math.round_ceiling;
|
|
12
|
+
this.round_up = cl_abap_math.round_up;
|
|
13
|
+
this.round_half_up = cl_abap_math.round_half_up;
|
|
14
|
+
this.round_half_even = cl_abap_math.round_half_even;
|
|
15
|
+
this.round_half_down = cl_abap_math.round_half_down;
|
|
16
|
+
this.round_down = cl_abap_math.round_down;
|
|
17
|
+
this.round_floor = cl_abap_math.round_floor;
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
abap.Classes['CL_ABAP_MATH'] = cl_abap_math;
|
|
22
|
+
cl_abap_math.min_int4 = new abap.types.Integer({qualifiedName: "I"});
|
|
23
|
+
cl_abap_math.min_int4.set(-2147483648);
|
|
24
|
+
cl_abap_math.max_int4 = new abap.types.Integer({qualifiedName: "I"});
|
|
25
|
+
cl_abap_math.max_int4.set(2147483647);
|
|
26
|
+
cl_abap_math.round_ceiling = new abap.types.Integer({qualifiedName: "I"});
|
|
27
|
+
cl_abap_math.round_ceiling.set(0);
|
|
28
|
+
cl_abap_math.round_up = new abap.types.Integer({qualifiedName: "I"});
|
|
29
|
+
cl_abap_math.round_up.set(1);
|
|
30
|
+
cl_abap_math.round_half_up = new abap.types.Integer({qualifiedName: "I"});
|
|
31
|
+
cl_abap_math.round_half_up.set(2);
|
|
32
|
+
cl_abap_math.round_half_even = new abap.types.Integer({qualifiedName: "I"});
|
|
33
|
+
cl_abap_math.round_half_even.set(3);
|
|
34
|
+
cl_abap_math.round_half_down = new abap.types.Integer({qualifiedName: "I"});
|
|
35
|
+
cl_abap_math.round_half_down.set(4);
|
|
36
|
+
cl_abap_math.round_down = new abap.types.Integer({qualifiedName: "I"});
|
|
37
|
+
cl_abap_math.round_down.set(5);
|
|
38
|
+
cl_abap_math.round_floor = new abap.types.Integer({qualifiedName: "I"});
|
|
39
|
+
cl_abap_math.round_floor.set(6);
|
|
40
|
+
export {cl_abap_math};
|
|
41
|
+
//# sourceMappingURL=cl_abap_math.clas.mjs.map
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
const {cl_abap_typedescr} = await import("./cl_abap_typedescr.clas.mjs");
|
|
2
|
+
const {cx_root} = await import("./cx_root.clas.mjs");
|
|
3
|
+
// cl_abap_objectdescr.clas.abap
|
|
4
|
+
class cl_abap_objectdescr extends cl_abap_typedescr {
|
|
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.attributes = new abap.types.Table(new abap.types.Structure({"length": new abap.types.Integer({qualifiedName: "LENGTH"}), "decimals": new abap.types.Integer({qualifiedName: "DECIMALS"}), "name": new abap.types.Character(61, {"qualifiedName":"abap_attrname"}), "type_kind": new abap.types.Character(1, {"qualifiedName":"abap_typekind"}), "visibility": new abap.types.Character(1, {"qualifiedName":"abap_visibility"}), "is_interface": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "is_inherited": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "is_class": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "is_constant": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "is_virtual": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "is_read_only": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "alias_for": new abap.types.Character(61, {"qualifiedName":"abap_attrname"})}, "abap_attrdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "abap_attrdescr_tab");
|
|
12
|
+
this.methods = new abap.types.Table(new abap.types.Structure({"parameters": 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_parmname"}), "parm_kind": new abap.types.Character(1, {"qualifiedName":"abap_parmkind"}), "by_value": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "is_optional": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "abap_parmdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "abap_parmdescr_tab"), "exceptions": new abap.types.Table(new abap.types.Structure({"name": new abap.types.Character(30, {"qualifiedName":"abap_excpname"}), "is_resumable": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "abap_excpdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "abap_excpdescr_tab"), "name": new abap.types.Character(61, {"qualifiedName":"abap_methname"}), "for_event": new abap.types.Character(61, {"qualifiedName":"abap_evntname"}), "of_class": new abap.types.Character(30, {"qualifiedName":"abap_classname"}), "visibility": new abap.types.Character(1, {"qualifiedName":"abap_visibility"}), "is_interface": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "is_inherited": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "is_redefined": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "is_abstract": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "is_final": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "is_class": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}), "alias_for": new abap.types.Character(61, {"qualifiedName":"abap_methname"}), "is_raising_excps": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "abap_methdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "abap_methdescr_tab");
|
|
13
|
+
this.interfaces = new abap.types.Table(new abap.types.Structure({"name": new abap.types.Character(30, {"qualifiedName":"abap_intfname"}), "is_inherited": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "abap_intfdescr"), {"withHeader":false,"primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["NAME"]},"secondary":[]}, "abap_intfdescr_tab");
|
|
14
|
+
this.mv_object_name = new abap.types.String({qualifiedName: "STRING"});
|
|
15
|
+
this.mv_object_type = new abap.types.String({qualifiedName: "STRING"});
|
|
16
|
+
this.changing = cl_abap_objectdescr.changing;
|
|
17
|
+
this.exporting = cl_abap_objectdescr.exporting;
|
|
18
|
+
this.importing = cl_abap_objectdescr.importing;
|
|
19
|
+
this.receiving = cl_abap_objectdescr.receiving;
|
|
20
|
+
this.returning = cl_abap_objectdescr.returning;
|
|
21
|
+
this.private_ = cl_abap_objectdescr.private_;
|
|
22
|
+
this.protected = cl_abap_objectdescr.protected;
|
|
23
|
+
this.public_ = cl_abap_objectdescr.public_;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
async get_method_parameter_type(INPUT) {
|
|
27
|
+
let p_descr_ref = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
|
|
28
|
+
let p_method_name = new abap.types.Character(4);
|
|
29
|
+
if (INPUT && INPUT.p_method_name) {p_method_name = INPUT.p_method_name;}
|
|
30
|
+
let p_parameter_name = new abap.types.Character(4);
|
|
31
|
+
if (INPUT && INPUT.p_parameter_name) {p_parameter_name = INPUT.p_parameter_name;}
|
|
32
|
+
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
|
|
33
|
+
return p_descr_ref;
|
|
34
|
+
}
|
|
35
|
+
async get_interface_type(INPUT) {
|
|
36
|
+
let p_descr_ref = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_INTFDESCR"});
|
|
37
|
+
let p_name = new abap.types.Character(4);
|
|
38
|
+
if (INPUT && INPUT.p_name) {p_name = INPUT.p_name;}
|
|
39
|
+
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
|
|
40
|
+
return p_descr_ref;
|
|
41
|
+
}
|
|
42
|
+
async get_attribute_type(INPUT) {
|
|
43
|
+
let p_descr_ref = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_DATADESCR"});
|
|
44
|
+
let p_name = new abap.types.Character(4);
|
|
45
|
+
if (INPUT && INPUT.p_name) {p_name = INPUT.p_name;}
|
|
46
|
+
let lv_name = new abap.types.String({qualifiedName: "STRING"});
|
|
47
|
+
let l_sub = new abap.types.String({qualifiedName: "STRING"});
|
|
48
|
+
let l_any = new abap.types.String({qualifiedName: "STRING"});
|
|
49
|
+
lv_name.set(p_name);
|
|
50
|
+
let foo = abap.Classes[this.mv_object_name.get()];
|
|
51
|
+
abap.statements.concatenate({source: [this.mv_object_name, new abap.types.Character(1).set('$'), lv_name], target: l_sub});
|
|
52
|
+
l_sub.set(abap.builtin.to_lower({val: l_sub}));
|
|
53
|
+
l_any = foo[l_sub.get()];
|
|
54
|
+
await abap.statements.cast(p_descr_ref, (await this.describe_by_data({p_data: l_any})));
|
|
55
|
+
return p_descr_ref;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
abap.Classes['CL_ABAP_OBJECTDESCR'] = cl_abap_objectdescr;
|
|
59
|
+
cl_abap_objectdescr.changing = new abap.types.Character(1, {"qualifiedName":"abap_parmkind"});
|
|
60
|
+
cl_abap_objectdescr.changing.set('C');
|
|
61
|
+
cl_abap_objectdescr.exporting = new abap.types.Character(1, {"qualifiedName":"abap_parmkind"});
|
|
62
|
+
cl_abap_objectdescr.exporting.set('E');
|
|
63
|
+
cl_abap_objectdescr.importing = new abap.types.Character(1, {"qualifiedName":"abap_parmkind"});
|
|
64
|
+
cl_abap_objectdescr.importing.set('I');
|
|
65
|
+
cl_abap_objectdescr.receiving = new abap.types.Character(1, {"qualifiedName":"abap_parmkind"});
|
|
66
|
+
cl_abap_objectdescr.receiving.set('R');
|
|
67
|
+
cl_abap_objectdescr.returning = new abap.types.Character(1, {"qualifiedName":"abap_parmkind"});
|
|
68
|
+
cl_abap_objectdescr.returning.set('R');
|
|
69
|
+
cl_abap_objectdescr.private_ = new abap.types.Character(1, {"qualifiedName":"abap_visibility"});
|
|
70
|
+
cl_abap_objectdescr.private_.set('I');
|
|
71
|
+
cl_abap_objectdescr.protected = new abap.types.Character(1, {"qualifiedName":"abap_visibility"});
|
|
72
|
+
cl_abap_objectdescr.protected.set('O');
|
|
73
|
+
cl_abap_objectdescr.public_ = new abap.types.Character(1, {"qualifiedName":"abap_visibility"});
|
|
74
|
+
cl_abap_objectdescr.public_.set('U');
|
|
75
|
+
export {cl_abap_objectdescr};
|
|
76
|
+
//# sourceMappingURL=cl_abap_objectdescr.clas.mjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": [
|
|
4
|
+
"cl_abap_objectdescr.clas.abap"
|
|
5
|
+
],
|
|
6
|
+
"names": [],
|
|
7
|
+
"mappings": ";;;AA8CA;;;;;;;;;;;;;;;;;;;;;;EACE;;;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;IACnB;;EAEA;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;IACnB;;EAEA;;;;QACO,0DAAmB;QACnB,wDAAmB;QACnB,wDAAmB;IAExB,YAAU,MAAM;IAEhB;IAEA,sCAAY,qBAAe,sCAAI,kBAAa,KAAK;IACjD,UAAQ,4BAAU,OAAO;IAGzB;+BAEA,cAAe,6CAAyB;IAC1C;;AACF",
|
|
8
|
+
"file": "cl_abap_objectdescr.clas.mjs",
|
|
9
|
+
"sourceRoot": ""
|
|
10
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const {cx_root} = await import("./cx_root.clas.mjs");
|
|
2
|
+
// cl_abap_random.clas.abap
|
|
3
|
+
class cl_abap_random {
|
|
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 create(INPUT) {
|
|
12
|
+
return cl_abap_random.create(INPUT);
|
|
13
|
+
}
|
|
14
|
+
static async create(INPUT) {
|
|
15
|
+
let ro_random = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_RANDOM"});
|
|
16
|
+
let seed = new abap.types.Integer({qualifiedName: "I"});
|
|
17
|
+
if (INPUT && INPUT.seed) {seed.set(INPUT.seed);}
|
|
18
|
+
ro_random.set(await (new abap.Classes['CL_ABAP_RANDOM']()).constructor_());
|
|
19
|
+
return ro_random;
|
|
20
|
+
}
|
|
21
|
+
async int() {
|
|
22
|
+
let rv_integer = new abap.types.Integer({qualifiedName: "I"});
|
|
23
|
+
rv_integer.set(Math.floor(Math.random() * 2147483647));
|
|
24
|
+
return rv_integer;
|
|
25
|
+
}
|
|
26
|
+
async seed() {
|
|
27
|
+
return cl_abap_random.seed();
|
|
28
|
+
}
|
|
29
|
+
static async seed() {
|
|
30
|
+
let rv_seed = new abap.types.Integer({qualifiedName: "I"});
|
|
31
|
+
rv_seed.set(Math.floor(Math.random() * 2147483647));
|
|
32
|
+
return rv_seed;
|
|
33
|
+
}
|
|
34
|
+
async intinrange(INPUT) {
|
|
35
|
+
let rv_integer = new abap.types.Integer({qualifiedName: "I"});
|
|
36
|
+
let low = new abap.types.Integer({qualifiedName: "I"});
|
|
37
|
+
if (INPUT && INPUT.low) {low.set(INPUT.low);}
|
|
38
|
+
let high = new abap.types.Integer({qualifiedName: "I"});
|
|
39
|
+
if (INPUT && INPUT.high) {high.set(INPUT.high);}
|
|
40
|
+
let lv_interval = new abap.types.Integer({qualifiedName: "I"});
|
|
41
|
+
abap.statements.assert(abap.compare.gt(high, low));
|
|
42
|
+
abap.statements.assert(abap.compare.ge(low, new abap.types.Integer().set(0)));
|
|
43
|
+
lv_interval.set(abap.operators.add(abap.operators.minus(high,low),new abap.types.Integer().set(1)));
|
|
44
|
+
rv_integer.set((abap.builtin.abs({val: (await this.int())})));
|
|
45
|
+
rv_integer.set(abap.operators.mod(rv_integer,lv_interval));
|
|
46
|
+
rv_integer.set(abap.operators.add(rv_integer,low));
|
|
47
|
+
return rv_integer;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
abap.Classes['CL_ABAP_RANDOM'] = cl_abap_random;
|
|
51
|
+
export {cl_abap_random};
|
|
52
|
+
//# sourceMappingURL=cl_abap_random.clas.mjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": [
|
|
4
|
+
"cl_abap_random.clas.abap"
|
|
5
|
+
],
|
|
6
|
+
"names": [],
|
|
7
|
+
"mappings": ";;AAkBA;;;;;;;;EACE;;;;;;;;IAEA;;EAEA;;IAEE;IACF;;EAEA;;;;;IACE;IACF;;EAEA;;;;;;QAEO,0DAAkB;IACvB,oCAAY,GAAL,MAAO,IAAG;IACjB,oCAAW,GAAJ,KAAO,gCAAC;IACf,gBAAyB,mBAAN,qBAAL,KAAO,KAAM,gCAAC;IAC5B,gBAAa,wBAAK,oBAAQ;IAC1B,eAAwB,mBAAX,WAAe,YAAW;IACvC,eAAwB,mBAAX,WAAa,IAAG;IAC/B;;AACF",
|
|
8
|
+
"file": "cl_abap_random.clas.mjs",
|
|
9
|
+
"sourceRoot": ""
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const {cx_root} = await import("./cx_root.clas.mjs");
|
|
2
|
+
// cl_abap_random_int.clas.abap
|
|
3
|
+
class cl_abap_random_int {
|
|
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 create(INPUT) {
|
|
12
|
+
return cl_abap_random_int.create(INPUT);
|
|
13
|
+
}
|
|
14
|
+
static async create(INPUT) {
|
|
15
|
+
let prng = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_RANDOM_INT"});
|
|
16
|
+
let seed = new abap.types.Integer({qualifiedName: "I"});
|
|
17
|
+
if (INPUT && INPUT.seed) {seed.set(INPUT.seed);}
|
|
18
|
+
let min = new abap.types.Integer({qualifiedName: "I"});
|
|
19
|
+
if (INPUT && INPUT.min) {min.set(INPUT.min);}
|
|
20
|
+
if (INPUT === undefined || INPUT.min === undefined) {min = new abap.types.Integer().set(-2147483648);}
|
|
21
|
+
let max = new abap.types.Integer({qualifiedName: "I"});
|
|
22
|
+
if (INPUT && INPUT.max) {max.set(INPUT.max);}
|
|
23
|
+
if (INPUT === undefined || INPUT.max === undefined) {max = new abap.types.Integer().set(2147483647);}
|
|
24
|
+
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
|
|
25
|
+
return prng;
|
|
26
|
+
}
|
|
27
|
+
async get_next() {
|
|
28
|
+
let value = new abap.types.Integer({qualifiedName: "I"});
|
|
29
|
+
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
abap.Classes['CL_ABAP_RANDOM_INT'] = cl_abap_random_int;
|
|
34
|
+
export {cl_abap_random_int};
|
|
35
|
+
//# sourceMappingURL=cl_abap_random_int.clas.mjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": [
|
|
4
|
+
"cl_abap_random_int.clas.abap"
|
|
5
|
+
],
|
|
6
|
+
"names": [],
|
|
7
|
+
"mappings": ";;AAkBA;;;;;;;;EACE;;;;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;IACnB;;EAEA;;IACE,oCAAS,GAAF,iCAAI,wCAAM;IACnB;;AACF",
|
|
8
|
+
"file": "cl_abap_random_int.clas.mjs",
|
|
9
|
+
"sourceRoot": ""
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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_refdescr.clas.abap
|
|
4
|
+
class cl_abap_refdescr 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.referenced = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TYPEDESCR"});
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
async get_referenced_type() {
|
|
15
|
+
let type = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_TYPEDESCR"});
|
|
16
|
+
if (abap.compare.initial(this.referenced) === false) {
|
|
17
|
+
type.set(this.referenced);
|
|
18
|
+
} else {
|
|
19
|
+
await abap.statements.cast(type, this.me);
|
|
20
|
+
}
|
|
21
|
+
return type;
|
|
22
|
+
}
|
|
23
|
+
async get_ref_to_data() {
|
|
24
|
+
return cl_abap_refdescr.get_ref_to_data();
|
|
25
|
+
}
|
|
26
|
+
static async get_ref_to_data() {
|
|
27
|
+
let p_result = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_REFDESCR"});
|
|
28
|
+
let foo = new abap.types.DataReference(new abap.types.Character(4));
|
|
29
|
+
await abap.statements.cast(p_result, (await abap.Classes['CL_ABAP_TYPEDESCR'].describe_by_data({p_data: foo})));
|
|
30
|
+
return p_result;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
abap.Classes['CL_ABAP_REFDESCR'] = cl_abap_refdescr;
|
|
34
|
+
export {cl_abap_refdescr};
|
|
35
|
+
//# sourceMappingURL=cl_abap_refdescr.clas.mjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": [
|
|
4
|
+
"cl_abap_refdescr.clas.abap"
|
|
5
|
+
],
|
|
6
|
+
"names": [],
|
|
7
|
+
"mappings": ";;;AAaA;;;;;;;;;;EACE;;IACE,yBAAG,0BAAyB;MAC1B,SAAO,eAAU;IACnB;iCACE,MAAQ,OAAE;IACZ;IACF;;EAEA;;;;;QACO,+DAAoB;+BACzB,WAAY,wEAA0C;IACxD;;AACF",
|
|
8
|
+
"file": "cl_abap_refdescr.clas.mjs",
|
|
9
|
+
"sourceRoot": ""
|
|
10
|
+
}
|