@abaplint/cli 2.120.83 → 2.120.84
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 +1295 -41
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -567,11 +567,40 @@ exports.LexerStream = LexerStream;
|
|
|
567
567
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
568
568
|
exports.AbstractToken = void 0;
|
|
569
569
|
const position_1 = __webpack_require__(/*! ../../../position */ "../core/build/src/position.js");
|
|
570
|
-
|
|
570
|
+
const virtual_position_1 = __webpack_require__(/*! ../../../virtual_position */ "../core/build/src/virtual_position.js");
|
|
571
|
+
// token strings repeat a lot across files (keywords, common names, upper cased copies), share them.
|
|
572
|
+
// Longer strings are typically comments or text literals, not worth sharing
|
|
573
|
+
const INTERN_MAX_LENGTH = 30;
|
|
574
|
+
// bound the table, it lives for the lifetime of the process
|
|
575
|
+
const INTERN_MAX_ENTRIES = 100000;
|
|
576
|
+
// V8 represents substrings of this length or longer as slices that reference the full source,
|
|
577
|
+
// these are flattened before being stored, so the table does not keep removed files alive
|
|
578
|
+
const SLICED_MIN_LENGTH = 13;
|
|
579
|
+
let interned = new Map();
|
|
580
|
+
function intern(str) {
|
|
581
|
+
if (str.length > INTERN_MAX_LENGTH) {
|
|
582
|
+
return str;
|
|
583
|
+
}
|
|
584
|
+
const found = interned.get(str);
|
|
585
|
+
if (found !== undefined) {
|
|
586
|
+
return found;
|
|
587
|
+
}
|
|
588
|
+
if (interned.size >= INTERN_MAX_ENTRIES) {
|
|
589
|
+
interned = new Map();
|
|
590
|
+
}
|
|
591
|
+
const copy = str.length >= SLICED_MIN_LENGTH ? str.split("").join("") : str;
|
|
592
|
+
interned.set(copy, copy);
|
|
593
|
+
return copy;
|
|
594
|
+
}
|
|
595
|
+
// the token is its own start position, saves a separate Position object per token
|
|
596
|
+
class AbstractToken extends position_1.Position {
|
|
571
597
|
constructor(start, str) {
|
|
572
|
-
|
|
573
|
-
this.str = str;
|
|
574
|
-
this.strUpper = str.toUpperCase();
|
|
598
|
+
super(start.getRow(), start.getCol());
|
|
599
|
+
this.str = intern(str);
|
|
600
|
+
this.strUpper = intern(str.toUpperCase());
|
|
601
|
+
if (start instanceof virtual_position_1.VirtualPosition) {
|
|
602
|
+
this.virtual = start;
|
|
603
|
+
}
|
|
575
604
|
}
|
|
576
605
|
// special function, for debugging purposes, see https://github.com/abaplint/abaplint/pull/3137
|
|
577
606
|
[Symbol.for("debug.description")]() {
|
|
@@ -583,17 +612,12 @@ class AbstractToken {
|
|
|
583
612
|
getUpperStr() {
|
|
584
613
|
return this.strUpper;
|
|
585
614
|
}
|
|
586
|
-
getRow() {
|
|
587
|
-
return this.start.getRow();
|
|
588
|
-
}
|
|
589
|
-
getCol() {
|
|
590
|
-
return this.start.getCol();
|
|
591
|
-
}
|
|
592
615
|
getStart() {
|
|
593
|
-
|
|
616
|
+
var _a;
|
|
617
|
+
return (_a = this.virtual) !== null && _a !== void 0 ? _a : this;
|
|
594
618
|
}
|
|
595
619
|
getEnd() {
|
|
596
|
-
return new position_1.Position(this.
|
|
620
|
+
return new position_1.Position(this.getRow(), this.getCol() + this.str.length);
|
|
597
621
|
}
|
|
598
622
|
}
|
|
599
623
|
exports.AbstractToken = AbstractToken;
|
|
@@ -26213,7 +26237,7 @@ class CurrentScope {
|
|
|
26213
26237
|
else if (this.isOO() && this.current.getData().vars[upper] !== undefined) {
|
|
26214
26238
|
throw new Error(`"${name}" already defined`);
|
|
26215
26239
|
}
|
|
26216
|
-
this.current.
|
|
26240
|
+
this.current.setType(upper, type);
|
|
26217
26241
|
}
|
|
26218
26242
|
addExtraLikeType(type) {
|
|
26219
26243
|
if (type === undefined) {
|
|
@@ -26232,7 +26256,7 @@ class CurrentScope {
|
|
|
26232
26256
|
if (this.current.getData().extraLikeTypes[upper] !== undefined) {
|
|
26233
26257
|
throw new Error(`Type name "${name}" already defined`);
|
|
26234
26258
|
}
|
|
26235
|
-
this.current.
|
|
26259
|
+
this.current.setExtraLikeType(upper, type);
|
|
26236
26260
|
}
|
|
26237
26261
|
addClassDefinition(c) {
|
|
26238
26262
|
if (this.current === undefined) {
|
|
@@ -26242,13 +26266,13 @@ class CurrentScope {
|
|
|
26242
26266
|
if (this.current.getData().cdefs[name] !== undefined) {
|
|
26243
26267
|
throw new Error(`Class "${name}" already defined`);
|
|
26244
26268
|
}
|
|
26245
|
-
this.current.
|
|
26269
|
+
this.current.setClassDefinition(name, c);
|
|
26246
26270
|
}
|
|
26247
26271
|
addFormDefinitions(f) {
|
|
26248
26272
|
if (this.current === undefined) {
|
|
26249
26273
|
return;
|
|
26250
26274
|
}
|
|
26251
|
-
this.current.
|
|
26275
|
+
this.current.addFormDefinitions(f);
|
|
26252
26276
|
}
|
|
26253
26277
|
/** The FORM definitions are built up front, at that point the program level types are not known.
|
|
26254
26278
|
* When the FORM statement is traversed it is replaced with one resolved in the scope of the FORM */
|
|
@@ -26273,7 +26297,7 @@ class CurrentScope {
|
|
|
26273
26297
|
if (this.current.getData().cdefs[name] !== undefined) {
|
|
26274
26298
|
throw new Error(`Interface "${name}" already defined`);
|
|
26275
26299
|
}
|
|
26276
|
-
this.current.
|
|
26300
|
+
this.current.setInterfaceDefinition(name, i);
|
|
26277
26301
|
}
|
|
26278
26302
|
addNamedIdentifier(name, identifier) {
|
|
26279
26303
|
if (this.current === undefined) {
|
|
@@ -26287,7 +26311,7 @@ class CurrentScope {
|
|
|
26287
26311
|
else if (this.isOO() && this.current.getData().types[upper] !== undefined) {
|
|
26288
26312
|
throw new Error(`"${name}" already defined`);
|
|
26289
26313
|
}
|
|
26290
|
-
this.current.
|
|
26314
|
+
this.current.setVariable(upper, identifier);
|
|
26291
26315
|
}
|
|
26292
26316
|
addNamedIdentifierToParent(name, identifier) {
|
|
26293
26317
|
if (this.current === undefined) {
|
|
@@ -26305,7 +26329,7 @@ class CurrentScope {
|
|
|
26305
26329
|
else if (this.isOO() && parent.getData().types[upper] !== undefined) {
|
|
26306
26330
|
throw new Error(`"${name}" already defined`);
|
|
26307
26331
|
}
|
|
26308
|
-
parent.
|
|
26332
|
+
parent.setVariable(upper, identifier);
|
|
26309
26333
|
}
|
|
26310
26334
|
addIdentifier(identifier) {
|
|
26311
26335
|
if (identifier === undefined) {
|
|
@@ -26317,7 +26341,7 @@ class CurrentScope {
|
|
|
26317
26341
|
if (token === undefined) {
|
|
26318
26342
|
return;
|
|
26319
26343
|
}
|
|
26320
|
-
this.current.
|
|
26344
|
+
this.current.setDeferred(token.getStr().toUpperCase(), { token, ooType: type });
|
|
26321
26345
|
}
|
|
26322
26346
|
addListPrefix(identifiers, prefix) {
|
|
26323
26347
|
for (const id of identifiers) {
|
|
@@ -26337,16 +26361,16 @@ class CurrentScope {
|
|
|
26337
26361
|
const position = new _identifier_1.Identifier(usage, filename);
|
|
26338
26362
|
if (Array.isArray(type)) {
|
|
26339
26363
|
for (const t of type) {
|
|
26340
|
-
(_a = this.current) === null || _a === void 0 ? void 0 : _a.
|
|
26364
|
+
(_a = this.current) === null || _a === void 0 ? void 0 : _a.addReference({ position, resolved: referencing, referenceType: t, extra });
|
|
26341
26365
|
}
|
|
26342
26366
|
}
|
|
26343
26367
|
else {
|
|
26344
|
-
(_b = this.current) === null || _b === void 0 ? void 0 : _b.
|
|
26368
|
+
(_b = this.current) === null || _b === void 0 ? void 0 : _b.addReference({ position, resolved: referencing, referenceType: type, extra });
|
|
26345
26369
|
}
|
|
26346
26370
|
}
|
|
26347
26371
|
addSQLConversion(fieldName, message, token) {
|
|
26348
26372
|
var _a;
|
|
26349
|
-
(_a = this.current) === null || _a === void 0 ? void 0 : _a.
|
|
26373
|
+
(_a = this.current) === null || _a === void 0 ? void 0 : _a.addSQLConversion({ fieldName, message, token });
|
|
26350
26374
|
}
|
|
26351
26375
|
///////////////////////////
|
|
26352
26376
|
findFunctionModule(name) {
|
|
@@ -26382,6 +26406,9 @@ class CurrentScope {
|
|
|
26382
26406
|
return undefined;
|
|
26383
26407
|
}
|
|
26384
26408
|
const name = (_a = this.parentObj.getClassDefinition()) === null || _a === void 0 ? void 0 : _a.behaviorDefinitionName;
|
|
26409
|
+
return this.findBehaviorDefinitionByName(name);
|
|
26410
|
+
}
|
|
26411
|
+
findBehaviorDefinitionByName(name) {
|
|
26385
26412
|
if (name === undefined) {
|
|
26386
26413
|
return undefined;
|
|
26387
26414
|
}
|
|
@@ -26711,6 +26738,84 @@ exports.CurrentScope = CurrentScope;
|
|
|
26711
26738
|
|
|
26712
26739
|
/***/ },
|
|
26713
26740
|
|
|
26741
|
+
/***/ "../core/build/src/abap/5_syntax/_eml.js"
|
|
26742
|
+
/*!***********************************************!*\
|
|
26743
|
+
!*** ../core/build/src/abap/5_syntax/_eml.js ***!
|
|
26744
|
+
\***********************************************/
|
|
26745
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
26746
|
+
|
|
26747
|
+
"use strict";
|
|
26748
|
+
|
|
26749
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
26750
|
+
if (k2 === undefined) k2 = k;
|
|
26751
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
26752
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
26753
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
26754
|
+
}
|
|
26755
|
+
Object.defineProperty(o, k2, desc);
|
|
26756
|
+
}) : (function(o, m, k, k2) {
|
|
26757
|
+
if (k2 === undefined) k2 = k;
|
|
26758
|
+
o[k2] = m[k];
|
|
26759
|
+
}));
|
|
26760
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26761
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26762
|
+
}) : function(o, v) {
|
|
26763
|
+
o["default"] = v;
|
|
26764
|
+
});
|
|
26765
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
26766
|
+
var ownKeys = function(o) {
|
|
26767
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
26768
|
+
var ar = [];
|
|
26769
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26770
|
+
return ar;
|
|
26771
|
+
};
|
|
26772
|
+
return ownKeys(o);
|
|
26773
|
+
};
|
|
26774
|
+
return function (mod) {
|
|
26775
|
+
if (mod && mod.__esModule) return mod;
|
|
26776
|
+
var result = {};
|
|
26777
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
26778
|
+
__setModuleDefault(result, mod);
|
|
26779
|
+
return result;
|
|
26780
|
+
};
|
|
26781
|
+
})();
|
|
26782
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
26783
|
+
exports.EML = void 0;
|
|
26784
|
+
const Expressions = __importStar(__webpack_require__(/*! ../2_statements/expressions */ "../core/build/src/abap/2_statements/expressions/index.js"));
|
|
26785
|
+
const _syntax_input_1 = __webpack_require__(/*! ./_syntax_input */ "../core/build/src/abap/5_syntax/_syntax_input.js");
|
|
26786
|
+
/** checks the entities referenced in EML statements, eg. READ ENTITIES and MODIFY ENTITIES */
|
|
26787
|
+
class EML {
|
|
26788
|
+
static checkEntities(node, input) {
|
|
26789
|
+
var _a;
|
|
26790
|
+
var _b;
|
|
26791
|
+
const nameNode = node.findDirectExpression(Expressions.NamespaceSimpleName);
|
|
26792
|
+
if (nameNode === undefined) {
|
|
26793
|
+
// eg. dynamic "MODIFY ENTITIES OPERATIONS" or "ENTITY zentity\_association"
|
|
26794
|
+
return;
|
|
26795
|
+
}
|
|
26796
|
+
const name = nameNode.concatTokens();
|
|
26797
|
+
const scope = input.scope;
|
|
26798
|
+
if (node.findDirectTokenByText("ENTITIES") !== undefined) {
|
|
26799
|
+
// "ENTITIES OF" refers to the behavior definition
|
|
26800
|
+
if (scope.findBehaviorDefinitionByName(name) === undefined && scope.getDDIC().inErrorNamespace(name)) {
|
|
26801
|
+
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, nameNode.getFirstToken(), `Behavior definition "${name}" not found`));
|
|
26802
|
+
}
|
|
26803
|
+
return;
|
|
26804
|
+
}
|
|
26805
|
+
// single "ENTITY", inside a behavior pool the alias defined in the BDEF can be used
|
|
26806
|
+
const entity = (_b = (_a = scope.findBehaviorDefinition()) === null || _a === void 0 ? void 0 : _a.findEntityNameByAlias(name)) !== null && _b !== void 0 ? _b : name;
|
|
26807
|
+
if (scope.getDDIC().inErrorNamespace(entity)
|
|
26808
|
+
&& scope.findBehaviorDefinitionByName(entity) === undefined
|
|
26809
|
+
&& scope.getDDIC().lookupDDLS(entity) === undefined) {
|
|
26810
|
+
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, nameNode.getFirstToken(), `Entity "${name}" not found`));
|
|
26811
|
+
}
|
|
26812
|
+
}
|
|
26813
|
+
}
|
|
26814
|
+
exports.EML = EML;
|
|
26815
|
+
//# sourceMappingURL=_eml.js.map
|
|
26816
|
+
|
|
26817
|
+
/***/ },
|
|
26818
|
+
|
|
26714
26819
|
/***/ "../core/build/src/abap/5_syntax/_loop_table_change.js"
|
|
26715
26820
|
/*!*************************************************************!*\
|
|
26716
26821
|
!*** ../core/build/src/abap/5_syntax/_loop_table_change.js ***!
|
|
@@ -27081,6 +27186,16 @@ class ObjectOriented {
|
|
|
27081
27186
|
}
|
|
27082
27187
|
return `The special method "${name}" cannot be called directly`;
|
|
27083
27188
|
}
|
|
27189
|
+
// classic exceptions cannot be raised in a method declaring class based exceptions, returns the message otherwise
|
|
27190
|
+
checkClassicException() {
|
|
27191
|
+
var _a;
|
|
27192
|
+
const methodName = this.scope.getEnclosingMethodName();
|
|
27193
|
+
const classDef = this.scope.findClassDefinition(this.scope.getEnclosingClassName());
|
|
27194
|
+
if (methodName && classDef && ((_a = this.searchMethodName(classDef, methodName).method) === null || _a === void 0 ? void 0 : _a.getRaising().length)) {
|
|
27195
|
+
return "Classic exceptions cannot be raised in methods with class based exceptions";
|
|
27196
|
+
}
|
|
27197
|
+
return undefined;
|
|
27198
|
+
}
|
|
27084
27199
|
// SUPER-> can only call the previous implementation of the method it is used in, returns the message otherwise
|
|
27085
27200
|
// both names are resolved in the super class, so an alias and the method it stands for are the same
|
|
27086
27201
|
checkSuperCall(superDef, methodName) {
|
|
@@ -37690,23 +37805,81 @@ const _typed_identifier_1 = __webpack_require__(/*! ../types/_typed_identifier *
|
|
|
37690
37805
|
const _identifier_1 = __webpack_require__(/*! ../4_file_information/_identifier */ "../core/build/src/abap/4_file_information/_identifier.js");
|
|
37691
37806
|
const _reference_1 = __webpack_require__(/*! ./_reference */ "../core/build/src/abap/5_syntax/_reference.js");
|
|
37692
37807
|
const assert_error_1 = __webpack_require__(/*! ./assert_error */ "../core/build/src/abap/5_syntax/assert_error.js");
|
|
37808
|
+
// most scopes only use a few of the containers, empty ones are shared and replaced on first write
|
|
37809
|
+
const EMPTY_OBJECT = Object.freeze({});
|
|
37810
|
+
const EMPTY_ARRAY = Object.freeze([]);
|
|
37693
37811
|
class ScopeData {
|
|
37694
37812
|
constructor() {
|
|
37695
37813
|
this.data = {
|
|
37696
|
-
vars:
|
|
37697
|
-
cdefs:
|
|
37698
|
-
idefs:
|
|
37699
|
-
forms:
|
|
37700
|
-
types:
|
|
37701
|
-
extraLikeTypes:
|
|
37702
|
-
deferred:
|
|
37703
|
-
references:
|
|
37704
|
-
sqlConversion:
|
|
37814
|
+
vars: EMPTY_OBJECT,
|
|
37815
|
+
cdefs: EMPTY_OBJECT,
|
|
37816
|
+
idefs: EMPTY_OBJECT,
|
|
37817
|
+
forms: EMPTY_ARRAY, // todo, refactor to object
|
|
37818
|
+
types: EMPTY_OBJECT,
|
|
37819
|
+
extraLikeTypes: EMPTY_OBJECT,
|
|
37820
|
+
deferred: EMPTY_OBJECT,
|
|
37821
|
+
references: EMPTY_ARRAY,
|
|
37822
|
+
sqlConversion: EMPTY_ARRAY,
|
|
37705
37823
|
};
|
|
37706
37824
|
}
|
|
37707
37825
|
getData() {
|
|
37708
37826
|
return this.data;
|
|
37709
37827
|
}
|
|
37828
|
+
// the shared empty containers are frozen, the methods below replace them on first write
|
|
37829
|
+
setVariable(name, identifier) {
|
|
37830
|
+
if (this.data.vars === EMPTY_OBJECT) {
|
|
37831
|
+
this.data.vars = {};
|
|
37832
|
+
}
|
|
37833
|
+
this.data.vars[name] = identifier;
|
|
37834
|
+
}
|
|
37835
|
+
setType(name, type) {
|
|
37836
|
+
if (this.data.types === EMPTY_OBJECT) {
|
|
37837
|
+
this.data.types = {};
|
|
37838
|
+
}
|
|
37839
|
+
this.data.types[name] = type;
|
|
37840
|
+
}
|
|
37841
|
+
setExtraLikeType(name, type) {
|
|
37842
|
+
if (this.data.extraLikeTypes === EMPTY_OBJECT) {
|
|
37843
|
+
this.data.extraLikeTypes = {};
|
|
37844
|
+
}
|
|
37845
|
+
this.data.extraLikeTypes[name] = type;
|
|
37846
|
+
}
|
|
37847
|
+
setDeferred(name, deferred) {
|
|
37848
|
+
if (this.data.deferred === EMPTY_OBJECT) {
|
|
37849
|
+
this.data.deferred = {};
|
|
37850
|
+
}
|
|
37851
|
+
this.data.deferred[name] = deferred;
|
|
37852
|
+
}
|
|
37853
|
+
setClassDefinition(name, cdef) {
|
|
37854
|
+
if (this.data.cdefs === EMPTY_OBJECT) {
|
|
37855
|
+
this.data.cdefs = {};
|
|
37856
|
+
}
|
|
37857
|
+
this.data.cdefs[name] = cdef;
|
|
37858
|
+
}
|
|
37859
|
+
setInterfaceDefinition(name, idef) {
|
|
37860
|
+
if (this.data.idefs === EMPTY_OBJECT) {
|
|
37861
|
+
this.data.idefs = {};
|
|
37862
|
+
}
|
|
37863
|
+
this.data.idefs[name] = idef;
|
|
37864
|
+
}
|
|
37865
|
+
addFormDefinitions(forms) {
|
|
37866
|
+
if (this.data.forms === EMPTY_ARRAY) {
|
|
37867
|
+
this.data.forms = [];
|
|
37868
|
+
}
|
|
37869
|
+
this.data.forms.push(...forms);
|
|
37870
|
+
}
|
|
37871
|
+
addReference(reference) {
|
|
37872
|
+
if (this.data.references === EMPTY_ARRAY) {
|
|
37873
|
+
this.data.references = [];
|
|
37874
|
+
}
|
|
37875
|
+
this.data.references.push(reference);
|
|
37876
|
+
}
|
|
37877
|
+
addSQLConversion(conversion) {
|
|
37878
|
+
if (this.data.sqlConversion === EMPTY_ARRAY) {
|
|
37879
|
+
this.data.sqlConversion = [];
|
|
37880
|
+
}
|
|
37881
|
+
this.data.sqlConversion.push(conversion);
|
|
37882
|
+
}
|
|
37710
37883
|
}
|
|
37711
37884
|
class SpaghettiScopeNode extends ScopeData {
|
|
37712
37885
|
[Symbol.for("debug.description")]() {
|
|
@@ -43911,8 +44084,16 @@ const basic_1 = __webpack_require__(/*! ../../types/basic */ "../core/build/src/
|
|
|
43911
44084
|
const source_1 = __webpack_require__(/*! ../expressions/source */ "../core/build/src/abap/5_syntax/expressions/source.js");
|
|
43912
44085
|
const target_1 = __webpack_require__(/*! ../expressions/target */ "../core/build/src/abap/5_syntax/expressions/target.js");
|
|
43913
44086
|
const message_source_1 = __webpack_require__(/*! ../expressions/message_source */ "../core/build/src/abap/5_syntax/expressions/message_source.js");
|
|
44087
|
+
const _syntax_input_1 = __webpack_require__(/*! ../_syntax_input */ "../core/build/src/abap/5_syntax/_syntax_input.js");
|
|
44088
|
+
const _object_oriented_1 = __webpack_require__(/*! ../_object_oriented */ "../core/build/src/abap/5_syntax/_object_oriented.js");
|
|
43914
44089
|
class Message {
|
|
43915
44090
|
runSyntax(node, input) {
|
|
44091
|
+
const exceptionName = node.findDirectExpression(Expressions.ExceptionName);
|
|
44092
|
+
const classicMessage = exceptionName ? new _object_oriented_1.ObjectOriented(input.scope).checkClassicException() : undefined;
|
|
44093
|
+
if (exceptionName && classicMessage) {
|
|
44094
|
+
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, exceptionName.getFirstToken(), classicMessage));
|
|
44095
|
+
return;
|
|
44096
|
+
}
|
|
43916
44097
|
const found = node.findExpressionAfterToken("INTO");
|
|
43917
44098
|
const inline = found === null || found === void 0 ? void 0 : found.findDirectExpression(Expressions.InlineData);
|
|
43918
44099
|
if (inline) {
|
|
@@ -44178,8 +44359,10 @@ const source_1 = __webpack_require__(/*! ../expressions/source */ "../core/build
|
|
|
44178
44359
|
const target_1 = __webpack_require__(/*! ../expressions/target */ "../core/build/src/abap/5_syntax/expressions/target.js");
|
|
44179
44360
|
const inline_data_1 = __webpack_require__(/*! ../expressions/inline_data */ "../core/build/src/abap/5_syntax/expressions/inline_data.js");
|
|
44180
44361
|
const basic_1 = __webpack_require__(/*! ../../types/basic */ "../core/build/src/abap/types/basic/index.js");
|
|
44362
|
+
const _eml_1 = __webpack_require__(/*! ../_eml */ "../core/build/src/abap/5_syntax/_eml.js");
|
|
44181
44363
|
class ModifyEntities {
|
|
44182
44364
|
runSyntax(node, input) {
|
|
44365
|
+
_eml_1.EML.checkEntities(node, input);
|
|
44183
44366
|
for (const s of node.findDirectExpressions(Expressions.Source)) {
|
|
44184
44367
|
source_1.Source.runSyntax(s, input);
|
|
44185
44368
|
}
|
|
@@ -45155,6 +45338,12 @@ class Raise {
|
|
|
45155
45338
|
var _a, _b, _c, _d, _e, _f;
|
|
45156
45339
|
const helper = new _object_oriented_1.ObjectOriented(input.scope);
|
|
45157
45340
|
let method;
|
|
45341
|
+
const exceptionName = node.findDirectExpression(Expressions.ExceptionName);
|
|
45342
|
+
const classicMessage = exceptionName ? helper.checkClassicException() : undefined;
|
|
45343
|
+
if (exceptionName && classicMessage) {
|
|
45344
|
+
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, exceptionName.getFirstToken(), classicMessage));
|
|
45345
|
+
return;
|
|
45346
|
+
}
|
|
45158
45347
|
const classTok = (_a = node.findDirectExpression(Expressions.ClassName)) === null || _a === void 0 ? void 0 : _a.getFirstToken();
|
|
45159
45348
|
const className = classTok === null || classTok === void 0 ? void 0 : classTok.getStr();
|
|
45160
45349
|
if (classTok && className) {
|
|
@@ -45489,8 +45678,10 @@ const source_1 = __webpack_require__(/*! ../expressions/source */ "../core/build
|
|
|
45489
45678
|
const target_1 = __webpack_require__(/*! ../expressions/target */ "../core/build/src/abap/5_syntax/expressions/target.js");
|
|
45490
45679
|
const inline_data_1 = __webpack_require__(/*! ../expressions/inline_data */ "../core/build/src/abap/5_syntax/expressions/inline_data.js");
|
|
45491
45680
|
const basic_1 = __webpack_require__(/*! ../../types/basic */ "../core/build/src/abap/types/basic/index.js");
|
|
45681
|
+
const _eml_1 = __webpack_require__(/*! ../_eml */ "../core/build/src/abap/5_syntax/_eml.js");
|
|
45492
45682
|
class ReadEntities {
|
|
45493
45683
|
runSyntax(node, input) {
|
|
45684
|
+
_eml_1.EML.checkEntities(node, input);
|
|
45494
45685
|
for (const s of node.findDirectExpressions(Expressions.Source)) {
|
|
45495
45686
|
source_1.Source.runSyntax(s, input);
|
|
45496
45687
|
}
|
|
@@ -55592,6 +55783,874 @@ exports.ArtifactsRules = ArtifactsRules;
|
|
|
55592
55783
|
|
|
55593
55784
|
/***/ },
|
|
55594
55785
|
|
|
55786
|
+
/***/ "../core/build/src/bdef/bdef_parser.js"
|
|
55787
|
+
/*!*********************************************!*\
|
|
55788
|
+
!*** ../core/build/src/bdef/bdef_parser.js ***!
|
|
55789
|
+
\*********************************************/
|
|
55790
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
55791
|
+
|
|
55792
|
+
"use strict";
|
|
55793
|
+
|
|
55794
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
55795
|
+
if (k2 === undefined) k2 = k;
|
|
55796
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
55797
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
55798
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
55799
|
+
}
|
|
55800
|
+
Object.defineProperty(o, k2, desc);
|
|
55801
|
+
}) : (function(o, m, k, k2) {
|
|
55802
|
+
if (k2 === undefined) k2 = k;
|
|
55803
|
+
o[k2] = m[k];
|
|
55804
|
+
}));
|
|
55805
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
55806
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
55807
|
+
}) : function(o, v) {
|
|
55808
|
+
o["default"] = v;
|
|
55809
|
+
});
|
|
55810
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
55811
|
+
var ownKeys = function(o) {
|
|
55812
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
55813
|
+
var ar = [];
|
|
55814
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
55815
|
+
return ar;
|
|
55816
|
+
};
|
|
55817
|
+
return ownKeys(o);
|
|
55818
|
+
};
|
|
55819
|
+
return function (mod) {
|
|
55820
|
+
if (mod && mod.__esModule) return mod;
|
|
55821
|
+
var result = {};
|
|
55822
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
55823
|
+
__setModuleDefault(result, mod);
|
|
55824
|
+
return result;
|
|
55825
|
+
};
|
|
55826
|
+
})();
|
|
55827
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
55828
|
+
exports.BDEFParser = void 0;
|
|
55829
|
+
const tokens_1 = __webpack_require__(/*! ../abap/1_lexer/tokens */ "../core/build/src/abap/1_lexer/tokens/index.js");
|
|
55830
|
+
const combi_1 = __webpack_require__(/*! ../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
55831
|
+
const nodes_1 = __webpack_require__(/*! ../abap/nodes */ "../core/build/src/abap/nodes/index.js");
|
|
55832
|
+
const cds_lexer_1 = __webpack_require__(/*! ../cds/cds_lexer */ "../core/build/src/cds/cds_lexer.js");
|
|
55833
|
+
const version_1 = __webpack_require__(/*! ../version */ "../core/build/src/version.js");
|
|
55834
|
+
const Expressions = __importStar(__webpack_require__(/*! ./expressions */ "../core/build/src/bdef/expressions/index.js"));
|
|
55835
|
+
class BDEFParser {
|
|
55836
|
+
parse(file) {
|
|
55837
|
+
if (file === undefined) {
|
|
55838
|
+
return undefined;
|
|
55839
|
+
}
|
|
55840
|
+
// BDEF has the same comments, strings and delimiters as CDS
|
|
55841
|
+
const tokens = this.removePragmas(cds_lexer_1.CDSLexer.run(file).filter(t => !(t instanceof tokens_1.Comment)));
|
|
55842
|
+
const res = combi_1.Combi.run(new Expressions.BDEFDefinition(), tokens, version_1.defaultRelease);
|
|
55843
|
+
if (res === undefined || !(res[0] instanceof nodes_1.ExpressionNode)) {
|
|
55844
|
+
return undefined;
|
|
55845
|
+
}
|
|
55846
|
+
return res[0];
|
|
55847
|
+
}
|
|
55848
|
+
/** pragmas can occur in many places, eg. "##NOT_ASSIGNED_TO_DETACT" or "##UNMAPPED_FIELD[SingletonID]" */
|
|
55849
|
+
removePragmas(tokens) {
|
|
55850
|
+
var _a;
|
|
55851
|
+
const ret = [];
|
|
55852
|
+
for (let i = 0; i < tokens.length; i++) {
|
|
55853
|
+
if (tokens[i].getStr().startsWith("##") === false) {
|
|
55854
|
+
ret.push(tokens[i]);
|
|
55855
|
+
continue;
|
|
55856
|
+
}
|
|
55857
|
+
if (((_a = tokens[i + 1]) === null || _a === void 0 ? void 0 : _a.getStr()) === "[") {
|
|
55858
|
+
while (i < tokens.length - 1 && tokens[i].getStr() !== "]") {
|
|
55859
|
+
i++;
|
|
55860
|
+
}
|
|
55861
|
+
}
|
|
55862
|
+
}
|
|
55863
|
+
return ret;
|
|
55864
|
+
}
|
|
55865
|
+
}
|
|
55866
|
+
exports.BDEFParser = BDEFParser;
|
|
55867
|
+
//# sourceMappingURL=bdef_parser.js.map
|
|
55868
|
+
|
|
55869
|
+
/***/ },
|
|
55870
|
+
|
|
55871
|
+
/***/ "../core/build/src/bdef/expressions/bdef_action.js"
|
|
55872
|
+
/*!*********************************************************!*\
|
|
55873
|
+
!*** ../core/build/src/bdef/expressions/bdef_action.js ***!
|
|
55874
|
+
\*********************************************************/
|
|
55875
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
55876
|
+
|
|
55877
|
+
"use strict";
|
|
55878
|
+
|
|
55879
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
55880
|
+
exports.BDEFAction = void 0;
|
|
55881
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
55882
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
55883
|
+
/** actions and functions, eg. "static factory action ( features : global ) copy parameter ZPARAM result [1] $self;" */
|
|
55884
|
+
class BDEFAction extends combi_1.Expression {
|
|
55885
|
+
getRunnable() {
|
|
55886
|
+
const modifier = (0, combi_1.altPrio)("INTERNAL", "STATIC", "FACTORY", "DEFAULT", "DRAFT", "REPEATABLE", "RECOMMENDATION", (0, combi_1.seq)("SAVE", (0, combi_1.optPrio)(_1.BDEFOptions)), (0, combi_1.seq)("KEY", _1.BDEFOptions));
|
|
55887
|
+
const tail = (0, combi_1.altPrio)((0, combi_1.seq)("EXTERNAL", _1.BDEFString), (0, combi_1.seq)("AS", _1.BDEFName), _1.BDEFParameter, _1.BDEFResult, _1.BDEFCardinality, "OPTIMIZED", "EXTENSIBLE", "WITH ADDITIONAL IMPLEMENTATION");
|
|
55888
|
+
return (0, combi_1.seq)((0, combi_1.starPrio)(modifier), (0, combi_1.altPrio)("ACTION", "FUNCTION"), (0, combi_1.optPrio)(_1.BDEFOptions), _1.BDEFName, (0, combi_1.starPrio)(tail), (0, combi_1.altPrio)(";", _1.BDEFDefaultFunction));
|
|
55889
|
+
}
|
|
55890
|
+
}
|
|
55891
|
+
exports.BDEFAction = BDEFAction;
|
|
55892
|
+
//# sourceMappingURL=bdef_action.js.map
|
|
55893
|
+
|
|
55894
|
+
/***/ },
|
|
55895
|
+
|
|
55896
|
+
/***/ "../core/build/src/bdef/expressions/bdef_alias.js"
|
|
55897
|
+
/*!********************************************************!*\
|
|
55898
|
+
!*** ../core/build/src/bdef/expressions/bdef_alias.js ***!
|
|
55899
|
+
\********************************************************/
|
|
55900
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
55901
|
+
|
|
55902
|
+
"use strict";
|
|
55903
|
+
|
|
55904
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
55905
|
+
exports.BDEFAlias = void 0;
|
|
55906
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
55907
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
55908
|
+
class BDEFAlias extends combi_1.Expression {
|
|
55909
|
+
getRunnable() {
|
|
55910
|
+
return (0, combi_1.seq)("ALIAS", _1.BDEFName);
|
|
55911
|
+
}
|
|
55912
|
+
}
|
|
55913
|
+
exports.BDEFAlias = BDEFAlias;
|
|
55914
|
+
//# sourceMappingURL=bdef_alias.js.map
|
|
55915
|
+
|
|
55916
|
+
/***/ },
|
|
55917
|
+
|
|
55918
|
+
/***/ "../core/build/src/bdef/expressions/bdef_association.js"
|
|
55919
|
+
/*!**************************************************************!*\
|
|
55920
|
+
!*** ../core/build/src/bdef/expressions/bdef_association.js ***!
|
|
55921
|
+
\**************************************************************/
|
|
55922
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
55923
|
+
|
|
55924
|
+
"use strict";
|
|
55925
|
+
|
|
55926
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
55927
|
+
exports.BDEFAssociation = void 0;
|
|
55928
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
55929
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
55930
|
+
/** eg. "association _Booking { create; with draft; }" */
|
|
55931
|
+
class BDEFAssociation extends combi_1.Expression {
|
|
55932
|
+
getRunnable() {
|
|
55933
|
+
// cross BO association, eg. "using /DMO/R_TRAVELTP_XBO \_Agency"
|
|
55934
|
+
const using = (0, combi_1.seq)("USING", _1.BDEFName, (0, combi_1.optPrio)((0, combi_1.regex)(/^\\\w+$/)));
|
|
55935
|
+
return (0, combi_1.seq)((0, combi_1.starPrio)((0, combi_1.altPrio)("INTERNAL", "UNMANAGED", "ANCESTOR")), "ASSOCIATION", (0, combi_1.optPrio)(_1.BDEFOptions), _1.BDEFName, (0, combi_1.optPrio)(using), (0, combi_1.optPrio)((0, combi_1.seq)("ABBREVIATION", _1.BDEFName)), (0, combi_1.optPrio)("WITH HIERARCHY"), (0, combi_1.altPrio)(";", _1.BDEFAssociationBody));
|
|
55936
|
+
}
|
|
55937
|
+
}
|
|
55938
|
+
exports.BDEFAssociation = BDEFAssociation;
|
|
55939
|
+
//# sourceMappingURL=bdef_association.js.map
|
|
55940
|
+
|
|
55941
|
+
/***/ },
|
|
55942
|
+
|
|
55943
|
+
/***/ "../core/build/src/bdef/expressions/bdef_association_body.js"
|
|
55944
|
+
/*!*******************************************************************!*\
|
|
55945
|
+
!*** ../core/build/src/bdef/expressions/bdef_association_body.js ***!
|
|
55946
|
+
\*******************************************************************/
|
|
55947
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
55948
|
+
|
|
55949
|
+
"use strict";
|
|
55950
|
+
|
|
55951
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
55952
|
+
exports.BDEFAssociationBody = void 0;
|
|
55953
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
55954
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
55955
|
+
/** eg. "{ create ( features : instance ); with draft; link action linkManager; }" */
|
|
55956
|
+
class BDEFAssociationBody extends combi_1.Expression {
|
|
55957
|
+
getRunnable() {
|
|
55958
|
+
const create = (0, combi_1.seq)((0, combi_1.optPrio)("INTERNAL"), "CREATE", (0, combi_1.optPrio)(_1.BDEFOptions), (0, combi_1.altPrio)(";", _1.BDEFDefaultFunction));
|
|
55959
|
+
const withh = (0, combi_1.seq)("WITH", (0, combi_1.altPrio)("DRAFT", "DEPENDENT DRAFT", "CASCADING DELETE"), ";");
|
|
55960
|
+
const link = (0, combi_1.seq)((0, combi_1.altPrio)("LINK", "UNLINK"), "ACTION", _1.BDEFName, ";");
|
|
55961
|
+
const inverse = (0, combi_1.seq)("INVERSE FUNCTION", _1.BDEFName, ";");
|
|
55962
|
+
const item = (0, combi_1.altPrio)(create, withh, link, inverse, ";");
|
|
55963
|
+
return (0, combi_1.seq)("{", (0, combi_1.starPrio)(item), "}");
|
|
55964
|
+
}
|
|
55965
|
+
}
|
|
55966
|
+
exports.BDEFAssociationBody = BDEFAssociationBody;
|
|
55967
|
+
//# sourceMappingURL=bdef_association_body.js.map
|
|
55968
|
+
|
|
55969
|
+
/***/ },
|
|
55970
|
+
|
|
55971
|
+
/***/ "../core/build/src/bdef/expressions/bdef_authorization_context.js"
|
|
55972
|
+
/*!************************************************************************!*\
|
|
55973
|
+
!*** ../core/build/src/bdef/expressions/bdef_authorization_context.js ***!
|
|
55974
|
+
\************************************************************************/
|
|
55975
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
55976
|
+
|
|
55977
|
+
"use strict";
|
|
55978
|
+
|
|
55979
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
55980
|
+
exports.BDEFAuthorizationContext = void 0;
|
|
55981
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
55982
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
55983
|
+
/** eg. "define own authorization context { 'S_TABU_NAM'; }" or "define own authorization context by privileged mode;" */
|
|
55984
|
+
class BDEFAuthorizationContext extends combi_1.Expression {
|
|
55985
|
+
getRunnable() {
|
|
55986
|
+
const item = (0, combi_1.seq)((0, combi_1.altPrio)(_1.BDEFString, _1.BDEFName), ";");
|
|
55987
|
+
const body = (0, combi_1.seq)("{", (0, combi_1.starPrio)(item), "}", (0, combi_1.optPrio)(";"));
|
|
55988
|
+
const privileged = (0, combi_1.seq)("BY PRIVILEGED MODE", (0, combi_1.optPrio)("AND"));
|
|
55989
|
+
return (0, combi_1.seq)("DEFINE", (0, combi_1.optPrio)("OWN"), "AUTHORIZATION CONTEXT", (0, combi_1.optPrio)((0, combi_1.altPrio)(privileged, _1.BDEFName)), (0, combi_1.optPrio)((0, combi_1.seq)("FOR DISABLE", _1.BDEFOptions)), (0, combi_1.altPrio)(";", body));
|
|
55990
|
+
}
|
|
55991
|
+
}
|
|
55992
|
+
exports.BDEFAuthorizationContext = BDEFAuthorizationContext;
|
|
55993
|
+
//# sourceMappingURL=bdef_authorization_context.js.map
|
|
55994
|
+
|
|
55995
|
+
/***/ },
|
|
55996
|
+
|
|
55997
|
+
/***/ "../core/build/src/bdef/expressions/bdef_cardinality.js"
|
|
55998
|
+
/*!**************************************************************!*\
|
|
55999
|
+
!*** ../core/build/src/bdef/expressions/bdef_cardinality.js ***!
|
|
56000
|
+
\**************************************************************/
|
|
56001
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56002
|
+
|
|
56003
|
+
"use strict";
|
|
56004
|
+
|
|
56005
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56006
|
+
exports.BDEFCardinality = void 0;
|
|
56007
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56008
|
+
/** eg. "[1]" or "[0..*]" */
|
|
56009
|
+
class BDEFCardinality extends combi_1.Expression {
|
|
56010
|
+
getRunnable() {
|
|
56011
|
+
const integer = (0, combi_1.regex)(/^\d+$/);
|
|
56012
|
+
return (0, combi_1.seq)("[", integer, (0, combi_1.optPrio)((0, combi_1.seq)(".", ".", (0, combi_1.altPrio)(integer, "*"))), "]");
|
|
56013
|
+
}
|
|
56014
|
+
}
|
|
56015
|
+
exports.BDEFCardinality = BDEFCardinality;
|
|
56016
|
+
//# sourceMappingURL=bdef_cardinality.js.map
|
|
56017
|
+
|
|
56018
|
+
/***/ },
|
|
56019
|
+
|
|
56020
|
+
/***/ "../core/build/src/bdef/expressions/bdef_default_function.js"
|
|
56021
|
+
/*!*******************************************************************!*\
|
|
56022
|
+
!*** ../core/build/src/bdef/expressions/bdef_default_function.js ***!
|
|
56023
|
+
\*******************************************************************/
|
|
56024
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56025
|
+
|
|
56026
|
+
"use strict";
|
|
56027
|
+
|
|
56028
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56029
|
+
exports.BDEFDefaultFunction = void 0;
|
|
56030
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56031
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56032
|
+
/** eg. "{ default function GetDefaultsForCreate; }" */
|
|
56033
|
+
class BDEFDefaultFunction extends combi_1.Expression {
|
|
56034
|
+
getRunnable() {
|
|
56035
|
+
const func = (0, combi_1.seq)("DEFAULT FUNCTION", (0, combi_1.optPrio)((0, combi_1.seq)(_1.BDEFName, (0, combi_1.optPrio)((0, combi_1.seq)("EXTERNAL", _1.BDEFString)))), ";");
|
|
56036
|
+
return (0, combi_1.seq)("{", (0, combi_1.plusPrio)(func), "}");
|
|
56037
|
+
}
|
|
56038
|
+
}
|
|
56039
|
+
exports.BDEFDefaultFunction = BDEFDefaultFunction;
|
|
56040
|
+
//# sourceMappingURL=bdef_default_function.js.map
|
|
56041
|
+
|
|
56042
|
+
/***/ },
|
|
56043
|
+
|
|
56044
|
+
/***/ "../core/build/src/bdef/expressions/bdef_define_behavior.js"
|
|
56045
|
+
/*!******************************************************************!*\
|
|
56046
|
+
!*** ../core/build/src/bdef/expressions/bdef_define_behavior.js ***!
|
|
56047
|
+
\******************************************************************/
|
|
56048
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56049
|
+
|
|
56050
|
+
"use strict";
|
|
56051
|
+
|
|
56052
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56053
|
+
exports.BDEFDefineBehavior = void 0;
|
|
56054
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56055
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56056
|
+
/** behavior of one entity, "define behavior for ZI_Travel alias Travel ... { ... }" */
|
|
56057
|
+
class BDEFDefineBehavior extends combi_1.Expression {
|
|
56058
|
+
getRunnable() {
|
|
56059
|
+
const fieldMapping = (0, combi_1.seq)(_1.BDEFName, "=", _1.BDEFName);
|
|
56060
|
+
const lockMapping = (0, combi_1.seq)("(", fieldMapping, (0, combi_1.starPrio)((0, combi_1.seq)(",", fieldMapping)), ")");
|
|
56061
|
+
const dependentBy = (0, combi_1.seq)("DEPENDENT", (0, combi_1.optPrio)((0, combi_1.seq)("BY", _1.BDEFName)));
|
|
56062
|
+
const save = (0, combi_1.seq)((0, combi_1.altPrio)("WITH ADDITIONAL SAVE", "WITH UNMANAGED SAVE"), (0, combi_1.optPrio)("AND CLEANUP"), (0, combi_1.optPrio)("WITH FULL DATA"));
|
|
56063
|
+
const option = (0, combi_1.altPrio)(_1.BDEFAlias, _1.BDEFImplementationIn, (0, combi_1.seq)("EXTERNAL", _1.BDEFString), (0, combi_1.seq)("PERSISTENT TABLE", _1.BDEFName), (0, combi_1.seq)("DRAFT TABLE", _1.BDEFName), (0, combi_1.seq)("QUERY", _1.BDEFName), (0, combi_1.seq)("LOCK", (0, combi_1.altPrio)((0, combi_1.seq)("MASTER", (0, combi_1.optPrio)("UNMANAGED")), (0, combi_1.seq)(dependentBy, (0, combi_1.optPrio)(lockMapping)))), (0, combi_1.seq)("AUTHORIZATION", (0, combi_1.altPrio)((0, combi_1.seq)("MASTER", _1.BDEFOptions), dependentBy)), (0, combi_1.seq)((0, combi_1.optPrio)("TOTAL"), "ETAG", (0, combi_1.altPrio)((0, combi_1.seq)("MASTER", _1.BDEFName), dependentBy, _1.BDEFName)),
|
|
56064
|
+
// eg. "( lock, authorization, etag ) dependent by _Travel"
|
|
56065
|
+
(0, combi_1.seq)(_1.BDEFOptions, dependentBy), (0, combi_1.seq)((0, combi_1.altPrio)("LATE", "EARLY"), "NUMBERING", (0, combi_1.optPrio)("IN PLACE")), save, "WITH CONTROL", "USE ETAG", (0, combi_1.seq)("USING", _1.BDEFName), (0, combi_1.seq)("CHANGEDOCUMENTS", (0, combi_1.altPrio)((0, combi_1.seq)("MASTER", (0, combi_1.optPrio)("UTC"), (0, combi_1.optPrio)(_1.BDEFOptions)), dependentBy)), "EXTENSIBLE");
|
|
56066
|
+
const item = (0, combi_1.altPrio)(_1.BDEFUse, _1.BDEFDetermineAction, _1.BDEFOperation, _1.BDEFAction, _1.BDEFDetermination, _1.BDEFField, _1.BDEFAssociation, _1.BDEFMapping, _1.BDEFSideEffects, _1.BDEFEvent, _1.BDEFHierarchy, _1.BDEFKey, (0, combi_1.seq)("CHANGEDOCUMENTS", _1.BDEFOptions, ";"), ";");
|
|
56067
|
+
return (0, combi_1.seq)((0, combi_1.altPrio)((0, combi_1.seq)("DEFINE", (0, combi_1.optPrio)("ROOT"), "BEHAVIOR FOR"), "EXTEND BEHAVIOR FOR"), _1.BDEFName, (0, combi_1.starPrio)(option), "{", (0, combi_1.starPrio)(item), "}", (0, combi_1.optPrio)(";"));
|
|
56068
|
+
}
|
|
56069
|
+
}
|
|
56070
|
+
exports.BDEFDefineBehavior = BDEFDefineBehavior;
|
|
56071
|
+
//# sourceMappingURL=bdef_define_behavior.js.map
|
|
56072
|
+
|
|
56073
|
+
/***/ },
|
|
56074
|
+
|
|
56075
|
+
/***/ "../core/build/src/bdef/expressions/bdef_definition.js"
|
|
56076
|
+
/*!*************************************************************!*\
|
|
56077
|
+
!*** ../core/build/src/bdef/expressions/bdef_definition.js ***!
|
|
56078
|
+
\*************************************************************/
|
|
56079
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56080
|
+
|
|
56081
|
+
"use strict";
|
|
56082
|
+
|
|
56083
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56084
|
+
exports.BDEFDefinition = void 0;
|
|
56085
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56086
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56087
|
+
class BDEFDefinition extends combi_1.Expression {
|
|
56088
|
+
getRunnable() {
|
|
56089
|
+
return (0, combi_1.seq)(_1.BDEFImplementationType, (0, combi_1.starPrio)((0, combi_1.altPrio)(_1.BDEFHeader, _1.BDEFDefineBehavior, _1.BDEFAuthorizationContext)));
|
|
56090
|
+
}
|
|
56091
|
+
}
|
|
56092
|
+
exports.BDEFDefinition = BDEFDefinition;
|
|
56093
|
+
//# sourceMappingURL=bdef_definition.js.map
|
|
56094
|
+
|
|
56095
|
+
/***/ },
|
|
56096
|
+
|
|
56097
|
+
/***/ "../core/build/src/bdef/expressions/bdef_determination.js"
|
|
56098
|
+
/*!****************************************************************!*\
|
|
56099
|
+
!*** ../core/build/src/bdef/expressions/bdef_determination.js ***!
|
|
56100
|
+
\****************************************************************/
|
|
56101
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56102
|
+
|
|
56103
|
+
"use strict";
|
|
56104
|
+
|
|
56105
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56106
|
+
exports.BDEFDetermination = void 0;
|
|
56107
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56108
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56109
|
+
/** determinations and validations, eg. "validation validateDates on save { create; field BeginDate, EndDate; }" */
|
|
56110
|
+
class BDEFDetermination extends combi_1.Expression {
|
|
56111
|
+
getRunnable() {
|
|
56112
|
+
const fields = (0, combi_1.seq)(_1.BDEFFieldPath, (0, combi_1.starPrio)((0, combi_1.seq)(",", _1.BDEFFieldPath)));
|
|
56113
|
+
const trigger = (0, combi_1.altPrio)((0, combi_1.seq)((0, combi_1.altPrio)("CREATE", "UPDATE", "DELETE"), ";"), (0, combi_1.seq)("FIELD", fields, ";"), (0, combi_1.seq)("ENTITY", fields, ";"), ";");
|
|
56114
|
+
return (0, combi_1.seq)((0, combi_1.altPrio)("DETERMINATION", "VALIDATION"), (0, combi_1.optPrio)(_1.BDEFOptions), _1.BDEFName, "ON", (0, combi_1.altPrio)("MODIFY", "SAVE"), "{", (0, combi_1.starPrio)(trigger), "}");
|
|
56115
|
+
}
|
|
56116
|
+
}
|
|
56117
|
+
exports.BDEFDetermination = BDEFDetermination;
|
|
56118
|
+
//# sourceMappingURL=bdef_determination.js.map
|
|
56119
|
+
|
|
56120
|
+
/***/ },
|
|
56121
|
+
|
|
56122
|
+
/***/ "../core/build/src/bdef/expressions/bdef_determine_action.js"
|
|
56123
|
+
/*!*******************************************************************!*\
|
|
56124
|
+
!*** ../core/build/src/bdef/expressions/bdef_determine_action.js ***!
|
|
56125
|
+
\*******************************************************************/
|
|
56126
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56127
|
+
|
|
56128
|
+
"use strict";
|
|
56129
|
+
|
|
56130
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56131
|
+
exports.BDEFDetermineAction = void 0;
|
|
56132
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56133
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56134
|
+
/** eg. "draft determine action Prepare { validation validateDate; determination ( always ) Child ~ setStatus; }" */
|
|
56135
|
+
class BDEFDetermineAction extends combi_1.Expression {
|
|
56136
|
+
getRunnable() {
|
|
56137
|
+
const item = (0, combi_1.seq)((0, combi_1.altPrio)("VALIDATION", "DETERMINATION"), (0, combi_1.optPrio)(_1.BDEFOptions), _1.BDEFReference, ";");
|
|
56138
|
+
const body = (0, combi_1.seq)("{", (0, combi_1.starPrio)(item), "}");
|
|
56139
|
+
return (0, combi_1.seq)((0, combi_1.optPrio)("EXTEND"), (0, combi_1.optPrio)("DRAFT"), "DETERMINE ACTION", (0, combi_1.optPrio)(_1.BDEFOptions), _1.BDEFName, (0, combi_1.optPrio)("EXTENSIBLE"), (0, combi_1.altPrio)(";", body));
|
|
56140
|
+
}
|
|
56141
|
+
}
|
|
56142
|
+
exports.BDEFDetermineAction = BDEFDetermineAction;
|
|
56143
|
+
//# sourceMappingURL=bdef_determine_action.js.map
|
|
56144
|
+
|
|
56145
|
+
/***/ },
|
|
56146
|
+
|
|
56147
|
+
/***/ "../core/build/src/bdef/expressions/bdef_event.js"
|
|
56148
|
+
/*!********************************************************!*\
|
|
56149
|
+
!*** ../core/build/src/bdef/expressions/bdef_event.js ***!
|
|
56150
|
+
\********************************************************/
|
|
56151
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56152
|
+
|
|
56153
|
+
"use strict";
|
|
56154
|
+
|
|
56155
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56156
|
+
exports.BDEFEvent = void 0;
|
|
56157
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56158
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56159
|
+
/** eg. "event TravelCreated parameter ZD_TRAVEL_EVENT;" or "event StatusUpdated for side effects;" */
|
|
56160
|
+
class BDEFEvent extends combi_1.Expression {
|
|
56161
|
+
getRunnable() {
|
|
56162
|
+
const tail = (0, combi_1.altPrio)((0, combi_1.seq)("ON", _1.BDEFName), _1.BDEFParameter, "FOR SIDE EFFECTS", (0, combi_1.seq)("DESCRIPTION", _1.BDEFString), (0, combi_1.seq)("CATEGORY", _1.BDEFName));
|
|
56163
|
+
return (0, combi_1.seq)((0, combi_1.optPrio)("MANAGED"), "EVENT", _1.BDEFName, (0, combi_1.starPrio)(tail), ";");
|
|
56164
|
+
}
|
|
56165
|
+
}
|
|
56166
|
+
exports.BDEFEvent = BDEFEvent;
|
|
56167
|
+
//# sourceMappingURL=bdef_event.js.map
|
|
56168
|
+
|
|
56169
|
+
/***/ },
|
|
56170
|
+
|
|
56171
|
+
/***/ "../core/build/src/bdef/expressions/bdef_field.js"
|
|
56172
|
+
/*!********************************************************!*\
|
|
56173
|
+
!*** ../core/build/src/bdef/expressions/bdef_field.js ***!
|
|
56174
|
+
\********************************************************/
|
|
56175
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56176
|
+
|
|
56177
|
+
"use strict";
|
|
56178
|
+
|
|
56179
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56180
|
+
exports.BDEFField = void 0;
|
|
56181
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56182
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56183
|
+
/** field characteristics, eg. "field ( readonly, numbering : managed ) ID, CreatedBy;" */
|
|
56184
|
+
class BDEFField extends combi_1.Expression {
|
|
56185
|
+
getRunnable() {
|
|
56186
|
+
return (0, combi_1.seq)("FIELD", _1.BDEFOptions, _1.BDEFFieldPath, (0, combi_1.starPrio)((0, combi_1.seq)(",", _1.BDEFFieldPath)), (0, combi_1.optPrio)(","), ";");
|
|
56187
|
+
}
|
|
56188
|
+
}
|
|
56189
|
+
exports.BDEFField = BDEFField;
|
|
56190
|
+
//# sourceMappingURL=bdef_field.js.map
|
|
56191
|
+
|
|
56192
|
+
/***/ },
|
|
56193
|
+
|
|
56194
|
+
/***/ "../core/build/src/bdef/expressions/bdef_field_path.js"
|
|
56195
|
+
/*!*************************************************************!*\
|
|
56196
|
+
!*** ../core/build/src/bdef/expressions/bdef_field_path.js ***!
|
|
56197
|
+
\*************************************************************/
|
|
56198
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56199
|
+
|
|
56200
|
+
"use strict";
|
|
56201
|
+
|
|
56202
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56203
|
+
exports.BDEFFieldPath = void 0;
|
|
56204
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56205
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56206
|
+
/** field or association, possibly via associations, eg. "_Root.TotalPieces" */
|
|
56207
|
+
class BDEFFieldPath extends combi_1.Expression {
|
|
56208
|
+
getRunnable() {
|
|
56209
|
+
return (0, combi_1.seq)(_1.BDEFName, (0, combi_1.starPrio)((0, combi_1.seq)(".", _1.BDEFName)));
|
|
56210
|
+
}
|
|
56211
|
+
}
|
|
56212
|
+
exports.BDEFFieldPath = BDEFFieldPath;
|
|
56213
|
+
//# sourceMappingURL=bdef_field_path.js.map
|
|
56214
|
+
|
|
56215
|
+
/***/ },
|
|
56216
|
+
|
|
56217
|
+
/***/ "../core/build/src/bdef/expressions/bdef_header.js"
|
|
56218
|
+
/*!*********************************************************!*\
|
|
56219
|
+
!*** ../core/build/src/bdef/expressions/bdef_header.js ***!
|
|
56220
|
+
\*********************************************************/
|
|
56221
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56222
|
+
|
|
56223
|
+
"use strict";
|
|
56224
|
+
|
|
56225
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56226
|
+
exports.BDEFHeader = void 0;
|
|
56227
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56228
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56229
|
+
/** header statements following the implementation type, eg. "strict ( 2 );" or "with draft;" */
|
|
56230
|
+
class BDEFHeader extends combi_1.Expression {
|
|
56231
|
+
getRunnable() {
|
|
56232
|
+
const extensibleItem = (0, combi_1.seq)("WITH", (0, combi_1.plusPrio)((0, combi_1.regex)(/^\w+$/)), ";");
|
|
56233
|
+
const extensible = (0, combi_1.seq)("EXTENSIBLE", (0, combi_1.optPrio)((0, combi_1.seq)("{", (0, combi_1.starPrio)(extensibleItem), "}")), (0, combi_1.optPrio)(";"));
|
|
56234
|
+
return (0, combi_1.altPrio)((0, combi_1.seq)("STRICT", (0, combi_1.optPrio)((0, combi_1.seq)("(", (0, combi_1.regex)(/^\d+$/), ")")), ";"), (0, combi_1.seq)("WITH DRAFT", ";"), (0, combi_1.seq)("USE DRAFT", (0, combi_1.optPrio)("AS DEPENDENT"), ";"), (0, combi_1.seq)((0, combi_1.altPrio)("WITH", "USE"), "COLLABORATIVE DRAFT", ";"), (0, combi_1.seq)("WITH PRIVILEGED MODE", (0, combi_1.optPrio)((0, combi_1.seq)("DISABLING", _1.BDEFName)), ";"), (0, combi_1.seq)("WITH MANAGED INSTANCE FILTER", ";"), (0, combi_1.seq)("WITH HIERARCHY", ";"), (0, combi_1.seq)("WITH CROSS ASSOCIATIONS", ";"), (0, combi_1.seq)("USE SIDE EFFECTS", ";"), (0, combi_1.seq)("USE RECOMMENDATIONS", ";"), (0, combi_1.seq)("FOREIGN ENTITY", _1.BDEFName, (0, combi_1.optPrio)(_1.BDEFAlias), ";"), (0, combi_1.seq)("SCALAR ENTITY", _1.BDEFName, "FIELD", _1.BDEFName, ";"), (0, combi_1.seq)("AUXILIARY CLASS", _1.BDEFName, ";"), extensible);
|
|
56235
|
+
}
|
|
56236
|
+
}
|
|
56237
|
+
exports.BDEFHeader = BDEFHeader;
|
|
56238
|
+
//# sourceMappingURL=bdef_header.js.map
|
|
56239
|
+
|
|
56240
|
+
/***/ },
|
|
56241
|
+
|
|
56242
|
+
/***/ "../core/build/src/bdef/expressions/bdef_hierarchy.js"
|
|
56243
|
+
/*!************************************************************!*\
|
|
56244
|
+
!*** ../core/build/src/bdef/expressions/bdef_hierarchy.js ***!
|
|
56245
|
+
\************************************************************/
|
|
56246
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56247
|
+
|
|
56248
|
+
"use strict";
|
|
56249
|
+
|
|
56250
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56251
|
+
exports.BDEFHierarchy = void 0;
|
|
56252
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56253
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56254
|
+
/** eg. "instance hierarchy /DMO/I_EmployeeHN { managed reorder action changeNextSibling; ascending association _Manager; }" */
|
|
56255
|
+
class BDEFHierarchy extends combi_1.Expression {
|
|
56256
|
+
getRunnable() {
|
|
56257
|
+
const action = (0, combi_1.seq)((0, combi_1.optPrio)("MANAGED"), (0, combi_1.altPrio)("REORDER", "COPY"), "ACTION", _1.BDEFName, ";");
|
|
56258
|
+
const association = (0, combi_1.seq)((0, combi_1.altPrio)("ASCENDING", "DESCENDING"), "ASSOCIATION", _1.BDEFName, (0, combi_1.altPrio)(";", _1.BDEFAssociationBody));
|
|
56259
|
+
const item = (0, combi_1.altPrio)(action, association, _1.BDEFField, ";");
|
|
56260
|
+
return (0, combi_1.seq)("INSTANCE HIERARCHY", _1.BDEFName, "{", (0, combi_1.starPrio)(item), "}");
|
|
56261
|
+
}
|
|
56262
|
+
}
|
|
56263
|
+
exports.BDEFHierarchy = BDEFHierarchy;
|
|
56264
|
+
//# sourceMappingURL=bdef_hierarchy.js.map
|
|
56265
|
+
|
|
56266
|
+
/***/ },
|
|
56267
|
+
|
|
56268
|
+
/***/ "../core/build/src/bdef/expressions/bdef_implementation_in.js"
|
|
56269
|
+
/*!********************************************************************!*\
|
|
56270
|
+
!*** ../core/build/src/bdef/expressions/bdef_implementation_in.js ***!
|
|
56271
|
+
\********************************************************************/
|
|
56272
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56273
|
+
|
|
56274
|
+
"use strict";
|
|
56275
|
+
|
|
56276
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56277
|
+
exports.BDEFImplementationIn = void 0;
|
|
56278
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56279
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56280
|
+
class BDEFImplementationIn extends combi_1.Expression {
|
|
56281
|
+
getRunnable() {
|
|
56282
|
+
return (0, combi_1.seq)("IMPLEMENTATION IN CLASS", _1.BDEFName, (0, combi_1.optPrio)("UNIQUE"));
|
|
56283
|
+
}
|
|
56284
|
+
}
|
|
56285
|
+
exports.BDEFImplementationIn = BDEFImplementationIn;
|
|
56286
|
+
//# sourceMappingURL=bdef_implementation_in.js.map
|
|
56287
|
+
|
|
56288
|
+
/***/ },
|
|
56289
|
+
|
|
56290
|
+
/***/ "../core/build/src/bdef/expressions/bdef_implementation_type.js"
|
|
56291
|
+
/*!**********************************************************************!*\
|
|
56292
|
+
!*** ../core/build/src/bdef/expressions/bdef_implementation_type.js ***!
|
|
56293
|
+
\**********************************************************************/
|
|
56294
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56295
|
+
|
|
56296
|
+
"use strict";
|
|
56297
|
+
|
|
56298
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56299
|
+
exports.BDEFImplementationType = void 0;
|
|
56300
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56301
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56302
|
+
/** first statement, eg. "managed with additional save implementation in class zbp_travel unique;" */
|
|
56303
|
+
class BDEFImplementationType extends combi_1.Expression {
|
|
56304
|
+
getRunnable() {
|
|
56305
|
+
const extension = (0, combi_1.seq)("EXTENSION", (0, combi_1.optPrio)((0, combi_1.altPrio)((0, combi_1.seq)("USING INTERFACE", _1.BDEFName), (0, combi_1.seq)("FOR", (0, combi_1.altPrio)("PROJECTION", "INTERFACE")))));
|
|
56306
|
+
const type = (0, combi_1.altPrio)("MANAGED", "UNMANAGED", "ABSTRACT", "PROJECTION", "INTERFACE", extension,
|
|
56307
|
+
// old syntax, eg. "implementation unmanaged;"
|
|
56308
|
+
(0, combi_1.seq)("IMPLEMENTATION", (0, combi_1.altPrio)("MANAGED", "UNMANAGED", "ABSTRACT", "PROJECTION")));
|
|
56309
|
+
const save = (0, combi_1.seq)((0, combi_1.altPrio)("WITH ADDITIONAL SAVE", "WITH UNMANAGED SAVE"), (0, combi_1.optPrio)("AND CLEANUP"), (0, combi_1.optPrio)("WITH FULL DATA"));
|
|
56310
|
+
const option = (0, combi_1.altPrio)(_1.BDEFImplementationIn, save);
|
|
56311
|
+
return (0, combi_1.seq)(type, (0, combi_1.starPrio)(option), ";");
|
|
56312
|
+
}
|
|
56313
|
+
}
|
|
56314
|
+
exports.BDEFImplementationType = BDEFImplementationType;
|
|
56315
|
+
//# sourceMappingURL=bdef_implementation_type.js.map
|
|
56316
|
+
|
|
56317
|
+
/***/ },
|
|
56318
|
+
|
|
56319
|
+
/***/ "../core/build/src/bdef/expressions/bdef_key.js"
|
|
56320
|
+
/*!******************************************************!*\
|
|
56321
|
+
!*** ../core/build/src/bdef/expressions/bdef_key.js ***!
|
|
56322
|
+
\******************************************************/
|
|
56323
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56324
|
+
|
|
56325
|
+
"use strict";
|
|
56326
|
+
|
|
56327
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56328
|
+
exports.BDEFKey = void 0;
|
|
56329
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56330
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56331
|
+
/** alternative key, eg. "define pure key AlternativeKey { id; }" */
|
|
56332
|
+
class BDEFKey extends combi_1.Expression {
|
|
56333
|
+
getRunnable() {
|
|
56334
|
+
const fields = (0, combi_1.seq)(_1.BDEFName, (0, combi_1.starPrio)((0, combi_1.seq)(",", _1.BDEFName)), ";");
|
|
56335
|
+
return (0, combi_1.seq)("DEFINE", (0, combi_1.optPrio)("PURE"), "KEY", _1.BDEFName, "{", (0, combi_1.starPrio)(fields), "}");
|
|
56336
|
+
}
|
|
56337
|
+
}
|
|
56338
|
+
exports.BDEFKey = BDEFKey;
|
|
56339
|
+
//# sourceMappingURL=bdef_key.js.map
|
|
56340
|
+
|
|
56341
|
+
/***/ },
|
|
56342
|
+
|
|
56343
|
+
/***/ "../core/build/src/bdef/expressions/bdef_mapping.js"
|
|
56344
|
+
/*!**********************************************************!*\
|
|
56345
|
+
!*** ../core/build/src/bdef/expressions/bdef_mapping.js ***!
|
|
56346
|
+
\**********************************************************/
|
|
56347
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56348
|
+
|
|
56349
|
+
"use strict";
|
|
56350
|
+
|
|
56351
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56352
|
+
exports.BDEFMapping = void 0;
|
|
56353
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56354
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56355
|
+
/** eg. "mapping for ztravel corresponding { TravelID = travel_id; }" */
|
|
56356
|
+
class BDEFMapping extends combi_1.Expression {
|
|
56357
|
+
getRunnable() {
|
|
56358
|
+
const names = (0, combi_1.seq)(_1.BDEFName, (0, combi_1.starPrio)((0, combi_1.seq)(",", _1.BDEFName)));
|
|
56359
|
+
const line = (0, combi_1.seq)(_1.BDEFName, "=", _1.BDEFName, (0, combi_1.optPrio)((0, combi_1.seq)("CONTROL", _1.BDEFName)), ";");
|
|
56360
|
+
// deep mapping of a sub node, eg. "sub _Items = items;"
|
|
56361
|
+
const sub = (0, combi_1.seq)("SUB", _1.BDEFName, "=", _1.BDEFName, ";");
|
|
56362
|
+
const body = (0, combi_1.seq)("{", (0, combi_1.starPrio)((0, combi_1.altPrio)(sub, line, ";")), "}");
|
|
56363
|
+
const option = (0, combi_1.altPrio)("CORRESPONDING", "EXTENSIBLE", (0, combi_1.seq)("EXCEPT", names), (0, combi_1.seq)("CONTROL", _1.BDEFName));
|
|
56364
|
+
return (0, combi_1.seq)((0, combi_1.optPrio)("DEEP"), "MAPPING FOR", _1.BDEFName, (0, combi_1.starPrio)(option), (0, combi_1.altPrio)(";", body));
|
|
56365
|
+
}
|
|
56366
|
+
}
|
|
56367
|
+
exports.BDEFMapping = BDEFMapping;
|
|
56368
|
+
//# sourceMappingURL=bdef_mapping.js.map
|
|
56369
|
+
|
|
56370
|
+
/***/ },
|
|
56371
|
+
|
|
56372
|
+
/***/ "../core/build/src/bdef/expressions/bdef_name.js"
|
|
56373
|
+
/*!*******************************************************!*\
|
|
56374
|
+
!*** ../core/build/src/bdef/expressions/bdef_name.js ***!
|
|
56375
|
+
\*******************************************************/
|
|
56376
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56377
|
+
|
|
56378
|
+
"use strict";
|
|
56379
|
+
|
|
56380
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56381
|
+
exports.BDEFName = void 0;
|
|
56382
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56383
|
+
class BDEFName extends combi_1.Expression {
|
|
56384
|
+
getRunnable() {
|
|
56385
|
+
const word = (0, combi_1.regex)(/^\$?\w+$/);
|
|
56386
|
+
const slashName = (0, combi_1.seq)("/", (0, combi_1.regex)(/^\w+$/), "/", (0, combi_1.regex)(/^\w+$/));
|
|
56387
|
+
return (0, combi_1.altPrio)(slashName, word);
|
|
56388
|
+
}
|
|
56389
|
+
}
|
|
56390
|
+
exports.BDEFName = BDEFName;
|
|
56391
|
+
//# sourceMappingURL=bdef_name.js.map
|
|
56392
|
+
|
|
56393
|
+
/***/ },
|
|
56394
|
+
|
|
56395
|
+
/***/ "../core/build/src/bdef/expressions/bdef_operation.js"
|
|
56396
|
+
/*!************************************************************!*\
|
|
56397
|
+
!*** ../core/build/src/bdef/expressions/bdef_operation.js ***!
|
|
56398
|
+
\************************************************************/
|
|
56399
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56400
|
+
|
|
56401
|
+
"use strict";
|
|
56402
|
+
|
|
56403
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56404
|
+
exports.BDEFOperation = void 0;
|
|
56405
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56406
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56407
|
+
/** standard operations, eg. "internal create ( features : global );" */
|
|
56408
|
+
class BDEFOperation extends combi_1.Expression {
|
|
56409
|
+
getRunnable() {
|
|
56410
|
+
return (0, combi_1.seq)((0, combi_1.starPrio)((0, combi_1.altPrio)("INTERNAL", "STATIC")), (0, combi_1.altPrio)("CREATE", "UPDATE", "DELETE"), (0, combi_1.optPrio)(_1.BDEFOptions), (0, combi_1.altPrio)(";", _1.BDEFDefaultFunction));
|
|
56411
|
+
}
|
|
56412
|
+
}
|
|
56413
|
+
exports.BDEFOperation = BDEFOperation;
|
|
56414
|
+
//# sourceMappingURL=bdef_operation.js.map
|
|
56415
|
+
|
|
56416
|
+
/***/ },
|
|
56417
|
+
|
|
56418
|
+
/***/ "../core/build/src/bdef/expressions/bdef_options.js"
|
|
56419
|
+
/*!**********************************************************!*\
|
|
56420
|
+
!*** ../core/build/src/bdef/expressions/bdef_options.js ***!
|
|
56421
|
+
\**********************************************************/
|
|
56422
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56423
|
+
|
|
56424
|
+
"use strict";
|
|
56425
|
+
|
|
56426
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56427
|
+
exports.BDEFOptions = void 0;
|
|
56428
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56429
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56430
|
+
/** eg. "( features : instance, precheck )", "( read only )" or "( hierarchy-index )" */
|
|
56431
|
+
class BDEFOptions extends combi_1.Expression {
|
|
56432
|
+
getRunnable() {
|
|
56433
|
+
const name = (0, combi_1.seq)(_1.BDEFName, (0, combi_1.starPrio)((0, combi_1.altPrio)((0, combi_1.seq)("-", _1.BDEFName), _1.BDEFName)));
|
|
56434
|
+
const option = (0, combi_1.seq)(name, (0, combi_1.optPrio)((0, combi_1.seq)(":", _1.BDEFName)));
|
|
56435
|
+
return (0, combi_1.seq)("(", option, (0, combi_1.starPrio)((0, combi_1.seq)(",", option)), ")");
|
|
56436
|
+
}
|
|
56437
|
+
}
|
|
56438
|
+
exports.BDEFOptions = BDEFOptions;
|
|
56439
|
+
//# sourceMappingURL=bdef_options.js.map
|
|
56440
|
+
|
|
56441
|
+
/***/ },
|
|
56442
|
+
|
|
56443
|
+
/***/ "../core/build/src/bdef/expressions/bdef_parameter.js"
|
|
56444
|
+
/*!************************************************************!*\
|
|
56445
|
+
!*** ../core/build/src/bdef/expressions/bdef_parameter.js ***!
|
|
56446
|
+
\************************************************************/
|
|
56447
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56448
|
+
|
|
56449
|
+
"use strict";
|
|
56450
|
+
|
|
56451
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56452
|
+
exports.BDEFParameter = void 0;
|
|
56453
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56454
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56455
|
+
/** eg. "deep parameter ZD_PARAMETER" */
|
|
56456
|
+
class BDEFParameter extends combi_1.Expression {
|
|
56457
|
+
getRunnable() {
|
|
56458
|
+
return (0, combi_1.seq)((0, combi_1.optPrio)("DEEP"), "PARAMETER", _1.BDEFName);
|
|
56459
|
+
}
|
|
56460
|
+
}
|
|
56461
|
+
exports.BDEFParameter = BDEFParameter;
|
|
56462
|
+
//# sourceMappingURL=bdef_parameter.js.map
|
|
56463
|
+
|
|
56464
|
+
/***/ },
|
|
56465
|
+
|
|
56466
|
+
/***/ "../core/build/src/bdef/expressions/bdef_reference.js"
|
|
56467
|
+
/*!************************************************************!*\
|
|
56468
|
+
!*** ../core/build/src/bdef/expressions/bdef_reference.js ***!
|
|
56469
|
+
\************************************************************/
|
|
56470
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56471
|
+
|
|
56472
|
+
"use strict";
|
|
56473
|
+
|
|
56474
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56475
|
+
exports.BDEFReference = void 0;
|
|
56476
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56477
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56478
|
+
/** reference to a determination, validation or action, optionally prefixed with an entity, eg. "Child ~ validatePercentage" */
|
|
56479
|
+
class BDEFReference extends combi_1.Expression {
|
|
56480
|
+
getRunnable() {
|
|
56481
|
+
const namespace = (0, combi_1.seq)("/", (0, combi_1.regex)(/^\w+$/), "/");
|
|
56482
|
+
const tildeEnd = (0, combi_1.regex)(/^\w+~$/);
|
|
56483
|
+
return (0, combi_1.altPrio)((0, combi_1.seq)(_1.BDEFName, "~", _1.BDEFName), (0, combi_1.seq)(_1.BDEFName, (0, combi_1.regex)(/^~\w+$/)), (0, combi_1.seq)((0, combi_1.optPrio)(namespace), tildeEnd, _1.BDEFName), (0, combi_1.seq)((0, combi_1.optPrio)(namespace), (0, combi_1.regex)(/^\w+~\w+$/)), _1.BDEFName);
|
|
56484
|
+
}
|
|
56485
|
+
}
|
|
56486
|
+
exports.BDEFReference = BDEFReference;
|
|
56487
|
+
//# sourceMappingURL=bdef_reference.js.map
|
|
56488
|
+
|
|
56489
|
+
/***/ },
|
|
56490
|
+
|
|
56491
|
+
/***/ "../core/build/src/bdef/expressions/bdef_result.js"
|
|
56492
|
+
/*!*********************************************************!*\
|
|
56493
|
+
!*** ../core/build/src/bdef/expressions/bdef_result.js ***!
|
|
56494
|
+
\*********************************************************/
|
|
56495
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56496
|
+
|
|
56497
|
+
"use strict";
|
|
56498
|
+
|
|
56499
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56500
|
+
exports.BDEFResult = void 0;
|
|
56501
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56502
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56503
|
+
/** eg. "result [1] $self", "deep result ZD_RESULT" or "result selective [0..*] entity ZI_Travel" */
|
|
56504
|
+
class BDEFResult extends combi_1.Expression {
|
|
56505
|
+
getRunnable() {
|
|
56506
|
+
return (0, combi_1.seq)((0, combi_1.optPrio)("DEEP"), "RESULT", (0, combi_1.optPrio)("SELECTIVE"), (0, combi_1.optPrio)(_1.BDEFCardinality), (0, combi_1.optPrio)("ENTITY"), _1.BDEFName);
|
|
56507
|
+
}
|
|
56508
|
+
}
|
|
56509
|
+
exports.BDEFResult = BDEFResult;
|
|
56510
|
+
//# sourceMappingURL=bdef_result.js.map
|
|
56511
|
+
|
|
56512
|
+
/***/ },
|
|
56513
|
+
|
|
56514
|
+
/***/ "../core/build/src/bdef/expressions/bdef_side_effects.js"
|
|
56515
|
+
/*!***************************************************************!*\
|
|
56516
|
+
!*** ../core/build/src/bdef/expressions/bdef_side_effects.js ***!
|
|
56517
|
+
\***************************************************************/
|
|
56518
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56519
|
+
|
|
56520
|
+
"use strict";
|
|
56521
|
+
|
|
56522
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56523
|
+
exports.BDEFSideEffects = void 0;
|
|
56524
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56525
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56526
|
+
/** eg. "side effects { field Price affects field TotalPrice, messages; }" */
|
|
56527
|
+
class BDEFSideEffects extends combi_1.Expression {
|
|
56528
|
+
getRunnable() {
|
|
56529
|
+
const fieldList = (0, combi_1.seq)("(", _1.BDEFName, (0, combi_1.starPrio)((0, combi_1.seq)(",", _1.BDEFName)), ")");
|
|
56530
|
+
// eg. "field *", "field ( A, B )", "field _Item.*" or "field _Root.( A, B )"
|
|
56531
|
+
const field = (0, combi_1.seq)("FIELD", (0, combi_1.altPrio)("*", fieldList, (0, combi_1.seq)(_1.BDEFName, (0, combi_1.starPrio)((0, combi_1.seq)(".", (0, combi_1.altPrio)("*", fieldList, _1.BDEFName))))));
|
|
56532
|
+
const permission = (0, combi_1.altPrio)((0, combi_1.seq)("ACTION", _1.BDEFReference), field, (0, combi_1.seq)((0, combi_1.altPrio)("CREATE", "UPDATE", "DELETE"), (0, combi_1.optPrio)(_1.BDEFName)));
|
|
56533
|
+
const permissions = (0, combi_1.seq)("PERMISSIONS", "(", permission, (0, combi_1.starPrio)((0, combi_1.seq)(",", permission)), ")");
|
|
56534
|
+
const target = (0, combi_1.altPrio)(field, (0, combi_1.seq)("ENTITY", _1.BDEFFieldPath), "MESSAGES", permissions, "$SELF");
|
|
56535
|
+
const targets = (0, combi_1.seq)(target, (0, combi_1.starPrio)((0, combi_1.seq)(",", target)));
|
|
56536
|
+
const trigger = (0, combi_1.altPrio)(field, (0, combi_1.seq)("ENTITY", _1.BDEFFieldPath), "$SELF");
|
|
56537
|
+
const triggers = (0, combi_1.seq)(trigger, (0, combi_1.starPrio)((0, combi_1.seq)(",", trigger)));
|
|
56538
|
+
const source = (0, combi_1.altPrio)(field, (0, combi_1.seq)("ACTION", _1.BDEFReference), (0, combi_1.seq)("DETERMINE ACTION", _1.BDEFReference, "EXECUTED ON", triggers), (0, combi_1.seq)("ENTITY", _1.BDEFFieldPath), (0, combi_1.seq)("EVENT", _1.BDEFName), "$SELF");
|
|
56539
|
+
const recommendation = (0, combi_1.seq)("RECOMMENDATION FUNCTION", _1.BDEFName, "EXECUTED ON", triggers, ";");
|
|
56540
|
+
const item = (0, combi_1.altPrio)((0, combi_1.seq)(source, "AFFECTS", targets, ";"), recommendation, ";");
|
|
56541
|
+
return (0, combi_1.seq)("SIDE EFFECTS", "{", (0, combi_1.starPrio)(item), "}");
|
|
56542
|
+
}
|
|
56543
|
+
}
|
|
56544
|
+
exports.BDEFSideEffects = BDEFSideEffects;
|
|
56545
|
+
//# sourceMappingURL=bdef_side_effects.js.map
|
|
56546
|
+
|
|
56547
|
+
/***/ },
|
|
56548
|
+
|
|
56549
|
+
/***/ "../core/build/src/bdef/expressions/bdef_string.js"
|
|
56550
|
+
/*!*********************************************************!*\
|
|
56551
|
+
!*** ../core/build/src/bdef/expressions/bdef_string.js ***!
|
|
56552
|
+
\*********************************************************/
|
|
56553
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56554
|
+
|
|
56555
|
+
"use strict";
|
|
56556
|
+
|
|
56557
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56558
|
+
exports.BDEFString = void 0;
|
|
56559
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56560
|
+
class BDEFString extends combi_1.Expression {
|
|
56561
|
+
getRunnable() {
|
|
56562
|
+
return (0, combi_1.regex)(/^'(?:[^']|'')*'$/);
|
|
56563
|
+
}
|
|
56564
|
+
}
|
|
56565
|
+
exports.BDEFString = BDEFString;
|
|
56566
|
+
//# sourceMappingURL=bdef_string.js.map
|
|
56567
|
+
|
|
56568
|
+
/***/ },
|
|
56569
|
+
|
|
56570
|
+
/***/ "../core/build/src/bdef/expressions/bdef_use.js"
|
|
56571
|
+
/*!******************************************************!*\
|
|
56572
|
+
!*** ../core/build/src/bdef/expressions/bdef_use.js ***!
|
|
56573
|
+
\******************************************************/
|
|
56574
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56575
|
+
|
|
56576
|
+
"use strict";
|
|
56577
|
+
|
|
56578
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56579
|
+
exports.BDEFUse = void 0;
|
|
56580
|
+
const _1 = __webpack_require__(/*! . */ "../core/build/src/bdef/expressions/index.js");
|
|
56581
|
+
const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "../core/build/src/abap/2_statements/combi.js");
|
|
56582
|
+
/** reuse in projections and interfaces, eg. "use action acceptTravel as accept;" */
|
|
56583
|
+
class BDEFUse extends combi_1.Expression {
|
|
56584
|
+
getRunnable() {
|
|
56585
|
+
const end = (0, combi_1.altPrio)(";", _1.BDEFDefaultFunction);
|
|
56586
|
+
const operation = (0, combi_1.seq)((0, combi_1.altPrio)("CREATE", "UPDATE", "DELETE"), (0, combi_1.optPrio)(_1.BDEFOptions), end);
|
|
56587
|
+
const actionTail = (0, combi_1.altPrio)((0, combi_1.seq)("AS", _1.BDEFName), (0, combi_1.seq)("EXTERNAL", _1.BDEFString), _1.BDEFParameter, _1.BDEFResult);
|
|
56588
|
+
const action = (0, combi_1.seq)((0, combi_1.altPrio)("ACTION", "FUNCTION"), (0, combi_1.optPrio)(_1.BDEFOptions), _1.BDEFName, (0, combi_1.starPrio)(actionTail), end);
|
|
56589
|
+
const association = (0, combi_1.seq)("ASSOCIATION", (0, combi_1.optPrio)(_1.BDEFOptions), _1.BDEFName, (0, combi_1.optPrio)((0, combi_1.seq)("ABBREVIATION", _1.BDEFName)), (0, combi_1.altPrio)(";", _1.BDEFAssociationBody));
|
|
56590
|
+
return (0, combi_1.seq)("USE", (0, combi_1.altPrio)(operation, action, association, (0, combi_1.seq)("ETAG", ";"), (0, combi_1.seq)("SIDE EFFECTS", ";"), (0, combi_1.seq)("KEY", _1.BDEFName, ";"), (0, combi_1.seq)("EVENT", _1.BDEFName, (0, combi_1.optPrio)(_1.BDEFParameter), ";")));
|
|
56591
|
+
}
|
|
56592
|
+
}
|
|
56593
|
+
exports.BDEFUse = BDEFUse;
|
|
56594
|
+
//# sourceMappingURL=bdef_use.js.map
|
|
56595
|
+
|
|
56596
|
+
/***/ },
|
|
56597
|
+
|
|
56598
|
+
/***/ "../core/build/src/bdef/expressions/index.js"
|
|
56599
|
+
/*!***************************************************!*\
|
|
56600
|
+
!*** ../core/build/src/bdef/expressions/index.js ***!
|
|
56601
|
+
\***************************************************/
|
|
56602
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
56603
|
+
|
|
56604
|
+
"use strict";
|
|
56605
|
+
|
|
56606
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
56607
|
+
if (k2 === undefined) k2 = k;
|
|
56608
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
56609
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
56610
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
56611
|
+
}
|
|
56612
|
+
Object.defineProperty(o, k2, desc);
|
|
56613
|
+
}) : (function(o, m, k, k2) {
|
|
56614
|
+
if (k2 === undefined) k2 = k;
|
|
56615
|
+
o[k2] = m[k];
|
|
56616
|
+
}));
|
|
56617
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
56618
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
56619
|
+
};
|
|
56620
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56621
|
+
__exportStar(__webpack_require__(/*! ./bdef_action */ "../core/build/src/bdef/expressions/bdef_action.js"), exports);
|
|
56622
|
+
__exportStar(__webpack_require__(/*! ./bdef_alias */ "../core/build/src/bdef/expressions/bdef_alias.js"), exports);
|
|
56623
|
+
__exportStar(__webpack_require__(/*! ./bdef_association_body */ "../core/build/src/bdef/expressions/bdef_association_body.js"), exports);
|
|
56624
|
+
__exportStar(__webpack_require__(/*! ./bdef_association */ "../core/build/src/bdef/expressions/bdef_association.js"), exports);
|
|
56625
|
+
__exportStar(__webpack_require__(/*! ./bdef_authorization_context */ "../core/build/src/bdef/expressions/bdef_authorization_context.js"), exports);
|
|
56626
|
+
__exportStar(__webpack_require__(/*! ./bdef_cardinality */ "../core/build/src/bdef/expressions/bdef_cardinality.js"), exports);
|
|
56627
|
+
__exportStar(__webpack_require__(/*! ./bdef_default_function */ "../core/build/src/bdef/expressions/bdef_default_function.js"), exports);
|
|
56628
|
+
__exportStar(__webpack_require__(/*! ./bdef_define_behavior */ "../core/build/src/bdef/expressions/bdef_define_behavior.js"), exports);
|
|
56629
|
+
__exportStar(__webpack_require__(/*! ./bdef_definition */ "../core/build/src/bdef/expressions/bdef_definition.js"), exports);
|
|
56630
|
+
__exportStar(__webpack_require__(/*! ./bdef_determination */ "../core/build/src/bdef/expressions/bdef_determination.js"), exports);
|
|
56631
|
+
__exportStar(__webpack_require__(/*! ./bdef_determine_action */ "../core/build/src/bdef/expressions/bdef_determine_action.js"), exports);
|
|
56632
|
+
__exportStar(__webpack_require__(/*! ./bdef_event */ "../core/build/src/bdef/expressions/bdef_event.js"), exports);
|
|
56633
|
+
__exportStar(__webpack_require__(/*! ./bdef_field_path */ "../core/build/src/bdef/expressions/bdef_field_path.js"), exports);
|
|
56634
|
+
__exportStar(__webpack_require__(/*! ./bdef_field */ "../core/build/src/bdef/expressions/bdef_field.js"), exports);
|
|
56635
|
+
__exportStar(__webpack_require__(/*! ./bdef_header */ "../core/build/src/bdef/expressions/bdef_header.js"), exports);
|
|
56636
|
+
__exportStar(__webpack_require__(/*! ./bdef_hierarchy */ "../core/build/src/bdef/expressions/bdef_hierarchy.js"), exports);
|
|
56637
|
+
__exportStar(__webpack_require__(/*! ./bdef_implementation_in */ "../core/build/src/bdef/expressions/bdef_implementation_in.js"), exports);
|
|
56638
|
+
__exportStar(__webpack_require__(/*! ./bdef_implementation_type */ "../core/build/src/bdef/expressions/bdef_implementation_type.js"), exports);
|
|
56639
|
+
__exportStar(__webpack_require__(/*! ./bdef_key */ "../core/build/src/bdef/expressions/bdef_key.js"), exports);
|
|
56640
|
+
__exportStar(__webpack_require__(/*! ./bdef_mapping */ "../core/build/src/bdef/expressions/bdef_mapping.js"), exports);
|
|
56641
|
+
__exportStar(__webpack_require__(/*! ./bdef_name */ "../core/build/src/bdef/expressions/bdef_name.js"), exports);
|
|
56642
|
+
__exportStar(__webpack_require__(/*! ./bdef_operation */ "../core/build/src/bdef/expressions/bdef_operation.js"), exports);
|
|
56643
|
+
__exportStar(__webpack_require__(/*! ./bdef_options */ "../core/build/src/bdef/expressions/bdef_options.js"), exports);
|
|
56644
|
+
__exportStar(__webpack_require__(/*! ./bdef_parameter */ "../core/build/src/bdef/expressions/bdef_parameter.js"), exports);
|
|
56645
|
+
__exportStar(__webpack_require__(/*! ./bdef_reference */ "../core/build/src/bdef/expressions/bdef_reference.js"), exports);
|
|
56646
|
+
__exportStar(__webpack_require__(/*! ./bdef_result */ "../core/build/src/bdef/expressions/bdef_result.js"), exports);
|
|
56647
|
+
__exportStar(__webpack_require__(/*! ./bdef_side_effects */ "../core/build/src/bdef/expressions/bdef_side_effects.js"), exports);
|
|
56648
|
+
__exportStar(__webpack_require__(/*! ./bdef_string */ "../core/build/src/bdef/expressions/bdef_string.js"), exports);
|
|
56649
|
+
__exportStar(__webpack_require__(/*! ./bdef_use */ "../core/build/src/bdef/expressions/bdef_use.js"), exports);
|
|
56650
|
+
//# sourceMappingURL=index.js.map
|
|
56651
|
+
|
|
56652
|
+
/***/ },
|
|
56653
|
+
|
|
55595
56654
|
/***/ "../core/build/src/cds/cds_determine_types.js"
|
|
55596
56655
|
/*!****************************************************!*\
|
|
55597
56656
|
!*** ../core/build/src/cds/cds_determine_types.js ***!
|
|
@@ -63234,6 +64293,8 @@ exports.BADIDefinition = BADIDefinition;
|
|
|
63234
64293
|
|
|
63235
64294
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
63236
64295
|
exports.BehaviorDefinition = void 0;
|
|
64296
|
+
const bdef_parser_1 = __webpack_require__(/*! ../bdef/bdef_parser */ "../core/build/src/bdef/bdef_parser.js");
|
|
64297
|
+
const expressions_1 = __webpack_require__(/*! ../bdef/expressions */ "../core/build/src/bdef/expressions/index.js");
|
|
63237
64298
|
const _abstract_object_1 = __webpack_require__(/*! ./_abstract_object */ "../core/build/src/objects/_abstract_object.js");
|
|
63238
64299
|
class BehaviorDefinition extends _abstract_object_1.AbstractObject {
|
|
63239
64300
|
constructor() {
|
|
@@ -63256,8 +64317,30 @@ class BehaviorDefinition extends _abstract_object_1.AbstractObject {
|
|
|
63256
64317
|
findSourceFile() {
|
|
63257
64318
|
return this.getFiles().find(f => f.getFilename().endsWith(".asbdef"));
|
|
63258
64319
|
}
|
|
64320
|
+
parse() {
|
|
64321
|
+
if (this.isDirty() === false && this.parsedData !== undefined) {
|
|
64322
|
+
return { updated: false, runtime: 0 };
|
|
64323
|
+
}
|
|
64324
|
+
const start = Date.now();
|
|
64325
|
+
const tree = new bdef_parser_1.BDEFParser().parse(this.findSourceFile());
|
|
64326
|
+
this.parsedData = {
|
|
64327
|
+
entities: tree ? this.findEntities(tree) : this.findEntitiesFallback(),
|
|
64328
|
+
tree,
|
|
64329
|
+
};
|
|
64330
|
+
this.dirty = false;
|
|
64331
|
+
return { updated: true, runtime: Date.now() - start };
|
|
64332
|
+
}
|
|
64333
|
+
getTree() {
|
|
64334
|
+
var _a;
|
|
64335
|
+
this.parse();
|
|
64336
|
+
return (_a = this.parsedData) === null || _a === void 0 ? void 0 : _a.tree;
|
|
64337
|
+
}
|
|
64338
|
+
hasParserError() {
|
|
64339
|
+
return this.findSourceFile() !== undefined && this.getTree() === undefined;
|
|
64340
|
+
}
|
|
63259
64341
|
listEntities() {
|
|
63260
|
-
|
|
64342
|
+
this.parse();
|
|
64343
|
+
return this.parsedData.entities;
|
|
63261
64344
|
}
|
|
63262
64345
|
/** finds the entity name for a given alias, undefined if the alias is not defined */
|
|
63263
64346
|
findEntityNameByAlias(alias) {
|
|
@@ -63271,15 +64354,29 @@ class BehaviorDefinition extends _abstract_object_1.AbstractObject {
|
|
|
63271
64354
|
return undefined;
|
|
63272
64355
|
}
|
|
63273
64356
|
/////////////////////////
|
|
63274
|
-
|
|
64357
|
+
findEntities(tree) {
|
|
63275
64358
|
var _a;
|
|
63276
|
-
|
|
63277
|
-
|
|
64359
|
+
const ret = [];
|
|
64360
|
+
for (const define of tree.findDirectExpressions(expressions_1.BDEFDefineBehavior)) {
|
|
64361
|
+
const name = define.findDirectExpression(expressions_1.BDEFName);
|
|
64362
|
+
if (name === undefined) {
|
|
64363
|
+
continue;
|
|
64364
|
+
}
|
|
64365
|
+
const alias = (_a = define.findDirectExpression(expressions_1.BDEFAlias)) === null || _a === void 0 ? void 0 : _a.findDirectExpression(expressions_1.BDEFName);
|
|
64366
|
+
ret.push({
|
|
64367
|
+
name: name.concatTokens().replace(/ /g, ""),
|
|
64368
|
+
alias: alias === null || alias === void 0 ? void 0 : alias.concatTokens().replace(/ /g, ""),
|
|
64369
|
+
});
|
|
63278
64370
|
}
|
|
63279
|
-
|
|
64371
|
+
return ret;
|
|
64372
|
+
}
|
|
64373
|
+
/** used if the source cannot be parsed */
|
|
64374
|
+
findEntitiesFallback() {
|
|
64375
|
+
var _a;
|
|
64376
|
+
const ret = [];
|
|
63280
64377
|
const raw = (_a = this.findSourceFile()) === null || _a === void 0 ? void 0 : _a.getRaw();
|
|
63281
64378
|
if (raw === undefined) {
|
|
63282
|
-
return
|
|
64379
|
+
return ret;
|
|
63283
64380
|
}
|
|
63284
64381
|
// BDEF uses "//" for line comments
|
|
63285
64382
|
const stripped = raw.replace(/\/\/.*$/gm, "");
|
|
@@ -63287,10 +64384,10 @@ class BehaviorDefinition extends _abstract_object_1.AbstractObject {
|
|
|
63287
64384
|
const regex = /\bdefine\s+(?:\w+\s+)*?behavior\s+for\s+([\w/]+)(?:\s+alias\s+(\w+))?/gi;
|
|
63288
64385
|
let match = regex.exec(stripped);
|
|
63289
64386
|
while (match !== null) {
|
|
63290
|
-
|
|
64387
|
+
ret.push({ name: match[1], alias: match[2] });
|
|
63291
64388
|
match = regex.exec(stripped);
|
|
63292
64389
|
}
|
|
63293
|
-
return
|
|
64390
|
+
return ret;
|
|
63294
64391
|
}
|
|
63295
64392
|
}
|
|
63296
64393
|
exports.BehaviorDefinition = BehaviorDefinition;
|
|
@@ -71554,7 +72651,7 @@ class Registry {
|
|
|
71554
72651
|
}
|
|
71555
72652
|
static abaplintVersion() {
|
|
71556
72653
|
// magic, see build script "version.js"
|
|
71557
|
-
return "2.120.
|
|
72654
|
+
return "2.120.84";
|
|
71558
72655
|
}
|
|
71559
72656
|
getDDICReferences() {
|
|
71560
72657
|
return this.ddicReferences;
|
|
@@ -75762,6 +76859,161 @@ exports.AvoidUse = AvoidUse;
|
|
|
75762
76859
|
|
|
75763
76860
|
/***/ },
|
|
75764
76861
|
|
|
76862
|
+
/***/ "../core/build/src/rules/bdef_check_syntax.js"
|
|
76863
|
+
/*!****************************************************!*\
|
|
76864
|
+
!*** ../core/build/src/rules/bdef_check_syntax.js ***!
|
|
76865
|
+
\****************************************************/
|
|
76866
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
76867
|
+
|
|
76868
|
+
"use strict";
|
|
76869
|
+
|
|
76870
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
76871
|
+
exports.BDEFCheckSyntax = exports.BDEFCheckSyntaxConf = void 0;
|
|
76872
|
+
const expressions_1 = __webpack_require__(/*! ../bdef/expressions */ "../core/build/src/bdef/expressions/index.js");
|
|
76873
|
+
const ddic_1 = __webpack_require__(/*! ../ddic */ "../core/build/src/ddic.js");
|
|
76874
|
+
const issue_1 = __webpack_require__(/*! ../issue */ "../core/build/src/issue.js");
|
|
76875
|
+
const objects_1 = __webpack_require__(/*! ../objects */ "../core/build/src/objects/index.js");
|
|
76876
|
+
const _basic_rule_config_1 = __webpack_require__(/*! ./_basic_rule_config */ "../core/build/src/rules/_basic_rule_config.js");
|
|
76877
|
+
const _irule_1 = __webpack_require__(/*! ./_irule */ "../core/build/src/rules/_irule.js");
|
|
76878
|
+
class BDEFCheckSyntaxConf extends _basic_rule_config_1.BasicRuleConfig {
|
|
76879
|
+
}
|
|
76880
|
+
exports.BDEFCheckSyntaxConf = BDEFCheckSyntaxConf;
|
|
76881
|
+
class BDEFCheckSyntax {
|
|
76882
|
+
constructor() {
|
|
76883
|
+
this.conf = new BDEFCheckSyntaxConf();
|
|
76884
|
+
}
|
|
76885
|
+
getMetadata() {
|
|
76886
|
+
return {
|
|
76887
|
+
key: "bdef_check_syntax",
|
|
76888
|
+
title: "BDEF Check Syntax",
|
|
76889
|
+
shortDescription: "Checks behavior definition references to entities and implementation classes",
|
|
76890
|
+
extendedInformation: `Performs semantic checks which require other objects to be available.
|
|
76891
|
+
|
|
76892
|
+
Missing objects are only reported when their names match the configured errorNamespace.`,
|
|
76893
|
+
tags: [_irule_1.RuleTag.Syntax],
|
|
76894
|
+
};
|
|
76895
|
+
}
|
|
76896
|
+
getConfig() {
|
|
76897
|
+
return this.conf;
|
|
76898
|
+
}
|
|
76899
|
+
setConfig(conf) {
|
|
76900
|
+
this.conf = conf;
|
|
76901
|
+
}
|
|
76902
|
+
initialize(reg) {
|
|
76903
|
+
this.reg = reg;
|
|
76904
|
+
return this;
|
|
76905
|
+
}
|
|
76906
|
+
run(object) {
|
|
76907
|
+
if (!(object instanceof objects_1.BehaviorDefinition)) {
|
|
76908
|
+
return [];
|
|
76909
|
+
}
|
|
76910
|
+
const tree = object.getTree();
|
|
76911
|
+
const file = object.findSourceFile();
|
|
76912
|
+
if (tree === undefined || file === undefined) {
|
|
76913
|
+
return [];
|
|
76914
|
+
}
|
|
76915
|
+
const issues = [];
|
|
76916
|
+
this.checkImplementationClasses(tree, issues, file);
|
|
76917
|
+
this.checkEntities(tree, issues, file);
|
|
76918
|
+
return issues;
|
|
76919
|
+
}
|
|
76920
|
+
checkImplementationClasses(tree, issues, file) {
|
|
76921
|
+
for (const implementation of tree.findAllExpressions(expressions_1.BDEFImplementationIn)) {
|
|
76922
|
+
const nameNode = implementation.findDirectExpression(expressions_1.BDEFName);
|
|
76923
|
+
if (nameNode === undefined) {
|
|
76924
|
+
continue;
|
|
76925
|
+
}
|
|
76926
|
+
const name = this.name(nameNode);
|
|
76927
|
+
if (this.reg.getObject("CLAS", name) === undefined && this.reg.inErrorNamespace(name)) {
|
|
76928
|
+
issues.push(issue_1.Issue.atToken(file, nameNode.getFirstToken(), `Implementation class "${name}" not found`, this.getMetadata().key, this.conf.severity));
|
|
76929
|
+
}
|
|
76930
|
+
}
|
|
76931
|
+
}
|
|
76932
|
+
checkEntities(tree, issues, file) {
|
|
76933
|
+
const ddic = new ddic_1.DDIC(this.reg);
|
|
76934
|
+
for (const define of tree.findDirectExpressions(expressions_1.BDEFDefineBehavior)) {
|
|
76935
|
+
if (define.getFirstToken().getStr().toUpperCase() !== "DEFINE") {
|
|
76936
|
+
// "extend behavior for" refers to entities of the extended BDEF
|
|
76937
|
+
continue;
|
|
76938
|
+
}
|
|
76939
|
+
const nameNode = define.findDirectExpression(expressions_1.BDEFName);
|
|
76940
|
+
if (nameNode === undefined) {
|
|
76941
|
+
continue;
|
|
76942
|
+
}
|
|
76943
|
+
const name = this.name(nameNode);
|
|
76944
|
+
if (this.reg.inErrorNamespace(name)
|
|
76945
|
+
&& this.reg.getObject("DDLS", name) === undefined
|
|
76946
|
+
&& ddic.lookupDDLS(name) === undefined) {
|
|
76947
|
+
issues.push(issue_1.Issue.atToken(file, nameNode.getFirstToken(), `Entity "${name}" not found`, this.getMetadata().key, this.conf.severity));
|
|
76948
|
+
}
|
|
76949
|
+
}
|
|
76950
|
+
}
|
|
76951
|
+
name(node) {
|
|
76952
|
+
return node.concatTokens().replace(/ /g, "");
|
|
76953
|
+
}
|
|
76954
|
+
}
|
|
76955
|
+
exports.BDEFCheckSyntax = BDEFCheckSyntax;
|
|
76956
|
+
//# sourceMappingURL=bdef_check_syntax.js.map
|
|
76957
|
+
|
|
76958
|
+
/***/ },
|
|
76959
|
+
|
|
76960
|
+
/***/ "../core/build/src/rules/bdef_parser_error.js"
|
|
76961
|
+
/*!****************************************************!*\
|
|
76962
|
+
!*** ../core/build/src/rules/bdef_parser_error.js ***!
|
|
76963
|
+
\****************************************************/
|
|
76964
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
76965
|
+
|
|
76966
|
+
"use strict";
|
|
76967
|
+
|
|
76968
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
76969
|
+
exports.BDEFParserError = exports.BDEFParserErrorConf = void 0;
|
|
76970
|
+
const issue_1 = __webpack_require__(/*! ../issue */ "../core/build/src/issue.js");
|
|
76971
|
+
const _irule_1 = __webpack_require__(/*! ./_irule */ "../core/build/src/rules/_irule.js");
|
|
76972
|
+
const _basic_rule_config_1 = __webpack_require__(/*! ./_basic_rule_config */ "../core/build/src/rules/_basic_rule_config.js");
|
|
76973
|
+
const objects_1 = __webpack_require__(/*! ../objects */ "../core/build/src/objects/index.js");
|
|
76974
|
+
class BDEFParserErrorConf extends _basic_rule_config_1.BasicRuleConfig {
|
|
76975
|
+
}
|
|
76976
|
+
exports.BDEFParserErrorConf = BDEFParserErrorConf;
|
|
76977
|
+
class BDEFParserError {
|
|
76978
|
+
constructor() {
|
|
76979
|
+
this.conf = new BDEFParserErrorConf();
|
|
76980
|
+
}
|
|
76981
|
+
getMetadata() {
|
|
76982
|
+
return {
|
|
76983
|
+
key: "bdef_parser_error",
|
|
76984
|
+
title: "BDEF Parser Error",
|
|
76985
|
+
shortDescription: `BDEF parsing`,
|
|
76986
|
+
extendedInformation: `Parses behavior definitions and issues parser errors`,
|
|
76987
|
+
tags: [_irule_1.RuleTag.Syntax, _irule_1.RuleTag.SingleFile],
|
|
76988
|
+
};
|
|
76989
|
+
}
|
|
76990
|
+
getConfig() {
|
|
76991
|
+
return this.conf;
|
|
76992
|
+
}
|
|
76993
|
+
setConfig(conf) {
|
|
76994
|
+
this.conf = conf;
|
|
76995
|
+
}
|
|
76996
|
+
initialize(_reg) {
|
|
76997
|
+
return this;
|
|
76998
|
+
}
|
|
76999
|
+
run(object) {
|
|
77000
|
+
const issues = [];
|
|
77001
|
+
if (object instanceof objects_1.BehaviorDefinition) {
|
|
77002
|
+
const file = object.findSourceFile();
|
|
77003
|
+
if (object.hasParserError() === true && file) {
|
|
77004
|
+
const empty = file.getRaw().length === 0 ? ", empty file" : "";
|
|
77005
|
+
const message = "BDEF Parser error" + empty;
|
|
77006
|
+
issues.push(issue_1.Issue.atRow(file, 1, message, this.getMetadata().key, this.getConfig().severity));
|
|
77007
|
+
}
|
|
77008
|
+
}
|
|
77009
|
+
return issues;
|
|
77010
|
+
}
|
|
77011
|
+
}
|
|
77012
|
+
exports.BDEFParserError = BDEFParserError;
|
|
77013
|
+
//# sourceMappingURL=bdef_parser_error.js.map
|
|
77014
|
+
|
|
77015
|
+
/***/ },
|
|
77016
|
+
|
|
75765
77017
|
/***/ "../core/build/src/rules/begin_end_names.js"
|
|
75766
77018
|
/*!**************************************************!*\
|
|
75767
77019
|
!*** ../core/build/src/rules/begin_end_names.js ***!
|
|
@@ -90473,6 +91725,8 @@ __exportStar(__webpack_require__(/*! ./allowed_object_naming */ "../core/build/s
|
|
|
90473
91725
|
__exportStar(__webpack_require__(/*! ./allowed_object_types */ "../core/build/src/rules/allowed_object_types.js"), exports);
|
|
90474
91726
|
__exportStar(__webpack_require__(/*! ./ambiguous_statement */ "../core/build/src/rules/ambiguous_statement.js"), exports);
|
|
90475
91727
|
__exportStar(__webpack_require__(/*! ./avoid_use */ "../core/build/src/rules/avoid_use.js"), exports);
|
|
91728
|
+
__exportStar(__webpack_require__(/*! ./bdef_check_syntax */ "../core/build/src/rules/bdef_check_syntax.js"), exports);
|
|
91729
|
+
__exportStar(__webpack_require__(/*! ./bdef_parser_error */ "../core/build/src/rules/bdef_parser_error.js"), exports);
|
|
90476
91730
|
__exportStar(__webpack_require__(/*! ./begin_end_names */ "../core/build/src/rules/begin_end_names.js"), exports);
|
|
90477
91731
|
__exportStar(__webpack_require__(/*! ./begin_single_include */ "../core/build/src/rules/begin_single_include.js"), exports);
|
|
90478
91732
|
__exportStar(__webpack_require__(/*! ./boolean_flag_via_if */ "../core/build/src/rules/boolean_flag_via_if.js"), exports);
|