@abaplint/core 2.113.59 → 2.113.60
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.
- package/build/src/abap/2_statements/expressions/definition_name.js +1 -1
- package/build/src/abap/2_statements/expressions/namespace_simple_name.js +1 -1
- package/build/src/abap/2_statements/statements/delete_memory.js +1 -1
- package/build/src/abap/2_statements/statements/infotypes.js +1 -1
- package/build/src/abap/2_statements/statements/modify_line.js +4 -3
- package/build/src/abap/2_statements/statements/new_page.js +2 -1
- package/build/src/abap/2_statements/statements/print_control.js +4 -1
- package/build/src/abap/2_statements/statements/selectionscreen.js +4 -2
- package/build/src/registry.js +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ const combi_1 = require("../combi");
|
|
|
5
5
|
const tokens_1 = require("../../1_lexer/tokens");
|
|
6
6
|
class DefinitionName extends combi_1.Expression {
|
|
7
7
|
getRunnable() {
|
|
8
|
-
const r = (0, combi_1.regex)(/^&|&?((\w*\/\w+\/)|(\w*\/\w+\/)?[\w
|
|
8
|
+
const r = (0, combi_1.regex)(/^&|&?((\w*\/\w+\/)|(\w*\/\w+\/)?[\w\*$%\?]+)$/);
|
|
9
9
|
return (0, combi_1.seq)(r, (0, combi_1.starPrio)((0, combi_1.seq)((0, combi_1.tok)(tokens_1.Dash), (0, combi_1.optPrio)(r))), (0, combi_1.optPrio)((0, combi_1.tok)(tokens_1.DashW)));
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -4,7 +4,7 @@ exports.NamespaceSimpleName = void 0;
|
|
|
4
4
|
const combi_1 = require("../combi");
|
|
5
5
|
class NamespaceSimpleName extends combi_1.Expression {
|
|
6
6
|
getRunnable() {
|
|
7
|
-
return (0, combi_1.regex)(/^((\w*\/\w+\/)|(\w*\/\w+\/)?[\w
|
|
7
|
+
return (0, combi_1.regex)(/^((\w*\/\w+\/)|(\w*\/\w+\/)?[\w\*$%#]+)$/);
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.NamespaceSimpleName = NamespaceSimpleName;
|
|
@@ -9,7 +9,7 @@ class DeleteMemory {
|
|
|
9
9
|
const memory = (0, combi_1.seq)("MEMORY ID", expressions_1.Source);
|
|
10
10
|
const id = (0, combi_1.seq)("ID", expressions_1.Source);
|
|
11
11
|
const client = (0, combi_1.seq)("CLIENT", expressions_1.Source);
|
|
12
|
-
const shared = (0, combi_1.seq)("SHARED MEMORY", expressions_1.Field, "(", expressions_1.Field, ")", (0, combi_1.optPrio)(client), id);
|
|
12
|
+
const shared = (0, combi_1.seq)("SHARED", (0, combi_1.altPrio)("MEMORY", "BUFFER"), expressions_1.Field, "(", expressions_1.Field, ")", (0, combi_1.optPrio)(client), id);
|
|
13
13
|
const ret = (0, combi_1.seq)("DELETE FROM", (0, combi_1.alt)(memory, shared));
|
|
14
14
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
15
15
|
}
|
|
@@ -8,7 +8,7 @@ class Infotypes {
|
|
|
8
8
|
getMatcher() {
|
|
9
9
|
const occurs = (0, combi_1.seq)("OCCURS", expressions_1.Constant);
|
|
10
10
|
const name = (0, combi_1.seq)("NAME", expressions_1.Field);
|
|
11
|
-
const ret = (0, combi_1.seq)("INFOTYPES", expressions_1.Constant, (0, combi_1.optPrio)(occurs), (0, combi_1.optPrio)(name));
|
|
11
|
+
const ret = (0, combi_1.seq)("INFOTYPES", expressions_1.Constant, (0, combi_1.optPrio)(occurs), (0, combi_1.optPrio)(name), (0, combi_1.optPrio)("MODE N"));
|
|
12
12
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -6,7 +6,9 @@ const expressions_1 = require("../expressions");
|
|
|
6
6
|
const version_1 = require("../../../version");
|
|
7
7
|
class ModifyLine {
|
|
8
8
|
getMatcher() {
|
|
9
|
-
const
|
|
9
|
+
const onOff = (0, combi_1.alt)("ON", "OFF");
|
|
10
|
+
const eq = (0, combi_1.seq)("=", expressions_1.Source);
|
|
11
|
+
const form = (0, combi_1.seq)((0, combi_1.alt)("INVERSE", "INPUT", "COLOR"), (0, combi_1.alt)(eq, onOff));
|
|
10
12
|
const from = (0, combi_1.seq)("FROM", expressions_1.Source);
|
|
11
13
|
const value = (0, combi_1.seq)("FIELD VALUE", (0, combi_1.plus)((0, combi_1.seq)(expressions_1.Source, (0, combi_1.optPrio)(from))));
|
|
12
14
|
const format = (0, combi_1.seq)("FIELD FORMAT", expressions_1.Source, (0, combi_1.opt)(form));
|
|
@@ -14,8 +16,7 @@ class ModifyLine {
|
|
|
14
16
|
const index = (0, combi_1.seq)("INDEX", expressions_1.Source);
|
|
15
17
|
const page = (0, combi_1.seq)("OF PAGE", expressions_1.Source);
|
|
16
18
|
const ocp = (0, combi_1.str)("OF CURRENT PAGE");
|
|
17
|
-
const lineFormat = (0, combi_1.seq)("LINE FORMAT", (0, combi_1.per)("INPUT OFF", "INVERSE", "RESET", "INTENSIFIED",
|
|
18
|
-
const onOff = (0, combi_1.alt)("ON", "OFF");
|
|
19
|
+
const lineFormat = (0, combi_1.seq)("LINE FORMAT", (0, combi_1.per)("INPUT OFF", "INVERSE", "RESET", "INTENSIFIED", expressions_1.Color));
|
|
19
20
|
const intensified = (0, combi_1.seq)("INTENSIFIED", onOff);
|
|
20
21
|
const options = (0, combi_1.per)(index, value, format, page, lineFormat, lineValue, ocp, intensified, expressions_1.Color);
|
|
21
22
|
const ret = (0, combi_1.seq)("MODIFY", (0, combi_1.altPrio)("CURRENT LINE", (0, combi_1.seq)("LINE", expressions_1.Source)), (0, combi_1.opt)(options));
|
|
@@ -15,6 +15,7 @@ class NewPage {
|
|
|
15
15
|
const coverText = (0, combi_1.seq)("COVER TEXT", expressions_1.Source);
|
|
16
16
|
const coverPage = (0, combi_1.seq)("SAP COVER PAGE", expressions_1.Source);
|
|
17
17
|
const immediately = (0, combi_1.seq)("IMMEDIATELY", expressions_1.Source);
|
|
18
|
+
const copies = (0, combi_1.seq)("COPIES", expressions_1.Source);
|
|
18
19
|
const keep = (0, combi_1.seq)("KEEP IN SPOOL", expressions_1.Source);
|
|
19
20
|
const layout = (0, combi_1.seq)("LAYOUT", expressions_1.Source);
|
|
20
21
|
const listAuth = (0, combi_1.seq)("LIST AUTHORITY", expressions_1.Source);
|
|
@@ -23,7 +24,7 @@ class NewPage {
|
|
|
23
24
|
const dataset = (0, combi_1.seq)("LIST DATASET", expressions_1.Source);
|
|
24
25
|
const name = (0, combi_1.seq)("LIST NAME", expressions_1.Source);
|
|
25
26
|
const newList = (0, combi_1.seq)("NEW LIST IDENTIFICATION", expressions_1.Source);
|
|
26
|
-
const ret = (0, combi_1.seq)("NEW-PAGE", (0, combi_1.opt)((0, combi_1.per)(print, (0, combi_1.alt)("NO-TITLE", "WITH-TITLE"), (0, combi_1.alt)("NO-HEADING", "WITH-HEADING"), "NO DIALOG", parameters, listAuth, immediately, dataset, coverPage, newList, keep, department, name, layout, destination, receiver, coverText, archive, "NEW-SECTION", lineCount, line)));
|
|
27
|
+
const ret = (0, combi_1.seq)("NEW-PAGE", (0, combi_1.opt)((0, combi_1.per)(print, (0, combi_1.alt)("NO-TITLE", "WITH-TITLE"), (0, combi_1.alt)("NO-HEADING", "WITH-HEADING"), "NO DIALOG", parameters, listAuth, immediately, dataset, coverPage, newList, keep, department, name, layout, destination, receiver, copies, coverText, archive, "NEW-SECTION", lineCount, line)));
|
|
27
28
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
28
29
|
}
|
|
29
30
|
}
|
|
@@ -11,7 +11,10 @@ class PrintControl {
|
|
|
11
11
|
const line = (0, combi_1.seq)("LINE", expressions_1.Source);
|
|
12
12
|
const position = (0, combi_1.seq)("POSITION", expressions_1.Source);
|
|
13
13
|
const size = (0, combi_1.seq)("SIZE", expressions_1.Source);
|
|
14
|
-
const
|
|
14
|
+
const cpi = (0, combi_1.seq)("CPI", expressions_1.Source);
|
|
15
|
+
const lpi = (0, combi_1.seq)("LPI", expressions_1.Source);
|
|
16
|
+
const font = (0, combi_1.seq)("FONT", expressions_1.Source);
|
|
17
|
+
const ret = (0, combi_1.seq)("PRINT-CONTROL", (0, combi_1.per)(index, func, line, position, size, cpi, lpi, font));
|
|
15
18
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
16
19
|
}
|
|
17
20
|
}
|
|
@@ -17,7 +17,9 @@ class SelectionScreen {
|
|
|
17
17
|
const endLine = (0, combi_1.str)("END OF LINE");
|
|
18
18
|
const modif = (0, combi_1.seq)("MODIF ID", expressions_1.Modif);
|
|
19
19
|
const visible = (0, combi_1.seq)("VISIBLE LENGTH", (0, combi_1.regex)(/^\d+$/));
|
|
20
|
-
const
|
|
20
|
+
const ldbId = (0, combi_1.seq)("ID", (0, combi_1.regex)(/^\w+$/));
|
|
21
|
+
const ldb = (0, combi_1.seq)("FOR FIELD", expressions_1.FieldSub, (0, combi_1.optPrio)(ldbId));
|
|
22
|
+
const commentOpt = (0, combi_1.per)(ldb, modif, visible);
|
|
21
23
|
const position = (0, combi_1.seq)((0, combi_1.opt)((0, combi_1.regex)(/^\/?[\d\w]+$/)), (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.ParenLeft), (0, combi_1.tok)(tokens_1.WParenLeft)), expressions_1.Integer, (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.ParenRightW), (0, combi_1.tok)(tokens_1.ParenRight)));
|
|
22
24
|
const comment = (0, combi_1.seq)("COMMENT", position, (0, combi_1.opt)((0, combi_1.alt)(expressions_1.InlineField, expressions_1.TextElement)), (0, combi_1.opt)(commentOpt));
|
|
23
25
|
const command = (0, combi_1.seq)("USER-COMMAND", (0, combi_1.alt)(expressions_1.Field, expressions_1.Constant));
|
|
@@ -30,7 +32,7 @@ class SelectionScreen {
|
|
|
30
32
|
const posSymbols = (0, combi_1.altPrio)("POS_LOW", "POS_HIGH");
|
|
31
33
|
// number between 1 and 83
|
|
32
34
|
const posIntegers = (0, combi_1.regex)(/^(0?[1-9]|[1234567][0-9]|8[0-3])$/);
|
|
33
|
-
const pos = (0, combi_1.seq)("POSITION", (0, combi_1.altPrio)(posIntegers, posSymbols));
|
|
35
|
+
const pos = (0, combi_1.seq)("POSITION", (0, combi_1.altPrio)(posIntegers, posSymbols), (0, combi_1.opt)((0, combi_1.seq)("FOR TABLE", expressions_1.Field)));
|
|
34
36
|
const incl = (0, combi_1.seq)("INCLUDE BLOCKS", expressions_1.BlockName);
|
|
35
37
|
const tabbed = (0, combi_1.seq)("BEGIN OF TABBED BLOCK", expressions_1.BlockName, "FOR", expressions_1.Integer, "LINES", (0, combi_1.optPrio)("NO INTERVALS"));
|
|
36
38
|
const uline = (0, combi_1.seq)("ULINE", (0, combi_1.opt)(position));
|
package/build/src/registry.js
CHANGED