@abaplint/transpiler-cli 2.14.29 → 2.14.30

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.
Files changed (2) hide show
  1. package/build/bundle.js +1556 -34
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -606,6 +606,7 @@ async function loadLibraries(config) {
606
606
  const result = [];
607
607
  for (const [index, lib] of libs.entries()) {
608
608
  const libraryName = names[index];
609
+ const start = Date.now();
609
610
  let dir;
610
611
  let cleanupFolder = false;
611
612
  const folder = (0, lib_folder_1.resolveLibFolder)(lib.folder, process.cwd());
@@ -649,7 +650,7 @@ async function loadLibraries(config) {
649
650
  }
650
651
  }
651
652
  result.push({ name: libraryName, files });
652
- console.log("\t" + files.length + " files added from lib");
653
+ console.log("\t" + files.length + " files added from lib, " + ((Date.now() - start) / 1000).toFixed(1) + " seconds");
653
654
  }
654
655
  finally {
655
656
  if (cleanupFolder) {
@@ -119179,17 +119180,22 @@ class CondBodyTranspiler {
119179
119180
  else {
119180
119181
  throw new Error("CondBodyTranspiler, Expected Cond, todo, " + when.get().constructor.name);
119181
119182
  }
119182
- let value = "";
119183
119183
  if (then.get() instanceof core_1.Expressions.Source) {
119184
- value = new source_1.SourceTranspiler().transpile(then, traversal).getCode();
119184
+ const value = new source_1.SourceTranspiler().transpile(then, traversal).getCode();
119185
+ ret.appendString(`if (${condition}) { return ${value}; }\n`);
119186
+ }
119187
+ else if (then.get() instanceof core_1.Expressions.Throw) {
119188
+ ret.appendString(`if (${condition}) {\n${traversal.traverse(then).getCode()}\n}\n`);
119185
119189
  }
119186
119190
  else {
119187
119191
  throw new Error("CondBodyTranspiler, Expected Source, todo, " + then.get().constructor.name);
119188
119192
  }
119189
- ret.appendString(`if (${condition}) { return ${value}; }\n`);
119190
119193
  }
119191
119194
  const els = body.findExpressionAfterToken("ELSE");
119192
- if (els) {
119195
+ if (els?.get() instanceof core_1.Expressions.Throw) {
119196
+ ret.appendString(traversal.traverse(els).getCode() + "\n");
119197
+ }
119198
+ else if (els) {
119193
119199
  if (!(els.get() instanceof core_1.Expressions.Source)) {
119194
119200
  throw new Error("CondBodyTranspiler, Expected Source, todo, " + els.get().constructor.name);
119195
119201
  }
@@ -120390,6 +120396,7 @@ __exportStar(__webpack_require__(/*! ./table_expression */ "./node_modules/@abap
120390
120396
  __exportStar(__webpack_require__(/*! ./target_field_symbol */ "./node_modules/@abaplint/transpiler/build/src/expressions/target_field_symbol.js"), exports);
120391
120397
  __exportStar(__webpack_require__(/*! ./target_field */ "./node_modules/@abaplint/transpiler/build/src/expressions/target_field.js"), exports);
120392
120398
  __exportStar(__webpack_require__(/*! ./target */ "./node_modules/@abaplint/transpiler/build/src/expressions/target.js"), exports);
120399
+ __exportStar(__webpack_require__(/*! ./throw */ "./node_modules/@abaplint/transpiler/build/src/expressions/throw.js"), exports);
120393
120400
  __exportStar(__webpack_require__(/*! ./type_name_or_infer */ "./node_modules/@abaplint/transpiler/build/src/expressions/type_name_or_infer.js"), exports);
120394
120401
  //# sourceMappingURL=index.js.map
120395
120402
 
@@ -121141,7 +121148,7 @@ class NewObjectTranspiler {
121141
121148
  // single default parameter
121142
121149
  const scope = traversal.findCurrentScopeByToken(typeNameOrInfer.getFirstToken());
121143
121150
  const cdef = traversal.findClassDefinition(type.getIdentifierName(), scope);
121144
- const constr = this.findConstructor(cdef, scope);
121151
+ const constr = NewObjectTranspiler.findConstructor(cdef, scope);
121145
121152
  const pname = constr?.getParameters().getDefaultImporting()?.toLowerCase();
121146
121153
  para = `{${pname}: ${traversal.traverse(node.getChildren()[3]).getCode()}}`;
121147
121154
  }
@@ -121194,7 +121201,7 @@ class NewObjectTranspiler {
121194
121201
  }
121195
121202
  return ret;
121196
121203
  }
121197
- findConstructor(cdef, spag) {
121204
+ static findConstructor(cdef, spag) {
121198
121205
  let def = cdef;
121199
121206
  while (def !== undefined) {
121200
121207
  const method = def?.getMethodDefinitions().getByName("CONSTRUCTOR");
@@ -122673,6 +122680,13 @@ const abaplint = __importStar(__webpack_require__(/*! @abaplint/core */ "./node_
122673
122680
  const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
122674
122681
  const sql_field_name_1 = __webpack_require__(/*! ./sql_field_name */ "./node_modules/@abaplint/transpiler/build/src/expressions/sql_field_name.js");
122675
122682
  class SQLFieldAndValueTranspiler {
122683
+ columns;
122684
+ statementStart;
122685
+ /** columns: the columns of the updated table, a plain name among them that is no data object is that column */
122686
+ constructor(columns, statementStart) {
122687
+ this.columns = columns;
122688
+ this.statementStart = statementStart;
122689
+ }
122676
122690
  transpile(node, traversal) {
122677
122691
  const chunk = new chunk_1.Chunk();
122678
122692
  chunk.appendString("\"");
@@ -122684,6 +122698,10 @@ class SQLFieldAndValueTranspiler {
122684
122698
  else if (n.get() instanceof abaplint.Expressions.SQLFieldName) {
122685
122699
  chunk.appendString(new sql_field_name_1.SQLFieldNameTranspiler().transpile(n, traversal).getCode());
122686
122700
  }
122701
+ else if (n.get() instanceof abaplint.Expressions.SQLSource && this.isColumn(n, traversal)) {
122702
+ // SET f = g, where g is a column of the table: the column, as the database reads it
122703
+ chunk.appendString(new sql_field_name_1.SQLFieldNameTranspiler().transpile(n, traversal).getCode().toLowerCase());
122704
+ }
122687
122705
  else if (n.get() instanceof abaplint.Expressions.SQLSource) {
122688
122706
  const source = traversal.traverse(n);
122689
122707
  // todo: value conversion? abap vs db, traversal.isSQLConversion
@@ -122701,6 +122719,15 @@ class SQLFieldAndValueTranspiler {
122701
122719
  chunk.appendString("\"");
122702
122720
  return chunk;
122703
122721
  }
122722
+ isColumn(node, traversal) {
122723
+ const plain = node.concatTokens();
122724
+ if (this.columns === undefined || /^[A-Za-z_][A-Za-z0-9_]*$/.test(plain) === false || !this.columns.has(plain.toLowerCase())) {
122725
+ return false;
122726
+ }
122727
+ const variable = traversal.findCurrentScopeByToken(node.getFirstToken())?.findVariable(plain);
122728
+ // abaplint declares an unknown name in SET at the UPDATE statement itself, that is no data object either
122729
+ return variable === undefined || (this.statementStart !== undefined && variable.getStart().equals(this.statementStart));
122730
+ }
122704
122731
  }
122705
122732
  exports.SQLFieldAndValueTranspiler = SQLFieldAndValueTranspiler;
122706
122733
  //# sourceMappingURL=sql_field_and_value.js.map
@@ -123778,7 +123805,10 @@ class SwitchBodyTranspiler {
123778
123805
  for (const wto of whenThenOr) {
123779
123806
  let thenValue = "";
123780
123807
  if (wto.then?.get() instanceof core_1.Expressions.Source) {
123781
- thenValue = new source_1.SourceTranspiler().transpile(wto.then, traversal).getCode();
123808
+ thenValue = "return " + new source_1.SourceTranspiler().transpile(wto.then, traversal).getCode() + ";";
123809
+ }
123810
+ else if (wto.then?.get() instanceof core_1.Expressions.Throw) {
123811
+ thenValue = "\n" + traversal.traverse(wto.then).getCode() + "\n";
123782
123812
  }
123783
123813
  else {
123784
123814
  throw new Error("SwitchBodyTranspiler, Expected Source1, todo, " + wto.then?.get().constructor.name);
@@ -123792,10 +123822,13 @@ class SwitchBodyTranspiler {
123792
123822
  else {
123793
123823
  throw new Error("SwitchBodyTranspiler, Expected Source2, todo, " + thenOr.get().constructor.name);
123794
123824
  }
123795
- ret.appendString(`if (abap.compare.eq(${source.getCode()}, ${condition})) { return ${thenValue}; }\n`);
123825
+ ret.appendString(`if (abap.compare.eq(${source.getCode()}, ${condition})) { ${thenValue} }\n`);
123796
123826
  }
123797
123827
  }
123798
- if (elseExpression) {
123828
+ if (elseExpression?.get() instanceof core_1.Expressions.Throw) {
123829
+ ret.appendString(traversal.traverse(elseExpression).getCode() + "\n");
123830
+ }
123831
+ else if (elseExpression) {
123799
123832
  if (!(elseExpression.get() instanceof core_1.Expressions.Source)) {
123800
123833
  throw new Error("SwitchBodyTranspiler, Expected Source3, todo, " + elseExpression.get().constructor.name);
123801
123834
  }
@@ -123837,21 +123870,26 @@ class TableExpressionTranspiler {
123837
123870
  let field = "";
123838
123871
  let usesTableLine = false;
123839
123872
  const withKey = [];
123840
- if (node.getChildren().length === 3 && node.findDirectExpression(core_1.Expressions.Source)) {
123841
- extra.push(`index: ${traversal.traverse(node.findDirectExpression(core_1.Expressions.Source)).getCode()}`);
123873
+ // KEY name: the row is searched, or counted by INDEX, in the order of that key
123874
+ const keyName = node.findDirectExpression(core_1.Expressions.SimpleName);
123875
+ if (keyName) {
123876
+ extra.push(`keyName: "${keyName.concatTokens().toLowerCase()}"`);
123842
123877
  }
123843
- else if (node.findDirectTokenByText("INDEX")) {
123844
- throw new Error("TableExpressionTranspiler: todo, other INDEX");
123878
+ if (node.findDirectExpression(core_1.Expressions.Dynamic)) {
123879
+ return ret.appendString(`(function() { throw new Error("Table expression with a dynamic key, not supported, transpiler") })()`);
123845
123880
  }
123846
- else if (node.findDirectExpression(core_1.Expressions.SimpleName)) {
123847
- throw new Error("TableExpressionTranspiler: todo, SimpleName");
123881
+ else if (node.getChildren().length === 3 && node.findDirectExpression(core_1.Expressions.Source)) {
123882
+ extra.push(`index: ${traversal.traverse(node.findDirectExpression(core_1.Expressions.Source)).getCode()}`);
123848
123883
  }
123849
- else if (node.findDirectExpression(core_1.Expressions.Dynamic)) {
123850
- throw new Error("TableExpressionTranspiler: todo, Dynamic");
123884
+ else if (node.findDirectTokenByText("INDEX")) {
123885
+ extra.push(`index: ${traversal.traverse(node.findExpressionAfterToken("INDEX")).getCode()}`);
123851
123886
  }
123852
123887
  else {
123853
123888
  // conditions
123854
123889
  for (const c of node.getChildren()) {
123890
+ if (c === keyName || ["KEY", "COMPONENTS"].includes(c.concatTokens().toUpperCase())) {
123891
+ continue;
123892
+ }
123855
123893
  if (c instanceof core_1.Nodes.ExpressionNode && c.get() instanceof core_1.Expressions.ComponentChainSimple) {
123856
123894
  field = new component_chain_simple_1.ComponentChainSimpleTranspiler("i.").transpile(c, traversal).getCode();
123857
123895
  if (field === "i.table_line") {
@@ -124083,6 +124121,85 @@ exports.TargetFieldSymbolTranspiler = TargetFieldSymbolTranspiler;
124083
124121
 
124084
124122
  /***/ },
124085
124123
 
124124
+ /***/ "./node_modules/@abaplint/transpiler/build/src/expressions/throw.js"
124125
+ /*!**************************************************************************!*\
124126
+ !*** ./node_modules/@abaplint/transpiler/build/src/expressions/throw.js ***!
124127
+ \**************************************************************************/
124128
+ (__unused_webpack_module, exports, __webpack_require__) {
124129
+
124130
+ "use strict";
124131
+
124132
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
124133
+ if (k2 === undefined) k2 = k;
124134
+ var desc = Object.getOwnPropertyDescriptor(m, k);
124135
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
124136
+ desc = { enumerable: true, get: function() { return m[k]; } };
124137
+ }
124138
+ Object.defineProperty(o, k2, desc);
124139
+ }) : (function(o, m, k, k2) {
124140
+ if (k2 === undefined) k2 = k;
124141
+ o[k2] = m[k];
124142
+ }));
124143
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
124144
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
124145
+ }) : function(o, v) {
124146
+ o["default"] = v;
124147
+ });
124148
+ var __importStar = (this && this.__importStar) || (function () {
124149
+ var ownKeys = function(o) {
124150
+ ownKeys = Object.getOwnPropertyNames || function (o) {
124151
+ var ar = [];
124152
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
124153
+ return ar;
124154
+ };
124155
+ return ownKeys(o);
124156
+ };
124157
+ return function (mod) {
124158
+ if (mod && mod.__esModule) return mod;
124159
+ var result = {};
124160
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
124161
+ __setModuleDefault(result, mod);
124162
+ return result;
124163
+ };
124164
+ })();
124165
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
124166
+ exports.ThrowTranspiler = void 0;
124167
+ const abaplint = __importStar(__webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js"));
124168
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
124169
+ const unique_identifier_1 = __webpack_require__(/*! ../unique_identifier */ "./node_modules/@abaplint/transpiler/build/src/unique_identifier.js");
124170
+ const new_object_1 = __webpack_require__(/*! ./new_object */ "./node_modules/@abaplint/transpiler/build/src/expressions/new_object.js");
124171
+ /** THROW cx( ... ) in COND and SWITCH: raises the exception as RAISE EXCEPTION NEW cx( ... ) does, the result is a statement */
124172
+ class ThrowTranspiler {
124173
+ transpile(node, traversal) {
124174
+ if (node.findDirectTokenByText("MESSAGE")) {
124175
+ return new chunk_1.Chunk().append(`throw new Error("THROW MESSAGE, not supported, transpiler");`, node, traversal);
124176
+ }
124177
+ const classNameToken = node.findDirectExpression(abaplint.Expressions.ClassName).getFirstToken();
124178
+ let parameters = "";
124179
+ const list = node.findDirectExpression(abaplint.Expressions.ParameterListS);
124180
+ const single = node.findDirectExpression(abaplint.Expressions.Source);
124181
+ if (list) {
124182
+ parameters = traversal.traverse(list).getCode();
124183
+ }
124184
+ else if (single) {
124185
+ // the single parameter is the default importing parameter of the constructor
124186
+ const scope = traversal.findCurrentScopeByToken(classNameToken);
124187
+ const cdef = traversal.findClassDefinition(classNameToken.getStr(), scope);
124188
+ const name = new_object_1.NewObjectTranspiler.findConstructor(cdef, scope)?.getParameters().getDefaultImporting()?.toLowerCase();
124189
+ parameters = `{${name}: ${traversal.traverse(single).getCode()}}`;
124190
+ }
124191
+ const lookup = traversal.lookupClassOrInterface(classNameToken.getStr(), classNameToken);
124192
+ const id = unique_identifier_1.UniqueIdentifier.get();
124193
+ return new chunk_1.Chunk().append(`const ${id} = await (new ${lookup}()).constructor_(${parameters});
124194
+ ${id}.EXTRA_CX = ${traversal.buildExtraCX(node)};
124195
+ throw ${id};`, node, traversal);
124196
+ }
124197
+ }
124198
+ exports.ThrowTranspiler = ThrowTranspiler;
124199
+ //# sourceMappingURL=throw.js.map
124200
+
124201
+ /***/ },
124202
+
124086
124203
  /***/ "./node_modules/@abaplint/transpiler/build/src/expressions/type_name_or_infer.js"
124087
124204
  /*!***************************************************************************************!*\
124088
124205
  !*** ./node_modules/@abaplint/transpiler/build/src/expressions/type_name_or_infer.js ***!
@@ -124093,7 +124210,9 @@ exports.TargetFieldSymbolTranspiler = TargetFieldSymbolTranspiler;
124093
124210
 
124094
124211
  Object.defineProperty(exports, "__esModule", ({ value: true }));
124095
124212
  exports.TypeNameOrInfer = void 0;
124213
+ const core_1 = __webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js");
124096
124214
  const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
124215
+ const types_1 = __webpack_require__(/*! ../types */ "./node_modules/@abaplint/transpiler/build/src/types.js");
124097
124216
  class TypeNameOrInfer {
124098
124217
  findType(node, traversal) {
124099
124218
  const scope = traversal.findCurrentScopeByToken(node.getFirstToken());
@@ -124105,7 +124224,12 @@ class TypeNameOrInfer {
124105
124224
  return sqlType;
124106
124225
  }
124107
124226
  }
124108
- throw new Error("TypeNameOrInfer, type not found: " + node.concatTokens() + ", " + traversal.getCurrentObject().getName() + ", " + traversal.getFilename() + " line " + node.getFirstToken().getStart().getRow());
124227
+ const text = "TypeNameOrInfer, type not found: " + node.concatTokens() + ", " + traversal.getCurrentObject().getName() + ", " + traversal.getFilename() + " line " + node.getFirstToken().getStart().getRow();
124228
+ if (traversal.options?.unknownTypes === types_1.UnknownTypesEnum.runtimeError) {
124229
+ // eg. # for a parameter of a class that is not there: the code fails when it runs, as with other unknown types
124230
+ return new core_1.BasicTypes.UnknownType(text);
124231
+ }
124232
+ throw new Error(text);
124109
124233
  }
124110
124234
  return type;
124111
124235
  }
@@ -126893,6 +127017,27 @@ exports.AddTranspiler = AddTranspiler;
126893
127017
 
126894
127018
  /***/ },
126895
127019
 
127020
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/add_corresponding.js"
127021
+ /*!*************************************************************************************!*\
127022
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/add_corresponding.js ***!
127023
+ \*************************************************************************************/
127024
+ (__unused_webpack_module, exports, __webpack_require__) {
127025
+
127026
+ "use strict";
127027
+
127028
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
127029
+ exports.AddCorrespondingTranspiler = void 0;
127030
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
127031
+ class AddCorrespondingTranspiler {
127032
+ transpile(_node, _traversal) {
127033
+ return new chunk_1.Chunk(`throw new Error("ADD-CORRESPONDING, not supported, transpiler");`);
127034
+ }
127035
+ }
127036
+ exports.AddCorrespondingTranspiler = AddCorrespondingTranspiler;
127037
+ //# sourceMappingURL=add_corresponding.js.map
127038
+
127039
+ /***/ },
127040
+
126896
127041
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/append.js"
126897
127042
  /*!**************************************************************************!*\
126898
127043
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/append.js ***!
@@ -127276,6 +127421,27 @@ exports.AssignTranspiler = AssignTranspiler;
127276
127421
 
127277
127422
  /***/ },
127278
127423
 
127424
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/assign_local_copy.js"
127425
+ /*!*************************************************************************************!*\
127426
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/assign_local_copy.js ***!
127427
+ \*************************************************************************************/
127428
+ (__unused_webpack_module, exports, __webpack_require__) {
127429
+
127430
+ "use strict";
127431
+
127432
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
127433
+ exports.AssignLocalCopyTranspiler = void 0;
127434
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
127435
+ class AssignLocalCopyTranspiler {
127436
+ transpile(_node, _traversal) {
127437
+ return new chunk_1.Chunk(`throw new Error("ASSIGN LOCAL COPY, not supported, transpiler");`);
127438
+ }
127439
+ }
127440
+ exports.AssignLocalCopyTranspiler = AssignLocalCopyTranspiler;
127441
+ //# sourceMappingURL=assign_local_copy.js.map
127442
+
127443
+ /***/ },
127444
+
127279
127445
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/at.js"
127280
127446
  /*!**********************************************************************!*\
127281
127447
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/at.js ***!
@@ -127434,6 +127600,27 @@ exports.AuthorityCheckTranspiler = AuthorityCheckTranspiler;
127434
127600
 
127435
127601
  /***/ },
127436
127602
 
127603
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/back.js"
127604
+ /*!************************************************************************!*\
127605
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/back.js ***!
127606
+ \************************************************************************/
127607
+ (__unused_webpack_module, exports, __webpack_require__) {
127608
+
127609
+ "use strict";
127610
+
127611
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
127612
+ exports.BackTranspiler = void 0;
127613
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
127614
+ class BackTranspiler {
127615
+ transpile(_node, _traversal) {
127616
+ return new chunk_1.Chunk(`throw new Error("BACK, not supported, transpiler");`);
127617
+ }
127618
+ }
127619
+ exports.BackTranspiler = BackTranspiler;
127620
+ //# sourceMappingURL=back.js.map
127621
+
127622
+ /***/ },
127623
+
127437
127624
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/break.js"
127438
127625
  /*!*************************************************************************!*\
127439
127626
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/break.js ***!
@@ -127660,6 +127847,48 @@ exports.CallTranspiler = CallTranspiler;
127660
127847
 
127661
127848
  /***/ },
127662
127849
 
127850
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/call_database.js"
127851
+ /*!*********************************************************************************!*\
127852
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/call_database.js ***!
127853
+ \*********************************************************************************/
127854
+ (__unused_webpack_module, exports, __webpack_require__) {
127855
+
127856
+ "use strict";
127857
+
127858
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
127859
+ exports.CallDatabaseTranspiler = void 0;
127860
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
127861
+ class CallDatabaseTranspiler {
127862
+ transpile(_node, _traversal) {
127863
+ return new chunk_1.Chunk(`throw new Error("CALL DATABASE PROCEDURE, not supported, transpiler");`);
127864
+ }
127865
+ }
127866
+ exports.CallDatabaseTranspiler = CallDatabaseTranspiler;
127867
+ //# sourceMappingURL=call_database.js.map
127868
+
127869
+ /***/ },
127870
+
127871
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/call_dialog.js"
127872
+ /*!*******************************************************************************!*\
127873
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/call_dialog.js ***!
127874
+ \*******************************************************************************/
127875
+ (__unused_webpack_module, exports, __webpack_require__) {
127876
+
127877
+ "use strict";
127878
+
127879
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
127880
+ exports.CallDialogTranspiler = void 0;
127881
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
127882
+ class CallDialogTranspiler {
127883
+ transpile(_node, _traversal) {
127884
+ return new chunk_1.Chunk(`throw new Error("CALL DIALOG, not supported, transpiler");`);
127885
+ }
127886
+ }
127887
+ exports.CallDialogTranspiler = CallDialogTranspiler;
127888
+ //# sourceMappingURL=call_dialog.js.map
127889
+
127890
+ /***/ },
127891
+
127663
127892
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/call_function.js"
127664
127893
  /*!*********************************************************************************!*\
127665
127894
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/call_function.js ***!
@@ -127836,6 +128065,27 @@ exports.CallKernelTranspiler = CallKernelTranspiler;
127836
128065
 
127837
128066
  /***/ },
127838
128067
 
128068
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/call_ole.js"
128069
+ /*!****************************************************************************!*\
128070
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/call_ole.js ***!
128071
+ \****************************************************************************/
128072
+ (__unused_webpack_module, exports, __webpack_require__) {
128073
+
128074
+ "use strict";
128075
+
128076
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
128077
+ exports.CallOLETranspiler = void 0;
128078
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
128079
+ class CallOLETranspiler {
128080
+ transpile(_node, _traversal) {
128081
+ return new chunk_1.Chunk(`throw new Error("CALL METHOD OF, not supported, transpiler");`);
128082
+ }
128083
+ }
128084
+ exports.CallOLETranspiler = CallOLETranspiler;
128085
+ //# sourceMappingURL=call_ole.js.map
128086
+
128087
+ /***/ },
128088
+
127839
128089
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/call_screen.js"
127840
128090
  /*!*******************************************************************************!*\
127841
128091
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/call_screen.js ***!
@@ -128109,6 +128359,27 @@ exports.CheckTranspiler = CheckTranspiler;
128109
128359
 
128110
128360
  /***/ },
128111
128361
 
128362
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/check_select_options.js"
128363
+ /*!****************************************************************************************!*\
128364
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/check_select_options.js ***!
128365
+ \****************************************************************************************/
128366
+ (__unused_webpack_module, exports, __webpack_require__) {
128367
+
128368
+ "use strict";
128369
+
128370
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
128371
+ exports.CheckSelectOptionsTranspiler = void 0;
128372
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
128373
+ class CheckSelectOptionsTranspiler {
128374
+ transpile(_node, _traversal) {
128375
+ return new chunk_1.Chunk(`throw new Error("CHECK SELECT-OPTIONS, not supported, transpiler");`);
128376
+ }
128377
+ }
128378
+ exports.CheckSelectOptionsTranspiler = CheckSelectOptionsTranspiler;
128379
+ //# sourceMappingURL=check_select_options.js.map
128380
+
128381
+ /***/ },
128382
+
128112
128383
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/class_deferred.js"
128113
128384
  /*!**********************************************************************************!*\
128114
128385
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/class_deferred.js ***!
@@ -128666,6 +128937,27 @@ exports.CommitEntitiesTranspiler = CommitEntitiesTranspiler;
128666
128937
 
128667
128938
  /***/ },
128668
128939
 
128940
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/communication.js"
128941
+ /*!*********************************************************************************!*\
128942
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/communication.js ***!
128943
+ \*********************************************************************************/
128944
+ (__unused_webpack_module, exports, __webpack_require__) {
128945
+
128946
+ "use strict";
128947
+
128948
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
128949
+ exports.CommunicationTranspiler = void 0;
128950
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
128951
+ class CommunicationTranspiler {
128952
+ transpile(_node, _traversal) {
128953
+ return new chunk_1.Chunk(`throw new Error("COMMUNICATION, not supported, transpiler");`);
128954
+ }
128955
+ }
128956
+ exports.CommunicationTranspiler = CommunicationTranspiler;
128957
+ //# sourceMappingURL=communication.js.map
128958
+
128959
+ /***/ },
128960
+
128669
128961
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/compute.js"
128670
128962
  /*!***************************************************************************!*\
128671
128963
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/compute.js ***!
@@ -128895,6 +129187,27 @@ exports.ConstantTranspiler = ConstantTranspiler;
128895
129187
 
128896
129188
  /***/ },
128897
129189
 
129190
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/contexts.js"
129191
+ /*!****************************************************************************!*\
129192
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/contexts.js ***!
129193
+ \****************************************************************************/
129194
+ (__unused_webpack_module, exports, __webpack_require__) {
129195
+
129196
+ "use strict";
129197
+
129198
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
129199
+ exports.ContextsTranspiler = void 0;
129200
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
129201
+ class ContextsTranspiler {
129202
+ transpile(_node, _traversal) {
129203
+ return new chunk_1.Chunk(`throw new Error("CONTEXTS, not supported, transpiler");`);
129204
+ }
129205
+ }
129206
+ exports.ContextsTranspiler = ContextsTranspiler;
129207
+ //# sourceMappingURL=contexts.js.map
129208
+
129209
+ /***/ },
129210
+
128898
129211
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/continue.js"
128899
129212
  /*!****************************************************************************!*\
128900
129213
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/continue.js ***!
@@ -129018,6 +129331,27 @@ exports.ConvertTranspiler = ConvertTranspiler;
129018
129331
 
129019
129332
  /***/ },
129020
129333
 
129334
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/convert_text.js"
129335
+ /*!********************************************************************************!*\
129336
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/convert_text.js ***!
129337
+ \********************************************************************************/
129338
+ (__unused_webpack_module, exports, __webpack_require__) {
129339
+
129340
+ "use strict";
129341
+
129342
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
129343
+ exports.ConvertTextTranspiler = void 0;
129344
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
129345
+ class ConvertTextTranspiler {
129346
+ transpile(_node, _traversal) {
129347
+ return new chunk_1.Chunk(`throw new Error("CONVERT TEXT, not supported, transpiler");`);
129348
+ }
129349
+ }
129350
+ exports.ConvertTextTranspiler = ConvertTextTranspiler;
129351
+ //# sourceMappingURL=convert_text.js.map
129352
+
129353
+ /***/ },
129354
+
129021
129355
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/create_data.js"
129022
129356
  /*!*******************************************************************************!*\
129023
129357
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/create_data.js ***!
@@ -129291,6 +129625,27 @@ exports.CreateObjectTranspiler = CreateObjectTranspiler;
129291
129625
 
129292
129626
  /***/ },
129293
129627
 
129628
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/create_ole.js"
129629
+ /*!******************************************************************************!*\
129630
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/create_ole.js ***!
129631
+ \******************************************************************************/
129632
+ (__unused_webpack_module, exports, __webpack_require__) {
129633
+
129634
+ "use strict";
129635
+
129636
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
129637
+ exports.CreateOLETranspiler = void 0;
129638
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
129639
+ class CreateOLETranspiler {
129640
+ transpile(_node, _traversal) {
129641
+ return new chunk_1.Chunk(`throw new Error("CREATE OBJECT OLE, not supported, transpiler");`);
129642
+ }
129643
+ }
129644
+ exports.CreateOLETranspiler = CreateOLETranspiler;
129645
+ //# sourceMappingURL=create_ole.js.map
129646
+
129647
+ /***/ },
129648
+
129294
129649
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/data.js"
129295
129650
  /*!************************************************************************!*\
129296
129651
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/data.js ***!
@@ -129609,6 +129964,27 @@ exports.DeleteDatasetTranspiler = DeleteDatasetTranspiler;
129609
129964
 
129610
129965
  /***/ },
129611
129966
 
129967
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/delete_dynpro.js"
129968
+ /*!*********************************************************************************!*\
129969
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/delete_dynpro.js ***!
129970
+ \*********************************************************************************/
129971
+ (__unused_webpack_module, exports, __webpack_require__) {
129972
+
129973
+ "use strict";
129974
+
129975
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
129976
+ exports.DeleteDynproTranspiler = void 0;
129977
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
129978
+ class DeleteDynproTranspiler {
129979
+ transpile(_node, _traversal) {
129980
+ return new chunk_1.Chunk(`throw new Error("DELETE DYNPRO, not supported, transpiler");`);
129981
+ }
129982
+ }
129983
+ exports.DeleteDynproTranspiler = DeleteDynproTranspiler;
129984
+ //# sourceMappingURL=delete_dynpro.js.map
129985
+
129986
+ /***/ },
129987
+
129612
129988
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/delete_internal.js"
129613
129989
  /*!***********************************************************************************!*\
129614
129990
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/delete_internal.js ***!
@@ -129667,6 +130043,9 @@ class DeleteInternalTranspiler {
129667
130043
  if (componentCompare) {
129668
130044
  // todo: this can be optimized, WITH TABLE KEY
129669
130045
  extra.push("where: async " + traversal.traverse(componentCompare).getCode());
130046
+ if (concat.startsWith("DELETE TABLE ")) {
130047
+ extra.push("withTableKey: true");
130048
+ }
129670
130049
  }
129671
130050
  // todo, this is not completely correct, fields might have the name ADJACENT
129672
130051
  if (node.findDirectTokenByText("ADJACENT")) {
@@ -129774,6 +130153,27 @@ exports.DeleteTextpoolTranspiler = DeleteTextpoolTranspiler;
129774
130153
 
129775
130154
  /***/ },
129776
130155
 
130156
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/demand.js"
130157
+ /*!**************************************************************************!*\
130158
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/demand.js ***!
130159
+ \**************************************************************************/
130160
+ (__unused_webpack_module, exports, __webpack_require__) {
130161
+
130162
+ "use strict";
130163
+
130164
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
130165
+ exports.DemandTranspiler = void 0;
130166
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
130167
+ class DemandTranspiler {
130168
+ transpile(_node, _traversal) {
130169
+ return new chunk_1.Chunk(`throw new Error("DEMAND, not supported, transpiler");`);
130170
+ }
130171
+ }
130172
+ exports.DemandTranspiler = DemandTranspiler;
130173
+ //# sourceMappingURL=demand.js.map
130174
+
130175
+ /***/ },
130176
+
129777
130177
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/describe.js"
129778
130178
  /*!****************************************************************************!*\
129779
130179
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/describe.js ***!
@@ -129830,6 +130230,28 @@ exports.DescribeTranspiler = DescribeTranspiler;
129830
130230
 
129831
130231
  /***/ },
129832
130232
 
130233
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/detail.js"
130234
+ /*!**************************************************************************!*\
130235
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/detail.js ***!
130236
+ \**************************************************************************/
130237
+ (__unused_webpack_module, exports, __webpack_require__) {
130238
+
130239
+ "use strict";
130240
+
130241
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
130242
+ exports.DetailTranspiler = void 0;
130243
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
130244
+ class DetailTranspiler {
130245
+ transpile(_node, _traversal) {
130246
+ // obsolete short form of a list format setting (DETAIL), it does not change the text of the list
130247
+ return new chunk_1.Chunk("");
130248
+ }
130249
+ }
130250
+ exports.DetailTranspiler = DetailTranspiler;
130251
+ //# sourceMappingURL=detail.js.map
130252
+
130253
+ /***/ },
130254
+
129833
130255
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/divide.js"
129834
130256
  /*!**************************************************************************!*\
129835
130257
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/divide.js ***!
@@ -130582,6 +131004,48 @@ exports.ExportTranspiler = ExportTranspiler;
130582
131004
 
130583
131005
  /***/ },
130584
131006
 
131007
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/export_dynpro.js"
131008
+ /*!*********************************************************************************!*\
131009
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/export_dynpro.js ***!
131010
+ \*********************************************************************************/
131011
+ (__unused_webpack_module, exports, __webpack_require__) {
131012
+
131013
+ "use strict";
131014
+
131015
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
131016
+ exports.ExportDynproTranspiler = void 0;
131017
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131018
+ class ExportDynproTranspiler {
131019
+ transpile(_node, _traversal) {
131020
+ return new chunk_1.Chunk(`throw new Error("EXPORT DYNPRO, not supported, transpiler");`);
131021
+ }
131022
+ }
131023
+ exports.ExportDynproTranspiler = ExportDynproTranspiler;
131024
+ //# sourceMappingURL=export_dynpro.js.map
131025
+
131026
+ /***/ },
131027
+
131028
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/extract.js"
131029
+ /*!***************************************************************************!*\
131030
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/extract.js ***!
131031
+ \***************************************************************************/
131032
+ (__unused_webpack_module, exports, __webpack_require__) {
131033
+
131034
+ "use strict";
131035
+
131036
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
131037
+ exports.ExtractTranspiler = void 0;
131038
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131039
+ class ExtractTranspiler {
131040
+ transpile(_node, _traversal) {
131041
+ return new chunk_1.Chunk(`throw new Error("EXTRACT, not supported, transpiler");`);
131042
+ }
131043
+ }
131044
+ exports.ExtractTranspiler = ExtractTranspiler;
131045
+ //# sourceMappingURL=extract.js.map
131046
+
131047
+ /***/ },
131048
+
130585
131049
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/fetch_next_cursor.js"
130586
131050
  /*!*************************************************************************************!*\
130587
131051
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/fetch_next_cursor.js ***!
@@ -130645,6 +131109,48 @@ exports.FetchNextCursorTranspiler = FetchNextCursorTranspiler;
130645
131109
 
130646
131110
  /***/ },
130647
131111
 
131112
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/field.js"
131113
+ /*!*************************************************************************!*\
131114
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/field.js ***!
131115
+ \*************************************************************************/
131116
+ (__unused_webpack_module, exports, __webpack_require__) {
131117
+
131118
+ "use strict";
131119
+
131120
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
131121
+ exports.FieldTranspiler = void 0;
131122
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131123
+ class FieldTranspiler {
131124
+ transpile(_node, _traversal) {
131125
+ return new chunk_1.Chunk(`throw new Error("FIELD, not supported, transpiler");`);
131126
+ }
131127
+ }
131128
+ exports.FieldTranspiler = FieldTranspiler;
131129
+ //# sourceMappingURL=field.js.map
131130
+
131131
+ /***/ },
131132
+
131133
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/field_group.js"
131134
+ /*!*******************************************************************************!*\
131135
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/field_group.js ***!
131136
+ \*******************************************************************************/
131137
+ (__unused_webpack_module, exports, __webpack_require__) {
131138
+
131139
+ "use strict";
131140
+
131141
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
131142
+ exports.FieldGroupTranspiler = void 0;
131143
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131144
+ class FieldGroupTranspiler {
131145
+ transpile(_node, _traversal) {
131146
+ return new chunk_1.Chunk(`throw new Error("FIELD-GROUPS, not supported, transpiler");`);
131147
+ }
131148
+ }
131149
+ exports.FieldGroupTranspiler = FieldGroupTranspiler;
131150
+ //# sourceMappingURL=field_group.js.map
131151
+
131152
+ /***/ },
131153
+
130648
131154
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/field_symbol.js"
130649
131155
  /*!********************************************************************************!*\
130650
131156
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/field_symbol.js ***!
@@ -130950,7 +131456,9 @@ exports.FormatTranspiler = void 0;
130950
131456
  const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
130951
131457
  class FormatTranspiler {
130952
131458
  transpile(_node, _traversal) {
130953
- return new chunk_1.Chunk(`throw new Error("FORMAT, not supported, transpiler");`);
131459
+ // FORMAT only sets how list output looks (colors, intensity, inverse, hotspot, input fields, frames),
131460
+ // it does not change the text of the list
131461
+ return new chunk_1.Chunk("");
130954
131462
  }
130955
131463
  }
130956
131464
  exports.FormatTranspiler = FormatTranspiler;
@@ -131001,6 +131509,27 @@ exports.FreeMemoryTranspiler = FreeMemoryTranspiler;
131001
131509
 
131002
131510
  /***/ },
131003
131511
 
131512
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/free_object.js"
131513
+ /*!*******************************************************************************!*\
131514
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/free_object.js ***!
131515
+ \*******************************************************************************/
131516
+ (__unused_webpack_module, exports, __webpack_require__) {
131517
+
131518
+ "use strict";
131519
+
131520
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
131521
+ exports.FreeObjectTranspiler = void 0;
131522
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131523
+ class FreeObjectTranspiler {
131524
+ transpile(_node, _traversal) {
131525
+ return new chunk_1.Chunk(`throw new Error("FREE OBJECT, not supported, transpiler");`);
131526
+ }
131527
+ }
131528
+ exports.FreeObjectTranspiler = FreeObjectTranspiler;
131529
+ //# sourceMappingURL=free_object.js.map
131530
+
131531
+ /***/ },
131532
+
131004
131533
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/function_pool.js"
131005
131534
  /*!*********************************************************************************!*\
131006
131535
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/function_pool.js ***!
@@ -131022,6 +131551,48 @@ exports.FunctionPoolTranspiler = FunctionPoolTranspiler;
131022
131551
 
131023
131552
  /***/ },
