@@ -460,7 +460,7 @@ module CsvValidation {
460
460
summaryModel ( _, _, _, _, _, _, input , _, _) and pred = "summary"
461
461
|
462
462
specSplit ( input , part , _) and
463
- not part .regexpMatch ( "|ReturnValue|ArrayElement|Element" ) and
463
+ not part .regexpMatch ( "|ReturnValue|ArrayElement|Element|MapKey|MapValue " ) and
464
464
not ( part = "Argument" and pred = "sink" ) and
465
465
not parseArg ( part , _) and
466
466
msg = "Unrecognized input specification \"" + part + "\" in " + pred + " model."
@@ -472,7 +472,7 @@ module CsvValidation {
472
472
summaryModel ( _, _, _, _, _, _, _, output , _) and pred = "summary"
473
473
|
474
474
specSplit ( output , part , _) and
475
- not part .regexpMatch ( "|ReturnValue|ArrayElement|Element" ) and
475
+ not part .regexpMatch ( "|ReturnValue|ArrayElement|Element|MapKey|MapValue " ) and
476
476
not ( part = [ "Argument" , "Parameter" ] and pred = "source" ) and
477
477
not parseArg ( part , _) and
478
478
not parseParam ( part , _) and
@@ -690,10 +690,10 @@ private SummaryComponent interpretComponent(string c) {
690
690
c = "ArrayElement" and result = SummaryComponent:: content ( any ( ArrayContent c0 ) )
691
691
or
692
692
c = "Element" and result = SummaryComponent:: content ( any ( CollectionContent c0 ) )
693
- // or
694
- // c = "MapKey" and result = SummaryComponent::content(any(MapKeyContent c0))
695
- // or
696
- // c = "MapValue" and result = SummaryComponent::content(any(MapValueContent c0))
693
+ or
694
+ c = "MapKey" and result = SummaryComponent:: content ( any ( MapKeyContent c0 ) )
695
+ or
696
+ c = "MapValue" and result = SummaryComponent:: content ( any ( MapValueContent c0 ) )
697
697
)
698
698
}
699
699
0 commit comments