Skip to content
Permalink
Browse files

#110 Set source language now to SAP

This is required so that Moose works correctly on Pharo 7
  • Loading branch information...
RainerWinkler committed Aug 30, 2019
1 parent 135cfc3 commit 1056cee84e903e5ba4712882a506c74da18321d4
Showing with 12 additions and 4 deletions.
  1. +4 −0 changelog.txt
  2. +8 −4 z_moose_extractor.abap
@@ -8,6 +8,10 @@ Legend
+ : added
- : removed

30.08.2019 v1.2.2
-----------------
* Source Language not exported (isSmalltalk was sent to nil in new Moose) #110
The source language is now set to SAP (Not ABAP because SAP2Moose extract not only ABAP logic)
04.01.2019 v1.2.1
-----------------
* Dump because class component of type type was processed #114
@@ -1,7 +1,7 @@
* generated on system NPL at 02.04.2019 on 11:19:47
* generated on system NPL at 30.08.2019 on 13:15:54

*
* This is version 1.2.1
* This is version 1.2.2
*
*The MIT License (MIT)
*
@@ -1604,7 +1604,7 @@ CLASS cl_extr3_element_manager DEFINITION
DATA famix_attribute TYPE REF TO cl_famix_attribute.
DATA famix_invocation TYPE REF TO cl_famix_invocation.
DATA famix_access TYPE REF TO cl_famix_access.
data famix_file_anchor TYPE REF TO cl_famix_file_anchor.
DATA famix_file_anchor TYPE REF TO cl_famix_file_anchor.
DATA exclude_found_sap_intf TYPE abap_bool READ-ONLY.
"! A unique identifier for each object extracted
TYPES element_id_type TYPE i.
@@ -5718,13 +5718,17 @@ CLASS CL_EXTR3_ELEMENT_MANAGER IMPLEMENTATION.

CREATE OBJECT model.

DATA f_custom_source_language TYPE REF TO cl_famix_custom_source_lng.
CREATE OBJECT f_custom_source_language EXPORTING model = model.
f_custom_source_language->add( name = 'SAP' name_group = cl_extr3=>ng_source_language ).

CREATE OBJECT famix_package EXPORTING model = model.
CREATE OBJECT famix_class EXPORTING model = model.
CREATE OBJECT famix_method EXPORTING model = model.
CREATE OBJECT famix_attribute EXPORTING model = model.
CREATE OBJECT famix_invocation EXPORTING model = model.
CREATE OBJECT famix_access EXPORTING model = model.
create OBJECT famix_file_anchor EXPORTING model = model.
CREATE OBJECT famix_file_anchor EXPORTING model = model.

ENDMETHOD.
METHOD get_associations.

0 comments on commit 1056cee

Please sign in to comment.
You can’t perform that action at this time.