131024
131553
 
131554
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/generate_dynpro.js"
131555
+ /*!***********************************************************************************!*\
131556
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/generate_dynpro.js ***!
131557
+ \***********************************************************************************/
131558
+ (__unused_webpack_module, exports, __webpack_require__) {
131559
+
131560
+ "use strict";
131561
+
131562
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
131563
+ exports.GenerateDynproTranspiler = void 0;
131564
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131565
+ class GenerateDynproTranspiler {
131566
+ transpile(_node, _traversal) {
131567
+ return new chunk_1.Chunk(`throw new Error("GENERATE DYNPRO, not supported, transpiler");`);
131568
+ }
131569
+ }
131570
+ exports.GenerateDynproTranspiler = GenerateDynproTranspiler;
131571
+ //# sourceMappingURL=generate_dynpro.js.map
131572
+
131573
+ /***/ },
131574
+
131575
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/generate_report.js"
131576
+ /*!***********************************************************************************!*\
131577
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/generate_report.js ***!
131578
+ \***********************************************************************************/
131579
+ (__unused_webpack_module, exports, __webpack_require__) {
131580
+
131581
+ "use strict";
131582
+
131583
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
131584
+ exports.GenerateReportTranspiler = void 0;
131585
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131586
+ class GenerateReportTranspiler {
131587
+ transpile(_node, _traversal) {
131588
+ return new chunk_1.Chunk(`throw new Error("GENERATE REPORT, not supported, transpiler");`);
131589
+ }
131590
+ }
131591
+ exports.GenerateReportTranspiler = GenerateReportTranspiler;
131592
+ //# sourceMappingURL=generate_report.js.map
131593
+
131594
+ /***/ },
131595
+
131025
131596
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/generate_subroutine.js"
131026
131597
  /*!***************************************************************************************!*\
131027
131598
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/generate_subroutine.js ***!
@@ -131113,6 +131684,27 @@ exports.GenerateSubroutineTranspiler = GenerateSubroutineTranspiler;
131113
131684
 
131114
131685
  /***/ },
