@abaplint/transpiler-cli 2.7.0 → 2.7.2

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 +262 -98
  2. package/package.json +5 -5
package/build/bundle.js CHANGED
@@ -24512,6 +24512,7 @@ class Source {
24512
24512
  {
24513
24513
  const foundType = this.determineType(node, scope, filename, targetType);
24514
24514
  new conv_body_1.ConvBody().runSyntax(node.findDirectExpression(Expressions.ConvBody), scope, filename);
24515
+ this.addIfInferred(node, scope, filename, foundType);
24515
24516
  return foundType;
24516
24517
  }
24517
24518
  case "REF":
@@ -37318,7 +37319,7 @@ class DDIC {
37318
37319
  case "SSTRING": // 1 <= len <= 1333
37319
37320
  case "STRG": // 256 <= len
37320
37321
  case "STRING": // 256 <= len
37321
- return new Types.StringType({ qualifiedName: qualifiedName });
37322
+ return new Types.StringType({ qualifiedName: qualifiedName || "STRING" });
37322
37323
  case "RSTR": // 256 <= len
37323
37324
  case "RAWSTRING": // 256 <= len
37324
37325
  case "GEOM_EWKB":
@@ -46810,7 +46811,7 @@ class Registry {
46810
46811
  }
46811
46812
  static abaplintVersion() {
46812
46813
  // magic, see build script "version.sh"
46813
- return "2.100.2";
46814
+ return "2.100.3";
46814
46815
  }
46815
46816
  getDDICReferences() {
46816
46817
  return this.ddicReferences;
@@ -54229,8 +54230,12 @@ class EmptyLineinStatement extends _abap_rule_1.ABAPRule {
54229
54230
  key: "empty_line_in_statement",
54230
54231
  title: "Find empty lines in statements",
54231
54232
  shortDescription: `Checks that statements do not contain empty lines.`,
54232
- extendedInformation: `https://docs.abapopenchecks.org/checks/41/`,
54233
- tags: [_irule_1.RuleTag.Quickfix, _irule_1.RuleTag.Whitespace, _irule_1.RuleTag.SingleFile],
54233
+ extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#dont-obsess-with-separating-blank-lines
54234
+
54235
+ https://docs.abapopenchecks.org/checks/41/`,
54236
+ tags: [_irule_1.RuleTag.Quickfix, _irule_1.RuleTag.Whitespace, _irule_1.RuleTag.SingleFile, _irule_1.RuleTag.Styleguide],
54237
+ badExample: `WRITE\n\nhello.`,
54238
+ goodExample: `WRITE hello.`,
54234
54239
  };
54235
54240
  }
54236
54241
  getMessage() {
@@ -68077,6 +68082,12 @@ exports.DatabaseSetup = void 0;
68077
68082
  /* eslint-disable max-len */
68078
68083
  const abaplint = __webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js");
68079
68084
  const sqlite_database_schema_1 = __webpack_require__(/*! ./sqlite_database_schema */ "./node_modules/@abaplint/transpiler/build/src/db/sqlite_database_schema.js");
68085
+ const pg_database_schema_1 = __webpack_require__(/*! ./pg_database_schema */ "./node_modules/@abaplint/transpiler/build/src/db/pg_database_schema.js");
68086
+ /////////////////////////
68087
+ // NOTES
68088
+ /////////////////////////
68089
+ // Postgres is case sensitive, so all column names should be lower case
68090
+ // Sqlite escapes field names with single qoute, postgres with double
68080
68091
  class DatabaseSetup {
68081
68092
  constructor(reg) {
68082
68093
  this.reg = reg;
@@ -68086,7 +68097,7 @@ class DatabaseSetup {
68086
68097
  schemas: {
68087
68098
  sqlite: new sqlite_database_schema_1.SQLiteDatabaseSchema(this.reg).run(),
68088
68099
  hdb: ["todo"],
68089
- pg: ["todo"],
68100
+ pg: new pg_database_schema_1.PGDatabaseSchema(this.reg).run(),
68090
68101
  },
68091
68102
  insert: this.buildInsert(options),
68092
68103
  };
@@ -68130,7 +68141,7 @@ class DatabaseSetup {
68130
68141
  const type = tabl.parseType(this.reg);
68131
68142
  if (type instanceof abaplint.BasicTypes.StructureType && type.getComponents().length >= 3) {
68132
68143
  // todo, this should take the client number from the settings
68133
- return `INSERT INTO t000 ('MANDT', 'CCCATEGORY', 'CCNOCLIIND') VALUES ('123', '', '');`;
68144
+ return `INSERT INTO t000 ('mandt', 'cccategory', 'ccnocliind') VALUES ('123', '', '');`;
68134
68145
  }
68135
68146
  else {
68136
68147
  return "";
@@ -68144,7 +68155,7 @@ class DatabaseSetup {
68144
68155
  }
68145
68156
  let ret = "";
68146
68157
  for (const m of msag.getMessages()) {
68147
- ret += `INSERT INTO t100 ('SPRSL', 'ARBGB', 'MSGNR', 'TEXT') VALUES ('E', '${msag.getName().padEnd(20, " ")}', '${m.getNumber()}', '${this.escape(m.getMessage().padEnd(73, " "))}');\n`;
68158
+ ret += `INSERT INTO t100 ("sprsl", "arbgb", "msgnr", "text") VALUES ('E', '${msag.getName().padEnd(20, " ")}', '${m.getNumber()}', '${this.escape(m.getMessage().padEnd(73, " "))}');\n`;
68148
68159
  }
68149
68160
  return ret;
68150
68161
  }
@@ -68162,6 +68173,137 @@ exports.DatabaseSetup = DatabaseSetup;
68162
68173
 
68163
68174
  /***/ }),
68164
68175
 
68176
+ /***/ "./node_modules/@abaplint/transpiler/build/src/db/pg_database_schema.js":
68177
+ /*!******************************************************************************!*\
68178
+ !*** ./node_modules/@abaplint/transpiler/build/src/db/pg_database_schema.js ***!
68179
+ \******************************************************************************/
68180
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
68181
+
68182
+ "use strict";
68183
+
68184
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
68185
+ exports.PGDatabaseSchema = void 0;
68186
+ const abaplint = __webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js");
68187
+ class PGDatabaseSchema {
68188
+ constructor(reg) {
68189
+ this.reg = reg;
68190
+ }
68191
+ run() {
68192
+ const statements = [];
68193
+ // CREATE TABLEs
68194
+ for (const obj of this.reg.getObjects()) {
68195
+ if (obj instanceof abaplint.Objects.Table
68196
+ && obj.getTableCategory() === abaplint.Objects.TableCategory.Transparent) {
68197
+ statements.push(this.buildTABL(obj).trim());
68198
+ }
68199
+ }
68200
+ // CREATE VIEWs after TABLEs
68201
+ // todo: what if the view is based on another view?
68202
+ for (const obj of this.reg.getObjects()) {
68203
+ if (obj instanceof abaplint.Objects.View) {
68204
+ statements.push(this.buildVIEW(obj).trim());
68205
+ }
68206
+ }
68207
+ return statements;
68208
+ }
68209
+ //////////////////
68210
+ // https://www.sqlite.org/lang_createview.html
68211
+ buildVIEW(view) {
68212
+ const fields = view.getFields();
68213
+ let firstTabname = "";
68214
+ const columns = fields === null || fields === void 0 ? void 0 : fields.map((f) => {
68215
+ firstTabname = "'" + f.TABNAME.toLowerCase() + "'";
68216
+ return firstTabname + "." + f.FIELDNAME.toLowerCase() + " AS " + f.VIEWFIELD.toLowerCase();
68217
+ }).join(", ");
68218
+ let from = "";
68219
+ let previous = "";
68220
+ for (const j of view.getJoin() || []) {
68221
+ if (previous === "") {
68222
+ from += "'" + j.LTAB.toLowerCase() + "' INNER JOIN '" + j.RTAB.toLowerCase() + "' ON '" + j.LTAB.toLowerCase() + "'." + j.LFIELD.toLowerCase() + " = '" + j.RTAB.toLowerCase() + "'." + j.RFIELD.toLowerCase();
68223
+ }
68224
+ else if (previous === j.LTAB + "," + j.RTAB) {
68225
+ from += " AND '" + j.LTAB.toLowerCase() + "'." + j.LFIELD.toLowerCase() + " = '" + j.RTAB.toLowerCase() + "'." + j.RFIELD.toLowerCase();
68226
+ }
68227
+ else {
68228
+ from += " INNER JOIN '" + j.RTAB.toLowerCase() + "' ON '" + j.LTAB.toLowerCase() + "'." + j.LFIELD.toLowerCase() + " = '" + j.RTAB.toLowerCase() + "'." + j.RFIELD.toLowerCase();
68229
+ }
68230
+ previous = j.LTAB + "," + j.RTAB;
68231
+ }
68232
+ from = from.trim();
68233
+ if (from === "") {
68234
+ from = firstTabname;
68235
+ }
68236
+ return `CREATE VIEW '${view.getName().toLowerCase()}' AS SELECT ${columns} FROM ${from};\n`;
68237
+ }
68238
+ buildTABL(tabl) {
68239
+ const type = tabl.parseType(this.reg);
68240
+ if (!(type instanceof abaplint.BasicTypes.StructureType)) {
68241
+ return "";
68242
+ }
68243
+ const fields = [];
68244
+ const fieldsRaw = [];
68245
+ for (const field of type.getComponents()) {
68246
+ if (field.type instanceof abaplint.BasicTypes.StructureType) {
68247
+ // is a GROUP NAME
68248
+ continue;
68249
+ }
68250
+ fieldsRaw.push(field.name.toLowerCase());
68251
+ fields.push("\"" + field.name.toLowerCase() + "\" " + this.toType(field.type, field.name, tabl.getName()));
68252
+ }
68253
+ // assumption: all transparent tables have primary keys
68254
+ // add single quotes to field names to allow for keywords as field names
68255
+ const key = ", PRIMARY KEY(" + tabl.listKeys(this.reg)
68256
+ .filter(e => fieldsRaw.includes(e.toLowerCase()))
68257
+ .map(e => "\"" + e.toLowerCase() + "\"").join(",") + ")";
68258
+ return `CREATE TABLE "${tabl.getName().toLowerCase()}" (${fields.join(", ")}${key});\n`;
68259
+ }
68260
+ toType(type, fieldname, errorInfo) {
68261
+ if (type instanceof abaplint.BasicTypes.CharacterType) {
68262
+ return `NCHAR(${type.getLength()})`;
68263
+ }
68264
+ else if (type instanceof abaplint.BasicTypes.TimeType) {
68265
+ return `NCHAR(6)`;
68266
+ }
68267
+ else if (type instanceof abaplint.BasicTypes.DateType) {
68268
+ return `NCHAR(8)`;
68269
+ }
68270
+ else if (type instanceof abaplint.BasicTypes.NumericType) {
68271
+ // it will be fine, the runtime representation of numc is also text
68272
+ return `NCHAR(${type.getLength()})`;
68273
+ }
68274
+ else if (type instanceof abaplint.BasicTypes.StringType) {
68275
+ return `TEXT`;
68276
+ }
68277
+ else if (type instanceof abaplint.BasicTypes.XStringType) {
68278
+ // it will be fine, the runtime representation of xstring is also text
68279
+ return `TEXT`;
68280
+ }
68281
+ else if (type instanceof abaplint.BasicTypes.HexType) {
68282
+ return `NCHAR(${type.getLength() * 2})`;
68283
+ }
68284
+ else if (type instanceof abaplint.BasicTypes.IntegerType) {
68285
+ return `INT`;
68286
+ }
68287
+ else if (type instanceof abaplint.BasicTypes.FloatType
68288
+ || type instanceof abaplint.BasicTypes.FloatingPointType) {
68289
+ return `REAL`;
68290
+ }
68291
+ else if (type instanceof abaplint.BasicTypes.PackedType) {
68292
+ return `DECIMAL(${type.getLength()},${type.getDecimals()})`;
68293
+ }
68294
+ else if (type instanceof abaplint.BasicTypes.VoidType) {
68295
+ throw `Type of ${errorInfo}-${fieldname} is VoidType(${type.getVoided()}), make sure the type is known, enable strict syntax checking`;
68296
+ }
68297
+ else {
68298
+ throw "database_setup: " + errorInfo + "-" + fieldname + ", todo toType handle: " + type.constructor.name;
68299
+ }
68300
+ }
68301
+ }
68302
+ exports.PGDatabaseSchema = PGDatabaseSchema;
68303
+ //# sourceMappingURL=pg_database_schema.js.map
68304
+
68305
+ /***/ }),
68306
+
68165
68307
  /***/ "./node_modules/@abaplint/transpiler/build/src/db/sqlite_database_schema.js":
68166
68308
  /*!**********************************************************************************!*\
68167
68309
  !*** ./node_modules/@abaplint/transpiler/build/src/db/sqlite_database_schema.js ***!
@@ -72668,7 +72810,8 @@ class ClassImplementationTranspiler {
72668
72810
  static INTERNAL_TYPE = 'CLAS';
72669
72811
  static INTERNAL_NAME = '${traversal.buildInternalName(token.getStr(), def)}';
72670
72812
  static IMPLEMENTED_INTERFACES = [${this.findImplementedByClass(traversal, def, scope).map(e => `"` + e.toUpperCase() + `"`).join(",")}];
72671
- static ATTRIBUTES = {${traversal.buildAttributes(def, scope).join(",\n")}};`, node, traversal);
72813
+ static ATTRIBUTES = {${traversal.buildAttributes(def, scope).join(",\n")}};
72814
+ static METHODS = {${traversal.buildMethods(def, scope).join(",\n")}};`, node, traversal);
72672
72815
  }
72673
72816
  findImplementedInterface(traversal, def, scope) {
72674
72817
  if (def === undefined || scope === undefined) {
@@ -77828,6 +77971,7 @@ class InterfaceTranspiler {
77828
77971
  ret += `class ${name} {\n`;
77829
77972
  ret += `static INTERNAL_TYPE = 'INTF';\n`;
77830
77973
  ret += `static ATTRIBUTES = {${traversal.buildAttributes(def, scope).join(",\n")}};\n`;
77974
+ ret += `static METHODS = {${traversal.buildMethods(def, scope).join(",\n")}};\n`;
77831
77975
  }
77832
77976
  else if (c instanceof abaplint.Nodes.StatementNode && c.get() instanceof abaplint.Statements.EndInterface) {
77833
77977
  ret += "}\n";
@@ -78025,9 +78169,11 @@ class SelectTranspiler {
78025
78169
  const packageSize = (_b = node.findFirstExpression(abaplint.Expressions.SelectLoop)) === null || _b === void 0 ? void 0 : _b.findExpressionAfterToken("SIZE");
78026
78170
  if (packageSize) {
78027
78171
  const getSize = new expressions_1.SQLSourceTranspiler().transpile(packageSize, traversal).getCode() + ".get()";
78028
- ret.appendString(`if (${targetName}.array().length > ${getSize}) { throw new Error("PACKAGE SIZED loop larger than package size not supported"); };\n`);
78029
- ret.appendString(`abap.statements.append({source: ${targetName}, target: ${intoName}, lines: true});\n`);
78030
- ret.appendString(`{\n`);
78172
+ ret.appendString(`if (${targetName}.array().length > ${getSize}) {
78173
+ throw new Error("PACKAGE SIZED loop larger than package size not supported");
78174
+ };
78175
+ abap.statements.append({source: ${targetName}, target: ${intoName}, lines: true});
78176
+ {\n`);
78031
78177
  }
78032
78178
  else if (concat.includes(" INTO CORRESPONDING FIELDS OF ")) {
78033
78179
  ret.appendString(`\nfor (const ${loopName} of ${targetName}.array()) {\n`);
@@ -78580,6 +78726,32 @@ class Traversal {
78580
78726
  }
78581
78727
  return undefined;
78582
78728
  }
78729
+ buildMethods(def, _scope) {
78730
+ const methods = [];
78731
+ if (def === undefined) {
78732
+ return methods;
78733
+ }
78734
+ for (const m of def.getMethodDefinitions().getAll()) {
78735
+ const parameters = [];
78736
+ for (const p of m.getParameters().getAll()) {
78737
+ const type = new transpile_types_1.TranspileTypes().toType(p.getType());
78738
+ const optional = m.getParameters().getOptional().includes(p.getName()) ? "X" : " ";
78739
+ parameters.push(`"${p.getName().toUpperCase()}": {"type": () => {return ${type};}, "is_optional": "${optional}"}`);
78740
+ }
78741
+ methods.push(`"${m.getName().toUpperCase()}": {"visibility": "${this.mapVisibility(m.getVisibility())}", "parameters": {${parameters.join(", ")}}}`);
78742
+ }
78743
+ return methods;
78744
+ }
78745
+ mapVisibility(vis) {
78746
+ switch (vis) {
78747
+ case abaplint.Visibility.Private:
78748
+ return "I";
78749
+ case abaplint.Visibility.Protected:
78750
+ return "O";
78751
+ default:
78752
+ return "U";
78753
+ }
78754
+ }
78583
78755
  buildAttributes(def, scope, prefix = "") {
78584
78756
  var _a, _b;
78585
78757
  const attr = [];
@@ -78588,17 +78760,7 @@ class Traversal {
78588
78760
  }
78589
78761
  for (const a of ((_a = def.getAttributes()) === null || _a === void 0 ? void 0 : _a.getAll()) || []) {
78590
78762
  const type = new transpile_types_1.TranspileTypes().toType(a.getType());
78591
- let runtime = "";
78592
- switch (a.getVisibility()) {
78593
- case abaplint.Visibility.Private:
78594
- runtime = "I";
78595
- break;
78596
- case abaplint.Visibility.Protected:
78597
- runtime = "O";
78598
- break;
78599
- default:
78600
- runtime = "U";
78601
- }
78763
+ const runtime = this.mapVisibility(a.getVisibility());
78602
78764
  const isClass = a.getMeta().includes("static" /* abaplint.IdentifierMeta.Static */) ? "X" : " ";
78603
78765
  attr.push(`"${prefix + a.getName().toUpperCase()}": {"type": () => {return ${type};}, "visibility": "${runtime}", "is_constant": " ", "is_class": "${isClass}"}`);
78604
78766
  }
