@@ -122,28 +122,12 @@ private class SummaryModelCsvInternal extends Unit {
122122 abstract predicate row ( string row ) ;
123123}
124124
125- /**
126- * DEPRECATED: Define neutral models as data extensions instead.
127- *
128- * A unit class for adding additional neutral model rows.
129- *
130- * Extend this class to add additional neutral definitions.
131- */
132- deprecated class NeutralModelCsv = NeutralModelCsvInternal ;
133-
134- private class NeutralModelCsvInternal extends Unit {
135- /** Holds if `row` specifies a neutral definition. */
136- abstract predicate row ( string row ) ;
137- }
138-
139125private predicate sourceModelInternal ( string row ) { any ( SourceModelCsvInternal s ) .row ( row ) }
140126
141127private predicate summaryModelInternal ( string row ) { any ( SummaryModelCsvInternal s ) .row ( row ) }
142128
143129private predicate sinkModelInternal ( string row ) { any ( SinkModelCsvInternal s ) .row ( row ) }
144130
145- private predicate neutralModelInternal ( string row ) { any ( NeutralModelCsvInternal s ) .row ( row ) }
146-
147131/**
148132 * Holds if an experimental source model exists for the given parameters.
149133 * This is only for experimental queries.
@@ -318,15 +302,6 @@ extensible predicate extNeutralModel(
318302
319303/** Holds if a neutral model exists indicating there is no flow for the given parameters. */
320304predicate neutralModel ( string package , string type , string name , string signature , string provenance ) {
321- exists ( string row |
322- neutralModelInternal ( row ) and
323- row .splitAt ( ";" , 0 ) = package and
324- row .splitAt ( ";" , 1 ) = type and
325- row .splitAt ( ";" , 2 ) = name and
326- row .splitAt ( ";" , 3 ) = signature and
327- row .splitAt ( ";" , 4 ) = provenance
328- )
329- or
330305 extNeutralModel ( package , type , name , signature , provenance )
331306}
332307
@@ -468,8 +443,6 @@ module ModelValidation {
468443 sinkModelInternal ( row ) and expect = 9 and pred = "sink"
469444 or
470445 summaryModelInternal ( row ) and expect = 10 and pred = "summary"
471- or
472- neutralModelInternal ( row ) and expect = 5 and pred = "neutral"
473446 |
474447 exists ( int cols |
475448 cols = 1 + max ( int n | exists ( row .splitAt ( ";" , n ) ) ) and
0 commit comments