131115
131686
 
131687
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/get.js"
131688
+ /*!***********************************************************************!*\
131689
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/get.js ***!
131690
+ \***********************************************************************/
131691
+ (__unused_webpack_module, exports, __webpack_require__) {
131692
+
131693
+ "use strict";
131694
+
131695
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
131696
+ exports.GetTranspiler = void 0;
131697
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131698
+ class GetTranspiler {
131699
+ transpile(_node, _traversal) {
131700
+ return new chunk_1.Chunk(`throw new Error("GET, not supported, transpiler");`);
131701
+ }
131702
+ }
131703
+ exports.GetTranspiler = GetTranspiler;
131704
+ //# sourceMappingURL=get.js.map
131705
+
131706
+ /***/ },
131707
+
131116
131708
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/get_bit.js"
131117
131709
  /*!***************************************************************************!*\
131118
131710
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/get_bit.js ***!
@@ -131175,6 +131767,27 @@ exports.GetBitTranspiler = GetBitTranspiler;
131175
131767
 
131176
131768
  /***/ },
131177
131769
 
131770
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/get_cursor.js"
131771
+ /*!******************************************************************************!*\
131772
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/get_cursor.js ***!
131773
+ \******************************************************************************/
131774
+ (__unused_webpack_module, exports, __webpack_require__) {
131775
+
131776
+ "use strict";
131777
+
131778
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
131779
+ exports.GetCursorTranspiler = void 0;
131780
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131781
+ class GetCursorTranspiler {
131782
+ transpile(_node, _traversal) {
131783
+ return new chunk_1.Chunk(`throw new Error("GET CURSOR, not supported, transpiler");`);
131784
+ }
131785
+ }
131786
+ exports.GetCursorTranspiler = GetCursorTranspiler;
131787
+ //# sourceMappingURL=get_cursor.js.map
131788
+
131789
+ /***/ },
131790
+
131178
131791
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/get_dataset.js"
131179
131792
  /*!*******************************************************************************!*\
131180
131793
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/get_dataset.js ***!
@@ -131325,6 +131938,48 @@ exports.GetParameterTranspiler = GetParameterTranspiler;
131325
131938
 
131326
131939
  /***/ },
131327
131940
 
131941
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/get_pf_status.js"
131942
+ /*!*********************************************************************************!*\
131943
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/get_pf_status.js ***!
131944
+ \*********************************************************************************/
131945
+ (__unused_webpack_module, exports, __webpack_require__) {
131946
+
131947
+ "use strict";
131948
+
131949
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
131950
+ exports.GetPFStatusTranspiler = void 0;
131951
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131952
+ class GetPFStatusTranspiler {
131953
+ transpile(_node, _traversal) {
131954
+ return new chunk_1.Chunk(`throw new Error("GET PF-STATUS, not supported, transpiler");`);
131955
+ }
131956
+ }
131957
+ exports.GetPFStatusTranspiler = GetPFStatusTranspiler;
131958
+ //# sourceMappingURL=get_pf_status.js.map
131959
+
131960
+ /***/ },
131961
+
131962
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/get_property.js"
131963
+ /*!********************************************************************************!*\
131964
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/get_property.js ***!
131965
+ \********************************************************************************/
131966
+ (__unused_webpack_module, exports, __webpack_require__) {
131967
+
131968
+ "use strict";
131969
+
131970
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
131971
+ exports.GetPropertyTranspiler = void 0;
131972
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131973
+ class GetPropertyTranspiler {
131974
+ transpile(_node, _traversal) {
131975
+ return new chunk_1.Chunk(`throw new Error("GET PROPERTY, not supported, transpiler");`);
131976
+ }
131977
+ }
131978
+ exports.GetPropertyTranspiler = GetPropertyTranspiler;
131979
+ //# sourceMappingURL=get_property.js.map
131980
+
131981
+ /***/ },
131982
+
131328
131983
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/get_reference.js"
131329
131984
  /*!*********************************************************************************!*\
131330
131985
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/get_reference.js ***!
@@ -131534,7 +132189,9 @@ exports.HideTranspiler = void 0;
131534
132189
  const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
131535
132190
  class HideTranspiler {
131536
132191
  transpile(_node, _traversal) {
131537
- return new chunk_1.Chunk(`throw new Error("HIDE, not supported, transpiler");`);
132192
+ // HIDE keeps a field's value for the list line, for the line selection of an interactive list
132193
+ // (AT LINE-SELECTION), it does not change the list itself
132194
+ return new chunk_1.Chunk("");
131538
132195
  }
131539
132196
  }
131540
132197
  exports.HideTranspiler = HideTranspiler;
@@ -131623,6 +132280,48 @@ exports.ImportTranspiler = ImportTranspiler;
131623
132280
 
131624
132281
  /***/ },
