@abaplint/core 2.113.67 → 2.113.68

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.
@@ -10,7 +10,7 @@ class MethodDef {
10
10
  const parameters = (0, combi_1.seq)((0, combi_1.optPrio)((0, combi_1.altPrio)("FINAL", def, expressions_1.Abstract)), (0, combi_1.optPrio)(expressions_1.MethodDefImporting), (0, combi_1.optPrio)(expressions_1.MethodDefExporting), (0, combi_1.optPrio)(expressions_1.MethodDefChanging), (0, combi_1.optPrio)(expressions_1.MethodDefReturning), (0, combi_1.optPrio)((0, combi_1.altPrio)(expressions_1.MethodDefRaising, expressions_1.MethodDefExceptions)));
11
11
  const testing = (0, combi_1.seq)((0, combi_1.optPrio)(expressions_1.Abstract), "FOR TESTING", (0, combi_1.optPrio)((0, combi_1.altPrio)(expressions_1.MethodDefRaising, expressions_1.MethodDefExceptions)));
12
12
  // todo, this is only from version something
13
- const tableFunction = (0, combi_1.seq)("TABLE FUNCTION", (0, combi_1.regex)(/^\w+?$/));
13
+ const tableFunction = (0, combi_1.seq)("TABLE FUNCTION", expressions_1.NamespaceSimpleName);
14
14
  // todo, this is only from version something
15
15
  const ddl = "DDL OBJECT OPTIONS CDS SESSION CLIENT REQUIRED";
16
16
  const result = (0, combi_1.seq)("RESULT", expressions_1.MethodParamName);
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.67";
70
+ return "2.113.68";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
@@ -13,6 +13,7 @@ const ddic_1 = require("../ddic");
13
13
  const position_1 = require("../position");
14
14
  const virtual_position_1 = require("../virtual_position");
15
15
  const edit_helper_1 = require("../edit_helper");
16
+ const _statement_1 = require("../abap/2_statements/statements/_statement");
16
17
  class IndentationConf extends _basic_rule_config_1.BasicRuleConfig {
17
18
  constructor() {
18
19
  super(...arguments);
@@ -124,6 +125,9 @@ ENDCLASS.`,
124
125
  continue;
125
126
  }
126
127
  }
128
+ if (statement.get() instanceof _statement_1.NativeSQL) {
129
+ continue;
130
+ }
127
131
  // only apply for the first statement in a chain
128
132
  if (statement.getColon() !== undefined
129
133
  && (previous === null || previous === void 0 ? void 0 : previous.getColon()) !== undefined
@@ -46,6 +46,7 @@ class Skip {
46
46
  skipStatement(statement) {
47
47
  const get = statement.get();
48
48
  if (get instanceof _statement_1.Unknown
49
+ || get instanceof _statement_1.NativeSQL
49
50
  || get instanceof _statement_1.MacroContent
50
51
  || get instanceof _statement_1.MacroCall
51
52
  || statement.getFirstToken().getStart() instanceof virtual_position_1.VirtualPosition
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.67",
3
+ "version": "2.113.68",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -50,17 +50,17 @@
50
50
  },
51
51
  "homepage": "https://abaplint.org",
52
52
  "devDependencies": {
53
- "@microsoft/api-extractor": "^7.47.12",
53
+ "@microsoft/api-extractor": "^7.48.0",
54
54
  "@types/chai": "^4.3.20",
55
55
  "@types/mocha": "^10.0.10",
56
- "@types/node": "^22.9.1",
56
+ "@types/node": "^22.10.1",
57
57
  "chai": "^4.5.0",
58
- "eslint": "^9.14.0",
58
+ "eslint": "^9.15.0",
59
59
  "mocha": "^10.8.2",
60
60
  "c8": "^10.1.2",
61
61
  "source-map-support": "^0.5.21",
62
62
  "ts-json-schema-generator": "^2.3.0",
63
- "typescript": "^5.6.3"
63
+ "typescript": "^5.7.2"
64
64
  },
65
65
  "dependencies": {
66
66
  "fast-xml-parser": "^4.5.0",