From 2ffd3ea12a3550e519cff6ac84f4082b25d7dd10 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Mon, 2 Sep 2019 06:09:15 -0700 Subject: [PATCH] update abaplint to latest + fixes (#11) * update abaplint to latest * implement methods * add if_t100_dyn_msg --- abaplint.json | 14 ++++++++++---- src/ci/cl_ci_collector_root.clas.abap | 12 ++++++++++++ src/if_t100_dyn_msg.intf.abap | 9 +++++++++ src/if_t100_dyn_msg.intf.xml | 15 +++++++++++++++ 4 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 src/if_t100_dyn_msg.intf.abap create mode 100644 src/if_t100_dyn_msg.intf.xml diff --git a/abaplint.json b/abaplint.json index c54461b..247509b 100644 --- a/abaplint.json +++ b/abaplint.json @@ -1,12 +1,18 @@ { "global": { - "version": "v753", + "files": "/src/**/*.*", "skipGeneratedGatewayClasses": true, "skipGeneratedPersistentClasses": true, "skipGeneratedFunctionGroups": true, "applyUnspecifiedRules": true }, "dependencies": [], + "syntax": { + "version": "v753", + "errorNamespace": "", + "globalConstants": [], + "globalMacros": [] + }, "rules": { "7bit_ascii": { "enabled": true, @@ -28,8 +34,7 @@ }, "check_variables": { "enabled": true, - "exclude": [], - "errorNamespace": "^(Z|Y)" + "exclude": [] }, "class_attribute_names": { "enabled": false, @@ -225,7 +230,8 @@ "tran": "^Z", "enqu": "^EZ", "auth": "^Z", - "pinf": "^Z" + "pinf": "^Z", + "idoc": "^Z" }, "obsolete_statement": { "enabled": true, diff --git a/src/ci/cl_ci_collector_root.clas.abap b/src/ci/cl_ci_collector_root.clas.abap index 864bbbb..c088ed4 100644 --- a/src/ci/cl_ci_collector_root.clas.abap +++ b/src/ci/cl_ci_collector_root.clas.abap @@ -17,4 +17,16 @@ ENDCLASS. CLASS cl_ci_collector_root IMPLEMENTATION. + METHOD if_ci_collector~put_attributes. + ENDMETHOD. + + METHOD if_ci_collector~get_attributes. + ENDMETHOD. + + METHOD if_ci_collector~collect. + ENDMETHOD. + + METHOD if_ci_collector~query_attributes. + ENDMETHOD. + ENDCLASS. diff --git a/src/if_t100_dyn_msg.intf.abap b/src/if_t100_dyn_msg.intf.abap new file mode 100644 index 0000000..08c8e20 --- /dev/null +++ b/src/if_t100_dyn_msg.intf.abap @@ -0,0 +1,9 @@ +INTERFACE if_t100_dyn_msg. + + DATA msgv1 TYPE string. + DATA msgv2 TYPE string. + DATA msgv3 TYPE string. + DATA msgv4 TYPE string. + DATA msgty TYPE string. + +ENDINTERFACE. diff --git a/src/if_t100_dyn_msg.intf.xml b/src/if_t100_dyn_msg.intf.xml new file mode 100644 index 0000000..548b388 --- /dev/null +++ b/src/if_t100_dyn_msg.intf.xml @@ -0,0 +1,15 @@ + + + + + + if_t100_dyn_msg + E + if_t100_dyn_msg + 2 + 1 + X + + + +