131625
132282
 
132283
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/import_dynpro.js"
132284
+ /*!*********************************************************************************!*\
132285
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/import_dynpro.js ***!
132286
+ \*********************************************************************************/
132287
+ (__unused_webpack_module, exports, __webpack_require__) {
132288
+
132289
+ "use strict";
132290
+
132291
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
132292
+ exports.ImportDynproTranspiler = void 0;
132293
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
132294
+ class ImportDynproTranspiler {
132295
+ transpile(_node, _traversal) {
132296
+ return new chunk_1.Chunk(`throw new Error("IMPORT DYNPRO, not supported, transpiler");`);
132297
+ }
132298
+ }
132299
+ exports.ImportDynproTranspiler = ImportDynproTranspiler;
132300
+ //# sourceMappingURL=import_dynpro.js.map
132301
+
132302
+ /***/ },
132303
+
132304
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/import_nametab.js"
132305
+ /*!**********************************************************************************!*\
132306
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/import_nametab.js ***!
132307
+ \**********************************************************************************/
132308
+ (__unused_webpack_module, exports, __webpack_require__) {
132309
+
132310
+ "use strict";
132311
+
132312
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
132313
+ exports.ImportNametabTranspiler = void 0;
132314
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
132315
+ class ImportNametabTranspiler {
132316
+ transpile(_node, _traversal) {
132317
+ return new chunk_1.Chunk(`throw new Error("IMPORT NAMETAB, not supported, transpiler");`);
132318
+ }
132319
+ }
132320
+ exports.ImportNametabTranspiler = ImportNametabTranspiler;
132321
+ //# sourceMappingURL=import_nametab.js.map
132322
+
132323
+ /***/ },
132324
+
131626
132325
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/include.js"
131627
132326
  /*!***************************************************************************!*\
131628
132327
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/include.js ***!
@@ -131738,6 +132437,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
131738
132437
  };
131739
132438
  Object.defineProperty(exports, "__esModule", ({ value: true }));
131740
132439
  __exportStar(__webpack_require__(/*! ./add */ "./node_modules/@abaplint/transpiler/build/src/statements/add.js"), exports);
132440
+ __exportStar(__webpack_require__(/*! ./add_corresponding */ "./node_modules/@abaplint/transpiler/build/src/statements/add_corresponding.js"), exports);
132441
+ __exportStar(__webpack_require__(/*! ./assign_local_copy */ "./node_modules/@abaplint/transpiler/build/src/statements/assign_local_copy.js"), exports);
132442
+ __exportStar(__webpack_require__(/*! ./communication */ "./node_modules/@abaplint/transpiler/build/src/statements/communication.js"), exports);
132443
+ __exportStar(__webpack_require__(/*! ./contexts */ "./node_modules/@abaplint/transpiler/build/src/statements/contexts.js"), exports);
132444
+ __exportStar(__webpack_require__(/*! ./convert_text */ "./node_modules/@abaplint/transpiler/build/src/statements/convert_text.js"), exports);
132445
+ __exportStar(__webpack_require__(/*! ./demand */ "./node_modules/@abaplint/transpiler/build/src/statements/demand.js"), exports);
132446
+ __exportStar(__webpack_require__(/*! ./pack */ "./node_modules/@abaplint/transpiler/build/src/statements/pack.js"), exports);
132447
+ __exportStar(__webpack_require__(/*! ./set_country */ "./node_modules/@abaplint/transpiler/build/src/statements/set_country.js"), exports);
132448
+ __exportStar(__webpack_require__(/*! ./supply */ "./node_modules/@abaplint/transpiler/build/src/statements/supply.js"), exports);
132449
+ __exportStar(__webpack_require__(/*! ./subtract_corresponding */ "./node_modules/@abaplint/transpiler/build/src/statements/subtract_corresponding.js"), exports);
131741
132450
  __exportStar(__webpack_require__(/*! ./append */ "./node_modules/@abaplint/transpiler/build/src/statements/append.js"), exports);
131742
132451
  __exportStar(__webpack_require__(/*! ./assert */ "./node_modules/@abaplint/transpiler/build/src/statements/assert.js"), exports);
131743
132452
  __exportStar(__webpack_require__(/*! ./assign */ "./node_modules/@abaplint/transpiler/build/src/statements/assign.js"), exports);
