@abaplint/core 2.115.7 → 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;
|
|
@@ -14,6 +14,8 @@ const include_type_1 = require("../statements/include_type");
|
|
|
14
14
|
const constant_1 = require("../statements/constant");
|
|
15
15
|
const constants_1 = require("./constants");
|
|
16
16
|
const ranges_1 = require("../statements/ranges");
|
|
17
|
+
const selectoption_1 = require("../statements/selectoption");
|
|
18
|
+
const parameter_1 = require("../statements/parameter");
|
|
17
19
|
class Data {
|
|
18
20
|
static runSyntax(node, input) {
|
|
19
21
|
var _a;
|
|
@@ -113,6 +115,12 @@ class Data {
|
|
|
113
115
|
else if (c instanceof nodes_1.StatementNode && ctyp instanceof Statements.Ranges) {
|
|
114
116
|
new ranges_1.Ranges().runSyntax(c, input);
|
|
115
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
|
+
}
|
|
116
124
|
else if (c instanceof nodes_1.StructureNode && ctyp instanceof Structures.Constants) {
|
|
117
125
|
const { type: found, values: _ } = new constants_1.Constants().runSyntax(c, input);
|
|
118
126
|
if (found) {
|
package/build/src/registry.js
CHANGED