@abaplint/cli 2.115.8 → 2.115.9
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/cli.js +43 -4
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -13339,14 +13339,16 @@ const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@a
|
|
|
13339
13339
|
const tokens_1 = __webpack_require__(/*! ../../1_lexer/tokens */ "./node_modules/@abaplint/core/build/src/abap/1_lexer/tokens/index.js");
|
|
13340
13340
|
class Field {
|
|
13341
13341
|
getMatcher() {
|
|
13342
|
-
const
|
|
13342
|
+
const moduleOptions = (0, combi_1.alt)("ON INPUT", "ON REQUEST", "ON CHAIN-REQUEST", "ON CHAIN-INPUT", "AT CURSOR-SELECTION");
|
|
13343
|
+
const module = (0, combi_1.seq)("MODULE", expressions_1.FormName, (0, combi_1.opt)(moduleOptions));
|
|
13344
|
+
const moduleStrange = (0, combi_1.seq)(moduleOptions, "MODULE", expressions_1.FormName);
|
|
13343
13345
|
const values = (0, combi_1.seq)("VALUES", (0, combi_1.tok)(tokens_1.WParenLeft), "BETWEEN", expressions_1.Constant, "AND", expressions_1.Constant, (0, combi_1.tok)(tokens_1.ParenRightW));
|
|
13344
|
-
const wit = (0, combi_1.seq)("WITH", expressions_1.FieldChain);
|
|
13346
|
+
const wit = (0, combi_1.seq)("WITH", (0, combi_1.altPrio)(expressions_1.FieldChain, expressions_1.Constant));
|
|
13345
13347
|
const cond = (0, combi_1.seq)(expressions_1.FieldChain, "=", expressions_1.FieldChain);
|
|
13346
13348
|
const where = (0, combi_1.seq)(cond, (0, combi_1.starPrio)((0, combi_1.seq)("AND", cond)));
|
|
13347
13349
|
const into = (0, combi_1.seq)("INTO", expressions_1.FieldChain);
|
|
13348
13350
|
const select = (0, combi_1.seq)("SELECT * FROM", expressions_1.FieldChain, "WHERE", where, (0, combi_1.opt)(into), (0, combi_1.opt)("WHENEVER NOT FOUND SEND ERRORMESSAGE"));
|
|
13349
|
-
const ret = (0, combi_1.seq)("FIELD", expressions_1.FieldChain, (0, combi_1.opt)((0, combi_1.altPrio)(module, values, wit, select)));
|
|
13351
|
+
const ret = (0, combi_1.seq)("FIELD", expressions_1.FieldChain, (0, combi_1.opt)((0, combi_1.altPrio)(module, moduleStrange, values, wit, select)));
|
|
13350
13352
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
13351
13353
|
}
|
|
13352
13354
|
}
|
|
@@ -39805,6 +39807,7 @@ const _object_oriented_1 = __webpack_require__(/*! ../5_syntax/_object_oriented
|
|
|
39805
39807
|
const _reference_1 = __webpack_require__(/*! ../5_syntax/_reference */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/_reference.js");
|
|
39806
39808
|
class ClassDefinition extends _identifier_1.Identifier {
|
|
39807
39809
|
constructor(node, input) {
|
|
39810
|
+
var _a;
|
|
39808
39811
|
if (!(node.get() instanceof Structures.ClassDefinition)) {
|
|
39809
39812
|
throw new Error("ClassDefinition, unexpected node type");
|
|
39810
39813
|
}
|
|
@@ -39827,6 +39830,10 @@ class ClassDefinition extends _identifier_1.Identifier {
|
|
|
39827
39830
|
this.aliases = this.attributes.getAliases();
|
|
39828
39831
|
const events = node.findAllStatements(Statements.Events);
|
|
39829
39832
|
for (const e of events) {
|
|
39833
|
+
const eventName = (_a = e.findDirectExpression(Expressions.EventName)) === null || _a === void 0 ? void 0 : _a.concatTokens().toUpperCase();
|
|
39834
|
+
if (this.events.find(ev => ev.getName().toUpperCase() === eventName) !== undefined) {
|
|
39835
|
+
throw new Error("Event " + eventName + " already defined");
|
|
39836
|
+
}
|
|
39830
39837
|
this.events.push(new event_definition_1.EventDefinition(e, visibility_1.Visibility.Public, input)); // todo, all these are not Public
|
|
39831
39838
|
}
|
|
39832
39839
|
this.methodDefs = new method_definitions_1.MethodDefinitions(node, input);
|
|
@@ -48724,6 +48731,37 @@ exports.DataElement = DataElement;
|
|
|
48724
48731
|
|
|
48725
48732
|
/***/ },
|
|
48726
48733
|
|
|
48734
|
+
/***/ "./node_modules/@abaplint/core/build/src/objects/datastore_object.js"
|
|
48735
|
+
/*!***************************************************************************!*\
|
|
48736
|
+
!*** ./node_modules/@abaplint/core/build/src/objects/datastore_object.js ***!
|
|
48737
|
+
\***************************************************************************/
|
|
48738
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
48739
|
+
|
|
48740
|
+
"use strict";
|
|
48741
|
+
|
|
48742
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
48743
|
+
exports.DatastoreObject = void 0;
|
|
48744
|
+
const _abstract_object_1 = __webpack_require__(/*! ./_abstract_object */ "./node_modules/@abaplint/core/build/src/objects/_abstract_object.js");
|
|
48745
|
+
class DatastoreObject extends _abstract_object_1.AbstractObject {
|
|
48746
|
+
getType() {
|
|
48747
|
+
return "ODSO";
|
|
48748
|
+
}
|
|
48749
|
+
getAllowedNaming() {
|
|
48750
|
+
return {
|
|
48751
|
+
maxLength: 200,
|
|
48752
|
+
allowNamespace: true,
|
|
48753
|
+
};
|
|
48754
|
+
}
|
|
48755
|
+
getDescription() {
|
|
48756
|
+
// todo
|
|
48757
|
+
return undefined;
|
|
48758
|
+
}
|
|
48759
|
+
}
|
|
48760
|
+
exports.DatastoreObject = DatastoreObject;
|
|
48761
|
+
//# sourceMappingURL=datastore_object.js.map
|
|
48762
|
+
|
|
48763
|
+
/***/ },
|
|
48764
|
+
|
|
48727
48765
|
/***/ "./node_modules/@abaplint/core/build/src/objects/dialog_module.js"
|
|
48728
48766
|
/*!************************************************************************!*\
|
|
48729
48767
|
!*** ./node_modules/@abaplint/core/build/src/objects/dialog_module.js ***!
|
|
@@ -50330,6 +50368,7 @@ __exportStar(__webpack_require__(/*! ./customizing_transaction */ "./node_module
|
|
|
50330
50368
|
__exportStar(__webpack_require__(/*! ./data_control */ "./node_modules/@abaplint/core/build/src/objects/data_control.js"), exports);
|
|
50331
50369
|
__exportStar(__webpack_require__(/*! ./data_definition */ "./node_modules/@abaplint/core/build/src/objects/data_definition.js"), exports);
|
|
50332
50370
|
__exportStar(__webpack_require__(/*! ./data_element */ "./node_modules/@abaplint/core/build/src/objects/data_element.js"), exports);
|
|
50371
|
+
__exportStar(__webpack_require__(/*! ./datastore_object */ "./node_modules/@abaplint/core/build/src/objects/datastore_object.js"), exports);
|
|
50333
50372
|
__exportStar(__webpack_require__(/*! ./dialog_module */ "./node_modules/@abaplint/core/build/src/objects/dialog_module.js"), exports);
|
|
50334
50373
|
__exportStar(__webpack_require__(/*! ./documentation */ "./node_modules/@abaplint/core/build/src/objects/documentation.js"), exports);
|
|
50335
50374
|
__exportStar(__webpack_require__(/*! ./domain */ "./node_modules/@abaplint/core/build/src/objects/domain.js"), exports);
|
|
@@ -55260,7 +55299,7 @@ class Registry {
|
|
|
55260
55299
|
}
|
|
55261
55300
|
static abaplintVersion() {
|
|
55262
55301
|
// magic, see build script "version.sh"
|
|
55263
|
-
return "2.115.
|
|
55302
|
+
return "2.115.9";
|
|
55264
55303
|
}
|
|
55265
55304
|
getDDICReferences() {
|
|
55266
55305
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.115.
|
|
3
|
+
"version": "2.115.9",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.115.
|
|
41
|
+
"@abaplint/core": "^2.115.9",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|