@@ -131745,6 +132454,21 @@ __exportStar(__webpack_require__(/*! ./at_pf */ "./node_modules/@abaplint/transp
131745
132454
  __exportStar(__webpack_require__(/*! ./at_selection_screen */ "./node_modules/@abaplint/transpiler/build/src/statements/at_selection_screen.js"), exports);
131746
132455
  __exportStar(__webpack_require__(/*! ./at */ "./node_modules/@abaplint/transpiler/build/src/statements/at.js"), exports);
131747
132456
  __exportStar(__webpack_require__(/*! ./at_user_command */ "./node_modules/@abaplint/transpiler/build/src/statements/at_user_command.js"), exports);
132457
+ __exportStar(__webpack_require__(/*! ./back */ "./node_modules/@abaplint/transpiler/build/src/statements/back.js"), exports);
132458
+ __exportStar(__webpack_require__(/*! ./call_dialog */ "./node_modules/@abaplint/transpiler/build/src/statements/call_dialog.js"), exports);
132459
+ __exportStar(__webpack_require__(/*! ./field */ "./node_modules/@abaplint/transpiler/build/src/statements/field.js"), exports);
132460
+ __exportStar(__webpack_require__(/*! ./get_cursor */ "./node_modules/@abaplint/transpiler/build/src/statements/get_cursor.js"), exports);
132461
+ __exportStar(__webpack_require__(/*! ./get_pf_status */ "./node_modules/@abaplint/transpiler/build/src/statements/get_pf_status.js"), exports);
132462
+ __exportStar(__webpack_require__(/*! ./modify_line */ "./node_modules/@abaplint/transpiler/build/src/statements/modify_line.js"), exports);
132463
+ __exportStar(__webpack_require__(/*! ./module */ "./node_modules/@abaplint/transpiler/build/src/statements/module.js"), exports);
132464
+ __exportStar(__webpack_require__(/*! ./position */ "./node_modules/@abaplint/transpiler/build/src/statements/position.js"), exports);
132465
+ __exportStar(__webpack_require__(/*! ./refresh_control */ "./node_modules/@abaplint/transpiler/build/src/statements/refresh_control.js"), exports);
132466
+ __exportStar(__webpack_require__(/*! ./scroll_list */ "./node_modules/@abaplint/transpiler/build/src/statements/scroll_list.js"), exports);
132467
+ __exportStar(__webpack_require__(/*! ./set_left */ "./node_modules/@abaplint/transpiler/build/src/statements/set_left.js"), exports);
132468
+ __exportStar(__webpack_require__(/*! ./set_margin */ "./node_modules/@abaplint/transpiler/build/src/statements/set_margin.js"), exports);
132469
+ __exportStar(__webpack_require__(/*! ./set_user_command */ "./node_modules/@abaplint/transpiler/build/src/statements/set_user_command.js"), exports);
132470
+ __exportStar(__webpack_require__(/*! ./suppress_dialog */ "./node_modules/@abaplint/transpiler/build/src/statements/suppress_dialog.js"), exports);
132471
+ __exportStar(__webpack_require__(/*! ./window */ "./node_modules/@abaplint/transpiler/build/src/statements/window.js"), exports);
131748
132472
  __exportStar(__webpack_require__(/*! ./authority_check */ "./node_modules/@abaplint/transpiler/build/src/statements/authority_check.js"), exports);
131749
132473
  __exportStar(__webpack_require__(/*! ./break_id */ "./node_modules/@abaplint/transpiler/build/src/statements/break_id.js"), exports);
131750
132474
  __exportStar(__webpack_require__(/*! ./break */ "./node_modules/@abaplint/transpiler/build/src/statements/break.js"), exports);
@@ -131754,9 +132478,25 @@ __exportStar(__webpack_require__(/*! ./call_screen */ "./node_modules/@abaplint/
131754
132478
  __exportStar(__webpack_require__(/*! ./call_selection_screen */ "./node_modules/@abaplint/transpiler/build/src/statements/call_selection_screen.js"), exports);
131755
132479
  __exportStar(__webpack_require__(/*! ./call_transaction */ "./node_modules/@abaplint/transpiler/build/src/statements/call_transaction.js"), exports);
131756
132480
  __exportStar(__webpack_require__(/*! ./call_transformation */ "./node_modules/@abaplint/transpiler/build/src/statements/call_transformation.js"), exports);
132481
+ __exportStar(__webpack_require__(/*! ./delete_dynpro */ "./node_modules/@abaplint/transpiler/build/src/statements/delete_dynpro.js"), exports);
132482
+ __exportStar(__webpack_require__(/*! ./export_dynpro */ "./node_modules/@abaplint/transpiler/build/src/statements/export_dynpro.js"), exports);
132483
+ __exportStar(__webpack_require__(/*! ./generate_dynpro */ "./node_modules/@abaplint/transpiler/build/src/statements/generate_dynpro.js"), exports);
132484
+ __exportStar(__webpack_require__(/*! ./generate_report */ "./node_modules/@abaplint/transpiler/build/src/statements/generate_report.js"), exports);
132485
+ __exportStar(__webpack_require__(/*! ./import_dynpro */ "./node_modules/@abaplint/transpiler/build/src/statements/import_dynpro.js"), exports);
132486
+ __exportStar(__webpack_require__(/*! ./import_nametab */ "./node_modules/@abaplint/transpiler/build/src/statements/import_nametab.js"), exports);
132487
+ __exportStar(__webpack_require__(/*! ./load_report */ "./node_modules/@abaplint/transpiler/build/src/statements/load_report.js"), exports);
131757
132488
  __exportStar(__webpack_require__(/*! ./call */ "./node_modules/@abaplint/transpiler/build/src/statements/call.js"), exports);
131758
132489
  __exportStar(__webpack_require__(/*! ./case */ "./node_modules/@abaplint/transpiler/build/src/statements/case.js"), exports);
131759
132490
  __exportStar(__webpack_require__(/*! ./check */ "./node_modules/@abaplint/transpiler/build/src/statements/check.js"), exports);
132491
+ __exportStar(__webpack_require__(/*! ./check_select_options */ "./node_modules/@abaplint/transpiler/build/src/statements/check_select_options.js"), exports);
132492
+ __exportStar(__webpack_require__(/*! ./extract */ "./node_modules/@abaplint/transpiler/build/src/statements/extract.js"), exports);
132493
+ __exportStar(__webpack_require__(/*! ./field_group */ "./node_modules/@abaplint/transpiler/build/src/statements/field_group.js"), exports);
132494
+ __exportStar(__webpack_require__(/*! ./infotypes */ "./node_modules/@abaplint/transpiler/build/src/statements/infotypes.js"), exports);
132495
+ __exportStar(__webpack_require__(/*! ./insert_field_group */ "./node_modules/@abaplint/transpiler/build/src/statements/insert_field_group.js"), exports);
132496
+ __exportStar(__webpack_require__(/*! ./nodes */ "./node_modules/@abaplint/transpiler/build/src/statements/nodes.js"), exports);
132497
+ __exportStar(__webpack_require__(/*! ./put */ "./node_modules/@abaplint/transpiler/build/src/statements/put.js"), exports);
132498
+ __exportStar(__webpack_require__(/*! ./reject */ "./node_modules/@abaplint/transpiler/build/src/statements/reject.js"), exports);
132499
+ __exportStar(__webpack_require__(/*! ./get */ "./node_modules/@abaplint/transpiler/build/src/statements/get.js"), exports);
131760
132500
  __exportStar(__webpack_require__(/*! ./class_deferred */ "./node_modules/@abaplint/transpiler/build/src/statements/class_deferred.js"), exports);
131761
132501
  __exportStar(__webpack_require__(/*! ./class_definition_load */ "./node_modules/@abaplint/transpiler/build/src/statements/class_definition_load.js"), exports);
131762
132502
  __exportStar(__webpack_require__(/*! ./class_implementation */ "./node_modules/@abaplint/transpiler/build/src/statements/class_implementation.js"), exports);
@@ -131778,6 +132518,11 @@ __exportStar(__webpack_require__(/*! ./continue */ "./node_modules/@abaplint/tra
131778
132518
  __exportStar(__webpack_require__(/*! ./convert */ "./node_modules/@abaplint/transpiler/build/src/statements/convert.js"), exports);
131779
132519
  __exportStar(__webpack_require__(/*! ./create_data */ "./node_modules/@abaplint/transpiler/build/src/statements/create_data.js"), exports);
131780
132520
  __exportStar(__webpack_require__(/*! ./create_object */ "./node_modules/@abaplint/transpiler/build/src/statements/create_object.js"), exports);
132521
+ __exportStar(__webpack_require__(/*! ./call_ole */ "./node_modules/@abaplint/transpiler/build/src/statements/call_ole.js"), exports);
132522
+ __exportStar(__webpack_require__(/*! ./create_ole */ "./node_modules/@abaplint/transpiler/build/src/statements/create_ole.js"), exports);
132523
+ __exportStar(__webpack_require__(/*! ./free_object */ "./node_modules/@abaplint/transpiler/build/src/statements/free_object.js"), exports);
132524
+ __exportStar(__webpack_require__(/*! ./get_property */ "./node_modules/@abaplint/transpiler/build/src/statements/get_property.js"), exports);
132525
+ __exportStar(__webpack_require__(/*! ./set_property */ "./node_modules/@abaplint/transpiler/build/src/statements/set_property.js"), exports);
131781
132526
  __exportStar(__webpack_require__(/*! ./data */ "./node_modules/@abaplint/transpiler/build/src/statements/data.js"), exports);
131782
132527
  __exportStar(__webpack_require__(/*! ./delete_cluster */ "./node_modules/@abaplint/transpiler/build/src/statements/delete_cluster.js"), exports);
131783
132528
  __exportStar(__webpack_require__(/*! ./delete_database */ "./node_modules/@abaplint/transpiler/build/src/statements/delete_database.js"), exports);
@@ -131787,6 +132532,7 @@ __exportStar(__webpack_require__(/*! ./delete_memory */ "./node_modules/@abaplin
131787
132532
  __exportStar(__webpack_require__(/*! ./delete_report */ "./node_modules/@abaplint/transpiler/build/src/statements/delete_report.js"), exports);
131788
132533
  __exportStar(__webpack_require__(/*! ./delete_textpool */ "./node_modules/@abaplint/transpiler/build/src/statements/delete_textpool.js"), exports);
131789
132534
  __exportStar(__webpack_require__(/*! ./describe */ "./node_modules/@abaplint/transpiler/build/src/statements/describe.js"), exports);
132535
+ __exportStar(__webpack_require__(/*! ./detail */ "./node_modules/@abaplint/transpiler/build/src/statements/detail.js"), exports);
131790
132536
  __exportStar(__webpack_require__(/*! ./divide */ "./node_modules/@abaplint/transpiler/build/src/statements/divide.js"), exports);
131791
132537
  __exportStar(__webpack_require__(/*! ./do */ "./node_modules/@abaplint/transpiler/build/src/statements/do.js"), exports);
131792
132538
  __exportStar(__webpack_require__(/*! ./editor_call */ "./node_modules/@abaplint/transpiler/build/src/statements/editor_call.js"), exports);
@@ -131832,6 +132578,7 @@ __exportStar(__webpack_require__(/*! ./insert_database */ "./node_modules/@abapl
131832
132578
  __exportStar(__webpack_require__(/*! ./insert_internal */ "./node_modules/@abaplint/transpiler/build/src/statements/insert_internal.js"), exports);
131833
132579
  __exportStar(__webpack_require__(/*! ./insert_report */ "./node_modules/@abaplint/transpiler/build/src/statements/insert_report.js"), exports);
131834
132580
  __exportStar(__webpack_require__(/*! ./insert_textpool */ "./node_modules/@abaplint/transpiler/build/src/statements/insert_textpool.js"), exports);
132581
+ __exportStar(__webpack_require__(/*! ./input */ "./node_modules/@abaplint/transpiler/build/src/statements/input.js"), exports);
131835
132582
  __exportStar(__webpack_require__(/*! ./leave */ "./node_modules/@abaplint/transpiler/build/src/statements/leave.js"), exports);
131836
132583
  __exportStar(__webpack_require__(/*! ./log_point */ "./node_modules/@abaplint/transpiler/build/src/statements/log_point.js"), exports);
131837
132584
  __exportStar(__webpack_require__(/*! ./loop_at_screen */ "./node_modules/@abaplint/transpiler/build/src/statements/loop_at_screen.js"), exports);
@@ -131854,6 +132601,7 @@ __exportStar(__webpack_require__(/*! ./open_dataset */ "./node_modules/@abaplint
131854
132601
  __exportStar(__webpack_require__(/*! ./overlay */ "./node_modules/@abaplint/transpiler/build/src/statements/overlay.js"), exports);
131855
132602
  __exportStar(__webpack_require__(/*! ./parameter */ "./node_modules/@abaplint/transpiler/build/src/statements/parameter.js"), exports);
131856
132603
  __exportStar(__webpack_require__(/*! ./perform */ "./node_modules/@abaplint/transpiler/build/src/statements/perform.js"), exports);
132604
+ __exportStar(__webpack_require__(/*! ./print_control */ "./node_modules/@abaplint/transpiler/build/src/statements/print_control.js"), exports);
131857
132605
  __exportStar(__webpack_require__(/*! ./program */ "./node_modules/@abaplint/transpiler/build/src/statements/program.js"), exports);
131858
132606
  __exportStar(__webpack_require__(/*! ./raise_event */ "./node_modules/@abaplint/transpiler/build/src/statements/raise_event.js"), exports);
131859
132607
  __exportStar(__webpack_require__(/*! ./raise */ "./node_modules/@abaplint/transpiler/build/src/statements/raise.js"), exports);
@@ -131900,6 +132648,7 @@ __exportStar(__webpack_require__(/*! ./start_of_selection */ "./node_modules/@ab
131900
132648
  __exportStar(__webpack_require__(/*! ./load_of_program */ "./node_modules/@abaplint/transpiler/build/src/statements/load_of_program.js"), exports);
131901
132649
  __exportStar(__webpack_require__(/*! ./stop */ "./node_modules/@abaplint/transpiler/build/src/statements/stop.js"), exports);
131902
132650
  __exportStar(__webpack_require__(/*! ./sum */ "./node_modules/@abaplint/transpiler/build/src/statements/sum.js"), exports);
132651
+ __exportStar(__webpack_require__(/*! ./summary */ "./node_modules/@abaplint/transpiler/build/src/statements/summary.js"), exports);
131903
132652
  __exportStar(__webpack_require__(/*! ./submit */ "./node_modules/@abaplint/transpiler/build/src/statements/submit.js"), exports);
131904
132653
  __exportStar(__webpack_require__(/*! ./subtract */ "./node_modules/@abaplint/transpiler/build/src/statements/subtract.js"), exports);
131905
132654
  __exportStar(__webpack_require__(/*! ./at_line_selection */ "./node_modules/@abaplint/transpiler/build/src/statements/at_line_selection.js"), exports);
@@ -131917,6 +132666,9 @@ __exportStar(__webpack_require__(/*! ./uline */ "./node_modules/@abaplint/transp
131917
132666
  __exportStar(__webpack_require__(/*! ./unassign */ "./node_modules/@abaplint/transpiler/build/src/statements/unassign.js"), exports);
131918
132667
  __exportStar(__webpack_require__(/*! ./unpack */ "./node_modules/@abaplint/transpiler/build/src/statements/unpack.js"), exports);
131919
132668
  __exportStar(__webpack_require__(/*! ./update_database */ "./node_modules/@abaplint/transpiler/build/src/statements/update_database.js"), exports);
132669
+ __exportStar(__webpack_require__(/*! ./call_database */ "./node_modules/@abaplint/transpiler/build/src/statements/call_database.js"), exports);
132670
+ __exportStar(__webpack_require__(/*! ./merge_database */ "./node_modules/@abaplint/transpiler/build/src/statements/merge_database.js"), exports);
132671
+ __exportStar(__webpack_require__(/*! ./with */ "./node_modules/@abaplint/transpiler/build/src/statements/with.js"), exports);
131920
132672
  __exportStar(__webpack_require__(/*! ./wait */ "./node_modules/@abaplint/transpiler/build/src/statements/wait.js"), exports);
131921
132673
  __exportStar(__webpack_require__(/*! ./when */ "./node_modules/@abaplint/transpiler/build/src/statements/when.js"), exports);
131922
132674
  __exportStar(__webpack_require__(/*! ./while */ "./node_modules/@abaplint/transpiler/build/src/statements/while.js"), exports);
@@ -131925,6 +132677,27 @@ __exportStar(__webpack_require__(/*! ./write */ "./node_modules/@abaplint/transp
131925
132677
 
131926
132678
  /***/ },
131927
132679
 
132680
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/infotypes.js"
132681
+ /*!*****************************************************************************!*\
132682
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/infotypes.js ***!
132683
+ \*****************************************************************************/
132684
+ (__unused_webpack_module, exports, __webpack_require__) {
132685
+
132686
+ "use strict";
132687
+
132688
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
132689
+ exports.InfotypesTranspiler = void 0;
132690
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
132691
+ class InfotypesTranspiler {
132692
+ transpile(_node, _traversal) {
132693
+ return new chunk_1.Chunk(`throw new Error("INFOTYPES, not supported, transpiler");`);
132694
+ }
132695
+ }
132696
+ exports.InfotypesTranspiler = InfotypesTranspiler;
132697
+ //# sourceMappingURL=infotypes.js.map
132698
+
132699
+ /***/ },
132700
+
131928
132701
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/initialization.js"
131929
132702
  /*!**********************************************************************************!*\
131930
132703
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/initialization.js ***!
@@ -131946,6 +132719,28 @@ exports.InitializationTranspiler = InitializationTranspiler;
131946
132719
 
131947
132720
  /***/ },
131948
132721
 
132722
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/input.js"
132723
+ /*!*************************************************************************!*\
132724
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/input.js ***!
132725
+ \*************************************************************************/
132726
+ (__unused_webpack_module, exports, __webpack_require__) {
132727
+
132728
+ "use strict";
132729
+
132730
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
132731
+ exports.InputTranspiler = void 0;
132732
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
132733
+ class InputTranspiler {
132734
+ transpile(_node, _traversal) {
132735
+ // obsolete short form of a list format setting (INPUT), it does not change the text of the list
132736
+ return new chunk_1.Chunk("");
132737
+ }
132738
+ }
132739
+ exports.InputTranspiler = InputTranspiler;
132740
+ //# sourceMappingURL=input.js.map
132741
+
132742
+ /***/ },
132743
+
131949
132744
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/insert_database.js"
131950
132745
  /*!***********************************************************************************!*\
131951
132746
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/insert_database.js ***!
@@ -132052,6 +132847,27 @@ function findConnection(connection, traversal) {
132052
132847
 
132053
132848
  /***/ },
132054
132849
 
132850
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/insert_field_group.js"
132851
+ /*!**************************************************************************************!*\
132852
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/insert_field_group.js ***!
132853
+ \**************************************************************************************/
132854
+ (__unused_webpack_module, exports, __webpack_require__) {
132855
+
132856
+ "use strict";
132857
+
132858
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
132859
+ exports.InsertFieldGroupTranspiler = void 0;
132860
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
132861
+ class InsertFieldGroupTranspiler {
132862
+ transpile(_node, _traversal) {
132863
+ return new chunk_1.Chunk(`throw new Error("INSERT INTO field group, not supported, transpiler");`);
132864
+ }
132865
+ }
132866
+ exports.InsertFieldGroupTranspiler = InsertFieldGroupTranspiler;
132867
+ //# sourceMappingURL=insert_field_group.js.map
132868
+
132869
+ /***/ },
132870
+
132055
132871
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/insert_internal.js"
132056
132872
  /*!***********************************************************************************!*\
132057
132873
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/insert_internal.js ***!
@@ -132103,6 +132919,8 @@ class InsertInternalTranspiler {
132103
132919
  const source = node.findDirectExpression(abaplint.Expressions.SimpleSource4)
132104
132920
  || node.findDirectExpression(abaplint.Expressions.Source);
132105
132921
  const target = node.findDirectExpression(abaplint.Expressions.Target);
132922
+ // INSERT TABLE itab. and INSERT itab INDEX n. name only the table, its header line goes into it
132923
+ const shortForm = target === undefined && source !== undefined ? traversal.traverse(source).getCode() : undefined;
132106
132924
  const concat = node.concatTokens().toUpperCase();
132107
132925
  if (concat.startsWith("INSERT LINES OF ")) {
132108
132926
  options.push("lines: true");
@@ -132110,6 +132928,9 @@ class InsertInternalTranspiler {
132110
132928
  if (concat.startsWith("INSERT INITIAL LINE ")) {
132111
132929
  options.push("initial: true");
132112
132930
  }
132931
+ else if (shortForm !== undefined) {
132932
+ options.push("data: " + shortForm + ".getHeader()");
132933
+ }
132113
132934
  else {
132114
132935
  options.push("data: " + traversal.traverse(source).getCode());
132115
132936
  }
@@ -132125,7 +132946,7 @@ class InsertInternalTranspiler {
132125
132946
  if (assigning) {
132126
132947
  options.push("assigning: " + traversal.traverse((assigning.findFirstExpression(abaplint.Expressions.FieldSymbol))).getCode());
132127
132948
  }
132128
- options.push("table: " + traversal.traverse(target).getCode());
132949
+ options.push("table: " + (shortForm ?? traversal.traverse(target).getCode()));
132129
132950
  return new chunk_1.Chunk()
132130
132951
  .append(`abap.statements.insertInternal({`, node, traversal)
132131
132952
  .appendString(options.join(", "))
@@ -132221,6 +133042,27 @@ exports.LoadOfProgramTranspiler = LoadOfProgramTranspiler;
132221
133042
 
132222
133043
  /***/ },
132223
133044
 
133045
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/load_report.js"
133046
+ /*!*******************************************************************************!*\
133047
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/load_report.js ***!
133048
+ \*******************************************************************************/
133049
+ (__unused_webpack_module, exports, __webpack_require__) {
133050
+
133051
+ "use strict";
133052
+
133053
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
133054
+ exports.LoadReportTranspiler = void 0;
133055
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
133056
+ class LoadReportTranspiler {
133057
+ transpile(_node, _traversal) {
133058
+ return new chunk_1.Chunk(`throw new Error("LOAD REPORT, not supported, transpiler");`);
133059
+ }
133060
+ }
133061
+ exports.LoadReportTranspiler = LoadReportTranspiler;
133062
+ //# sourceMappingURL=load_report.js.map
133063
+
133064
+ /***/ },
133065
+
132224
133066
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/log_point.js"
132225
133067
  /*!*****************************************************************************!*\
132226
133068
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/log_point.js ***!
@@ -132500,6 +133342,27 @@ exports.MacroCallTranspiler = MacroCallTranspiler;
132500
133342
 
132501
133343
  /***/ },
132502
133344
 
133345
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/merge_database.js"
133346
+ /*!**********************************************************************************!*\
133347
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/merge_database.js ***!
133348
+ \**********************************************************************************/
133349
+ (__unused_webpack_module, exports, __webpack_require__) {
133350
+
133351
+ "use strict";
133352
+
133353
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
133354
+ exports.MergeDatabaseTranspiler = void 0;
133355
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
133356
+ class MergeDatabaseTranspiler {
133357
+ transpile(_node, _traversal) {
133358
+ return new chunk_1.Chunk(`throw new Error("MERGE, not supported, transpiler");`);
133359
+ }
133360
+ }
133361
+ exports.MergeDatabaseTranspiler = MergeDatabaseTranspiler;
133362
+ //# sourceMappingURL=merge_database.js.map
133363
+
133364
+ /***/ },
133365
+
132503
133366
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/message.js"
132504
133367
  /*!***************************************************************************!*\
132505
133368
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/message.js ***!
@@ -132973,6 +133836,17 @@ class ModifyDatabaseTranspiler {
132973
133836
  if (dbtab === undefined) {
132974
133837
  throw new Error("internal error, ModifyDatabaseTranspiler");
132975
133838
  }
133839
+ // "MODIFY itab FROM wa" is parsed as a database MODIFY, but when itab is an internal table
133840
+ // it is the short form of the internal table MODIFY: in a LOOP it changes the current line
133841
+ const name = dbtab.findDirectExpression(abaplint.Expressions.Dynamic) ? undefined : dbtab.getFirstToken();
133842
+ const variable = name ? traversal.findCurrentScopeByToken(name)?.findVariable(name.getStr()) : undefined;
133843
+ const from = node.findExpressionAfterToken("FROM");
133844
+ if (name && variable && variable.getType() instanceof abaplint.BasicTypes.TableType
133845
+ && from && node.findExpressionAfterToken("TABLE") === undefined) {
133846
+ const target = traversal.prefixAndName(name, variable.getFilename());
133847
+ const source = traversal.traverse(from).getCode();
133848
+ return new chunk_1.Chunk(`abap.statements.modifyInternal(${target}, {from: ${source}, ...${ModifyDatabaseTranspiler.currentLine(target)}});`);
133849
+ }
132976
133850
  const table = new expressions_1.DatabaseTableTranspiler(false).transpile(dbtab, traversal);
132977
133851
  const options = [];
132978
133852
  const tab = node.findExpressionAfterToken("TABLE");
@@ -132980,13 +133854,16 @@ class ModifyDatabaseTranspiler {
132980
133854
  const ttab = traversal.traverse(tab);
132981
133855
  options.push(`"table": ` + ttab.getCode());
132982
133856
  }
132983
- const from = node.findExpressionAfterToken("FROM");
132984
133857
  if (from && from.get() instanceof abaplint.Expressions.SQLSource) {
132985
133858
  const tvalues = traversal.traverseWithTableContext(dbtab.concatTokens(), from);
132986
133859
  options.push(`"values": ` + tvalues.getCode());
132987
133860
  }
132988
133861
  return new chunk_1.Chunk(`await abap.statements.modifyDatabase(${table.getCode()}, {${options.join(", ")}});`);
132989
133862
  }
133863
+ /** the index of the current line, when the table is looped at, else nothing */
133864
+ static currentLine(target) {
133865
+ return `(${target}.loops?.size === 1 ? {index: new abap.types.Integer().set(${target}.getCurrentLoopIndex() + 1)} : {})`;
133866
+ }
132990
133867
  }
132991
133868
  exports.ModifyDatabaseTranspiler = ModifyDatabaseTranspiler;
132992
133869
  //# sourceMappingURL=modify_database.js.map
@@ -133176,6 +134053,7 @@ exports.ModifyInternalTranspiler = void 0;
133176
134053
  const abaplint = __importStar(__webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js"));
133177
134054
  const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/@abaplint/transpiler/build/src/expressions/index.js");
133178
134055
  const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
134056
+ const modify_database_1 = __webpack_require__(/*! ./modify_database */ "./node_modules/@abaplint/transpiler/build/src/statements/modify_database.js");
133179
134057
  class ModifyInternalTranspiler {
133180
134058
  transpile(node, traversal) {
133181
134059
  const target = traversal.traverse(node.findDirectExpression(abaplint.Expressions.Target)).getCode();
@@ -133203,6 +134081,13 @@ class ModifyInternalTranspiler {
133203
134081
  }
133204
134082
  extra.push("transporting: [" + list.join(",") + "]");
133205
134083
  }
134084
+ // without INDEX, WHERE or TABLE, in a LOOP: the current line, from the header line when FROM is left out
134085
+ if (index === undefined && whereNode === undefined && node.findDirectTokenByText("TABLE") === undefined) {
134086
+ if (from === undefined) {
134087
+ extra.push(`from: ${target}.getHeader?.()`);
134088
+ }
134089
+ extra.push("..." + modify_database_1.ModifyDatabaseTranspiler.currentLine(target));
134090
+ }
133206
134091
  let concat = "";
133207
134092
  if (extra.length > 0) {
133208
134093
  concat = ",{" + extra.join(",") + "}";
@@ -133218,6 +134103,27 @@ exports.ModifyInternalTranspiler = ModifyInternalTranspiler;
133218
134103
 
133219
134104
  /***/ },
133220
134105
 
134106
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/modify_line.js"
134107
+ /*!*******************************************************************************!*\
134108
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/modify_line.js ***!
134109
+ \*******************************************************************************/
134110
+ (__unused_webpack_module, exports, __webpack_require__) {
134111
+
134112
+ "use strict";
134113
+
134114
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
134115
+ exports.ModifyLineTranspiler = void 0;
134116
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
134117
+ class ModifyLineTranspiler {
134118
+ transpile(_node, _traversal) {
134119
+ return new chunk_1.Chunk(`throw new Error("MODIFY LINE, not supported, transpiler");`);
134120
+ }
134121
+ }
134122
+ exports.ModifyLineTranspiler = ModifyLineTranspiler;
134123
+ //# sourceMappingURL=modify_line.js.map
134124
+
134125
+ /***/ },
134126
+
133221
134127
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/modify_screen.js"
133222
134128
  /*!*********************************************************************************!*\
133223
134129
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/modify_screen.js ***!
@@ -133239,6 +134145,27 @@ exports.ModifyScreenTranspiler = ModifyScreenTranspiler;
133239
134145
 
133240
134146
  /***/ },
133241
134147
 
134148
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/module.js"
134149
+ /*!**************************************************************************!*\
134150
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/module.js ***!
134151
+ \**************************************************************************/
134152
+ (__unused_webpack_module, exports, __webpack_require__) {
134153
+
134154
+ "use strict";
134155
+
134156
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
134157
+ exports.ModuleTranspiler = void 0;
134158
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
134159
+ class ModuleTranspiler {
134160
+ transpile(_node, _traversal) {
134161
+ return new chunk_1.Chunk(`throw new Error("MODULE, not supported, transpiler");`);
134162
+ }
134163
+ }
134164
+ exports.ModuleTranspiler = ModuleTranspiler;
134165
+ //# sourceMappingURL=module.js.map
134166
+
134167
+ /***/ },
134168
+
133242
134169
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/move.js"
133243
134170
  /*!************************************************************************!*\
133244
134171
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/move.js ***!
@@ -133629,6 +134556,27 @@ exports.NewPageTranspiler = NewPageTranspiler;
133629
134556
 
133630
134557
  /***/ },
133631
134558
 
134559
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/nodes.js"
134560
+ /*!*************************************************************************!*\
134561
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/nodes.js ***!
134562
+ \*************************************************************************/
134563
+ (__unused_webpack_module, exports, __webpack_require__) {
134564
+
134565
+ "use strict";
134566
+
134567
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
134568
+ exports.NodesTranspiler = void 0;
134569
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
134570
+ class NodesTranspiler {
134571
+ transpile(_node, _traversal) {
134572
+ return new chunk_1.Chunk(`throw new Error("NODES, not supported, transpiler");`);
134573
+ }
134574
+ }
134575
+ exports.NodesTranspiler = NodesTranspiler;
134576
+ //# sourceMappingURL=nodes.js.map
134577
+
134578
+ /***/ },
134579
+
133632
134580
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/open_cursor.js"
133633
134581
  /*!*******************************************************************************!*\
133634
134582
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/open_cursor.js ***!
@@ -133828,6 +134776,27 @@ exports.OverlayTranspiler = OverlayTranspiler;
133828
134776
 
133829
134777
  /***/ },
133830
134778
 
134779
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/pack.js"
134780
+ /*!************************************************************************!*\
134781
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/pack.js ***!
134782
+ \************************************************************************/
134783
+ (__unused_webpack_module, exports, __webpack_require__) {
134784
+
134785
+ "use strict";
134786
+
134787
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
134788
+ exports.PackTranspiler = void 0;
134789
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
134790
+ class PackTranspiler {
134791
+ transpile(_node, _traversal) {
134792
+ return new chunk_1.Chunk(`throw new Error("PACK, not supported, transpiler");`);
134793
+ }
134794
+ }
134795
+ exports.PackTranspiler = PackTranspiler;
134796
+ //# sourceMappingURL=pack.js.map
134797
+
134798
+ /***/ },
134799
+
133831
134800
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/parameter.js"
133832
134801
  /*!*****************************************************************************!*\
133833
134802
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/parameter.js ***!
@@ -133964,21 +134933,33 @@ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/tr
133964
134933
  class PerformTranspiler {
133965
134934
  transpile(node, traversal) {
133966
134935
  const formName = node.findDirectExpression(abaplint.Expressions.FormName);
133967
- if (formName === undefined) {
134936
+ // PERFORM (name) IN PROGRAM ...: the name of the subroutine is the content of the field, as it is, so it must be
134937
+ // in upper case to be found
134938
+ const dynamicName = formName === undefined ? node.findDirectExpression(abaplint.Expressions.Dynamic) : undefined;
134939
+ if (formName === undefined && dynamicName === undefined) {
133968
134940
  return new chunk_1.Chunk(`throw new Error("PerformTranspiler FormName not found");`);
133969
134941
  }
133970
- else if (node.concatTokens().toUpperCase().includes(" IN PROGRAM ")) {
134942
+ else if (formName === undefined || node.concatTokens().toUpperCase().includes(" IN PROGRAM ")) {
134943
+ // the end of the key in abap.Forms, after an open literal 'PROG-<program>-
134944
+ const formKey = formName === undefined
134945
+ ? "' + " + traversal.traverse(dynamicName.getChildren()[1]).getCode() + ".get().toString().trimEnd()"
134946
+ : formName.concatTokens().toUpperCase() + "'";
133971
134947
  const expression = node.findExpressionAfterToken("PROGRAM");
133972
134948
  let ref = "";
133973
134949
  let program = "";
133974
134950
  if (expression?.get() instanceof abaplint.Expressions.Dynamic) {
133975
- const name = expression.getChildren()[1].concatTokens() + ".get().trimEnd()";
133976
- ref = `abap.Forms['PROG-' + ${name} + '-${formName.concatTokens().toUpperCase()}']`;
134951
+ // any field, eg. a structure component; sy-repid is the name of the current program
134952
+ const field = expression.getChildren()[1];
134953
+ const name = field.concatTokens().toUpperCase() === "SY-REPID"
134954
+ ? `'${traversal.getCurrentObject().getName().toUpperCase()}'`
134955
+ : traversal.traverse(field).getCode() + ".get().trimEnd()";
134956
+ ref = `abap.Forms['PROG-' + ${name} + '-${formKey}]`;
133977
134957
  program = `'PROG-' + ${name} + '-'`;
133978
134958
  }
133979
134959
  else {
133980
- const progName = expression?.concatTokens().toUpperCase();
133981
- ref = `abap.Forms['PROG-${progName}-${formName.concatTokens().toUpperCase()}']`;
134960
+ // IN PROGRAM without a name, or no IN PROGRAM: the current program
134961
+ const progName = expression?.concatTokens().toUpperCase() ?? traversal.getCurrentObject().getName().toUpperCase();
134962
+ ref = `abap.Forms['PROG-${progName}-${formKey}]`;
133982
134963
  program = `'PROG-${progName}-'`;
133983
134964
  }
133984
134965
  const params = [];
@@ -134052,6 +135033,49 @@ exports.PerformTranspiler = PerformTranspiler;
134052
135033
 
134053
135034
  /***/ },
134054
135035
 
135036
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/position.js"
135037
+ /*!****************************************************************************!*\
135038
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/position.js ***!
135039
+ \****************************************************************************/
135040
+ (__unused_webpack_module, exports, __webpack_require__) {
135041
+
135042
+ "use strict";
135043
+
135044
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
135045
+ exports.PositionTranspiler = void 0;
135046
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
135047
+ class PositionTranspiler {
135048
+ transpile(_node, _traversal) {
135049
+ return new chunk_1.Chunk(`throw new Error("POSITION, not supported, transpiler");`);
135050
+ }
135051
+ }
135052
+ exports.PositionTranspiler = PositionTranspiler;
135053
+ //# sourceMappingURL=position.js.map
135054
+
135055
+ /***/ },
135056
+
135057
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/print_control.js"
135058
+ /*!*********************************************************************************!*\
135059
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/print_control.js ***!
135060
+ \*********************************************************************************/
135061
+ (__unused_webpack_module, exports, __webpack_require__) {
135062
+
135063
+ "use strict";
135064
+
135065
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
135066
+ exports.PrintControlTranspiler = void 0;
135067
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
135068
+ class PrintControlTranspiler {
135069
+ transpile(_node, _traversal) {
135070
+ // PRINT-CONTROL sets print formats for the spool, it does not change the text of the list
135071
+ return new chunk_1.Chunk("");
135072
+ }
135073
+ }
135074
+ exports.PrintControlTranspiler = PrintControlTranspiler;
135075
+ //# sourceMappingURL=print_control.js.map
135076
+
135077
+ /***/ },
135078
+
134055
135079
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/program.js"
134056
135080
  /*!***************************************************************************!*\
134057
135081
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/program.js ***!
@@ -134074,6 +135098,27 @@ exports.ProgramTranspiler = ProgramTranspiler;
134074
135098
 
134075
135099
  /***/ },
134076
135100
 
135101
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/put.js"
135102
+ /*!***********************************************************************!*\
135103
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/put.js ***!
135104
+ \***********************************************************************/
135105
+ (__unused_webpack_module, exports, __webpack_require__) {
135106
+
135107
+ "use strict";
135108
+
135109
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
135110
+ exports.PutTranspiler = void 0;
135111
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
135112
+ class PutTranspiler {
135113
+ transpile(_node, _traversal) {
135114
+ return new chunk_1.Chunk(`throw new Error("PUT, not supported, transpiler");`);
135115
+ }
135116
+ }
135117
+ exports.PutTranspiler = PutTranspiler;
135118
+ //# sourceMappingURL=put.js.map
135119
+
135120
+ /***/ },
135121
+
134077
135122
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/raise.js"
134078
135123
  /*!*************************************************************************!*\
134079
135124
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/raise.js ***!
@@ -134850,6 +135895,48 @@ exports.RefreshTranspiler = RefreshTranspiler;
134850
135895
 
134851
135896
  /***/ },
134852
135897
 
135898
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/refresh_control.js"
135899
+ /*!***********************************************************************************!*\
135900
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/refresh_control.js ***!
135901
+ \***********************************************************************************/
135902
+ (__unused_webpack_module, exports, __webpack_require__) {
135903
+
135904
+ "use strict";
135905
+
135906
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
135907
+ exports.RefreshControlTranspiler = void 0;
135908
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
135909
+ class RefreshControlTranspiler {
135910
+ transpile(_node, _traversal) {
135911
+ return new chunk_1.Chunk(`throw new Error("REFRESH CONTROL, not supported, transpiler");`);
135912
+ }
135913
+ }
135914
+ exports.RefreshControlTranspiler = RefreshControlTranspiler;
135915
+ //# sourceMappingURL=refresh_control.js.map
135916
+
135917
+ /***/ },
135918
+
135919
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/reject.js"
135920
+ /*!**************************************************************************!*\
135921
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/reject.js ***!
135922
+ \**************************************************************************/
135923
+ (__unused_webpack_module, exports, __webpack_require__) {
135924
+
135925
+ "use strict";
135926
+
135927
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
135928
+ exports.RejectTranspiler = void 0;
135929
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
135930
+ class RejectTranspiler {
135931
+ transpile(_node, _traversal) {
135932
+ return new chunk_1.Chunk(`throw new Error("REJECT, not supported, transpiler");`);
135933
+ }
135934
+ }
135935
+ exports.RejectTranspiler = RejectTranspiler;
135936
+ //# sourceMappingURL=reject.js.map
135937
+
135938
+ /***/ },
135939
+
134853
135940
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/replace.js"
134854
135941
  /*!***************************************************************************!*\
134855
135942
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/replace.js ***!
@@ -135259,6 +136346,27 @@ exports.ScanTranspiler = ScanTranspiler;
135259
136346
 
135260
136347
  /***/ },
135261
136348
 
136349
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/scroll_list.js"
136350
+ /*!*******************************************************************************!*\
136351
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/scroll_list.js ***!
136352
+ \*******************************************************************************/
136353
+ (__unused_webpack_module, exports, __webpack_require__) {
136354
+
136355
+ "use strict";
136356
+
136357
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
136358
+ exports.ScrollListTranspiler = void 0;
136359
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
136360
+ class ScrollListTranspiler {
136361
+ transpile(_node, _traversal) {
136362
+ return new chunk_1.Chunk(`throw new Error("SCROLL LIST, not supported, transpiler");`);
136363
+ }
136364
+ }
136365
+ exports.ScrollListTranspiler = ScrollListTranspiler;
136366
+ //# sourceMappingURL=scroll_list.js.map
136367
+
136368
+ /***/ },
136369
+
135262
136370
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/search.js"
135263
136371
  /*!**************************************************************************!*\
135264
136372
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/search.js ***!
@@ -135855,6 +136963,27 @@ exports.SetBlankTranspiler = SetBlankTranspiler;
135855
136963
 
135856
136964
  /***/ },
135857
136965
 
136966
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/set_country.js"
136967
+ /*!*******************************************************************************!*\
136968
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/set_country.js ***!
136969
+ \*******************************************************************************/
136970
+ (__unused_webpack_module, exports, __webpack_require__) {
136971
+
136972
+ "use strict";
136973
+
136974
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
136975
+ exports.SetCountryTranspiler = void 0;
136976
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
136977
+ class SetCountryTranspiler {
136978
+ transpile(_node, _traversal) {
136979
+ return new chunk_1.Chunk(`throw new Error("SET COUNTRY, not supported, transpiler");`);
136980
+ }
136981
+ }
136982
+ exports.SetCountryTranspiler = SetCountryTranspiler;
136983
+ //# sourceMappingURL=set_country.js.map
136984
+
136985
+ /***/ },
136986
+
135858
136987
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/set_cursor.js"
135859
136988
  /*!******************************************************************************!*\
135860
136989
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/set_cursor.js ***!
@@ -135918,7 +137047,8 @@ exports.SetExtendedCheckTranspiler = void 0;
135918
137047
  const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
135919
137048
  class SetExtendedCheckTranspiler {
135920
137049
  transpile(_node, _traversal) {
135921
- return new chunk_1.Chunk(`throw new Error("SET EXTENDED CHECK, not supported, transpiler");`);
137050
+ // switches the extended program check on or off for the code that follows, nothing happens when it runs
137051
+ return new chunk_1.Chunk("");
135922
137052
  }
135923
137053
  }
135924
137054
  exports.SetExtendedCheckTranspiler = SetExtendedCheckTranspiler;
@@ -136055,6 +137185,27 @@ exports.SetLanguageTranspiler = SetLanguageTranspiler;
136055
137185
 
136056
137186
  /***/ },
136057
137187
 
137188
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/set_left.js"
137189
+ /*!****************************************************************************!*\
137190
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/set_left.js ***!
137191
+ \****************************************************************************/
137192
+ (__unused_webpack_module, exports, __webpack_require__) {
137193
+
137194
+ "use strict";
137195
+
137196
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
137197
+ exports.SetLeftTranspiler = void 0;
137198
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
137199
+ class SetLeftTranspiler {
137200
+ transpile(_node, _traversal) {
137201
+ return new chunk_1.Chunk(`throw new Error("SET LEFT SCROLL-BOUNDARY, not supported, transpiler");`);
137202
+ }
137203
+ }
137204
+ exports.SetLeftTranspiler = SetLeftTranspiler;
137205
+ //# sourceMappingURL=set_left.js.map
137206
+
137207
+ /***/ },
137208
+
136058
137209
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/set_locale.js"
136059
137210
  /*!******************************************************************************!*\
136060
137211
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/set_locale.js ***!
@@ -136111,6 +137262,27 @@ exports.SetLocaleTranspiler = SetLocaleTranspiler;
136111
137262
 
136112
137263
  /***/ },
136113
137264
 
137265
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/set_margin.js"
137266
+ /*!******************************************************************************!*\
137267
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/set_margin.js ***!
137268
+ \******************************************************************************/
137269
+ (__unused_webpack_module, exports, __webpack_require__) {
137270
+
137271
+ "use strict";
137272
+
137273
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
137274
+ exports.SetMarginTranspiler = void 0;
137275
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
137276
+ class SetMarginTranspiler {
137277
+ transpile(_node, _traversal) {
137278
+ return new chunk_1.Chunk(`throw new Error("SET MARGIN, not supported, transpiler");`);
137279
+ }
137280
+ }
137281
+ exports.SetMarginTranspiler = SetMarginTranspiler;
137282
+ //# sourceMappingURL=set_margin.js.map
137283
+
137284
+ /***/ },
137285
+
136114
137286
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/set_parameter.js"
136115
137287
  /*!*********************************************************************************!*\
136116
137288
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/set_parameter.js ***!
@@ -136119,12 +137291,54 @@ exports.SetLocaleTranspiler = SetLocaleTranspiler;
136119
137291
 
136120
137292
  "use strict";
136121
137293
 
137294
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
137295
+ if (k2 === undefined) k2 = k;
137296
+ var desc = Object.getOwnPropertyDescriptor(m, k);
137297
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
137298
+ desc = { enumerable: true, get: function() { return m[k]; } };
137299
+ }
137300
+ Object.defineProperty(o, k2, desc);
137301
+ }) : (function(o, m, k, k2) {
137302
+ if (k2 === undefined) k2 = k;
137303
+ o[k2] = m[k];
137304
+ }));
137305
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
137306
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
137307
+ }) : function(o, v) {
137308
+ o["default"] = v;
137309
+ });
137310
+ var __importStar = (this && this.__importStar) || (function () {
137311
+ var ownKeys = function(o) {
137312
+ ownKeys = Object.getOwnPropertyNames || function (o) {
137313
+ var ar = [];
137314
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
137315
+ return ar;
137316
+ };
137317
+ return ownKeys(o);
137318
+ };
137319
+ return function (mod) {
137320
+ if (mod && mod.__esModule) return mod;
137321
+ var result = {};
137322
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
137323
+ __setModuleDefault(result, mod);
137324
+ return result;
137325
+ };
137326
+ })();
136122
137327
  Object.defineProperty(exports, "__esModule", ({ value: true }));
136123
137328
  exports.SetParameterTranspiler = void 0;
137329
+ const abaplint = __importStar(__webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js"));
136124
137330
  const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
136125
137331
  class SetParameterTranspiler {
136126
- transpile(_node, _traversal) {
136127
- return new chunk_1.Chunk(`throw new Error("SetParameter, transpiler todo");`);
137332
+ transpile(node, traversal) {
137333
+ const sources = node.findDirectExpressions(abaplint.Expressions.Source);
137334
+ if (sources.length !== 2) {
137335
+ throw new Error("SetParameterTranspiler, unexpected node");
137336
+ }
137337
+ return new chunk_1.Chunk(`abap.statements.setParameter(`)
137338
+ .appendChunk(traversal.traverse(sources[0]))
137339
+ .appendString(",")
137340
+ .appendChunk(traversal.traverse(sources[1]))
137341
+ .appendString(");");
136128
137342
  }
136129
137343
  }
136130
137344
  exports.SetParameterTranspiler = SetParameterTranspiler;
@@ -136153,6 +137367,27 @@ exports.SetPFStatusTranspiler = SetPFStatusTranspiler;
136153
137367
 
136154
137368
  /***/ },
136155
137369
 
137370
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/set_property.js"
137371
+ /*!********************************************************************************!*\
137372
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/set_property.js ***!
137373
+ \********************************************************************************/
137374
+ (__unused_webpack_module, exports, __webpack_require__) {
137375
+
137376
+ "use strict";
137377
+
137378
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
137379
+ exports.SetPropertyTranspiler = void 0;
137380
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
137381
+ class SetPropertyTranspiler {
137382
+ transpile(_node, _traversal) {
137383
+ return new chunk_1.Chunk(`throw new Error("SET PROPERTY, not supported, transpiler");`);
137384
+ }
137385
+ }
137386
+ exports.SetPropertyTranspiler = SetPropertyTranspiler;
137387
+ //# sourceMappingURL=set_property.js.map
137388
+
137389
+ /***/ },
137390
+
136156
137391
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/set_screen.js"
136157
137392
  /*!******************************************************************************!*\
136158
137393
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/set_screen.js ***!
@@ -136195,6 +137430,27 @@ exports.SetTitlebarTranspiler = SetTitlebarTranspiler;
136195
137430
 
136196
137431
  /***/ },
136197
137432
 
137433
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/set_user_command.js"
137434
+ /*!************************************************************************************!*\
137435
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/set_user_command.js ***!
137436
+ \************************************************************************************/
137437
+ (__unused_webpack_module, exports, __webpack_require__) {
137438
+
137439
+ "use strict";
137440
+
137441
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
137442
+ exports.SetUserCommandTranspiler = void 0;
137443
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
137444
+ class SetUserCommandTranspiler {
137445
+ transpile(_node, _traversal) {
137446
+ return new chunk_1.Chunk(`throw new Error("SET USER-COMMAND, not supported, transpiler");`);
137447
+ }
137448
+ }
137449
+ exports.SetUserCommandTranspiler = SetUserCommandTranspiler;
137450
+ //# sourceMappingURL=set_user_command.js.map
137451
+
137452
+ /***/ },
137453
+
136198
137454
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/shift.js"
136199
137455
  /*!*************************************************************************!*\
136200
137456
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/shift.js ***!
@@ -136702,6 +137958,27 @@ exports.SubtractTranspiler = SubtractTranspiler;
136702
137958
 
136703
137959
  /***/ },
136704
137960
 
137961
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/subtract_corresponding.js"
137962
+ /*!******************************************************************************************!*\
137963
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/subtract_corresponding.js ***!
137964
+ \******************************************************************************************/
137965
+ (__unused_webpack_module, exports, __webpack_require__) {
137966
+
137967
+ "use strict";
137968
+
137969
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
137970
+ exports.SubtractCorrespondingTranspiler = void 0;
137971
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
137972
+ class SubtractCorrespondingTranspiler {
137973
+ transpile(_node, _traversal) {
137974
+ return new chunk_1.Chunk(`throw new Error("SUBTRACT-CORRESPONDING, not supported, transpiler");`);
137975
+ }
137976
+ }
137977
+ exports.SubtractCorrespondingTranspiler = SubtractCorrespondingTranspiler;
137978
+ //# sourceMappingURL=subtract_corresponding.js.map
137979
+
137980
+ /***/ },
137981
+
136705
137982
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/sum.js"
136706
137983
  /*!***********************************************************************!*\
136707
137984
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/sum.js ***!
@@ -136723,6 +138000,70 @@ exports.SumTranspiler = SumTranspiler;
136723
138000
 
136724
138001
  /***/ },
