@abaplint/cli 2.99.9 → 2.99.11
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 +147 -134
- package/package.json +4 -4
package/build/cli.js
CHANGED
|
@@ -8793,6 +8793,7 @@ class StatementParser {
|
|
|
8793
8793
|
const concat = statement.concatTokens().toUpperCase();
|
|
8794
8794
|
if (concat.startsWith("CALL METHOD ") === false
|
|
8795
8795
|
&& concat.startsWith("RAISE EXCEPTION TYPE ") === false
|
|
8796
|
+
&& concat.startsWith("READ TABLE ") === false
|
|
8796
8797
|
&& concat.startsWith("LOOP AT ") === false
|
|
8797
8798
|
&& concat.startsWith("CALL FUNCTION ") === false) {
|
|
8798
8799
|
for (const { first, second } of this.buildSplits(statement.getTokens())) {
|
|
@@ -19568,7 +19569,7 @@ BuiltIn.methods = [
|
|
|
19568
19569
|
{
|
|
19569
19570
|
name: "BOOLC",
|
|
19570
19571
|
mandatory: {
|
|
19571
|
-
"val": new basic_1.
|
|
19572
|
+
"val": new basic_1.CLikeType(),
|
|
19572
19573
|
},
|
|
19573
19574
|
return: new basic_1.StringType(),
|
|
19574
19575
|
version: version_1.Version.v702,
|
|
@@ -19576,7 +19577,7 @@ BuiltIn.methods = [
|
|
|
19576
19577
|
{
|
|
19577
19578
|
name: "BOOLX",
|
|
19578
19579
|
mandatory: {
|
|
19579
|
-
"bool": new basic_1.
|
|
19580
|
+
"bool": new basic_1.CLikeType(),
|
|
19580
19581
|
},
|
|
19581
19582
|
optional: {
|
|
19582
19583
|
"bit": new basic_1.IntegerType(),
|
|
@@ -19594,7 +19595,7 @@ BuiltIn.methods = [
|
|
|
19594
19595
|
{
|
|
19595
19596
|
name: "CHAR_OFF",
|
|
19596
19597
|
mandatory: {
|
|
19597
|
-
"val": new basic_1.
|
|
19598
|
+
"val": new basic_1.CLikeType(),
|
|
19598
19599
|
"add": new basic_1.IntegerType(),
|
|
19599
19600
|
},
|
|
19600
19601
|
optional: {
|
|
@@ -19606,23 +19607,23 @@ BuiltIn.methods = [
|
|
|
19606
19607
|
{
|
|
19607
19608
|
name: "CHARLEN",
|
|
19608
19609
|
mandatory: {
|
|
19609
|
-
"val": new basic_1.
|
|
19610
|
+
"val": new basic_1.CLikeType(),
|
|
19610
19611
|
},
|
|
19611
19612
|
return: new basic_1.IntegerType(),
|
|
19612
19613
|
},
|
|
19613
19614
|
{
|
|
19614
19615
|
name: "CMAX",
|
|
19615
19616
|
mandatory: {
|
|
19616
|
-
"val1": new basic_1.
|
|
19617
|
-
"val2": new basic_1.
|
|
19617
|
+
"val1": new basic_1.CLikeType(),
|
|
19618
|
+
"val2": new basic_1.CLikeType(),
|
|
19618
19619
|
},
|
|
19619
19620
|
optional: {
|
|
19620
|
-
"val3": new basic_1.
|
|
19621
|
-
"val4": new basic_1.
|
|
19622
|
-
"val5": new basic_1.
|
|
19623
|
-
"val6": new basic_1.
|
|
19624
|
-
"val7": new basic_1.
|
|
19625
|
-
"val9": new basic_1.
|
|
19621
|
+
"val3": new basic_1.CLikeType(),
|
|
19622
|
+
"val4": new basic_1.CLikeType(),
|
|
19623
|
+
"val5": new basic_1.CLikeType(),
|
|
19624
|
+
"val6": new basic_1.CLikeType(),
|
|
19625
|
+
"val7": new basic_1.CLikeType(),
|
|
19626
|
+
"val9": new basic_1.CLikeType(),
|
|
19626
19627
|
},
|
|
19627
19628
|
return: new basic_1.StringType(),
|
|
19628
19629
|
version: version_1.Version.v702,
|
|
@@ -19630,16 +19631,16 @@ BuiltIn.methods = [
|
|
|
19630
19631
|
{
|
|
19631
19632
|
name: "CMIN",
|
|
19632
19633
|
mandatory: {
|
|
19633
|
-
"val1": new basic_1.
|
|
19634
|
-
"val2": new basic_1.
|
|
19634
|
+
"val1": new basic_1.CLikeType(),
|
|
19635
|
+
"val2": new basic_1.CLikeType(),
|
|
19635
19636
|
},
|
|
19636
19637
|
optional: {
|
|
19637
|
-
"val3": new basic_1.
|
|
19638
|
-
"val4": new basic_1.
|
|
19639
|
-
"val5": new basic_1.
|
|
19640
|
-
"val6": new basic_1.
|
|
19641
|
-
"val7": new basic_1.
|
|
19642
|
-
"val9": new basic_1.
|
|
19638
|
+
"val3": new basic_1.CLikeType(),
|
|
19639
|
+
"val4": new basic_1.CLikeType(),
|
|
19640
|
+
"val5": new basic_1.CLikeType(),
|
|
19641
|
+
"val6": new basic_1.CLikeType(),
|
|
19642
|
+
"val7": new basic_1.CLikeType(),
|
|
19643
|
+
"val9": new basic_1.CLikeType(),
|
|
19643
19644
|
},
|
|
19644
19645
|
return: new basic_1.StringType(),
|
|
19645
19646
|
version: version_1.Version.v702,
|
|
@@ -19650,7 +19651,7 @@ BuiltIn.methods = [
|
|
|
19650
19651
|
"table": new basic_1.TableType(new basic_1.AnyType(), { withHeader: false, keyType: basic_1.TableKeyType.default }),
|
|
19651
19652
|
},
|
|
19652
19653
|
optional: {
|
|
19653
|
-
"sep": new basic_1.
|
|
19654
|
+
"sep": new basic_1.CLikeType(),
|
|
19654
19655
|
},
|
|
19655
19656
|
return: new basic_1.StringType(),
|
|
19656
19657
|
version: version_1.Version.v702,
|
|
@@ -19658,12 +19659,12 @@ BuiltIn.methods = [
|
|
|
19658
19659
|
{
|
|
19659
19660
|
name: "CONDENSE",
|
|
19660
19661
|
mandatory: {
|
|
19661
|
-
"val": new basic_1.
|
|
19662
|
+
"val": new basic_1.CLikeType(),
|
|
19662
19663
|
},
|
|
19663
19664
|
optional: {
|
|
19664
|
-
"del": new basic_1.
|
|
19665
|
-
"from": new basic_1.
|
|
19666
|
-
"to": new basic_1.
|
|
19665
|
+
"del": new basic_1.CLikeType(),
|
|
19666
|
+
"from": new basic_1.CLikeType(),
|
|
19667
|
+
"to": new basic_1.CLikeType(),
|
|
19667
19668
|
},
|
|
19668
19669
|
return: new basic_1.StringType(),
|
|
19669
19670
|
version: version_1.Version.v702,
|
|
@@ -19671,14 +19672,14 @@ BuiltIn.methods = [
|
|
|
19671
19672
|
{
|
|
19672
19673
|
name: "CONTAINS",
|
|
19673
19674
|
mandatory: {
|
|
19674
|
-
"val": new basic_1.
|
|
19675
|
+
"val": new basic_1.CLikeType(),
|
|
19675
19676
|
},
|
|
19676
19677
|
optional: {
|
|
19677
|
-
"sub": new basic_1.
|
|
19678
|
-
"start": new basic_1.
|
|
19679
|
-
"end": new basic_1.
|
|
19680
|
-
"regex": new basic_1.
|
|
19681
|
-
"pcre": new basic_1.
|
|
19678
|
+
"sub": new basic_1.CLikeType(),
|
|
19679
|
+
"start": new basic_1.CLikeType(),
|
|
19680
|
+
"end": new basic_1.CLikeType(),
|
|
19681
|
+
"regex": new basic_1.CLikeType(),
|
|
19682
|
+
"pcre": new basic_1.CLikeType(),
|
|
19682
19683
|
"case": new basic_1.CharacterType(1),
|
|
19683
19684
|
"off": new basic_1.IntegerType(),
|
|
19684
19685
|
"len": new basic_1.IntegerType(),
|
|
@@ -19691,12 +19692,12 @@ BuiltIn.methods = [
|
|
|
19691
19692
|
{
|
|
19692
19693
|
name: "CONTAINS_ANY_NOT_OF",
|
|
19693
19694
|
mandatory: {
|
|
19694
|
-
"val": new basic_1.
|
|
19695
|
+
"val": new basic_1.CLikeType(),
|
|
19695
19696
|
},
|
|
19696
19697
|
optional: {
|
|
19697
|
-
"sub": new basic_1.
|
|
19698
|
-
"start": new basic_1.
|
|
19699
|
-
"end": new basic_1.
|
|
19698
|
+
"sub": new basic_1.CLikeType(),
|
|
19699
|
+
"start": new basic_1.CLikeType(),
|
|
19700
|
+
"end": new basic_1.CLikeType(),
|
|
19700
19701
|
"off": new basic_1.IntegerType(),
|
|
19701
19702
|
"len": new basic_1.IntegerType(),
|
|
19702
19703
|
"occ": new basic_1.IntegerType(),
|
|
@@ -19707,12 +19708,12 @@ BuiltIn.methods = [
|
|
|
19707
19708
|
{
|
|
19708
19709
|
name: "CONTAINS_ANY_OF",
|
|
19709
19710
|
mandatory: {
|
|
19710
|
-
"val": new basic_1.
|
|
19711
|
+
"val": new basic_1.CLikeType(),
|
|
19711
19712
|
},
|
|
19712
19713
|
optional: {
|
|
19713
|
-
"sub": new basic_1.
|
|
19714
|
-
"start": new basic_1.
|
|
19715
|
-
"end": new basic_1.
|
|
19714
|
+
"sub": new basic_1.CLikeType(),
|
|
19715
|
+
"start": new basic_1.CLikeType(),
|
|
19716
|
+
"end": new basic_1.CLikeType(),
|
|
19716
19717
|
"off": new basic_1.IntegerType(),
|
|
19717
19718
|
"len": new basic_1.IntegerType(),
|
|
19718
19719
|
"occ": new basic_1.IntegerType(),
|
|
@@ -19738,12 +19739,12 @@ BuiltIn.methods = [
|
|
|
19738
19739
|
{
|
|
19739
19740
|
name: "COUNT",
|
|
19740
19741
|
mandatory: {
|
|
19741
|
-
"val": new basic_1.
|
|
19742
|
+
"val": new basic_1.CLikeType(),
|
|
19742
19743
|
},
|
|
19743
19744
|
optional: {
|
|
19744
|
-
"sub": new basic_1.
|
|
19745
|
-
"regex": new basic_1.
|
|
19746
|
-
"pcre": new basic_1.
|
|
19745
|
+
"sub": new basic_1.CLikeType(),
|
|
19746
|
+
"regex": new basic_1.CLikeType(),
|
|
19747
|
+
"pcre": new basic_1.CLikeType(),
|
|
19747
19748
|
"case": new basic_1.CharacterType(1),
|
|
19748
19749
|
"off": new basic_1.IntegerType(),
|
|
19749
19750
|
"len": new basic_1.IntegerType(),
|
|
@@ -19754,12 +19755,12 @@ BuiltIn.methods = [
|
|
|
19754
19755
|
{
|
|
19755
19756
|
name: "COUNT_ANY_NOT_OF",
|
|
19756
19757
|
mandatory: {
|
|
19757
|
-
"val": new basic_1.
|
|
19758
|
+
"val": new basic_1.CLikeType(),
|
|
19758
19759
|
},
|
|
19759
19760
|
optional: {
|
|
19760
|
-
"sub": new basic_1.
|
|
19761
|
-
"regex": new basic_1.
|
|
19762
|
-
"pcre": new basic_1.
|
|
19761
|
+
"sub": new basic_1.CLikeType(),
|
|
19762
|
+
"regex": new basic_1.CLikeType(),
|
|
19763
|
+
"pcre": new basic_1.CLikeType(),
|
|
19763
19764
|
"case": new basic_1.CharacterType(1),
|
|
19764
19765
|
"off": new basic_1.IntegerType(),
|
|
19765
19766
|
"len": new basic_1.IntegerType(),
|
|
@@ -19770,12 +19771,12 @@ BuiltIn.methods = [
|
|
|
19770
19771
|
{
|
|
19771
19772
|
name: "COUNT_ANY_OF",
|
|
19772
19773
|
mandatory: {
|
|
19773
|
-
"val": new basic_1.
|
|
19774
|
+
"val": new basic_1.CLikeType(),
|
|
19774
19775
|
},
|
|
19775
19776
|
optional: {
|
|
19776
|
-
"sub": new basic_1.
|
|
19777
|
-
"regex": new basic_1.
|
|
19778
|
-
"pcre": new basic_1.
|
|
19777
|
+
"sub": new basic_1.CLikeType(),
|
|
19778
|
+
"regex": new basic_1.CLikeType(),
|
|
19779
|
+
"pcre": new basic_1.CLikeType(),
|
|
19779
19780
|
"case": new basic_1.CharacterType(1),
|
|
19780
19781
|
"off": new basic_1.IntegerType(),
|
|
19781
19782
|
"len": new basic_1.IntegerType(),
|
|
@@ -19786,15 +19787,15 @@ BuiltIn.methods = [
|
|
|
19786
19787
|
{
|
|
19787
19788
|
name: "DBMAXLEN",
|
|
19788
19789
|
mandatory: {
|
|
19789
|
-
"val": new basic_1.
|
|
19790
|
+
"val": new basic_1.CLikeType(),
|
|
19790
19791
|
},
|
|
19791
19792
|
return: new basic_1.IntegerType(),
|
|
19792
19793
|
},
|
|
19793
19794
|
{
|
|
19794
19795
|
name: "DISTANCE",
|
|
19795
19796
|
mandatory: {
|
|
19796
|
-
"val1": new basic_1.
|
|
19797
|
-
"val2": new basic_1.
|
|
19797
|
+
"val1": new basic_1.CLikeType(),
|
|
19798
|
+
"val2": new basic_1.CLikeType(),
|
|
19798
19799
|
},
|
|
19799
19800
|
return: new basic_1.IntegerType(),
|
|
19800
19801
|
version: version_1.Version.v702,
|
|
@@ -19802,8 +19803,8 @@ BuiltIn.methods = [
|
|
|
19802
19803
|
{
|
|
19803
19804
|
name: "ESCAPE",
|
|
19804
19805
|
mandatory: {
|
|
19805
|
-
"val": new basic_1.
|
|
19806
|
-
"format": new basic_1.
|
|
19806
|
+
"val": new basic_1.CLikeType(),
|
|
19807
|
+
"format": new basic_1.CLikeType(),
|
|
19807
19808
|
},
|
|
19808
19809
|
return: new basic_1.StringType(),
|
|
19809
19810
|
version: version_1.Version.v702,
|
|
@@ -19818,12 +19819,12 @@ BuiltIn.methods = [
|
|
|
19818
19819
|
{
|
|
19819
19820
|
name: "FIND",
|
|
19820
19821
|
mandatory: {
|
|
19821
|
-
"val": new basic_1.
|
|
19822
|
+
"val": new basic_1.CLikeType(),
|
|
19822
19823
|
},
|
|
19823
19824
|
optional: {
|
|
19824
|
-
"sub": new basic_1.
|
|
19825
|
-
"regex": new basic_1.
|
|
19826
|
-
"pcre": new basic_1.
|
|
19825
|
+
"sub": new basic_1.CLikeType(),
|
|
19826
|
+
"regex": new basic_1.CLikeType(),
|
|
19827
|
+
"pcre": new basic_1.CLikeType(),
|
|
19827
19828
|
"case": new basic_1.CharacterType(1),
|
|
19828
19829
|
"off": new basic_1.IntegerType(),
|
|
19829
19830
|
"len": new basic_1.IntegerType(),
|
|
@@ -19835,10 +19836,10 @@ BuiltIn.methods = [
|
|
|
19835
19836
|
{
|
|
19836
19837
|
name: "FIND_ANY_NOT_OF",
|
|
19837
19838
|
mandatory: {
|
|
19838
|
-
"val": new basic_1.
|
|
19839
|
+
"val": new basic_1.CLikeType(),
|
|
19839
19840
|
},
|
|
19840
19841
|
optional: {
|
|
19841
|
-
"sub": new basic_1.
|
|
19842
|
+
"sub": new basic_1.CLikeType(),
|
|
19842
19843
|
"off": new basic_1.IntegerType(),
|
|
19843
19844
|
"len": new basic_1.IntegerType(),
|
|
19844
19845
|
"occ": new basic_1.IntegerType(),
|
|
@@ -19849,10 +19850,10 @@ BuiltIn.methods = [
|
|
|
19849
19850
|
{
|
|
19850
19851
|
name: "FIND_ANY_OF",
|
|
19851
19852
|
mandatory: {
|
|
19852
|
-
"val": new basic_1.
|
|
19853
|
+
"val": new basic_1.CLikeType(),
|
|
19853
19854
|
},
|
|
19854
19855
|
optional: {
|
|
19855
|
-
"sub": new basic_1.
|
|
19856
|
+
"sub": new basic_1.CLikeType(),
|
|
19856
19857
|
"off": new basic_1.IntegerType(),
|
|
19857
19858
|
"len": new basic_1.IntegerType(),
|
|
19858
19859
|
"occ": new basic_1.IntegerType(),
|
|
@@ -19863,12 +19864,12 @@ BuiltIn.methods = [
|
|
|
19863
19864
|
{
|
|
19864
19865
|
name: "FIND_END",
|
|
19865
19866
|
mandatory: {
|
|
19866
|
-
"val": new basic_1.
|
|
19867
|
+
"val": new basic_1.CLikeType(),
|
|
19867
19868
|
},
|
|
19868
19869
|
optional: {
|
|
19869
|
-
"sub": new basic_1.
|
|
19870
|
-
"regex": new basic_1.
|
|
19871
|
-
"pcre": new basic_1.
|
|
19870
|
+
"sub": new basic_1.CLikeType(),
|
|
19871
|
+
"regex": new basic_1.CLikeType(),
|
|
19872
|
+
"pcre": new basic_1.CLikeType(),
|
|
19872
19873
|
"case": new basic_1.CharacterType(1),
|
|
19873
19874
|
"off": new basic_1.IntegerType(),
|
|
19874
19875
|
"len": new basic_1.IntegerType(),
|
|
@@ -19893,7 +19894,9 @@ BuiltIn.methods = [
|
|
|
19893
19894
|
},
|
|
19894
19895
|
{
|
|
19895
19896
|
name: "FROM_MIXED",
|
|
19896
|
-
mandatory: {
|
|
19897
|
+
mandatory: {
|
|
19898
|
+
"val": new basic_1.CLikeType()
|
|
19899
|
+
},
|
|
19897
19900
|
optional: {
|
|
19898
19901
|
"case": new basic_1.CharacterType(1),
|
|
19899
19902
|
"sep": new basic_1.IntegerType(),
|
|
@@ -19905,8 +19908,8 @@ BuiltIn.methods = [
|
|
|
19905
19908
|
{
|
|
19906
19909
|
name: "INSERT",
|
|
19907
19910
|
mandatory: {
|
|
19908
|
-
"val": new basic_1.
|
|
19909
|
-
"sub": new basic_1.
|
|
19911
|
+
"val": new basic_1.CLikeType(),
|
|
19912
|
+
"sub": new basic_1.CLikeType(),
|
|
19910
19913
|
},
|
|
19911
19914
|
optional: {
|
|
19912
19915
|
"off": new basic_1.IntegerType(),
|
|
@@ -19935,7 +19938,7 @@ BuiltIn.methods = [
|
|
|
19935
19938
|
{
|
|
19936
19939
|
name: "LINE_INDEX",
|
|
19937
19940
|
mandatory: {
|
|
19938
|
-
"val": new basic_1.
|
|
19941
|
+
"val": new basic_1.CLikeType(),
|
|
19939
19942
|
},
|
|
19940
19943
|
return: new basic_1.IntegerType(),
|
|
19941
19944
|
version: version_1.Version.v740sp02,
|
|
@@ -19964,11 +19967,11 @@ BuiltIn.methods = [
|
|
|
19964
19967
|
{
|
|
19965
19968
|
name: "MATCH",
|
|
19966
19969
|
mandatory: {
|
|
19967
|
-
"val": new basic_1.
|
|
19970
|
+
"val": new basic_1.CLikeType(),
|
|
19968
19971
|
}, optional: {
|
|
19969
19972
|
"case": new basic_1.CharacterType(1),
|
|
19970
|
-
"regex": new basic_1.
|
|
19971
|
-
"pcre": new basic_1.
|
|
19973
|
+
"regex": new basic_1.CLikeType(),
|
|
19974
|
+
"pcre": new basic_1.CLikeType(),
|
|
19972
19975
|
"occ": new basic_1.IntegerType(),
|
|
19973
19976
|
},
|
|
19974
19977
|
return: new basic_1.StringType(),
|
|
@@ -19977,12 +19980,12 @@ BuiltIn.methods = [
|
|
|
19977
19980
|
{
|
|
19978
19981
|
name: "MATCHES",
|
|
19979
19982
|
mandatory: {
|
|
19980
|
-
"val": new basic_1.
|
|
19983
|
+
"val": new basic_1.CLikeType(),
|
|
19981
19984
|
},
|
|
19982
19985
|
optional: {
|
|
19983
19986
|
"case": new basic_1.CharacterType(1),
|
|
19984
|
-
"regex": new basic_1.
|
|
19985
|
-
"pcre": new basic_1.
|
|
19987
|
+
"regex": new basic_1.CLikeType(),
|
|
19988
|
+
"pcre": new basic_1.CLikeType(),
|
|
19986
19989
|
"off": new basic_1.IntegerType(),
|
|
19987
19990
|
"len": new basic_1.IntegerType(),
|
|
19988
19991
|
},
|
|
@@ -19993,17 +19996,17 @@ BuiltIn.methods = [
|
|
|
19993
19996
|
{
|
|
19994
19997
|
name: "NMAX",
|
|
19995
19998
|
mandatory: {
|
|
19996
|
-
"val1": new basic_1.
|
|
19997
|
-
"val2": new basic_1.
|
|
19999
|
+
"val1": new basic_1.CLikeType(),
|
|
20000
|
+
"val2": new basic_1.CLikeType(),
|
|
19998
20001
|
},
|
|
19999
20002
|
optional: {
|
|
20000
|
-
"val3": new basic_1.
|
|
20001
|
-
"val4": new basic_1.
|
|
20002
|
-
"val5": new basic_1.
|
|
20003
|
-
"val6": new basic_1.
|
|
20004
|
-
"val7": new basic_1.
|
|
20005
|
-
"val8": new basic_1.
|
|
20006
|
-
"val9": new basic_1.
|
|
20003
|
+
"val3": new basic_1.CLikeType(),
|
|
20004
|
+
"val4": new basic_1.CLikeType(),
|
|
20005
|
+
"val5": new basic_1.CLikeType(),
|
|
20006
|
+
"val6": new basic_1.CLikeType(),
|
|
20007
|
+
"val7": new basic_1.CLikeType(),
|
|
20008
|
+
"val8": new basic_1.CLikeType(),
|
|
20009
|
+
"val9": new basic_1.CLikeType(),
|
|
20007
20010
|
},
|
|
20008
20011
|
return: new basic_1.IntegerType(),
|
|
20009
20012
|
version: version_1.Version.v702,
|
|
@@ -20011,17 +20014,17 @@ BuiltIn.methods = [
|
|
|
20011
20014
|
{
|
|
20012
20015
|
name: "NMIN",
|
|
20013
20016
|
mandatory: {
|
|
20014
|
-
"val1": new basic_1.
|
|
20015
|
-
"val2": new basic_1.
|
|
20017
|
+
"val1": new basic_1.CLikeType(),
|
|
20018
|
+
"val2": new basic_1.CLikeType(),
|
|
20016
20019
|
},
|
|
20017
20020
|
optional: {
|
|
20018
|
-
"val3": new basic_1.
|
|
20019
|
-
"val4": new basic_1.
|
|
20020
|
-
"val5": new basic_1.
|
|
20021
|
-
"val6": new basic_1.
|
|
20022
|
-
"val7": new basic_1.
|
|
20023
|
-
"val8": new basic_1.
|
|
20024
|
-
"val9": new basic_1.
|
|
20021
|
+
"val3": new basic_1.CLikeType(),
|
|
20022
|
+
"val4": new basic_1.CLikeType(),
|
|
20023
|
+
"val5": new basic_1.CLikeType(),
|
|
20024
|
+
"val6": new basic_1.CLikeType(),
|
|
20025
|
+
"val7": new basic_1.CLikeType(),
|
|
20026
|
+
"val8": new basic_1.CLikeType(),
|
|
20027
|
+
"val9": new basic_1.CLikeType(),
|
|
20025
20028
|
},
|
|
20026
20029
|
return: new basic_1.IntegerType(),
|
|
20027
20030
|
version: version_1.Version.v702,
|
|
@@ -20029,14 +20032,14 @@ BuiltIn.methods = [
|
|
|
20029
20032
|
{
|
|
20030
20033
|
name: "NUMOFCHAR",
|
|
20031
20034
|
mandatory: {
|
|
20032
|
-
"val": new basic_1.
|
|
20035
|
+
"val": new basic_1.CLikeType(),
|
|
20033
20036
|
},
|
|
20034
20037
|
return: new basic_1.IntegerType(),
|
|
20035
20038
|
},
|
|
20036
20039
|
{
|
|
20037
20040
|
name: "REPEAT",
|
|
20038
20041
|
mandatory: {
|
|
20039
|
-
"val": new basic_1.
|
|
20042
|
+
"val": new basic_1.CLikeType(),
|
|
20040
20043
|
"occ": new basic_1.IntegerType(),
|
|
20041
20044
|
},
|
|
20042
20045
|
return: new basic_1.StringType(),
|
|
@@ -20045,13 +20048,13 @@ BuiltIn.methods = [
|
|
|
20045
20048
|
{
|
|
20046
20049
|
name: "REPLACE",
|
|
20047
20050
|
mandatory: {
|
|
20048
|
-
"val": new basic_1.
|
|
20049
|
-
"with": new basic_1.
|
|
20051
|
+
"val": new basic_1.CLikeType(),
|
|
20052
|
+
"with": new basic_1.CLikeType(),
|
|
20050
20053
|
},
|
|
20051
20054
|
optional: {
|
|
20052
|
-
"sub": new basic_1.
|
|
20053
|
-
"regex": new basic_1.
|
|
20054
|
-
"pcre": new basic_1.
|
|
20055
|
+
"sub": new basic_1.CLikeType(),
|
|
20056
|
+
"regex": new basic_1.CLikeType(),
|
|
20057
|
+
"pcre": new basic_1.CLikeType(),
|
|
20055
20058
|
"case": new basic_1.CharacterType(1),
|
|
20056
20059
|
"off": new basic_1.IntegerType(),
|
|
20057
20060
|
"len": new basic_1.IntegerType(),
|
|
@@ -20076,7 +20079,7 @@ BuiltIn.methods = [
|
|
|
20076
20079
|
{
|
|
20077
20080
|
name: "REVERSE",
|
|
20078
20081
|
mandatory: {
|
|
20079
|
-
"val": new basic_1.
|
|
20082
|
+
"val": new basic_1.CLikeType(),
|
|
20080
20083
|
},
|
|
20081
20084
|
return: new basic_1.StringType(),
|
|
20082
20085
|
version: version_1.Version.v702,
|
|
@@ -20097,12 +20100,12 @@ BuiltIn.methods = [
|
|
|
20097
20100
|
{
|
|
20098
20101
|
name: "SEGMENT",
|
|
20099
20102
|
mandatory: {
|
|
20100
|
-
"val": new basic_1.
|
|
20103
|
+
"val": new basic_1.CLikeType(),
|
|
20101
20104
|
"index": new basic_1.IntegerType(),
|
|
20102
20105
|
},
|
|
20103
20106
|
optional: {
|
|
20104
|
-
"sep": new basic_1.
|
|
20105
|
-
"space": new basic_1.
|
|
20107
|
+
"sep": new basic_1.CLikeType(),
|
|
20108
|
+
"space": new basic_1.CLikeType(),
|
|
20106
20109
|
},
|
|
20107
20110
|
return: new basic_1.StringType(),
|
|
20108
20111
|
version: version_1.Version.v702,
|
|
@@ -20110,10 +20113,10 @@ BuiltIn.methods = [
|
|
|
20110
20113
|
{
|
|
20111
20114
|
name: "SHIFT_LEFT",
|
|
20112
20115
|
mandatory: {
|
|
20113
|
-
"val": new basic_1.
|
|
20116
|
+
"val": new basic_1.CLikeType(),
|
|
20114
20117
|
},
|
|
20115
20118
|
optional: {
|
|
20116
|
-
"sub": new basic_1.
|
|
20119
|
+
"sub": new basic_1.CLikeType(),
|
|
20117
20120
|
"places": new basic_1.IntegerType(),
|
|
20118
20121
|
"circular": new basic_1.IntegerType(),
|
|
20119
20122
|
},
|
|
@@ -20123,10 +20126,10 @@ BuiltIn.methods = [
|
|
|
20123
20126
|
{
|
|
20124
20127
|
name: "SHIFT_RIGHT",
|
|
20125
20128
|
mandatory: {
|
|
20126
|
-
"val": new basic_1.
|
|
20129
|
+
"val": new basic_1.CLikeType(),
|
|
20127
20130
|
},
|
|
20128
20131
|
optional: {
|
|
20129
|
-
"sub": new basic_1.
|
|
20132
|
+
"sub": new basic_1.CLikeType(),
|
|
20130
20133
|
"places": new basic_1.IntegerType(),
|
|
20131
20134
|
"circular": new basic_1.IntegerType(),
|
|
20132
20135
|
},
|
|
@@ -20186,9 +20189,9 @@ BuiltIn.methods = [
|
|
|
20186
20189
|
"val": new basic_1.CLikeType(),
|
|
20187
20190
|
},
|
|
20188
20191
|
optional: {
|
|
20189
|
-
"sub": new basic_1.
|
|
20190
|
-
"regex": new basic_1.
|
|
20191
|
-
"pcre": new basic_1.
|
|
20192
|
+
"sub": new basic_1.CLikeType(),
|
|
20193
|
+
"regex": new basic_1.CLikeType(),
|
|
20194
|
+
"pcre": new basic_1.CLikeType(),
|
|
20192
20195
|
"case": new basic_1.CharacterType(1),
|
|
20193
20196
|
"len": new basic_1.IntegerType(),
|
|
20194
20197
|
"occ": new basic_1.IntegerType(),
|
|
@@ -20202,9 +20205,9 @@ BuiltIn.methods = [
|
|
|
20202
20205
|
"val": new basic_1.CLikeType(),
|
|
20203
20206
|
},
|
|
20204
20207
|
optional: {
|
|
20205
|
-
"sub": new basic_1.
|
|
20206
|
-
"regex": new basic_1.
|
|
20207
|
-
"pcre": new basic_1.
|
|
20208
|
+
"sub": new basic_1.CLikeType(),
|
|
20209
|
+
"regex": new basic_1.CLikeType(),
|
|
20210
|
+
"pcre": new basic_1.CLikeType(),
|
|
20208
20211
|
"case": new basic_1.CharacterType(1),
|
|
20209
20212
|
"len": new basic_1.IntegerType(),
|
|
20210
20213
|
"occ": new basic_1.IntegerType(),
|
|
@@ -20218,9 +20221,9 @@ BuiltIn.methods = [
|
|
|
20218
20221
|
"val": new basic_1.CLikeType(),
|
|
20219
20222
|
},
|
|
20220
20223
|
optional: {
|
|
20221
|
-
"sub": new basic_1.
|
|
20222
|
-
"regex": new basic_1.
|
|
20223
|
-
"pcre": new basic_1.
|
|
20224
|
+
"sub": new basic_1.CLikeType(),
|
|
20225
|
+
"regex": new basic_1.CLikeType(),
|
|
20226
|
+
"pcre": new basic_1.CLikeType(),
|
|
20224
20227
|
"case": new basic_1.CharacterType(1),
|
|
20225
20228
|
"len": new basic_1.IntegerType(),
|
|
20226
20229
|
"occ": new basic_1.IntegerType(),
|
|
@@ -20234,9 +20237,9 @@ BuiltIn.methods = [
|
|
|
20234
20237
|
"val": new basic_1.CLikeType(),
|
|
20235
20238
|
},
|
|
20236
20239
|
optional: {
|
|
20237
|
-
"sub": new basic_1.
|
|
20238
|
-
"regex": new basic_1.
|
|
20239
|
-
"pcre": new basic_1.
|
|
20240
|
+
"sub": new basic_1.CLikeType(),
|
|
20241
|
+
"regex": new basic_1.CLikeType(),
|
|
20242
|
+
"pcre": new basic_1.CLikeType(),
|
|
20240
20243
|
"case": new basic_1.CharacterType(1),
|
|
20241
20244
|
"len": new basic_1.IntegerType(),
|
|
20242
20245
|
"occ": new basic_1.IntegerType(),
|
|
@@ -20261,7 +20264,7 @@ BuiltIn.methods = [
|
|
|
20261
20264
|
{
|
|
20262
20265
|
name: "TO_LOWER",
|
|
20263
20266
|
mandatory: {
|
|
20264
|
-
"val": new basic_1.
|
|
20267
|
+
"val": new basic_1.CLikeType(),
|
|
20265
20268
|
},
|
|
20266
20269
|
return: new basic_1.StringType(),
|
|
20267
20270
|
version: version_1.Version.v702,
|
|
@@ -20269,7 +20272,7 @@ BuiltIn.methods = [
|
|
|
20269
20272
|
{
|
|
20270
20273
|
name: "TO_MIXED",
|
|
20271
20274
|
mandatory: {
|
|
20272
|
-
"val": new basic_1.
|
|
20275
|
+
"val": new basic_1.CLikeType(),
|
|
20273
20276
|
},
|
|
20274
20277
|
optional: {
|
|
20275
20278
|
"case": new basic_1.CharacterType(1),
|
|
@@ -20281,16 +20284,16 @@ BuiltIn.methods = [
|
|
|
20281
20284
|
},
|
|
20282
20285
|
{
|
|
20283
20286
|
name: "TO_UPPER",
|
|
20284
|
-
mandatory: { "val": new basic_1.
|
|
20287
|
+
mandatory: { "val": new basic_1.CLikeType() },
|
|
20285
20288
|
return: new basic_1.StringType(),
|
|
20286
20289
|
version: version_1.Version.v702,
|
|
20287
20290
|
},
|
|
20288
20291
|
{
|
|
20289
20292
|
name: "TRANSLATE",
|
|
20290
20293
|
mandatory: {
|
|
20291
|
-
"val": new basic_1.
|
|
20292
|
-
"from": new basic_1.
|
|
20293
|
-
"to": new basic_1.
|
|
20294
|
+
"val": new basic_1.CLikeType(),
|
|
20295
|
+
"from": new basic_1.CLikeType(),
|
|
20296
|
+
"to": new basic_1.CLikeType(),
|
|
20294
20297
|
},
|
|
20295
20298
|
return: new basic_1.StringType(),
|
|
20296
20299
|
version: version_1.Version.v702,
|
|
@@ -20333,7 +20336,7 @@ BuiltIn.methods = [
|
|
|
20333
20336
|
{
|
|
20334
20337
|
name: "XSDBOOL",
|
|
20335
20338
|
mandatory: {
|
|
20336
|
-
"val": new basic_1.
|
|
20339
|
+
"val": new basic_1.CLikeType(),
|
|
20337
20340
|
},
|
|
20338
20341
|
return: new basic_1.CharacterType(1),
|
|
20339
20342
|
version: version_1.Version.v740sp08,
|
|
@@ -21550,7 +21553,7 @@ class TypeUtils {
|
|
|
21550
21553
|
return false;
|
|
21551
21554
|
}
|
|
21552
21555
|
isAssignableStrict(source, target) {
|
|
21553
|
-
var _a, _b, _c, _d;
|
|
21556
|
+
var _a, _b, _c, _d, _e;
|
|
21554
21557
|
/*
|
|
21555
21558
|
console.dir(source);
|
|
21556
21559
|
console.dir(target);
|
|
@@ -21568,16 +21571,22 @@ class TypeUtils {
|
|
|
21568
21571
|
}
|
|
21569
21572
|
return false;
|
|
21570
21573
|
}
|
|
21574
|
+
else if (target instanceof basic_1.StringType) {
|
|
21575
|
+
if (((_c = source.getAbstractTypeData()) === null || _c === void 0 ? void 0 : _c.derivedFromConstant) === true) {
|
|
21576
|
+
return true;
|
|
21577
|
+
}
|
|
21578
|
+
return false;
|
|
21579
|
+
}
|
|
21571
21580
|
}
|
|
21572
21581
|
else if (source instanceof basic_1.HexType) {
|
|
21573
21582
|
if (target instanceof basic_1.HexType) {
|
|
21574
|
-
if (((
|
|
21583
|
+
if (((_d = source.getAbstractTypeData()) === null || _d === void 0 ? void 0 : _d.derivedFromConstant) === true) {
|
|
21575
21584
|
return source.getLength() <= target.getLength();
|
|
21576
21585
|
}
|
|
21577
21586
|
return source.getLength() === target.getLength();
|
|
21578
21587
|
}
|
|
21579
21588
|
else if (target instanceof basic_1.IntegerType) {
|
|
21580
|
-
if (((
|
|
21589
|
+
if (((_e = source.getAbstractTypeData()) === null || _e === void 0 ? void 0 : _e.derivedFromConstant) === true) {
|
|
21581
21590
|
return true;
|
|
21582
21591
|
}
|
|
21583
21592
|
return false;
|
|
@@ -47605,7 +47614,7 @@ class Registry {
|
|
|
47605
47614
|
}
|
|
47606
47615
|
static abaplintVersion() {
|
|
47607
47616
|
// magic, see build script "version.sh"
|
|
47608
|
-
return "2.99.
|
|
47617
|
+
return "2.99.11";
|
|
47609
47618
|
}
|
|
47610
47619
|
getDDICReferences() {
|
|
47611
47620
|
return this.references;
|
|
@@ -63592,6 +63601,10 @@ If the target is a sorted/hashed table, no issue is reported`,
|
|
|
63592
63601
|
if (this.isTargetSortedOrHashed(s, spaghetti, file)) {
|
|
63593
63602
|
continue;
|
|
63594
63603
|
}
|
|
63604
|
+
else if (s.findFirstExpression(Expressions.SQLJoin) && s.findFirstExpression(Expressions.SQLForAllEntries)) {
|
|
63605
|
+
// see https://github.com/abaplint/abaplint/issues/2957
|
|
63606
|
+
continue;
|
|
63607
|
+
}
|
|
63595
63608
|
issues.push(issue_1.Issue.atStatement(file, s, "Add ORDER BY", this.getMetadata().key, this.conf.severity));
|
|
63596
63609
|
}
|
|
63597
63610
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.99.
|
|
3
|
+
"version": "2.99.11",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"bin": {
|
|
6
6
|
"abaplint": "./abaplint"
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://abaplint.org",
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@abaplint/core": "^2.99.
|
|
40
|
+
"@abaplint/core": "^2.99.11",
|
|
41
41
|
"@types/chai": "^4.3.5",
|
|
42
42
|
"@types/glob": "^7.2.0",
|
|
43
43
|
"@types/minimist": "^1.2.2",
|
|
44
44
|
"@types/mocha": "^10.0.1",
|
|
45
|
-
"@types/node": "^20.1.
|
|
45
|
+
"@types/node": "^20.1.2",
|
|
46
46
|
"@types/progress": "^2.0.5",
|
|
47
47
|
"chai": "^4.3.7",
|
|
48
48
|
"chalk": "^5.2.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"mocha": "^10.2.0",
|
|
55
55
|
"progress": "^2.0.3",
|
|
56
56
|
"typescript": "^5.0.4",
|
|
57
|
-
"webpack": "^5.82.
|
|
57
|
+
"webpack": "^5.82.1",
|
|
58
58
|
"webpack-cli": "^5.1.1",
|
|
59
59
|
"xml-js": "^1.6.11"
|
|
60
60
|
},
|