@abaplint/cli 2.112.10 → 2.112.12
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/cli.js +93 -26
- package/package.json +3 -3
package/build/cli.js
CHANGED
|
@@ -6366,7 +6366,7 @@ const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/co
|
|
|
6366
6366
|
class MessageClass extends combi_1.Expression {
|
|
6367
6367
|
getRunnable() {
|
|
6368
6368
|
// "&1" can be used for almost anything(field names, method names etc.) in macros
|
|
6369
|
-
return (0, combi_1.regex)(/^>?
|
|
6369
|
+
return (0, combi_1.regex)(/^>?[\w\/]+#?@?\/?!?&?>?\$?$/);
|
|
6370
6370
|
}
|
|
6371
6371
|
}
|
|
6372
6372
|
exports.MessageClass = MessageClass;
|
|
@@ -15417,7 +15417,7 @@ const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@a
|
|
|
15417
15417
|
class Ranges {
|
|
15418
15418
|
getMatcher() {
|
|
15419
15419
|
const occurs = (0, combi_1.seq)("OCCURS", expressions_1.Source);
|
|
15420
|
-
const ret = (0, combi_1.seq)("RANGES", expressions_1.SimpleName, "FOR", expressions_1.
|
|
15420
|
+
const ret = (0, combi_1.seq)("RANGES", expressions_1.SimpleName, "FOR", expressions_1.SimpleFieldChain2, (0, combi_1.opt)(occurs));
|
|
15421
15421
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
15422
15422
|
}
|
|
15423
15423
|
}
|
|
@@ -18570,7 +18570,7 @@ const protected_section_1 = __webpack_require__(/*! ./protected_section */ "./no
|
|
|
18570
18570
|
const public_section_1 = __webpack_require__(/*! ./public_section */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/public_section.js");
|
|
18571
18571
|
class ClassDefinition {
|
|
18572
18572
|
getMatcher() {
|
|
18573
|
-
const body = (0, _combi_1.seq)((0, _combi_1.opt)((0, _combi_1.sta)(Statements.SetExtendedCheck)), (0, _combi_1.star)((0, _combi_1.sta)(Statements.TypePools)), (0, _combi_1.opt)((0, _combi_1.sub)(public_section_1.PublicSection)), (0, _combi_1.
|
|
18573
|
+
const body = (0, _combi_1.seq)((0, _combi_1.opt)((0, _combi_1.sta)(Statements.SetExtendedCheck)), (0, _combi_1.star)((0, _combi_1.sta)(Statements.TypePools)), (0, _combi_1.opt)((0, _combi_1.sub)(public_section_1.PublicSection)), (0, _combi_1.opt)((0, _combi_1.sub)(protected_section_1.ProtectedSection)), (0, _combi_1.opt)((0, _combi_1.sub)(private_section_1.PrivateSection)), (0, _combi_1.opt)((0, _combi_1.sta)(Statements.SetExtendedCheck)));
|
|
18574
18574
|
return (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.ClassDefinition), body, (0, _combi_1.sta)(Statements.EndClass));
|
|
18575
18575
|
}
|
|
18576
18576
|
}
|
|
@@ -18998,7 +18998,7 @@ __exportStar(__webpack_require__(/*! ./private_section */ "./node_modules/@abapl
|
|
|
18998
18998
|
__exportStar(__webpack_require__(/*! ./protected_section */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/protected_section.js"), exports);
|
|
18999
18999
|
__exportStar(__webpack_require__(/*! ./provide */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/provide.js"), exports);
|
|
19000
19000
|
__exportStar(__webpack_require__(/*! ./public_section */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/public_section.js"), exports);
|
|
19001
|
-
__exportStar(__webpack_require__(/*! ./
|
|
19001
|
+
__exportStar(__webpack_require__(/*! ./section_contents */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/section_contents.js"), exports);
|
|
19002
19002
|
__exportStar(__webpack_require__(/*! ./select */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/select.js"), exports);
|
|
19003
19003
|
__exportStar(__webpack_require__(/*! ./statics */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/statics.js"), exports);
|
|
19004
19004
|
__exportStar(__webpack_require__(/*! ./test_injection */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/test_injection.js"), exports);
|
|
@@ -19026,10 +19026,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
19026
19026
|
exports.Interface = void 0;
|
|
19027
19027
|
const Statements = __webpack_require__(/*! ../../2_statements/statements */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/index.js");
|
|
19028
19028
|
const _combi_1 = __webpack_require__(/*! ./_combi */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/_combi.js");
|
|
19029
|
-
const
|
|
19029
|
+
const section_contents_1 = __webpack_require__(/*! ./section_contents */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/section_contents.js");
|
|
19030
19030
|
class Interface {
|
|
19031
19031
|
getMatcher() {
|
|
19032
|
-
const intf = (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.Interface), (0, _combi_1.star)((0, _combi_1.sub)(
|
|
19032
|
+
const intf = (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.Interface), (0, _combi_1.star)((0, _combi_1.sub)(section_contents_1.SectionContents)), (0, _combi_1.sta)(Statements.EndInterface));
|
|
19033
19033
|
return intf;
|
|
19034
19034
|
}
|
|
19035
19035
|
}
|
|
@@ -19076,8 +19076,7 @@ const _combi_1 = __webpack_require__(/*! ./_combi */ "./node_modules/@abaplint/c
|
|
|
19076
19076
|
const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/index.js");
|
|
19077
19077
|
class Loop {
|
|
19078
19078
|
getMatcher() {
|
|
19079
|
-
|
|
19080
|
-
return (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.Loop), (0, _combi_1.star)(body), (0, _combi_1.sta)(Statements.EndLoop));
|
|
19079
|
+
return (0, _combi_1.beginEnd)((0, _combi_1.sta)(Statements.Loop), (0, _combi_1.star)((0, _combi_1.sub)(_1.Body)), (0, _combi_1.sta)(Statements.EndLoop));
|
|
19081
19080
|
}
|
|
19082
19081
|
}
|
|
19083
19082
|
exports.Loop = Loop;
|
|
@@ -19172,7 +19171,7 @@ const _statement_1 = __webpack_require__(/*! ../../2_statements/statements/_stat
|
|
|
19172
19171
|
class Normal {
|
|
19173
19172
|
getMatcher() {
|
|
19174
19173
|
// note that the sequence of alternatives here influences performance
|
|
19175
|
-
return (0, _combi_1.alt)((0, _combi_1.sta)(Statements.Move), (0, _combi_1.sta)(Statements.Call), (0, _combi_1.sta)(Statements.Data), (0, _combi_1.sub)(Structures.If), (0, _combi_1.sta)(Statements.Clear), (0, _combi_1.sta)(Statements.FieldSymbol), (0, _combi_1.sta)(Statements.CreateObject), (0, _combi_1.sta)(Statements.CallFunction), (0, _combi_1.sta)(_statement_1.MacroCall), (0, _combi_1.sub)(Structures.LoopAtScreen), (0, _combi_1.sub)(Structures.Loop), (0, _combi_1.sta)(Statements.Append), (0, _combi_1.sub)(Structures.Try), (0, _combi_1.sta)(Statements.ReadTable), (0, _combi_1.sta)(Statements.Assert), (0, _combi_1.sta)(Statements.Return), (0, _combi_1.sta)(Statements.Select), (0, _combi_1.sta)(Statements.Assign), (0, _combi_1.sta)(Statements.InsertInternal), (0, _combi_1.sta)(Statements.DeleteInternal), (0, _combi_1.sta)(Statements.Concatenate), (0, _combi_1.sub)(Structures.Case), (0, _combi_1.sub)(Structures.CaseType), (0, _combi_1.sub)(Structures.Enhancement), (0, _combi_1.sub)(Structures.EnhancementSection), (0, _combi_1.sta)(Statements.AddCorresponding), (0, _combi_1.sta)(Statements.Add), (0, _combi_1.sta)(Statements.AssignLocalCopy), (0, _combi_1.sta)(Statements.AuthorityCheck), (0, _combi_1.sta)(Statements.Back), (0, _combi_1.sta)(Statements.Break), (0, _combi_1.sta)(Statements.BreakId), (0, _combi_1.sta)(Statements.CallDatabase), (0, _combi_1.sta)(Statements.CallDialog), (0, _combi_1.sta)(Statements.CallKernel), (0, _combi_1.sta)(Statements.CallOLE), (0, _combi_1.sta)(Statements.CallScreen), (0, _combi_1.sta)(Statements.ModifyScreen), (0, _combi_1.sta)(Statements.CallSelectionScreen), (0, _combi_1.sta)(Statements.CallTransaction), (0, _combi_1.sta)(Statements.CallTransformation), (0, _combi_1.sta)(Statements.Check), (0, _combi_1.sta)(Statements.ClassDefinitionLoad), (0, _combi_1.sta)(Statements.CloseCursor), (0, _combi_1.sta)(Statements.CloseDataset), (0, _combi_1.sta)(Statements.Collect), (0, _combi_1.sta)(Statements.Commit), (0, _combi_1.sta)(Statements.Communication), (0, _combi_1.sta)(Statements.Compute), (0, _combi_1.sta)(Statements.CallBadi), (0, _combi_1.sta)(Statements.Condense), (0, _combi_1.sta)(Statements.Constant), (0, _combi_1.sta)(Statements.Contexts), (0, _combi_1.sta)(Statements.Continue), (0, _combi_1.sta)(Statements.ConvertText), (0, _combi_1.sta)(Statements.Convert), (0, _combi_1.sta)(Statements.CreateData), (0, _combi_1.sta)(Statements.CreateOLE), (0, _combi_1.sta)(Statements.DeleteCluster), (0, _combi_1.sta)(Statements.DeleteDatabase), (0, _combi_1.sta)(Statements.DeleteDataset), (0, _combi_1.sta)(Statements.DeleteDynpro), (0, _combi_1.sta)(Statements.DeleteMemory), (0, _combi_1.sta)(Statements.DeleteReport), (0, _combi_1.sta)(Statements.DeleteTextpool), (0, _combi_1.sta)(Statements.Demand), (0, _combi_1.sta)(Statements.Describe), (0, _combi_1.sta)(Statements.Detail), (0, _combi_1.sta)(Statements.Divide), (0, _combi_1.sta)(Statements.EditorCall), (0, _combi_1.sta)(Statements.EnhancementPoint), (0, _combi_1.sta)(Statements.Exit), (0, _combi_1.sta)(Statements.ExportDynpro), (0, _combi_1.sta)(Statements.Export), (0, _combi_1.sta)(Statements.Extract), (0, _combi_1.sta)(Statements.FetchNextCursor), (0, _combi_1.sta)(Statements.FieldGroup), (0, _combi_1.sta)(Statements.Fields), (0, _combi_1.sta)(Statements.Find), (0, _combi_1.sta)(Statements.Format), (0, _combi_1.sta)(Statements.FreeMemory), (0, _combi_1.sta)(Statements.FreeObject), (0, _combi_1.sta)(Statements.Free), (0, _combi_1.sta)(Statements.GenerateDynpro), (0, _combi_1.sta)(Statements.GenerateReport), (0, _combi_1.sta)(Statements.GenerateSubroutine), (0, _combi_1.sta)(Statements.GetBadi), (0, _combi_1.sta)(Statements.GetBit), (0, _combi_1.sta)(Statements.GetCursor), (0, _combi_1.sta)(Statements.GetDataset), (0, _combi_1.sta)(Statements.GetLocale), (0, _combi_1.sta)(Statements.GetParameter), (0, _combi_1.sta)(Statements.GetPFStatus), (0, _combi_1.sta)(Statements.GetProperty), (0, _combi_1.sta)(Statements.GetReference), (0, _combi_1.sta)(Statements.GetRunTime), (0, _combi_1.sta)(Statements.GetTime), (0, _combi_1.sta)(Statements.Hide), (0, _combi_1.sta)(Statements.Nodes), (0, _combi_1.sta)(Statements.ImportDynpro), (0, _combi_1.sta)(Statements.ImportNametab), (0, _combi_1.sta)(Statements.MoveCorresponding), (0, _combi_1.sta)(Statements.Import), (0, _combi_1.sta)(Statements.Infotypes), (0, _combi_1.sta)(Statements.Include), // include does not have to be at top level
|
|
19174
|
+
return (0, _combi_1.alt)((0, _combi_1.sta)(Statements.Move), (0, _combi_1.sta)(Statements.Call), (0, _combi_1.sta)(Statements.Data), (0, _combi_1.sub)(Structures.If), (0, _combi_1.sta)(Statements.Clear), (0, _combi_1.sta)(Statements.FieldSymbol), (0, _combi_1.sta)(Statements.CreateObject), (0, _combi_1.sta)(Statements.CallFunction), (0, _combi_1.sta)(_statement_1.MacroCall), (0, _combi_1.sub)(Structures.LoopAtScreen), (0, _combi_1.sub)(Structures.Loop), (0, _combi_1.sta)(Statements.Append), (0, _combi_1.sub)(Structures.Try), (0, _combi_1.sub)(Structures.OnChange), (0, _combi_1.sta)(Statements.ReadTable), (0, _combi_1.sta)(Statements.Assert), (0, _combi_1.sta)(Statements.Return), (0, _combi_1.sta)(Statements.Select), (0, _combi_1.sta)(Statements.Assign), (0, _combi_1.sta)(Statements.InsertInternal), (0, _combi_1.sta)(Statements.DeleteInternal), (0, _combi_1.sta)(Statements.Concatenate), (0, _combi_1.sub)(Structures.Case), (0, _combi_1.sub)(Structures.CaseType), (0, _combi_1.sub)(Structures.Enhancement), (0, _combi_1.sub)(Structures.EnhancementSection), (0, _combi_1.sta)(Statements.AddCorresponding), (0, _combi_1.sta)(Statements.Add), (0, _combi_1.sta)(Statements.AssignLocalCopy), (0, _combi_1.sta)(Statements.AuthorityCheck), (0, _combi_1.sta)(Statements.Back), (0, _combi_1.sta)(Statements.Break), (0, _combi_1.sta)(Statements.BreakId), (0, _combi_1.sta)(Statements.CallDatabase), (0, _combi_1.sta)(Statements.CallDialog), (0, _combi_1.sta)(Statements.CallKernel), (0, _combi_1.sta)(Statements.CallOLE), (0, _combi_1.sta)(Statements.CallScreen), (0, _combi_1.sta)(Statements.ModifyScreen), (0, _combi_1.sta)(Statements.CallSelectionScreen), (0, _combi_1.sta)(Statements.CallTransaction), (0, _combi_1.sta)(Statements.CallTransformation), (0, _combi_1.sta)(Statements.Check), (0, _combi_1.sta)(Statements.ClassDefinitionLoad), (0, _combi_1.sta)(Statements.CloseCursor), (0, _combi_1.sta)(Statements.CloseDataset), (0, _combi_1.sta)(Statements.Collect), (0, _combi_1.sta)(Statements.Commit), (0, _combi_1.sta)(Statements.Communication), (0, _combi_1.sta)(Statements.Compute), (0, _combi_1.sta)(Statements.CallBadi), (0, _combi_1.sta)(Statements.Condense), (0, _combi_1.sta)(Statements.Constant), (0, _combi_1.sta)(Statements.Contexts), (0, _combi_1.sta)(Statements.Continue), (0, _combi_1.sta)(Statements.ConvertText), (0, _combi_1.sta)(Statements.Convert), (0, _combi_1.sta)(Statements.CreateData), (0, _combi_1.sta)(Statements.CreateOLE), (0, _combi_1.sta)(Statements.DeleteCluster), (0, _combi_1.sta)(Statements.DeleteDatabase), (0, _combi_1.sta)(Statements.DeleteDataset), (0, _combi_1.sta)(Statements.DeleteDynpro), (0, _combi_1.sta)(Statements.DeleteMemory), (0, _combi_1.sta)(Statements.DeleteReport), (0, _combi_1.sta)(Statements.DeleteTextpool), (0, _combi_1.sta)(Statements.Demand), (0, _combi_1.sta)(Statements.Describe), (0, _combi_1.sta)(Statements.Detail), (0, _combi_1.sta)(Statements.Divide), (0, _combi_1.sta)(Statements.EditorCall), (0, _combi_1.sta)(Statements.EnhancementPoint), (0, _combi_1.sta)(Statements.Exit), (0, _combi_1.sta)(Statements.ExportDynpro), (0, _combi_1.sta)(Statements.Export), (0, _combi_1.sta)(Statements.Extract), (0, _combi_1.sta)(Statements.FetchNextCursor), (0, _combi_1.sta)(Statements.FieldGroup), (0, _combi_1.sta)(Statements.Fields), (0, _combi_1.sta)(Statements.Find), (0, _combi_1.sta)(Statements.Format), (0, _combi_1.sta)(Statements.FreeMemory), (0, _combi_1.sta)(Statements.FreeObject), (0, _combi_1.sta)(Statements.Free), (0, _combi_1.sta)(Statements.GenerateDynpro), (0, _combi_1.sta)(Statements.GenerateReport), (0, _combi_1.sta)(Statements.GenerateSubroutine), (0, _combi_1.sta)(Statements.GetBadi), (0, _combi_1.sta)(Statements.GetBit), (0, _combi_1.sta)(Statements.GetCursor), (0, _combi_1.sta)(Statements.GetDataset), (0, _combi_1.sta)(Statements.GetLocale), (0, _combi_1.sta)(Statements.GetParameter), (0, _combi_1.sta)(Statements.GetPFStatus), (0, _combi_1.sta)(Statements.GetProperty), (0, _combi_1.sta)(Statements.GetReference), (0, _combi_1.sta)(Statements.GetRunTime), (0, _combi_1.sta)(Statements.GetTime), (0, _combi_1.sta)(Statements.Hide), (0, _combi_1.sta)(Statements.Nodes), (0, _combi_1.sta)(Statements.ImportDynpro), (0, _combi_1.sta)(Statements.ImportNametab), (0, _combi_1.sta)(Statements.MoveCorresponding), (0, _combi_1.sta)(Statements.Import), (0, _combi_1.sta)(Statements.Infotypes), (0, _combi_1.sta)(Statements.Include), // include does not have to be at top level
|
|
19176
19175
|
(0, _combi_1.sta)(Statements.InsertDatabase), (0, _combi_1.sta)(Statements.InsertReport), (0, _combi_1.sta)(Statements.InsertTextpool), (0, _combi_1.sta)(Statements.InsertFieldGroup), (0, _combi_1.sta)(Statements.InterfaceLoad), (0, _combi_1.sta)(Statements.Leave), (0, _combi_1.sta)(Statements.LoadReport), (0, _combi_1.sta)(Statements.Local), (0, _combi_1.sta)(Statements.With), (0, _combi_1.sta)(Statements.LogPoint), (0, _combi_1.sta)(Statements.Message), (0, _combi_1.sta)(Statements.ModifyLine), (0, _combi_1.sta)(Statements.ModifyDatabase), (0, _combi_1.sta)(Statements.ModifyInternal), (0, _combi_1.sta)(Statements.Multiply), (0, _combi_1.sta)(Statements.NewLine), (0, _combi_1.sta)(Statements.NewPage), (0, _combi_1.sta)(Statements.OpenCursor), (0, _combi_1.sta)(Statements.OpenDataset), (0, _combi_1.sta)(Statements.Overlay), (0, _combi_1.sta)(Statements.Pack), (0, _combi_1.sta)(Statements.Perform), (0, _combi_1.sta)(Statements.FormDefinition), (0, _combi_1.sta)(Statements.Position), (0, _combi_1.sta)(Statements.Put), (0, _combi_1.sta)(Statements.PrintControl), (0, _combi_1.sta)(Statements.RaiseEvent), (0, _combi_1.sta)(Statements.RaiseEntityEvent), (0, _combi_1.sta)(Statements.Raise), (0, _combi_1.sta)(Statements.Ranges), (0, _combi_1.sta)(Statements.ReadDataset), (0, _combi_1.sta)(Statements.ReadLine), (0, _combi_1.sta)(Statements.ReadReport), (0, _combi_1.sta)(Statements.ReadTextpool), (0, _combi_1.sta)(Statements.Receive), (0, _combi_1.sta)(Statements.RefreshControl), (0, _combi_1.sta)(Statements.Refresh), (0, _combi_1.sta)(Statements.Reject), (0, _combi_1.sta)(Statements.Replace), (0, _combi_1.sta)(Statements.Reserve), (0, _combi_1.sta)(Statements.Resume), (0, _combi_1.sta)(Statements.Retry), (0, _combi_1.sta)(Statements.Rollback), (0, _combi_1.sta)(Statements.Scan), (0, _combi_1.sta)(Statements.ScrollList), (0, _combi_1.sta)(Statements.Search), (0, _combi_1.sta)(Statements.SetBit), (0, _combi_1.sta)(Statements.SetBlank), (0, _combi_1.sta)(Statements.SetCountry), (0, _combi_1.sta)(Statements.SetCursor), (0, _combi_1.sta)(Statements.SetDataset), (0, _combi_1.sta)(Statements.SetExtendedCheck), (0, _combi_1.sta)(Statements.SetHandler), (0, _combi_1.sta)(Statements.SetLanguage), (0, _combi_1.sta)(Statements.SetLeft), (0, _combi_1.sta)(Statements.SetLocale), (0, _combi_1.sta)(Statements.SetMargin), (0, _combi_1.sta)(Statements.SetParameter), (0, _combi_1.sta)(Statements.SetPFStatus), (0, _combi_1.sta)(Statements.SetProperty), (0, _combi_1.sta)(Statements.SetRunTime), (0, _combi_1.sta)(Statements.SetScreen), (0, _combi_1.sta)(Statements.SetTitlebar), (0, _combi_1.sta)(Statements.SetUserCommand), (0, _combi_1.sta)(Statements.SetUpdateTask), (0, _combi_1.sta)(Statements.Shift), (0, _combi_1.sta)(Statements.Skip), (0, _combi_1.sta)(Statements.SortDataset), (0, _combi_1.sta)(Statements.Sort), (0, _combi_1.sta)(Statements.Static), (0, _combi_1.sta)(Statements.Split), (0, _combi_1.sta)(Statements.Stop), (0, _combi_1.sta)(Statements.Submit), (0, _combi_1.sta)(Statements.Summary), (0, _combi_1.sta)(Statements.SubtractCorresponding), (0, _combi_1.sta)(Statements.Subtract), (0, _combi_1.sta)(Statements.SuppressDialog), (0, _combi_1.sta)(Statements.Supply), (0, _combi_1.sta)(Statements.Sum), (0, _combi_1.sta)(Statements.SyntaxCheck), (0, _combi_1.sta)(Statements.SystemCall), (0, _combi_1.sta)(Statements.Tables), (0, _combi_1.sta)(Statements.Transfer), (0, _combi_1.sta)(Statements.Translate), (0, _combi_1.sta)(Statements.Type), (0, _combi_1.sta)(Statements.TypePools), (0, _combi_1.sta)(Statements.Uline), (0, _combi_1.sta)(Statements.Unassign), (0, _combi_1.sta)(Statements.Unpack), (0, _combi_1.sta)(Statements.UpdateDatabase), (0, _combi_1.sta)(Statements.Wait), (0, _combi_1.sta)(Statements.Window), (0, _combi_1.sta)(Statements.Write), (0, _combi_1.sta)(Statements.CommitEntities), (0, _combi_1.sta)(Statements.GetPermissions), (0, _combi_1.sta)(Statements.SetLocks), (0, _combi_1.sta)(Statements.ModifyEntities), (0, _combi_1.sta)(Statements.ReadEntities), (0, _combi_1.sta)(Statements.RollbackEntities), (0, _combi_1.sub)(Structures.Define), (0, _combi_1.sub)(Structures.TestInjection), (0, _combi_1.sub)(Structures.TestSeam), (0, _combi_1.sub)(Structures.TypeMesh), (0, _combi_1.sub)(Structures.Provide), (0, _combi_1.sub)(Structures.CatchSystemExceptions), (0, _combi_1.sub)(Structures.At), (0, _combi_1.sub)(Structures.AtFirst), (0, _combi_1.sub)(Structures.AtLast), (0, _combi_1.sub)(Structures.Constants), (0, _combi_1.sub)(Structures.Types), (0, _combi_1.sub)(Structures.Statics), (0, _combi_1.sub)(Structures.Select), (0, _combi_1.sub)(Structures.Data), (0, _combi_1.sub)(Structures.TypeEnum), (0, _combi_1.sub)(Structures.While), (0, _combi_1.sub)(Structures.With), (0, _combi_1.sub)(Structures.Do), (0, _combi_1.sub)(Structures.ExecSQL));
|
|
19177
19176
|
}
|
|
19178
19177
|
}
|
|
@@ -19216,10 +19215,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
19216
19215
|
exports.PrivateSection = void 0;
|
|
19217
19216
|
const Statements = __webpack_require__(/*! ../../2_statements/statements */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/index.js");
|
|
19218
19217
|
const _combi_1 = __webpack_require__(/*! ./_combi */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/_combi.js");
|
|
19219
|
-
const
|
|
19218
|
+
const section_contents_1 = __webpack_require__(/*! ./section_contents */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/section_contents.js");
|
|
19220
19219
|
class PrivateSection {
|
|
19221
19220
|
getMatcher() {
|
|
19222
|
-
return (0, _combi_1.seq)((0, _combi_1.sta)(Statements.Private), (0, _combi_1.opt)((0, _combi_1.sub)(
|
|
19221
|
+
return (0, _combi_1.seq)((0, _combi_1.sta)(Statements.Private), (0, _combi_1.opt)((0, _combi_1.sub)(section_contents_1.SectionContents)));
|
|
19223
19222
|
}
|
|
19224
19223
|
}
|
|
19225
19224
|
exports.PrivateSection = PrivateSection;
|
|
@@ -19239,10 +19238,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
19239
19238
|
exports.ProtectedSection = void 0;
|
|
19240
19239
|
const Statements = __webpack_require__(/*! ../../2_statements/statements */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/index.js");
|
|
19241
19240
|
const _combi_1 = __webpack_require__(/*! ./_combi */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/_combi.js");
|
|
19242
|
-
const
|
|
19241
|
+
const section_contents_1 = __webpack_require__(/*! ./section_contents */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/section_contents.js");
|
|
19243
19242
|
class ProtectedSection {
|
|
19244
19243
|
getMatcher() {
|
|
19245
|
-
return (0, _combi_1.seq)((0, _combi_1.sta)(Statements.Protected), (0, _combi_1.opt)((0, _combi_1.sub)(
|
|
19244
|
+
return (0, _combi_1.seq)((0, _combi_1.sta)(Statements.Protected), (0, _combi_1.opt)((0, _combi_1.sub)(section_contents_1.SectionContents)));
|
|
19246
19245
|
}
|
|
19247
19246
|
}
|
|
19248
19247
|
exports.ProtectedSection = ProtectedSection;
|
|
@@ -19285,10 +19284,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
19285
19284
|
exports.PublicSection = void 0;
|
|
19286
19285
|
const Statements = __webpack_require__(/*! ../../2_statements/statements */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/index.js");
|
|
19287
19286
|
const _combi_1 = __webpack_require__(/*! ./_combi */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/_combi.js");
|
|
19288
|
-
const
|
|
19287
|
+
const section_contents_1 = __webpack_require__(/*! ./section_contents */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/section_contents.js");
|
|
19289
19288
|
class PublicSection {
|
|
19290
19289
|
getMatcher() {
|
|
19291
|
-
return (0, _combi_1.seq)((0, _combi_1.sta)(Statements.Public), (0, _combi_1.opt)((0, _combi_1.sub)(
|
|
19290
|
+
return (0, _combi_1.seq)((0, _combi_1.sta)(Statements.Public), (0, _combi_1.opt)((0, _combi_1.sub)(section_contents_1.SectionContents)));
|
|
19292
19291
|
}
|
|
19293
19292
|
}
|
|
19294
19293
|
exports.PublicSection = PublicSection;
|
|
@@ -19296,10 +19295,10 @@ exports.PublicSection = PublicSection;
|
|
|
19296
19295
|
|
|
19297
19296
|
/***/ }),
|
|
19298
19297
|
|
|
19299
|
-
/***/ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/
|
|
19300
|
-
|
|
19301
|
-
!*** ./node_modules/@abaplint/core/build/src/abap/3_structures/structures/
|
|
19302
|
-
|
|
19298
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/section_contents.js":
|
|
19299
|
+
/*!************************************************************************************************!*\
|
|
19300
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/3_structures/structures/section_contents.js ***!
|
|
19301
|
+
\************************************************************************************************/
|
|
19303
19302
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19304
19303
|
|
|
19305
19304
|
"use strict";
|
|
@@ -19316,11 +19315,11 @@ const data_1 = __webpack_require__(/*! ./data */ "./node_modules/@abaplint/core/
|
|
|
19316
19315
|
const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src/abap/3_structures/structures/index.js");
|
|
19317
19316
|
class SectionContents {
|
|
19318
19317
|
getMatcher() {
|
|
19319
|
-
return (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sta)(Statements.MethodDef), (0, _combi_1.sta)(Statements.InterfaceDef), (0, _combi_1.sta)(Statements.Data), (0, _combi_1.sta)(Statements.ClassData), (0, _combi_1.sta)(Statements.Events), (0, _combi_1.sta)(Statements.Constant), (0, _combi_1.sta)(Statements.Aliases), (0, _combi_1.sta)(Statements.TypePools), (0, _combi_1.sta)(Statements.InterfaceLoad), (0, _combi_1.sta)(Statements.ClassDefinitionLoad), (0, _combi_1.sub)(types_1.Types), (0, _combi_1.sub)(constants_1.Constants), (0, _combi_1.sub)(type_enum_1.TypeEnum), (0, _combi_1.sub)(_1.TypeMesh), (0, _combi_1.sub)(data_1.Data), (0, _combi_1.sub)(class_data_1.ClassData), (0, _combi_1.sta)(Statements.Type)));
|
|
19318
|
+
return (0, _combi_1.star)((0, _combi_1.alt)((0, _combi_1.sta)(Statements.MethodDef), (0, _combi_1.sta)(Statements.InterfaceDef), (0, _combi_1.sta)(Statements.Data), (0, _combi_1.sta)(Statements.ClassData), (0, _combi_1.sta)(Statements.Events), (0, _combi_1.sta)(Statements.Constant), (0, _combi_1.sta)(Statements.Aliases), (0, _combi_1.sta)(Statements.TypePools), (0, _combi_1.sta)(Statements.InterfaceLoad), (0, _combi_1.sta)(Statements.ClassDefinitionLoad), (0, _combi_1.sta)(Statements.Include), (0, _combi_1.sub)(types_1.Types), (0, _combi_1.sub)(constants_1.Constants), (0, _combi_1.sub)(type_enum_1.TypeEnum), (0, _combi_1.sub)(_1.TypeMesh), (0, _combi_1.sub)(data_1.Data), (0, _combi_1.sub)(class_data_1.ClassData), (0, _combi_1.sta)(Statements.Type)));
|
|
19320
19319
|
}
|
|
19321
19320
|
}
|
|
19322
19321
|
exports.SectionContents = SectionContents;
|
|
19323
|
-
//# sourceMappingURL=
|
|
19322
|
+
//# sourceMappingURL=section_contents.js.map
|
|
19324
19323
|
|
|
19325
19324
|
/***/ }),
|
|
19326
19325
|
|
|
@@ -27741,7 +27740,7 @@ class StringTemplate {
|
|
|
27741
27740
|
&& !(type instanceof basic_1.NumericGenericType)
|
|
27742
27741
|
&& !(type instanceof basic_1.NumericType)
|
|
27743
27742
|
&& !(type instanceof basic_1.AnyType)) {
|
|
27744
|
-
const message =
|
|
27743
|
+
const message = `Cannot apply ALPHA to this type (${type.constructor.name})`;
|
|
27745
27744
|
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, format.getFirstToken(), message));
|
|
27746
27745
|
return new basic_1.VoidType(_syntax_input_1.CheckSyntaxKey);
|
|
27747
27746
|
}
|
|
@@ -31402,8 +31401,11 @@ class Loop {
|
|
|
31402
31401
|
let rowType = undefined;
|
|
31403
31402
|
const concat = node.concatTokens().toUpperCase();
|
|
31404
31403
|
if (sourceType === undefined) {
|
|
31405
|
-
|
|
31406
|
-
|
|
31404
|
+
// if its a dynpro table control loop, then dont issue error
|
|
31405
|
+
if (concat !== "LOOP.") {
|
|
31406
|
+
const message = "No source type determined";
|
|
31407
|
+
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
|
|
31408
|
+
}
|
|
31407
31409
|
return;
|
|
31408
31410
|
}
|
|
31409
31411
|
else if (sourceType instanceof basic_1.UnknownType) {
|
|
@@ -32256,7 +32258,7 @@ class Ranges {
|
|
|
32256
32258
|
runSyntax(node, input) {
|
|
32257
32259
|
var _a;
|
|
32258
32260
|
const nameToken = (_a = node.findFirstExpression(Expressions.SimpleName)) === null || _a === void 0 ? void 0 : _a.getFirstToken();
|
|
32259
|
-
const typeExpression = node.findFirstExpression(Expressions.
|
|
32261
|
+
const typeExpression = node.findFirstExpression(Expressions.SimpleFieldChain2);
|
|
32260
32262
|
if (typeExpression === undefined) {
|
|
32261
32263
|
throw new assert_error_1.AssertError("Ranges, unexpected node");
|
|
32262
32264
|
}
|
|
@@ -41104,6 +41106,7 @@ class DDIC {
|
|
|
41104
41106
|
switch (text) {
|
|
41105
41107
|
case "DEC": // 1 <= len <= 31
|
|
41106
41108
|
case "D16F": // 1 <= len <= 31
|
|
41109
|
+
case "D16D":
|
|
41107
41110
|
case "D34F": // 1 <= len <= 31
|
|
41108
41111
|
case "DF16_DEC": // 1 <= len <= 31
|
|
41109
41112
|
case "DF34_DEC": // 1 <= len <= 31
|
|
@@ -44762,6 +44765,68 @@ exports.UnknownObject = UnknownObject;
|
|
|
44762
44765
|
|
|
44763
44766
|
/***/ }),
|
|
44764
44767
|
|
|
44768
|
+
/***/ "./node_modules/@abaplint/core/build/src/objects/abap_query_functional_area.js":
|
|
44769
|
+
/*!*************************************************************************************!*\
|
|
44770
|
+
!*** ./node_modules/@abaplint/core/build/src/objects/abap_query_functional_area.js ***!
|
|
44771
|
+
\*************************************************************************************/
|
|
44772
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
44773
|
+
|
|
44774
|
+
"use strict";
|
|
44775
|
+
|
|
44776
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
44777
|
+
exports.ABAPQueryFunctionalArea = void 0;
|
|
44778
|
+
const _abstract_object_1 = __webpack_require__(/*! ./_abstract_object */ "./node_modules/@abaplint/core/build/src/objects/_abstract_object.js");
|
|
44779
|
+
class ABAPQueryFunctionalArea extends _abstract_object_1.AbstractObject {
|
|
44780
|
+
getType() {
|
|
44781
|
+
return "AQSG";
|
|
44782
|
+
}
|
|
44783
|
+
getAllowedNaming() {
|
|
44784
|
+
return {
|
|
44785
|
+
maxLength: 60, // todo
|
|
44786
|
+
allowNamespace: true,
|
|
44787
|
+
};
|
|
44788
|
+
}
|
|
44789
|
+
getDescription() {
|
|
44790
|
+
// todo
|
|
44791
|
+
return undefined;
|
|
44792
|
+
}
|
|
44793
|
+
}
|
|
44794
|
+
exports.ABAPQueryFunctionalArea = ABAPQueryFunctionalArea;
|
|
44795
|
+
//# sourceMappingURL=abap_query_functional_area.js.map
|
|
44796
|
+
|
|
44797
|
+
/***/ }),
|
|
44798
|
+
|
|
44799
|
+
/***/ "./node_modules/@abaplint/core/build/src/objects/abap_query_query.js":
|
|
44800
|
+
/*!***************************************************************************!*\
|
|
44801
|
+
!*** ./node_modules/@abaplint/core/build/src/objects/abap_query_query.js ***!
|
|
44802
|
+
\***************************************************************************/
|
|
44803
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
44804
|
+
|
|
44805
|
+
"use strict";
|
|
44806
|
+
|
|
44807
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
44808
|
+
exports.ABAPQueryQuery = void 0;
|
|
44809
|
+
const _abstract_object_1 = __webpack_require__(/*! ./_abstract_object */ "./node_modules/@abaplint/core/build/src/objects/_abstract_object.js");
|
|
44810
|
+
class ABAPQueryQuery extends _abstract_object_1.AbstractObject {
|
|
44811
|
+
getType() {
|
|
44812
|
+
return "AQQU";
|
|
44813
|
+
}
|
|
44814
|
+
getAllowedNaming() {
|
|
44815
|
+
return {
|
|
44816
|
+
maxLength: 60, // todo
|
|
44817
|
+
allowNamespace: true,
|
|
44818
|
+
};
|
|
44819
|
+
}
|
|
44820
|
+
getDescription() {
|
|
44821
|
+
// todo
|
|
44822
|
+
return undefined;
|
|
44823
|
+
}
|
|
44824
|
+
}
|
|
44825
|
+
exports.ABAPQueryQuery = ABAPQueryQuery;
|
|
44826
|
+
//# sourceMappingURL=abap_query_query.js.map
|
|
44827
|
+
|
|
44828
|
+
/***/ }),
|
|
44829
|
+
|
|
44765
44830
|
/***/ "./node_modules/@abaplint/core/build/src/objects/activation_variant.js":
|
|
44766
44831
|
/*!*****************************************************************************!*\
|
|
44767
44832
|
!*** ./node_modules/@abaplint/core/build/src/objects/activation_variant.js ***!
|
|
@@ -47869,6 +47934,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
47869
47934
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
47870
47935
|
};
|
|
47871
47936
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
47937
|
+
__exportStar(__webpack_require__(/*! ./abap_query_functional_area */ "./node_modules/@abaplint/core/build/src/objects/abap_query_functional_area.js"), exports);
|
|
47938
|
+
__exportStar(__webpack_require__(/*! ./abap_query_query */ "./node_modules/@abaplint/core/build/src/objects/abap_query_query.js"), exports);
|
|
47872
47939
|
__exportStar(__webpack_require__(/*! ./activation_variant */ "./node_modules/@abaplint/core/build/src/objects/activation_variant.js"), exports);
|
|
47873
47940
|
__exportStar(__webpack_require__(/*! ./api_release_state */ "./node_modules/@abaplint/core/build/src/objects/api_release_state.js"), exports);
|
|
47874
47941
|
__exportStar(__webpack_require__(/*! ./application_job_catalog_entry */ "./node_modules/@abaplint/core/build/src/objects/application_job_catalog_entry.js"), exports);
|
|
@@ -52400,7 +52467,7 @@ class Registry {
|
|
|
52400
52467
|
}
|
|
52401
52468
|
static abaplintVersion() {
|
|
52402
52469
|
// magic, see build script "version.sh"
|
|
52403
|
-
return "2.112.
|
|
52470
|
+
return "2.112.12";
|
|
52404
52471
|
}
|
|
52405
52472
|
getDDICReferences() {
|
|
52406
52473
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.112.
|
|
3
|
+
"version": "2.112.12",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.112.
|
|
41
|
+
"@abaplint/core": "^2.112.12",
|
|
42
42
|
"@types/chai": "^4.3.17",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|
|
45
45
|
"@types/mocha": "^10.0.7",
|
|
46
|
-
"@types/node": "^22.0
|
|
46
|
+
"@types/node": "^22.1.0",
|
|
47
47
|
"@types/progress": "^2.0.7",
|
|
48
48
|
"chai": "^4.5.0",
|
|
49
49
|
"chalk": "^5.3.0",
|