136725
138002
 
138003
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/summary.js"
138004
+ /*!***************************************************************************!*\
138005
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/summary.js ***!
138006
+ \***************************************************************************/
138007
+ (__unused_webpack_module, exports, __webpack_require__) {
138008
+
138009
+ "use strict";
138010
+
138011
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
138012
+ exports.SummaryTranspiler = void 0;
138013
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
138014
+ class SummaryTranspiler {
138015
+ transpile(_node, _traversal) {
138016
+ // obsolete short form of a list format setting (SUMMARY), it does not change the text of the list
138017
+ return new chunk_1.Chunk("");
138018
+ }
138019
+ }
138020
+ exports.SummaryTranspiler = SummaryTranspiler;
138021
+ //# sourceMappingURL=summary.js.map
138022
+
138023
+ /***/ },
138024
+
138025
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/supply.js"
138026
+ /*!**************************************************************************!*\
138027
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/supply.js ***!
138028
+ \**************************************************************************/
138029
+ (__unused_webpack_module, exports, __webpack_require__) {
138030
+
138031
+ "use strict";
138032
+
138033
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
138034
+ exports.SupplyTranspiler = void 0;
138035
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
138036
+ class SupplyTranspiler {
138037
+ transpile(_node, _traversal) {
138038
+ return new chunk_1.Chunk(`throw new Error("SUPPLY, not supported, transpiler");`);
138039
+ }
138040
+ }
138041
+ exports.SupplyTranspiler = SupplyTranspiler;
138042
+ //# sourceMappingURL=supply.js.map
138043
+
138044
+ /***/ },
138045
+
138046
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/suppress_dialog.js"
138047
+ /*!***********************************************************************************!*\
138048
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/suppress_dialog.js ***!
138049
+ \***********************************************************************************/
138050
+ (__unused_webpack_module, exports, __webpack_require__) {
138051
+
138052
+ "use strict";
138053
+
138054
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
138055
+ exports.SuppressDialogTranspiler = void 0;
138056
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
138057
+ class SuppressDialogTranspiler {
138058
+ transpile(_node, _traversal) {
138059
+ return new chunk_1.Chunk(`throw new Error("SUPPRESS DIALOG, not supported, transpiler");`);
138060
+ }
138061
+ }
138062
+ exports.SuppressDialogTranspiler = SuppressDialogTranspiler;
138063
+ //# sourceMappingURL=suppress_dialog.js.map
138064
+
138065
+ /***/ },
138066
+
136726
138067
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/syntax_check.js"
136727
138068
  /*!********************************************************************************!*\
136728
138069
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/syntax_check.js ***!
@@ -137248,8 +138589,13 @@ class UpdateDatabaseTranspiler {
137248
138589
  const sets = node.findAllExpressions(abaplint.Expressions.SQLFieldAndValue);
137249
138590
  if (sets.length > 0) {
137250
138591
  const s = [];
138592
+ let columns = undefined;
138593
+ const type = traversal.findTable(dbtab.concatTokens().toUpperCase())?.parseType(traversal.reg);
138594
+ if (type instanceof abaplint.BasicTypes.StructureType) {
138595
+ columns = new Set(type.getComponents().map(c => c.name.toLowerCase()));
138596
+ }
137251
138597
  for (const set of sets) {
137252
- s.push(new expressions_1.SQLFieldAndValueTranspiler().transpile(set, traversal).getCode());
138598
+ s.push(new expressions_1.SQLFieldAndValueTranspiler(columns, node.getFirstToken().getStart()).transpile(set, traversal).getCode());
137253
138599
  }
137254
138600
  options.push(`"set": [${s.join(",")}]`);
137255
138601
  }
@@ -137500,6 +138846,48 @@ exports.WhileTranspiler = WhileTranspiler;
137500
138846
 
137501
138847
  /***/ },
