@abaplint/core 2.113.101 → 2.113.102

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.
@@ -2615,9 +2615,8 @@ export declare class FlowGraph {
2615
2615
  to: string;
2616
2616
  type: FLOW_EDGE_TYPE;
2617
2617
  }[];
2618
- listInto(to: string, skipStart?: boolean): string[];
2619
2618
  listNodes(): string[];
2620
- hasEdges(): boolean;
2619
+ private hasEdges;
2621
2620
  /** return value: end node of to graph */
2622
2621
  addGraph(from: string, to: FlowGraph, type: FLOW_EDGE_TYPE): string;
2623
2622
  toJSON(): string;
@@ -22,7 +22,7 @@ class SelectLoop extends combi_1.Expression {
22
22
  const into = (0, combi_1.altPrio)(sql_into_structure_1.SQLIntoStructure, _1.SQLIntoList);
23
23
  const perm = (0, combi_1.per)(_1.SQLFrom, where, sql_up_to_1.SQLUpTo, sql_order_by_1.SQLOrderBy, sql_having_1.SQLHaving, _1.SQLClient, bypass, _1.SQLGroupBy, _1.SQLForAllEntries, (0, combi_1.alt)(tab, into, packTab));
24
24
  const strict = (0, combi_1.seq)(_1.SQLFrom, (0, combi_1.ver)(version_1.Version.v750, sql_fields_loop_1.SQLFieldsLoop), (0, combi_1.optPrio)(_1.SQLForAllEntries), (0, combi_1.optPrio)((0, combi_1.seq)(where, (0, combi_1.optPrio)(sql_order_by_1.SQLOrderBy), into, (0, combi_1.optPrio)(sql_up_to_1.SQLUpTo))));
25
- const aggr = (0, combi_1.seq)(_1.SQLAggregation, into, _1.SQLFrom, where, _1.SQLGroupBy);
25
+ const aggr = (0, combi_1.seq)(_1.SQLAggregation, into, (0, combi_1.optPrio)(sql_up_to_1.SQLUpTo), _1.SQLFrom, where, _1.SQLGroupBy);
26
26
  const ret = (0, combi_1.seq)("SELECT", (0, combi_1.altPrio)((0, combi_1.seq)((0, combi_1.optPrio)("DISTINCT"), sql_field_list_loop_1.SQLFieldListLoop, perm), strict, aggr), (0, combi_1.optPrio)(sql_hints_1.SQLHints));
27
27
  return ret;
28
28
  }
@@ -8,7 +8,7 @@ class At {
8
8
  const field = (0, combi_1.alt)((0, combi_1.seq)(expressions_1.FieldSub, (0, combi_1.opt)(expressions_1.FieldOffset), (0, combi_1.opt)(expressions_1.FieldLength)), expressions_1.Dynamic, expressions_1.SourceFieldSymbol);
9
9
  const atNew = (0, combi_1.seq)("NEW", field);
10
10
  const atEnd = (0, combi_1.seq)("END OF", field);
11
- const group = (0, combi_1.regex)(/^\w+$/);
11
+ const group = (0, combi_1.regex)(/^[%\w]+$/);
12
12
  const ret = (0, combi_1.seq)("AT", (0, combi_1.altPrio)(atNew, atEnd, group));
13
13
  return ret;
14
14
  }
@@ -47,18 +47,6 @@ class FlowGraph {
47
47
  }
48
48
  return list;
49
49
  }
50
- listInto(to, skipStart = true) {
51
- const ret = [];
52
- for (const e of this.listEdges()) {
53
- if (skipStart === true && e.from === this.getStart()) {
54
- continue;
55
- }
56
- if (e.to === to) {
57
- ret.push(e.from);
58
- }
59
- }
60
- return ret;
61
- }
62
50
  listNodes() {
63
51
  const set = new Set();
64
52
  for (const l of this.listEdges()) {
@@ -67,7 +67,7 @@ class Registry {
67
67
  }
68
68
  static abaplintVersion() {
69
69
  // magic, see build script "version.sh"
70
- return "2.113.101";
70
+ return "2.113.102";
71
71
  }
72
72
  getDDICReferences() {
73
73
  return this.ddicReferences;
@@ -49,6 +49,9 @@ DATA lt_bar TYPE STANDARD TABLE OF ty.`,
49
49
  const message = "Specify table type";
50
50
  issues.push(issue_1.Issue.atPosition(file, tt.getFirstToken().getStart(), message, this.getMetadata().key, this.conf.severity));
51
51
  }
52
+ else if (concat.includes(" TABLE FOR ")) {
53
+ continue;
54
+ }
52
55
  else if (concat.includes(" WITH ") === false && concat.includes(" RANGE OF ") === false) {
53
56
  const message = "Specify table key";
54
57
  issues.push(issue_1.Issue.atPosition(file, tt.getFirstToken().getStart(), message, this.getMetadata().key, this.conf.severity));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.113.101",
3
+ "version": "2.113.102",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -50,12 +50,12 @@
50
50
  },
51
51
  "homepage": "https://abaplint.org",
52
52
  "devDependencies": {
53
- "@microsoft/api-extractor": "^7.49.2",
53
+ "@microsoft/api-extractor": "^7.50.0",
54
54
  "@types/chai": "^4.3.20",
55
55
  "@types/mocha": "^10.0.10",
56
- "@types/node": "^22.12.0",
56
+ "@types/node": "^22.13.4",
57
57
  "chai": "^4.5.0",
58
- "eslint": "^9.19.0",
58
+ "eslint": "^9.20.1",
59
59
  "mocha": "^11.1.0",
60
60
  "c8": "^10.1.3",
61
61
  "source-map-support": "^0.5.21",