@@ -78751,10 +78913,12 @@ class Traversal {
78751
78913
  ret += "this.me = new abap.types.ABAPObject();\n";
78752
78914
  ret += "this.me.set(this);\n";
78753
78915
  for (const a of ((_a = def.getAttributes()) === null || _a === void 0 ? void 0 : _a.getAll()) || []) {
78916
+ const escaped = Traversal.escapeNamespace(a.getName().toLowerCase());
78754
78917
  if (a.getMeta().includes("static" /* abaplint.IdentifierMeta.Static */) === true) {
78918
+ ret += "this." + escaped + " = " + cName + "." + escaped + ";\n";
78755
78919
  continue;
78756
78920
  }
78757
- const name = "this." + Traversal.escapeNamespace(a.getName().toLowerCase());
78921
+ const name = "this." + escaped;
78758
78922
  ret += name + " = " + new transpile_types_1.TranspileTypes().toType(a.getType()) + ";\n";
78759
78923
  ret += this.setValues(a, name);
78760
78924
  }
@@ -88488,81 +88652,81 @@ module.exports = toNumber
88488
88652
  "use strict";
88489
88653
  __webpack_require__.r(__webpack_exports__);
88490
88654
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
88491
- /* harmony export */ "AnnotatedTextEdit": () => (/* binding */ AnnotatedTextEdit),
88492
- /* harmony export */ "ChangeAnnotation": () => (/* binding */ ChangeAnnotation),
88493
- /* harmony export */ "ChangeAnnotationIdentifier": () => (/* binding */ ChangeAnnotationIdentifier),
88494
- /* harmony export */ "CodeAction": () => (/* binding */ CodeAction),
88495
- /* harmony export */ "CodeActionContext": () => (/* binding */ CodeActionContext),
88496
- /* harmony export */ "CodeActionKind": () => (/* binding */ CodeActionKind),
88497
- /* harmony export */ "CodeActionTriggerKind": () => (/* binding */ CodeActionTriggerKind),
88498
- /* harmony export */ "CodeDescription": () => (/* binding */ CodeDescription),
88499
- /* harmony export */ "CodeLens": () => (/* binding */ CodeLens),
88500
- /* harmony export */ "Color": () => (/* binding */ Color),
88501
- /* harmony export */ "ColorInformation": () => (/* binding */ ColorInformation),
88502
- /* harmony export */ "ColorPresentation": () => (/* binding */ ColorPresentation),
88503
- /* harmony export */ "Command": () => (/* binding */ Command),
88504
- /* harmony export */ "CompletionItem": () => (/* binding */ CompletionItem),
88505
- /* harmony export */ "CompletionItemKind": () => (/* binding */ CompletionItemKind),
88506
- /* harmony export */ "CompletionItemLabelDetails": () => (/* binding */ CompletionItemLabelDetails),
88507
- /* harmony export */ "CompletionItemTag": () => (/* binding */ CompletionItemTag),
88508
- /* harmony export */ "CompletionList": () => (/* binding */ CompletionList),
88509
- /* harmony export */ "CreateFile": () => (/* binding */ CreateFile),
88510
- /* harmony export */ "DeleteFile": () => (/* binding */ DeleteFile),
88511
- /* harmony export */ "Diagnostic": () => (/* binding */ Diagnostic),
88512
- /* harmony export */ "DiagnosticRelatedInformation": () => (/* binding */ DiagnosticRelatedInformation),
88513
- /* harmony export */ "DiagnosticSeverity": () => (/* binding */ DiagnosticSeverity),
88514
- /* harmony export */ "DiagnosticTag": () => (/* binding */ DiagnosticTag),
88515
- /* harmony export */ "DocumentHighlight": () => (/* binding */ DocumentHighlight),
88516
- /* harmony export */ "DocumentHighlightKind": () => (/* binding */ DocumentHighlightKind),
88517
- /* harmony export */ "DocumentLink": () => (/* binding */ DocumentLink),
88518
- /* harmony export */ "DocumentSymbol": () => (/* binding */ DocumentSymbol),
88519
- /* harmony export */ "DocumentUri": () => (/* binding */ DocumentUri),
88520
- /* harmony export */ "EOL": () => (/* binding */ EOL),
88521
- /* harmony export */ "FoldingRange": () => (/* binding */ FoldingRange),
88522
- /* harmony export */ "FoldingRangeKind": () => (/* binding */ FoldingRangeKind),
88523
- /* harmony export */ "FormattingOptions": () => (/* binding */ FormattingOptions),
88524
- /* harmony export */ "Hover": () => (/* binding */ Hover),
88525
- /* harmony export */ "InlayHint": () => (/* binding */ InlayHint),
88526
- /* harmony export */ "InlayHintKind": () => (/* binding */ InlayHintKind),
88527
- /* harmony export */ "InlayHintLabelPart": () => (/* binding */ InlayHintLabelPart),
88528
- /* harmony export */ "InlineValueContext": () => (/* binding */ InlineValueContext),
88529
- /* harmony export */ "InlineValueEvaluatableExpression": () => (/* binding */ InlineValueEvaluatableExpression),
88530
- /* harmony export */ "InlineValueText": () => (/* binding */ InlineValueText),
88531
- /* harmony export */ "InlineValueVariableLookup": () => (/* binding */ InlineValueVariableLookup),
88532
- /* harmony export */ "InsertReplaceEdit": () => (/* binding */ InsertReplaceEdit),
88533
- /* harmony export */ "InsertTextFormat": () => (/* binding */ InsertTextFormat),
88534
- /* harmony export */ "InsertTextMode": () => (/* binding */ InsertTextMode),
88535
- /* harmony export */ "Location": () => (/* binding */ Location),
88536
- /* harmony export */ "LocationLink": () => (/* binding */ LocationLink),
88537
- /* harmony export */ "MarkedString": () => (/* binding */ MarkedString),
88538
- /* harmony export */ "MarkupContent": () => (/* binding */ MarkupContent),
88539
- /* harmony export */ "MarkupKind": () => (/* binding */ MarkupKind),
88540
- /* harmony export */ "OptionalVersionedTextDocumentIdentifier": () => (/* binding */ OptionalVersionedTextDocumentIdentifier),
88541
- /* harmony export */ "ParameterInformation": () => (/* binding */ ParameterInformation),
88542
- /* harmony export */ "Position": () => (/* binding */ Position),
88543
- /* harmony export */ "Range": () => (/* binding */ Range),
88544
- /* harmony export */ "RenameFile": () => (/* binding */ RenameFile),
88545
- /* harmony export */ "SelectionRange": () => (/* binding */ SelectionRange),
88546
- /* harmony export */ "SemanticTokenModifiers": () => (/* binding */ SemanticTokenModifiers),
88547
- /* harmony export */ "SemanticTokenTypes": () => (/* binding */ SemanticTokenTypes),
88548
- /* harmony export */ "SemanticTokens": () => (/* binding */ SemanticTokens),
88549
- /* harmony export */ "SignatureInformation": () => (/* binding */ SignatureInformation),
88550
- /* harmony export */ "SymbolInformation": () => (/* binding */ SymbolInformation),
88551
- /* harmony export */ "SymbolKind": () => (/* binding */ SymbolKind),
88552
- /* harmony export */ "SymbolTag": () => (/* binding */ SymbolTag),
88553
- /* harmony export */ "TextDocument": () => (/* binding */ TextDocument),
88554
- /* harmony export */ "TextDocumentEdit": () => (/* binding */ TextDocumentEdit),
88555
- /* harmony export */ "TextDocumentIdentifier": () => (/* binding */ TextDocumentIdentifier),
88556
- /* harmony export */ "TextDocumentItem": () => (/* binding */ TextDocumentItem),
88557
- /* harmony export */ "TextEdit": () => (/* binding */ TextEdit),
88558
- /* harmony export */ "URI": () => (/* binding */ URI),
88559
- /* harmony export */ "VersionedTextDocumentIdentifier": () => (/* binding */ VersionedTextDocumentIdentifier),
88560
- /* harmony export */ "WorkspaceChange": () => (/* binding */ WorkspaceChange),
88561
- /* harmony export */ "WorkspaceEdit": () => (/* binding */ WorkspaceEdit),
88562
- /* harmony export */ "WorkspaceFolder": () => (/* binding */ WorkspaceFolder),
88563
- /* harmony export */ "WorkspaceSymbol": () => (/* binding */ WorkspaceSymbol),
88564
- /* harmony export */ "integer": () => (/* binding */ integer),
88565
- /* harmony export */ "uinteger": () => (/* binding */ uinteger)
88655
+ /* harmony export */ AnnotatedTextEdit: () => (/* binding */ AnnotatedTextEdit),
88656
+ /* harmony export */ ChangeAnnotation: () => (/* binding */ ChangeAnnotation),
88657
+ /* harmony export */ ChangeAnnotationIdentifier: () => (/* binding */ ChangeAnnotationIdentifier),
88658
+ /* harmony export */ CodeAction: () => (/* binding */ CodeAction),
88659
+ /* harmony export */ CodeActionContext: () => (/* binding */ CodeActionContext),
88660
+ /* harmony export */ CodeActionKind: () => (/* binding */ CodeActionKind),
88661
+ /* harmony export */ CodeActionTriggerKind: () => (/* binding */ CodeActionTriggerKind),
88662
+ /* harmony export */ CodeDescription: () => (/* binding */ CodeDescription),
88663
+ /* harmony export */ CodeLens: () => (/* binding */ CodeLens),
88664
+ /* harmony export */ Color: () => (/* binding */ Color),
88665
+ /* harmony export */ ColorInformation: () => (/* binding */ ColorInformation),
88666
+ /* harmony export */ ColorPresentation: () => (/* binding */ ColorPresentation),
88667
+ /* harmony export */ Command: () => (/* binding */ Command),
88668
+ /* harmony export */ CompletionItem: () => (/* binding */ CompletionItem),
88669
+ /* harmony export */ CompletionItemKind: () => (/* binding */ CompletionItemKind),
88670
+ /* harmony export */ CompletionItemLabelDetails: () => (/* binding */ CompletionItemLabelDetails),
88671
+ /* harmony export */ CompletionItemTag: () => (/* binding */ CompletionItemTag),
88672
+ /* harmony export */ CompletionList: () => (/* binding */ CompletionList),
88673
+ /* harmony export */ CreateFile: () => (/* binding */ CreateFile),
88674
+ /* harmony export */ DeleteFile: () => (/* binding */ DeleteFile),
88675
+ /* harmony export */ Diagnostic: () => (/* binding */ Diagnostic),
88676
+ /* harmony export */ DiagnosticRelatedInformation: () => (/* binding */ DiagnosticRelatedInformation),
88677
+ /* harmony export */ DiagnosticSeverity: () => (/* binding */ DiagnosticSeverity),
88678
+ /* harmony export */ DiagnosticTag: () => (/* binding */ DiagnosticTag),
88679
+ /* harmony export */ DocumentHighlight: () => (/* binding */ DocumentHighlight),
88680
+ /* harmony export */ DocumentHighlightKind: () => (/* binding */ DocumentHighlightKind),
88681
+ /* harmony export */ DocumentLink: () => (/* binding */ DocumentLink),
88682
+ /* harmony export */ DocumentSymbol: () => (/* binding */ DocumentSymbol),
88683
+ /* harmony export */ DocumentUri: () => (/* binding */ DocumentUri),
88684
+ /* harmony export */ EOL: () => (/* binding */ EOL),
88685
+ /* harmony export */ FoldingRange: () => (/* binding */ FoldingRange),
88686
+ /* harmony export */ FoldingRangeKind: () => (/* binding */ FoldingRangeKind),
88687
+ /* harmony export */ FormattingOptions: () => (/* binding */ FormattingOptions),
88688
+ /* harmony export */ Hover: () => (/* binding */ Hover),
88689
+ /* harmony export */ InlayHint: () => (/* binding */ InlayHint),
88690
+ /* harmony export */ InlayHintKind: () => (/* binding */ InlayHintKind),
88691
+ /* harmony export */ InlayHintLabelPart: () => (/* binding */ InlayHintLabelPart),
88692
+ /* harmony export */ InlineValueContext: () => (/* binding */ InlineValueContext),
88693
+ /* harmony export */ InlineValueEvaluatableExpression: () => (/* binding */ InlineValueEvaluatableExpression),
88694
+ /* harmony export */ InlineValueText: () => (/* binding */ InlineValueText),
88695
+ /* harmony export */ InlineValueVariableLookup: () => (/* binding */ InlineValueVariableLookup),
88696
+ /* harmony export */ InsertReplaceEdit: () => (/* binding */ InsertReplaceEdit),
88697
+ /* harmony export */ InsertTextFormat: () => (/* binding */ InsertTextFormat),
88698
+ /* harmony export */ InsertTextMode: () => (/* binding */ InsertTextMode),
88699
+ /* harmony export */ Location: () => (/* binding */ Location),
88700
+ /* harmony export */ LocationLink: () => (/* binding */ LocationLink),
88701
+ /* harmony export */ MarkedString: () => (/* binding */ MarkedString),
88702
+ /* harmony export */ MarkupContent: () => (/* binding */ MarkupContent),
88703
+ /* harmony export */ MarkupKind: () => (/* binding */ MarkupKind),
88704
+ /* harmony export */ OptionalVersionedTextDocumentIdentifier: () => (/* binding */ OptionalVersionedTextDocumentIdentifier),
88705
+ /* harmony export */ ParameterInformation: () => (/* binding */ ParameterInformation),
88706
+ /* harmony export */ Position: () => (/* binding */ Position),
88707
+ /* harmony export */ Range: () => (/* binding */ Range),
88708
+ /* harmony export */ RenameFile: () => (/* binding */ RenameFile),
88709
+ /* harmony export */ SelectionRange: () => (/* binding */ SelectionRange),
88710
+ /* harmony export */ SemanticTokenModifiers: () => (/* binding */ SemanticTokenModifiers),
88711
+ /* harmony export */ SemanticTokenTypes: () => (/* binding */ SemanticTokenTypes),
88712
+ /* harmony export */ SemanticTokens: () => (/* binding */ SemanticTokens),
88713
+ /* harmony export */ SignatureInformation: () => (/* binding */ SignatureInformation),
88714
+ /* harmony export */ SymbolInformation: () => (/* binding */ SymbolInformation),
88715
+ /* harmony export */ SymbolKind: () => (/* binding */ SymbolKind),
88716
+ /* harmony export */ SymbolTag: () => (/* binding */ SymbolTag),
88717
+ /* harmony export */ TextDocument: () => (/* binding */ TextDocument),
88718
+ /* harmony export */ TextDocumentEdit: () => (/* binding */ TextDocumentEdit),
88719
+ /* harmony export */ TextDocumentIdentifier: () => (/* binding */ TextDocumentIdentifier),
88720
+ /* harmony export */ TextDocumentItem: () => (/* binding */ TextDocumentItem),
88721
+ /* harmony export */ TextEdit: () => (/* binding */ TextEdit),
88722
+ /* harmony export */ URI: () => (/* binding */ URI),
88723
+ /* harmony export */ VersionedTextDocumentIdentifier: () => (/* binding */ VersionedTextDocumentIdentifier),
88724
+ /* harmony export */ WorkspaceChange: () => (/* binding */ WorkspaceChange),
88725
+ /* harmony export */ WorkspaceEdit: () => (/* binding */ WorkspaceEdit),
88726
+ /* harmony export */ WorkspaceFolder: () => (/* binding */ WorkspaceFolder),
88727
+ /* harmony export */ WorkspaceSymbol: () => (/* binding */ WorkspaceSymbol),
88728
+ /* harmony export */ integer: () => (/* binding */ integer),
88729
+ /* harmony export */ uinteger: () => (/* binding */ uinteger)
88566
88730
  /* harmony export */ });
88567
88731
  /* --------------------------------------------------------------------------------------------
88568
88732
  * Copyright (c) Microsoft Corporation. All rights reserved.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -26,14 +26,14 @@
26
26
  "author": "abaplint",
27
27
  "license": "MIT",
28
28
  "devDependencies": {
29
- "@abaplint/transpiler": "^2.7.0",
29
+ "@abaplint/transpiler": "^2.7.2",
30
30
  "@types/glob": "^7.2.0",
31
31
  "glob": "=7.2.0",
32
32
  "@types/progress": "^2.0.5",
33
- "@types/node": "^20.1.4",
34
- "@abaplint/core": "^2.100.2",
33
+ "@types/node": "^20.2.0",
34
+ "@abaplint/core": "^2.100.3",
35
35
  "progress": "^2.0.3",
36
- "webpack": "^5.82.1",
36
+ "webpack": "^5.83.1",
37
37
  "webpack-cli": "^5.1.1",
38
38
  "typescript": "^5.0.4"
39
39
  }