137502
138848
 
138849
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/window.js"
138850
+ /*!**************************************************************************!*\
138851
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/window.js ***!
138852
+ \**************************************************************************/
138853
+ (__unused_webpack_module, exports, __webpack_require__) {
138854
+
138855
+ "use strict";
138856
+
138857
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
138858
+ exports.WindowTranspiler = void 0;
138859
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
138860
+ class WindowTranspiler {
138861
+ transpile(_node, _traversal) {
138862
+ return new chunk_1.Chunk(`throw new Error("WINDOW, not supported, transpiler");`);
138863
+ }
138864
+ }
138865
+ exports.WindowTranspiler = WindowTranspiler;
138866
+ //# sourceMappingURL=window.js.map
138867
+
138868
+ /***/ },
138869
+
138870
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/with.js"
138871
+ /*!************************************************************************!*\
138872
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/with.js ***!
138873
+ \************************************************************************/
138874
+ (__unused_webpack_module, exports, __webpack_require__) {
138875
+
138876
+ "use strict";
138877
+
138878
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
138879
+ exports.WithTranspiler = void 0;
138880
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
138881
+ class WithTranspiler {
138882
+ transpile(_node, _traversal) {
138883
+ return new chunk_1.Chunk(`throw new Error("WITH, not supported, transpiler");`);
138884
+ }
138885
+ }
138886
+ exports.WithTranspiler = WithTranspiler;
138887
+ //# sourceMappingURL=with.js.map
138888
+
138889
+ /***/ },
138890
+
137503
138891
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/write.js"
137504
138892
  /*!*************************************************************************!*\
137505
138893
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/write.js ***!
@@ -138029,6 +139417,27 @@ exports.CatchSystemExceptionsTranspiler = CatchSystemExceptionsTranspiler;
138029
139417
 
138030
139418
  /***/ },
