@abaplint/core 2.115.6 → 2.115.8

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.
@@ -9,7 +9,7 @@ const types_1 = require("./types");
9
9
  const define_1 = require("./define");
10
10
  class Data {
11
11
  getMatcher() {
12
- return (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.DataBegin), (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sta)(Statements.Data), (0, _combi_1.sub)(Data), (0, _combi_1.sta)(Statements.Include), (0, _combi_1.sta)(Statements.Ranges), (0, _combi_1.sta)(Statements.Constant), (0, _combi_1.sub)(constants_1.Constants), (0, _combi_1.sta)(Statements.Type), (0, _combi_1.sub)(types_1.Types), (0, _combi_1.sub)(enhancement_1.Enhancement), (0, _combi_1.sub)(define_1.Define), (0, _combi_1.sta)(Statements.IncludeType), (0, _combi_1.sta)(Statements.TypePools), (0, _combi_1.sta)(Statements.EnhancementPoint))), (0, _combi_1.sta)(Statements.DataEnd));
12
+ return (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.DataBegin), (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sta)(Statements.Data), (0, _combi_1.sub)(Data), (0, _combi_1.sta)(Statements.Include), (0, _combi_1.sta)(Statements.Ranges), (0, _combi_1.sta)(Statements.Constant), (0, _combi_1.sub)(constants_1.Constants), (0, _combi_1.sta)(Statements.Type), (0, _combi_1.sub)(types_1.Types), (0, _combi_1.sub)(enhancement_1.Enhancement), (0, _combi_1.sub)(define_1.Define), (0, _combi_1.sta)(Statements.IncludeType), (0, _combi_1.sta)(Statements.Parameter), (0, _combi_1.sta)(Statements.SelectionScreen), (0, _combi_1.sta)(Statements.SelectOption), (0, _combi_1.sta)(Statements.TypePools), (0, _combi_1.sta)(Statements.EnhancementPoint))), (0, _combi_1.sta)(Statements.DataEnd));
13
13
  }
14
14
  }
15
15
  exports.Data = Data;
@@ -13,6 +13,9 @@ const Structures = require("../../3_structures/structures");
13
13
  const include_type_1 = require("../statements/include_type");
14
14
  const constant_1 = require("../statements/constant");
15
15
  const constants_1 = require("./constants");
16
+ const ranges_1 = require("../statements/ranges");
17
+ const selectoption_1 = require("../statements/selectoption");
18
+ const parameter_1 = require("../statements/parameter");
16
19
  class Data {
17
20
  static runSyntax(node, input) {
18
21
  var _a;
@@ -109,6 +112,15 @@ class Data {
109
112
  input.scope.addIdentifier(found);
110
113
  }
111
114
  }
115
+ else if (c instanceof nodes_1.StatementNode && ctyp instanceof Statements.Ranges) {
116
+ new ranges_1.Ranges().runSyntax(c, input);
117
+ }
118
+ else if (c instanceof nodes_1.StatementNode && ctyp instanceof Statements.SelectOption) {
119
+ new selectoption_1.SelectOption().runSyntax(c, input);
120
+ }
121
+ else if (c instanceof nodes_1.StatementNode && ctyp instanceof Statements.Parameter) {
122
+ new parameter_1.Parameter().runSyntax(c, input);
123
+ }
112
124
  else if (c instanceof nodes_1.StructureNode && ctyp instanceof Structures.Constants) {
113
125
  const { type: found, values: _ } = new constants_1.Constants().runSyntax(c, input);
114
126
  if (found) {
@@ -74,7 +74,7 @@ class Registry {
74
74
  }
75
75
  static abaplintVersion() {
76
76
  // magic, see build script "version.sh"
77
- return "2.115.6";
77
+ return "2.115.8";
78
78
  }
79
79
  getDDICReferences() {
80
80
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.115.6",
3
+ "version": "2.115.8",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",