@abaplint/core 2.113.114 → 2.113.116
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/abaplint.d.ts +50 -0
- package/build/src/abap/2_statements/expressions/block_name.js +1 -1
- package/build/src/abap/2_statements/expressions/sql_hints.js +1 -1
- package/build/src/abap/2_statements/expressions/string_template_formatting.js +2 -1
- package/build/src/abap/2_statements/expressions/table_body.js +1 -1
- package/build/src/abap/2_statements/statements/describe.js +1 -1
- package/build/src/abap/2_statements/statements/dynpro_loop.js +16 -0
- package/build/src/abap/2_statements/statements/field.js +1 -1
- package/build/src/abap/2_statements/statements/import.js +2 -1
- package/build/src/abap/2_statements/statements/index.js +2 -0
- package/build/src/abap/2_statements/statements/open_dataset.js +1 -1
- package/build/src/abap/2_statements/statements/parameter.js +1 -1
- package/build/src/abap/2_statements/statements/process_on_help_request.js +12 -0
- package/build/src/abap/2_statements/statements/ranges.js +1 -1
- package/build/src/abap/2_statements/statements/set_property.js +1 -1
- package/build/src/abap/2_statements/statements/static.js +1 -1
- package/build/src/abap/2_statements/statements/submit.js +3 -1
- package/build/src/abap/3_structures/structures/dynpro_logic.js +1 -1
- package/build/src/abap/3_structures/structures/dynpro_loop.js +12 -0
- package/build/src/abap/3_structures/structures/index.js +2 -0
- package/build/src/abap/3_structures/structures/process_before_output.js +2 -1
- package/build/src/abap/3_structures/structures/process_on_help_request.js +13 -0
- package/build/src/objects/badi_definition.js +21 -0
- package/build/src/objects/entity_type.js +21 -0
- package/build/src/objects/index.js +3 -0
- package/build/src/objects/web_reporting_template.js +21 -0
- package/build/src/registry.js +1 -1
- package/build/src/utils/include_graph.js +1 -1
- package/package.json +5 -5
package/build/abaplint.d.ts
CHANGED
|
@@ -466,6 +466,15 @@ declare class Back implements IStatement {
|
|
|
466
466
|
getMatcher(): IStatementRunnable;
|
|
467
467
|
}
|
|
468
468
|
|
|
469
|
+
declare class BADIDefinition extends AbstractObject {
|
|
470
|
+
getType(): string;
|
|
471
|
+
getAllowedNaming(): {
|
|
472
|
+
maxLength: number;
|
|
473
|
+
allowNamespace: boolean;
|
|
474
|
+
};
|
|
475
|
+
getDescription(): string | undefined;
|
|
476
|
+
}
|
|
477
|
+
|
|
469
478
|
declare namespace BasicTypes {
|
|
470
479
|
export {
|
|
471
480
|
AnyType,
|
|
@@ -1907,6 +1916,14 @@ declare class DynproLogic implements IStructure {
|
|
|
1907
1916
|
getMatcher(): IStructureRunnable;
|
|
1908
1917
|
}
|
|
1909
1918
|
|
|
1919
|
+
declare class DynproLoop implements IStructure {
|
|
1920
|
+
getMatcher(): IStructureRunnable;
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
declare class DynproLoop_2 implements IStatement {
|
|
1924
|
+
getMatcher(): IStatementRunnable;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1910
1927
|
declare class EcattTestConfiguration extends AbstractObject {
|
|
1911
1928
|
getType(): string;
|
|
1912
1929
|
getAllowedNaming(): {
|
|
@@ -2132,6 +2149,15 @@ declare class EntityAssociation extends Expression {
|
|
|
2132
2149
|
getRunnable(): IStatementRunnable;
|
|
2133
2150
|
}
|
|
2134
2151
|
|
|
2152
|
+
declare class EntityType extends AbstractObject {
|
|
2153
|
+
getType(): string;
|
|
2154
|
+
getAllowedNaming(): {
|
|
2155
|
+
maxLength: number;
|
|
2156
|
+
allowNamespace: boolean;
|
|
2157
|
+
};
|
|
2158
|
+
getDescription(): string | undefined;
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2135
2161
|
declare class EventBinding extends AbstractObject {
|
|
2136
2162
|
getType(): string;
|
|
2137
2163
|
getAllowedNaming(): {
|
|
@@ -4874,6 +4900,8 @@ declare namespace Objects {
|
|
|
4874
4900
|
BusinessObjectType,
|
|
4875
4901
|
ParsedMetadataExtension,
|
|
4876
4902
|
CDSMetadataExtension,
|
|
4903
|
+
BADIDefinition,
|
|
4904
|
+
EntityType,
|
|
4877
4905
|
CDSType,
|
|
4878
4906
|
ChangeDocument,
|
|
4879
4907
|
ChapterOfBookStructure,
|
|
@@ -4915,6 +4943,7 @@ declare namespace Objects {
|
|
|
4915
4943
|
GatewayModel,
|
|
4916
4944
|
GatewayProject,
|
|
4917
4945
|
GatewayServiceGroupsMetadata,
|
|
4946
|
+
WebReportingTemplate,
|
|
4918
4947
|
GatewayService,
|
|
4919
4948
|
GatewayVocabularyAnnotation,
|
|
4920
4949
|
GeneralHierarchyStorageExtrensionName,
|
|
@@ -5260,6 +5289,14 @@ declare class ProcessBeforeOutput_2 implements IStatement {
|
|
|
5260
5289
|
getMatcher(): IStatementRunnable;
|
|
5261
5290
|
}
|
|
5262
5291
|
|
|
5292
|
+
declare class ProcessOnHelpRequest implements IStructure {
|
|
5293
|
+
getMatcher(): IStructureRunnable;
|
|
5294
|
+
}
|
|
5295
|
+
|
|
5296
|
+
declare class ProcessOnHelpRequest_2 implements IStatement {
|
|
5297
|
+
getMatcher(): IStatementRunnable;
|
|
5298
|
+
}
|
|
5299
|
+
|
|
5263
5300
|
declare class ProcessOnValueRequest implements IStructure {
|
|
5264
5301
|
getMatcher(): IStructureRunnable;
|
|
5265
5302
|
}
|
|
@@ -6422,6 +6459,7 @@ declare namespace Statements {
|
|
|
6422
6459
|
RefreshControl,
|
|
6423
6460
|
DeleteDynpro,
|
|
6424
6461
|
GenerateDynpro,
|
|
6462
|
+
ProcessOnHelpRequest_2 as ProcessOnHelpRequest,
|
|
6425
6463
|
Detail,
|
|
6426
6464
|
EditorCall,
|
|
6427
6465
|
Break,
|
|
@@ -6460,6 +6498,7 @@ declare namespace Statements {
|
|
|
6460
6498
|
CreateData,
|
|
6461
6499
|
SetCountry,
|
|
6462
6500
|
FunctionModule_2 as FunctionModule,
|
|
6501
|
+
DynproLoop_2 as DynproLoop,
|
|
6463
6502
|
TypePools,
|
|
6464
6503
|
TypePool_2 as TypePool,
|
|
6465
6504
|
Wait,
|
|
@@ -6658,6 +6697,8 @@ declare namespace Structures {
|
|
|
6658
6697
|
PublicSection,
|
|
6659
6698
|
SectionContents,
|
|
6660
6699
|
Select,
|
|
6700
|
+
ProcessOnHelpRequest,
|
|
6701
|
+
DynproLoop,
|
|
6661
6702
|
Statics,
|
|
6662
6703
|
TestInjection,
|
|
6663
6704
|
TestSeam,
|
|
@@ -7436,6 +7477,15 @@ declare class WebMIME extends AbstractObject {
|
|
|
7436
7477
|
};
|
|
7437
7478
|
}
|
|
7438
7479
|
|
|
7480
|
+
declare class WebReportingTemplate extends AbstractObject {
|
|
7481
|
+
getType(): string;
|
|
7482
|
+
getAllowedNaming(): {
|
|
7483
|
+
maxLength: number;
|
|
7484
|
+
allowNamespace: boolean;
|
|
7485
|
+
};
|
|
7486
|
+
getDescription(): string | undefined;
|
|
7487
|
+
}
|
|
7488
|
+
|
|
7439
7489
|
declare class When implements IStructure {
|
|
7440
7490
|
getMatcher(): IStructureRunnable;
|
|
7441
7491
|
}
|
|
@@ -5,7 +5,7 @@ const combi_1 = require("../combi");
|
|
|
5
5
|
const tokens_1 = require("../../1_lexer/tokens");
|
|
6
6
|
class BlockName extends combi_1.Expression {
|
|
7
7
|
getRunnable() {
|
|
8
|
-
const ret = (0, combi_1.seq)((0, combi_1.regex)(/^[\w%\$\*]+$/), (0, combi_1.starPrio)((0, combi_1.seq)((0, combi_1.tok)(tokens_1.Dash), (0, combi_1.regex)(/^[\w%\$\*]+$/))));
|
|
8
|
+
const ret = (0, combi_1.seq)((0, combi_1.optPrio)((0, combi_1.tok)(tokens_1.WDash)), (0, combi_1.regex)(/^[\w%\$\*]+$/), (0, combi_1.starPrio)((0, combi_1.seq)((0, combi_1.tok)(tokens_1.Dash), (0, combi_1.regex)(/^[\w%\$\*]+$/))));
|
|
9
9
|
return ret;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -5,7 +5,7 @@ const combi_1 = require("../combi");
|
|
|
5
5
|
const _1 = require(".");
|
|
6
6
|
class SQLHints extends combi_1.Expression {
|
|
7
7
|
getRunnable() {
|
|
8
|
-
const type = (0, combi_1.altPrio)("ORACLE", "ADABAS", "AS400", "DB2", "HDB", "MSSQLNT", "SYBASE", "DB6");
|
|
8
|
+
const type = (0, combi_1.altPrio)("ORACLE", "ADABAS", "AS400", "DB2", "HDB", "MSSQLNT", "SYBASE", "DB6", "INFORMIX");
|
|
9
9
|
const ret = (0, combi_1.seq)("%_HINTS", (0, combi_1.plus)((0, combi_1.seq)(type, (0, combi_1.alt)(_1.Constant, _1.FieldSub))));
|
|
10
10
|
return ret;
|
|
11
11
|
}
|
|
@@ -27,7 +27,8 @@ class StringTemplateFormatting extends combi_1.Expression {
|
|
|
27
27
|
const decimals = (0, combi_1.seq)("DECIMALS =", _1.Source);
|
|
28
28
|
const alpha = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("ALPHA =", alphaOptions));
|
|
29
29
|
const xsd = (0, combi_1.ver)(version_1.Version.v740sp02, (0, combi_1.seq)("XSD =", zeroXSDOptions));
|
|
30
|
-
const
|
|
30
|
+
const country = (0, combi_1.seq)("COUNTRY =", _1.Source);
|
|
31
|
+
const formatting = (0, combi_1.altPrio)((0, combi_1.seq)("TIME =", dateTimeOptions), (0, combi_1.seq)("DATE =", dateTimeOptions), (0, combi_1.seq)("CASE =", caseOptions), (0, combi_1.seq)("EXPONENT", _1.Source), (0, combi_1.seq)("ZERO =", zeroXSDOptions), xsd, (0, combi_1.seq)("STYLE =", styleOptions), (0, combi_1.seq)("CURRENCY =", _1.Source), (0, combi_1.per)(sign, number, decimals, width, pad, alpha, align, country), (0, combi_1.per)(timezone, timestamp));
|
|
31
32
|
return formatting;
|
|
32
33
|
}
|
|
33
34
|
}
|
|
@@ -5,7 +5,7 @@ const combi_1 = require("../combi");
|
|
|
5
5
|
const tokens_1 = require("../../1_lexer/tokens");
|
|
6
6
|
class TableBody extends combi_1.Expression {
|
|
7
7
|
getRunnable() {
|
|
8
|
-
const ret = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.BracketLeft), (0, combi_1.tok)(tokens_1.BracketRightW));
|
|
8
|
+
const ret = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.BracketLeft), (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.BracketRightW), (0, combi_1.tok)(tokens_1.BracketRight)));
|
|
9
9
|
return ret;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -22,7 +22,7 @@ class Describe {
|
|
|
22
22
|
const lineSize = (0, combi_1.seq)("LINE-SIZE", expressions_1.Target);
|
|
23
23
|
const lineCount = (0, combi_1.seq)("LINE-COUNT", expressions_1.Target);
|
|
24
24
|
const first = (0, combi_1.seq)("FIRST-LINE", expressions_1.Target);
|
|
25
|
-
const list = (0, combi_1.seq)("LIST", (0, combi_1.per)(lines, pages, index, line, page, top, first, lineSize, lineCount));
|
|
25
|
+
const list = (0, combi_1.seq)("LIST", (0, combi_1.per)(lines, pages, index, line, page, top, first, tlines, lineSize, lineCount));
|
|
26
26
|
const ret = (0, combi_1.seq)("DESCRIBE", (0, combi_1.altPrio)(table, field, distance, list));
|
|
27
27
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
28
28
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynproLoop = void 0;
|
|
4
|
+
const combi_1 = require("../combi");
|
|
5
|
+
const simple_source2_1 = require("../expressions/simple_source2");
|
|
6
|
+
class DynproLoop {
|
|
7
|
+
getMatcher() {
|
|
8
|
+
const into = (0, combi_1.seq)("INTO", simple_source2_1.SimpleSource2);
|
|
9
|
+
const cursor = (0, combi_1.seq)("CURSOR", simple_source2_1.SimpleSource2);
|
|
10
|
+
const withControl = (0, combi_1.seq)("WITH CONTROL", simple_source2_1.SimpleSource2);
|
|
11
|
+
const fromTo = (0, combi_1.seq)("FROM", simple_source2_1.SimpleSource2, "TO", simple_source2_1.SimpleSource2);
|
|
12
|
+
return (0, combi_1.seq)("LOOP AT", simple_source2_1.SimpleSource2, (0, combi_1.per)(into, withControl, cursor, fromTo));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.DynproLoop = DynproLoop;
|
|
16
|
+
//# sourceMappingURL=dynpro_loop.js.map
|
|
@@ -7,7 +7,7 @@ const version_1 = require("../../../version");
|
|
|
7
7
|
const tokens_1 = require("../../1_lexer/tokens");
|
|
8
8
|
class Field {
|
|
9
9
|
getMatcher() {
|
|
10
|
-
const module = (0, combi_1.seq)("MODULE", expressions_1.FormName, (0, combi_1.opt)((0, combi_1.alt)("ON INPUT", "ON REQUEST")));
|
|
10
|
+
const module = (0, combi_1.seq)("MODULE", expressions_1.FormName, (0, combi_1.opt)((0, combi_1.alt)("ON INPUT", "ON REQUEST", "ON CHAIN-REQUEST")));
|
|
11
11
|
const values = (0, combi_1.seq)("VALUES", (0, combi_1.tok)(tokens_1.WParenLeft), "BETWEEN", expressions_1.Constant, "AND", expressions_1.Constant, (0, combi_1.tok)(tokens_1.ParenRightW));
|
|
12
12
|
const ret = (0, combi_1.seq)("FIELD", expressions_1.FieldChain, (0, combi_1.opt)((0, combi_1.alt)(module, values)));
|
|
13
13
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
@@ -16,7 +16,8 @@ class Import {
|
|
|
16
16
|
const table = (0, combi_1.seq)("INTERNAL TABLE", expressions_1.Source);
|
|
17
17
|
const shared = (0, combi_1.seq)((0, combi_1.alt)("SHARED MEMORY", "SHARED BUFFER"), cluster, (0, combi_1.per)(dto, client, id));
|
|
18
18
|
const database = (0, combi_1.seq)("DATABASE", cluster, (0, combi_1.per)(dto, client, id, using));
|
|
19
|
-
const
|
|
19
|
+
const logfile = (0, combi_1.seq)("LOGFILE ID", expressions_1.Source);
|
|
20
|
+
const source = (0, combi_1.alt)(buffer, memory, database, table, shared, logfile);
|
|
20
21
|
const to = (0, combi_1.plus)((0, combi_1.seq)(expressions_1.ComponentChainSimple, (0, combi_1.alt)("TO", "INTO"), expressions_1.Target));
|
|
21
22
|
const toeq = (0, combi_1.plus)((0, combi_1.seq)((0, combi_1.alt)(expressions_1.ComponentChainSimple, expressions_1.FieldSymbol), "=", expressions_1.Target));
|
|
22
23
|
const target = (0, combi_1.alt)(toeq, to, expressions_1.Dynamic, (0, combi_1.plus)(expressions_1.Target));
|
|
@@ -239,6 +239,7 @@ __exportStar(require("./raise_entity_event"), exports);
|
|
|
239
239
|
__exportStar(require("./refresh_control"), exports);
|
|
240
240
|
__exportStar(require("./delete_dynpro"), exports);
|
|
241
241
|
__exportStar(require("./generate_dynpro"), exports);
|
|
242
|
+
__exportStar(require("./process_on_help_request"), exports);
|
|
242
243
|
__exportStar(require("./detail"), exports);
|
|
243
244
|
__exportStar(require("./editor_call"), exports);
|
|
244
245
|
__exportStar(require("./break"), exports);
|
|
@@ -277,6 +278,7 @@ __exportStar(require("./get_parameter"), exports);
|
|
|
277
278
|
__exportStar(require("./create_data"), exports);
|
|
278
279
|
__exportStar(require("./set_country"), exports);
|
|
279
280
|
__exportStar(require("./function_module"), exports);
|
|
281
|
+
__exportStar(require("./dynpro_loop"), exports);
|
|
280
282
|
__exportStar(require("./type_pools"), exports);
|
|
281
283
|
__exportStar(require("./type_pool"), exports);
|
|
282
284
|
__exportStar(require("./wait"), exports);
|
|
@@ -21,7 +21,7 @@ class OpenDataset {
|
|
|
21
21
|
const linetype = (0, combi_1.altPrio)("SMART", "NATIVE", "UNIX");
|
|
22
22
|
const feed = (0, combi_1.seq)("WITH", linetype, "LINEFEED");
|
|
23
23
|
const windows = (0, combi_1.str)("WITH WINDOWS LINEFEED");
|
|
24
|
-
const ret = (0, combi_1.seq)("OPEN DATASET", expressions_1.Source, (0, combi_1.per)(direction, type, mode, wbom, replacement, filter, encoding, pos, message, ignoring, bom, code, feed, windows));
|
|
24
|
+
const ret = (0, combi_1.seq)("OPEN DATASET", expressions_1.Source, (0, combi_1.opt)((0, combi_1.per)(direction, type, mode, wbom, replacement, filter, encoding, pos, message, ignoring, bom, code, feed, windows)));
|
|
25
25
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -9,7 +9,7 @@ class Parameter {
|
|
|
9
9
|
const para = (0, combi_1.altPrio)("PARAMETER", "PARAMETERS");
|
|
10
10
|
const def = (0, combi_1.seq)("DEFAULT", (0, combi_1.altPrio)(expressions_1.Constant, expressions_1.FieldChain));
|
|
11
11
|
const radio = (0, combi_1.seq)("RADIOBUTTON GROUP", expressions_1.RadioGroupName);
|
|
12
|
-
const type = (0, combi_1.seq)((0, combi_1.altPrio)("TYPE", "LIKE"), (0, combi_1.altPrio)(expressions_1.TypeName, expressions_1.Dynamic));
|
|
12
|
+
const type = (0, combi_1.seq)((0, combi_1.altPrio)("TYPE", "LIKE"), (0, combi_1.altPrio)(expressions_1.TypeName, expressions_1.Dynamic), (0, combi_1.optPrio)(expressions_1.FieldOffset), (0, combi_1.optPrio)(expressions_1.FieldLength));
|
|
13
13
|
const memory = (0, combi_1.seq)("MEMORY ID", expressions_1.SimpleSource1);
|
|
14
14
|
const listbox = (0, combi_1.str)("AS LISTBOX");
|
|
15
15
|
const cmd = (0, combi_1.seq)("USER-COMMAND", (0, combi_1.regex)(/^[\w\?\/]+$/));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProcessOnHelpRequest = void 0;
|
|
4
|
+
const combi_1 = require("../combi");
|
|
5
|
+
const version_1 = require("../../../version");
|
|
6
|
+
class ProcessOnHelpRequest {
|
|
7
|
+
getMatcher() {
|
|
8
|
+
return (0, combi_1.verNot)(version_1.Version.Cloud, "PROCESS ON HELP-REQUEST");
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.ProcessOnHelpRequest = ProcessOnHelpRequest;
|
|
12
|
+
//# sourceMappingURL=process_on_help_request.js.map
|
|
@@ -7,7 +7,7 @@ const version_1 = require("../../../version");
|
|
|
7
7
|
class Ranges {
|
|
8
8
|
getMatcher() {
|
|
9
9
|
const occurs = (0, combi_1.seq)("OCCURS", expressions_1.Source);
|
|
10
|
-
const ret = (0, combi_1.seq)("RANGES", expressions_1.SimpleName, "FOR", expressions_1.SimpleFieldChain2, (0, combi_1.
|
|
10
|
+
const ret = (0, combi_1.seq)("RANGES", expressions_1.SimpleName, "FOR", expressions_1.SimpleFieldChain2, (0, combi_1.optPrio)(occurs), (0, combi_1.optPrio)(expressions_1.FieldLength));
|
|
11
11
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -6,7 +6,7 @@ const expressions_1 = require("../expressions");
|
|
|
6
6
|
const version_1 = require("../../../version");
|
|
7
7
|
class SetProperty {
|
|
8
8
|
getMatcher() {
|
|
9
|
-
const ret = (0, combi_1.seq)("SET PROPERTY OF", expressions_1.Source, (0, combi_1.alt)(expressions_1.Constant, expressions_1.Field), "=", expressions_1.Source, (0, combi_1.optPrio)("NO FLUSH"), (0, combi_1.opt)(expressions_1.OLEExporting));
|
|
9
|
+
const ret = (0, combi_1.seq)("SET PROPERTY OF", expressions_1.Source, (0, combi_1.alt)(expressions_1.Constant, expressions_1.Field), "=", expressions_1.Source, (0, combi_1.optPrio)("NO FLUSH"), (0, combi_1.opt)(expressions_1.OLEExporting), (0, combi_1.opt)("QUEUEONLY"));
|
|
10
10
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -7,7 +7,7 @@ class Static {
|
|
|
7
7
|
getMatcher() {
|
|
8
8
|
const p = (0, combi_1.opt)((0, combi_1.per)(Expressions.Type, Expressions.Value, Expressions.Length, Expressions.Decimals));
|
|
9
9
|
const type = (0, combi_1.seq)((0, combi_1.opt)(Expressions.ConstantFieldLength), p);
|
|
10
|
-
const ret = (0, combi_1.seq)((0, combi_1.alt)("STATIC", "STATICS"), Expressions.DefinitionName, (0, combi_1.alt)(type, Expressions.TypeTable));
|
|
10
|
+
const ret = (0, combi_1.seq)((0, combi_1.alt)("STATIC", "STATICS"), Expressions.DefinitionName, (0, combi_1.optPrio)(Expressions.ConstantFieldLength), (0, combi_1.alt)(type, Expressions.TypeTable));
|
|
11
11
|
return ret;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -27,11 +27,13 @@ class Submit {
|
|
|
27
27
|
const newList = (0, combi_1.seq)("NEW LIST IDENTIFICATION", expressions_1.Source);
|
|
28
28
|
const layout = (0, combi_1.seq)("LAYOUT", expressions_1.Source);
|
|
29
29
|
const cover = (0, combi_1.seq)("SAP COVER PAGE", expressions_1.Source);
|
|
30
|
+
const copies = (0, combi_1.seq)("COPIES", expressions_1.Source);
|
|
31
|
+
const datasetExpiration = (0, combi_1.seq)("DATASET EXPIRATION", expressions_1.Source);
|
|
30
32
|
const keep = (0, combi_1.seq)("KEEP IN SPOOL", expressions_1.Source);
|
|
31
33
|
const imm = (0, combi_1.seq)("IMMEDIATELY", expressions_1.Source);
|
|
32
34
|
const dest = (0, combi_1.seq)("DESTINATION", expressions_1.Source);
|
|
33
35
|
const language = (0, combi_1.seq)("LANGUAGE", expressions_1.Source);
|
|
34
|
-
const perm = (0, combi_1.per)((0, combi_1.plus)(awith), selectionTable, (0, combi_1.plus)(awith), spool, lineSize, lineCount, archive, user, sset, ssetp, keep, cover, imm, layout, dest, language, free, newList, uss, "TO SAP-SPOOL", "WITHOUT SPOOL DYNPRO", "VIA SELECTION-SCREEN", exporting, expressions_1.AndReturn, job);
|
|
36
|
+
const perm = (0, combi_1.per)((0, combi_1.plus)(awith), selectionTable, (0, combi_1.plus)(awith), spool, lineSize, lineCount, archive, user, sset, ssetp, keep, cover, imm, layout, dest, language, free, newList, uss, copies, datasetExpiration, "TO SAP-SPOOL", "WITHOUT SPOOL DYNPRO", "VIA SELECTION-SCREEN", exporting, expressions_1.AndReturn, job);
|
|
35
37
|
const ret = (0, combi_1.seq)("SUBMIT", prog, (0, combi_1.opt)(perm));
|
|
36
38
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
37
39
|
}
|
|
@@ -5,7 +5,7 @@ const Structures = require("./");
|
|
|
5
5
|
const _combi_1 = require("./_combi");
|
|
6
6
|
class DynproLogic {
|
|
7
7
|
getMatcher() {
|
|
8
|
-
return (0, _combi_1.seq)((0, _combi_1.sub)(Structures.ProcessBeforeOutput), (0, _combi_1.sub)(Structures.ProcessAfterInput), (0, _combi_1.opt)((0, _combi_1.sub)(Structures.ProcessOnValueRequest)));
|
|
8
|
+
return (0, _combi_1.seq)((0, _combi_1.sub)(Structures.ProcessBeforeOutput), (0, _combi_1.sub)(Structures.ProcessAfterInput), (0, _combi_1.opt)((0, _combi_1.sub)(Structures.ProcessOnValueRequest)), (0, _combi_1.opt)((0, _combi_1.sub)(Structures.ProcessOnHelpRequest)));
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
exports.DynproLogic = DynproLogic;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynproLoop = void 0;
|
|
4
|
+
const Statements = require("../../2_statements/statements");
|
|
5
|
+
const _combi_1 = require("./_combi");
|
|
6
|
+
class DynproLoop {
|
|
7
|
+
getMatcher() {
|
|
8
|
+
return (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.DynproLoop), (0, _combi_1.star)((0, _combi_1.sta)(Statements.Module)), (0, _combi_1.sta)(Statements.EndLoop));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.DynproLoop = DynproLoop;
|
|
12
|
+
//# sourceMappingURL=dynpro_loop.js.map
|
|
@@ -59,6 +59,8 @@ __exportStar(require("./provide"), exports);
|
|
|
59
59
|
__exportStar(require("./public_section"), exports);
|
|
60
60
|
__exportStar(require("./section_contents"), exports);
|
|
61
61
|
__exportStar(require("./select"), exports);
|
|
62
|
+
__exportStar(require("./process_on_help_request"), exports);
|
|
63
|
+
__exportStar(require("./dynpro_loop"), exports);
|
|
62
64
|
__exportStar(require("./statics"), exports);
|
|
63
65
|
__exportStar(require("./test_injection"), exports);
|
|
64
66
|
__exportStar(require("./test_seam"), exports);
|
|
@@ -3,9 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ProcessBeforeOutput = void 0;
|
|
4
4
|
const Statements = require("../../2_statements/statements");
|
|
5
5
|
const _combi_1 = require("./_combi");
|
|
6
|
+
const dynpro_loop_1 = require("./dynpro_loop");
|
|
6
7
|
class ProcessBeforeOutput {
|
|
7
8
|
getMatcher() {
|
|
8
|
-
const pbo = (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sta)(Statements.Module), (0, _combi_1.sta)(Statements.Field), (0, _combi_1.sta)(Statements.CallSubscreen)));
|
|
9
|
+
const pbo = (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sta)(Statements.Module), (0, _combi_1.sta)(Statements.Field), (0, _combi_1.sta)(Statements.CallSubscreen), (0, _combi_1.sub)(dynpro_loop_1.DynproLoop)));
|
|
9
10
|
return (0, _combi_1.seq)((0, _combi_1.sta)(Statements.ProcessBeforeOutput), pbo);
|
|
10
11
|
}
|
|
11
12
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProcessOnHelpRequest = void 0;
|
|
4
|
+
const Statements = require("../../2_statements/statements");
|
|
5
|
+
const _combi_1 = require("./_combi");
|
|
6
|
+
class ProcessOnHelpRequest {
|
|
7
|
+
getMatcher() {
|
|
8
|
+
const pov = (0, _combi_1.star)((0, _combi_1.sta)(Statements.Field));
|
|
9
|
+
return (0, _combi_1.seq)((0, _combi_1.sta)(Statements.ProcessOnHelpRequest), pov);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ProcessOnHelpRequest = ProcessOnHelpRequest;
|
|
13
|
+
//# sourceMappingURL=process_on_help_request.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BADIDefinition = void 0;
|
|
4
|
+
const _abstract_object_1 = require("./_abstract_object");
|
|
5
|
+
class BADIDefinition extends _abstract_object_1.AbstractObject {
|
|
6
|
+
getType() {
|
|
7
|
+
return "SXSD";
|
|
8
|
+
}
|
|
9
|
+
getAllowedNaming() {
|
|
10
|
+
return {
|
|
11
|
+
maxLength: 30,
|
|
12
|
+
allowNamespace: true,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
getDescription() {
|
|
16
|
+
// todo
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.BADIDefinition = BADIDefinition;
|
|
21
|
+
//# sourceMappingURL=badi_definition.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EntityType = void 0;
|
|
4
|
+
const _abstract_object_1 = require("./_abstract_object");
|
|
5
|
+
class EntityType extends _abstract_object_1.AbstractObject {
|
|
6
|
+
getType() {
|
|
7
|
+
return "UENO";
|
|
8
|
+
}
|
|
9
|
+
getAllowedNaming() {
|
|
10
|
+
return {
|
|
11
|
+
maxLength: 200,
|
|
12
|
+
allowNamespace: true,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
getDescription() {
|
|
16
|
+
// todo
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.EntityType = EntityType;
|
|
21
|
+
//# sourceMappingURL=entity_type.js.map
|
|
@@ -43,6 +43,8 @@ __exportStar(require("./business_function_set_assignment"), exports);
|
|
|
43
43
|
__exportStar(require("./business_object_model"), exports);
|
|
44
44
|
__exportStar(require("./business_object_type"), exports);
|
|
45
45
|
__exportStar(require("./cds_metadata_extension"), exports);
|
|
46
|
+
__exportStar(require("./badi_definition"), exports);
|
|
47
|
+
__exportStar(require("./entity_type"), exports);
|
|
46
48
|
__exportStar(require("./cds_type"), exports);
|
|
47
49
|
__exportStar(require("./change_document"), exports);
|
|
48
50
|
__exportStar(require("./chapter_of_book_structure"), exports);
|
|
@@ -81,6 +83,7 @@ __exportStar(require("./gateway_model_metadata"), exports);
|
|
|
81
83
|
__exportStar(require("./gateway_model"), exports);
|
|
82
84
|
__exportStar(require("./gateway_project"), exports);
|
|
83
85
|
__exportStar(require("./gateway_service_groups_metadata"), exports);
|
|
86
|
+
__exportStar(require("./web_reporting_template"), exports);
|
|
84
87
|
__exportStar(require("./gateway_service"), exports);
|
|
85
88
|
__exportStar(require("./gateway_vocabulary_annotation"), exports);
|
|
86
89
|
__exportStar(require("./general_hierarchy_storage_extrension_name"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebReportingTemplate = void 0;
|
|
4
|
+
const _abstract_object_1 = require("./_abstract_object");
|
|
5
|
+
class WebReportingTemplate extends _abstract_object_1.AbstractObject {
|
|
6
|
+
getType() {
|
|
7
|
+
return "W3HT";
|
|
8
|
+
}
|
|
9
|
+
getAllowedNaming() {
|
|
10
|
+
return {
|
|
11
|
+
maxLength: 30,
|
|
12
|
+
allowNamespace: true,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
getDescription() {
|
|
16
|
+
// todo
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.WebReportingTemplate = WebReportingTemplate;
|
|
21
|
+
//# sourceMappingURL=web_reporting_template.js.map
|
package/build/src/registry.js
CHANGED
|
@@ -118,7 +118,7 @@ class IncludeGraph {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
else if (found.include === false) {
|
|
121
|
-
const issue = issue_1.Issue.atStatement(f, s, "Not possible to INCLUDE a main program", new check_include_1.CheckInclude().getMetadata().key, severity_1.Severity.Error);
|
|
121
|
+
const issue = issue_1.Issue.atStatement(f, s, "Not possible to INCLUDE a main program, " + name, new check_include_1.CheckInclude().getMetadata().key, severity_1.Severity.Error);
|
|
122
122
|
this.issues.push(issue);
|
|
123
123
|
}
|
|
124
124
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.116",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://abaplint.org",
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@microsoft/api-extractor": "^7.52.
|
|
53
|
+
"@microsoft/api-extractor": "^7.52.8",
|
|
54
54
|
"@types/chai": "^4.3.20",
|
|
55
55
|
"@types/mocha": "^10.0.10",
|
|
56
|
-
"@types/node": "^22.15.
|
|
56
|
+
"@types/node": "^22.15.18",
|
|
57
57
|
"chai": "^4.5.0",
|
|
58
|
-
"eslint": "^9.
|
|
59
|
-
"mocha": "^11.
|
|
58
|
+
"eslint": "^9.27.0",
|
|
59
|
+
"mocha": "^11.3.0",
|
|
60
60
|
"c8": "^10.1.3",
|
|
61
61
|
"source-map-support": "^0.5.21",
|
|
62
62
|
"ts-json-schema-generator": "^2.4.0",
|