138031
139419
 
139420
+ /***/ "./node_modules/@abaplint/transpiler/build/src/structures/chain.js"
139421
+ /*!*************************************************************************!*\
139422
+ !*** ./node_modules/@abaplint/transpiler/build/src/structures/chain.js ***!
139423
+ \*************************************************************************/
139424
+ (__unused_webpack_module, exports, __webpack_require__) {
139425
+
139426
+ "use strict";
139427
+
139428
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
139429
+ exports.ChainTranspiler = void 0;
139430
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
139431
+ class ChainTranspiler {
139432
+ transpile(node, traversal) {
139433
+ return new chunk_1.Chunk().append(`throw new Error("CHAIN, not supported, transpiler");`, node, traversal);
139434
+ }
139435
+ }
139436
+ exports.ChainTranspiler = ChainTranspiler;
139437
+ //# sourceMappingURL=chain.js.map
139438
+
139439
+ /***/ },
139440
+
138032
139441
  /***/ "./node_modules/@abaplint/transpiler/build/src/structures/class_definition.js"
138033
139442
  /*!************************************************************************************!*\
138034
139443
  !*** ./node_modules/@abaplint/transpiler/build/src/structures/class_definition.js ***!
@@ -138911,17 +140320,21 @@ __exportStar(__webpack_require__(/*! ./at_first */ "./node_modules/@abaplint/tra
138911
140320
  __exportStar(__webpack_require__(/*! ./at_last */ "./node_modules/@abaplint/transpiler/build/src/structures/at_last.js"), exports);
138912
140321
  __exportStar(__webpack_require__(/*! ./case_type */ "./node_modules/@abaplint/transpiler/build/src/structures/case_type.js"), exports);
138913
140322
  __exportStar(__webpack_require__(/*! ./case */ "./node_modules/@abaplint/transpiler/build/src/structures/case.js"), exports);
140323
+ __exportStar(__webpack_require__(/*! ./chain */ "./node_modules/@abaplint/transpiler/build/src/structures/chain.js"), exports);
138914
140324
  __exportStar(__webpack_require__(/*! ./catch_system_exceptions */ "./node_modules/@abaplint/transpiler/build/src/structures/catch_system_exceptions.js"), exports);
138915
140325
  __exportStar(__webpack_require__(/*! ./class_definition */ "./node_modules/@abaplint/transpiler/build/src/structures/class_definition.js"), exports);
138916
140326
  __exportStar(__webpack_require__(/*! ./class_implementation */ "./node_modules/@abaplint/transpiler/build/src/structures/class_implementation.js"), exports);
138917
140327
  __exportStar(__webpack_require__(/*! ./constants */ "./node_modules/@abaplint/transpiler/build/src/structures/constants.js"), exports);
138918
140328
  __exportStar(__webpack_require__(/*! ./data */ "./node_modules/@abaplint/transpiler/build/src/structures/data.js"), exports);
140329
+ __exportStar(__webpack_require__(/*! ./statics */ "./node_modules/@abaplint/transpiler/build/src/structures/statics.js"), exports);
138919
140330
  __exportStar(__webpack_require__(/*! ./define */ "./node_modules/@abaplint/transpiler/build/src/structures/define.js"), exports);
138920
140331
  __exportStar(__webpack_require__(/*! ./do */ "./node_modules/@abaplint/transpiler/build/src/structures/do.js"), exports);
138921
140332
  __exportStar(__webpack_require__(/*! ./exec_sql */ "./node_modules/@abaplint/transpiler/build/src/structures/exec_sql.js"), exports);
138922
140333
  __exportStar(__webpack_require__(/*! ./function_module */ "./node_modules/@abaplint/transpiler/build/src/structures/function_module.js"), exports);
138923
140334
  __exportStar(__webpack_require__(/*! ./interface */ "./node_modules/@abaplint/transpiler/build/src/structures/interface.js"), exports);
138924
140335
  __exportStar(__webpack_require__(/*! ./loop */ "./node_modules/@abaplint/transpiler/build/src/structures/loop.js"), exports);
140336
+ __exportStar(__webpack_require__(/*! ./loop_extract */ "./node_modules/@abaplint/transpiler/build/src/structures/loop_extract.js"), exports);
140337
+ __exportStar(__webpack_require__(/*! ./provide */ "./node_modules/@abaplint/transpiler/build/src/structures/provide.js"), exports);
138925
140338
  __exportStar(__webpack_require__(/*! ./module */ "./node_modules/@abaplint/transpiler/build/src/structures/module.js"), exports);
138926
140339
  __exportStar(__webpack_require__(/*! ./select */ "./node_modules/@abaplint/transpiler/build/src/structures/select.js"), exports);
138927
140340
  __exportStar(__webpack_require__(/*! ./method */ "./node_modules/@abaplint/transpiler/build/src/structures/method.js"), exports);
@@ -138930,6 +140343,7 @@ __exportStar(__webpack_require__(/*! ./type_enum */ "./node_modules/@abaplint/tr
138930
140343
  __exportStar(__webpack_require__(/*! ./types */ "./node_modules/@abaplint/transpiler/build/src/structures/types.js"), exports);
138931
140344
  __exportStar(__webpack_require__(/*! ./when */ "./node_modules/@abaplint/transpiler/build/src/structures/when.js"), exports);
138932
140345
  __exportStar(__webpack_require__(/*! ./while */ "./node_modules/@abaplint/transpiler/build/src/structures/while.js"), exports);
140346
+ __exportStar(__webpack_require__(/*! ./with */ "./node_modules/@abaplint/transpiler/build/src/structures/with.js"), exports);
138933
140347
  __exportStar(__webpack_require__(/*! ./form */ "./node_modules/@abaplint/transpiler/build/src/structures/form.js"), exports);
138934
140348
  //# sourceMappingURL=index.js.map
138935
140349
 
@@ -139215,6 +140629,27 @@ exports.LoopTranspiler = LoopTranspiler;
139215
140629
 
139216
140630
  /***/ },
139217
140631
 
140632
+ /***/ "./node_modules/@abaplint/transpiler/build/src/structures/loop_extract.js"
140633
+ /*!********************************************************************************!*\
140634
+ !*** ./node_modules/@abaplint/transpiler/build/src/structures/loop_extract.js ***!
140635
+ \********************************************************************************/
140636
+ (__unused_webpack_module, exports, __webpack_require__) {
140637
+
140638
+ "use strict";
140639
+
140640
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
140641
+ exports.LoopExtractTranspiler = void 0;
140642
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
140643
+ class LoopExtractTranspiler {
140644
+ transpile(node, traversal) {
140645
+ return new chunk_1.Chunk().append(`throw new Error("LOOP over extract, not supported, transpiler");`, node, traversal);
140646
+ }
140647
+ }
140648
+ exports.LoopExtractTranspiler = LoopExtractTranspiler;
140649
+ //# sourceMappingURL=loop_extract.js.map
140650
+
140651
+ /***/ },
140652
+
139218
140653
  /***/ "./node_modules/@abaplint/transpiler/build/src/structures/method.js"
139219
140654
  /*!**************************************************************************!*\
139220
140655
  !*** ./node_modules/@abaplint/transpiler/build/src/structures/method.js ***!
@@ -139300,6 +140735,27 @@ exports.ModuleTranspiler = ModuleTranspiler;
139300
140735
 
139301
140736
  /***/ },
139302
140737
 
140738
+ /***/ "./node_modules/@abaplint/transpiler/build/src/structures/provide.js"
140739
+ /*!***************************************************************************!*\
140740
+ !*** ./node_modules/@abaplint/transpiler/build/src/structures/provide.js ***!
140741
+ \***************************************************************************/
140742
+ (__unused_webpack_module, exports, __webpack_require__) {
140743
+
140744
+ "use strict";
140745
+
140746
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
140747
+ exports.ProvideTranspiler = void 0;
140748
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
140749
+ class ProvideTranspiler {
140750
+ transpile(node, traversal) {
140751
+ return new chunk_1.Chunk().append(`throw new Error("PROVIDE, not supported, transpiler");`, node, traversal);
140752
+ }
140753
+ }
140754
+ exports.ProvideTranspiler = ProvideTranspiler;
140755
+ //# sourceMappingURL=provide.js.map
140756
+
140757
+ /***/ },
140758
+
139303
140759
  /***/ "./node_modules/@abaplint/transpiler/build/src/structures/select.js"
139304
140760
  /*!**************************************************************************!*\
139305
140761
  !*** ./node_modules/@abaplint/transpiler/build/src/structures/select.js ***!
@@ -139403,6 +140859,27 @@ exports.SelectTranspiler = SelectTranspiler;
139403
140859
 
139404
140860
  /***/ },
139405
140861
 
140862
+ /***/ "./node_modules/@abaplint/transpiler/build/src/structures/statics.js"
140863
+ /*!***************************************************************************!*\
140864
+ !*** ./node_modules/@abaplint/transpiler/build/src/structures/statics.js ***!
140865
+ \***************************************************************************/
140866
+ (__unused_webpack_module, exports, __webpack_require__) {
140867
+
140868
+ "use strict";
140869
+
140870
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
140871
+ exports.StaticsTranspiler = void 0;
140872
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
140873
+ class StaticsTranspiler {
140874
+ transpile(node, traversal) {
140875
+ return new chunk_1.Chunk().append(`throw new Error("STATICS, not supported, transpiler");`, node, traversal);
140876
+ }
140877
+ }
140878
+ exports.StaticsTranspiler = StaticsTranspiler;
140879
+ //# sourceMappingURL=statics.js.map
140880
+
140881
+ /***/ },
140882
+
139406
140883
  /***/ "./node_modules/@abaplint/transpiler/build/src/structures/try.js"
139407
140884
  /*!***********************************************************************!*\
139408
140885
  !*** ./node_modules/@abaplint/transpiler/build/src/structures/try.js ***!
@@ -139748,6 +141225,27 @@ exports.WhileTranspiler = WhileTranspiler;
139748
141225
 
139749
141226
  /***/ },
139750
141227
 
141228
+ /***/ "./node_modules/@abaplint/transpiler/build/src/structures/with.js"
141229
+ /*!************************************************************************!*\
141230
+ !*** ./node_modules/@abaplint/transpiler/build/src/structures/with.js ***!
141231
+ \************************************************************************/
141232
+ (__unused_webpack_module, exports, __webpack_require__) {
141233
+
141234
+ "use strict";
141235
+
141236
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
141237
+ exports.WithTranspiler = void 0;
141238
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
141239
+ class WithTranspiler {
141240
+ transpile(node, traversal) {
141241
+ return new chunk_1.Chunk().append(`throw new Error("WITH, not supported, transpiler");`, node, traversal);
141242
+ }
141243
+ }
141244
+ exports.WithTranspiler = WithTranspiler;
141245
+ //# sourceMappingURL=with.js.map
141246
+
141247
+ /***/ },
141248
+
139751
141249
  /***/ "./node_modules/@abaplint/transpiler/build/src/transpile_types.js"
139752
141250
  /*!************************************************************************!*\
139753
141251
  !*** ./node_modules/@abaplint/transpiler/build/src/transpile_types.js ***!
@@ -142152,6 +143650,7 @@ exports.config = {
142152
143650
  // hmm this ^ is okay? since lines will be prefixed with "abap.builtin"?
142153
143651
  class Validation {
142154
143652
  options;
143653
+ scopes = new Map();
142155
143654
  constructor(options) {
142156
143655
  this.options = options;
142157
143656
  }
@@ -142182,7 +143681,30 @@ class Validation {
142182
143681
  const conf = new core_1.Config(JSON.stringify(exports.config));
142183
143682
  reg.setConfig(conf);
142184
143683
  const issues = reg.findIssues();
142185
- return issues;
143684
+ return issues.filter(i => i.getKey() !== "ambiguous_statement" || this.isInternalModify(reg, i) === false);
143685
+ }
143686
+ /** "MODIFY itab FROM wa" and "MODIFY itab" are not ambiguous when itab is an internal table */
143687
+ isInternalModify(reg, issue) {
143688
+ const file = reg.getFileByName(issue.getFilename());
143689
+ const obj = file ? reg.findObjectForFile(file) : undefined;
143690
+ if (!(obj instanceof core_1.ABAPObject)) {
143691
+ return false;
143692
+ }
143693
+ const statement = obj.getABAPFileByName(issue.getFilename())?.getStatements()
143694
+ .find(s => s.getStart().equals(issue.getStart()));
143695
+ const token = statement?.getTokens()[1];
143696
+ if (statement === undefined || token === undefined
143697
+ || statement.getFirstToken().getStr().toUpperCase() !== "MODIFY"
143698
+ || token.getStr().toUpperCase() === "TABLE") {
143699
+ return false;
143700
+ }
143701
+ let spaghetti = this.scopes.get(obj);
143702
+ if (spaghetti === undefined) {
143703
+ spaghetti = new core_1.SyntaxLogic(reg, obj).run().spaghetti;
143704
+ this.scopes.set(obj, spaghetti);
143705
+ }
143706
+ const variable = spaghetti.lookupPosition(token.getStart(), issue.getFilename())?.findVariable(token.getStr());
143707
+ return variable?.getType() instanceof core_1.BasicTypes.TableType;
142186
143708
  }
142187
143709
  }
142188
143710
  exports.Validation = Validation;