@@ -100,6 +100,7 @@ module ShowProvenance<
100100
101101 private module Models = TranslateModels< interpretModelForTest / 2 , provenance / 1 > ;
102102
103+ /** Holds if `model` is the `r`-th pretty-printed model used in the edges relation. */
103104 additional query predicate models ( int r , string model ) { Models:: models ( r , model ) }
104105
105106 query predicate edges ( PathNode a , PathNode b , string key , string val ) {
@@ -119,8 +120,10 @@ module ShowProvenance<
119120 * the provenance information.
120121 */
121122module TestPostProcessing {
123+ /** Holds if a query result exists with the given relation, row, column, and data. */
122124 external predicate queryResults ( string relation , int row , int column , string data ) ;
123125
126+ /** Holds if the given query relation exists. */
124127 external predicate queryRelations ( string relation ) ;
125128
126129 /** Transforms a `PathGraph` by printing the provenance information. */
@@ -133,6 +136,7 @@ module TestPostProcessing {
133136
134137 private module Models = TranslateModels< interpretModelForTest / 2 , provenance / 1 > ;
135138
139+ /** Holds if a result exists with the given relation, row, column, and data. */
136140 query predicate results ( string relation , int row , int column , string data ) {
137141 queryResults ( relation , row , column , data ) and
138142 ( relation != "edges" or column != provenanceColumn ( ) )
@@ -154,6 +158,7 @@ module TestPostProcessing {
154158 )
155159 }
156160
161+ /** Holds if the given result relation exists. */
157162 query predicate resultRelations ( string relation ) { queryRelations ( relation ) }
158163 }
159164}
0 commit comments