@@ -159,41 +159,41 @@ module Public {
159
159
SummaryComponentStack return ( ReturnKind rk ) { result = singleton ( SummaryComponent:: return ( rk ) ) }
160
160
}
161
161
162
- private predicate noComponentSpecificCsv ( SummaryComponent sc ) {
163
- not exists ( getComponentSpecificCsv ( sc ) )
162
+ private predicate noComponentSpecific ( SummaryComponent sc ) {
163
+ not exists ( getComponentSpecific ( sc ) )
164
164
}
165
165
166
166
/** Gets a textual representation of this component used for flow summaries. */
167
- private string getComponentCsv ( SummaryComponent sc ) {
168
- result = getComponentSpecificCsv ( sc )
167
+ private string getComponent ( SummaryComponent sc ) {
168
+ result = getComponentSpecific ( sc )
169
169
or
170
- noComponentSpecificCsv ( sc ) and
170
+ noComponentSpecific ( sc ) and
171
171
(
172
172
exists ( ArgumentPosition pos |
173
173
sc = TParameterSummaryComponent ( pos ) and
174
- result = "Parameter[" + getArgumentPositionCsv ( pos ) + "]"
174
+ result = "Parameter[" + getArgumentPosition ( pos ) + "]"
175
175
)
176
176
or
177
177
exists ( ParameterPosition pos |
178
178
sc = TArgumentSummaryComponent ( pos ) and
179
- result = "Argument[" + getParameterPositionCsv ( pos ) + "]"
179
+ result = "Argument[" + getParameterPosition ( pos ) + "]"
180
180
)
181
181
or
182
182
sc = TReturnSummaryComponent ( getReturnValueKind ( ) ) and result = "ReturnValue"
183
183
)
184
184
}
185
185
186
186
/** Gets a textual representation of this stack used for flow summaries. */
187
- string getComponentStackCsv ( SummaryComponentStack stack ) {
187
+ string getComponentStack ( SummaryComponentStack stack ) {
188
188
exists ( SummaryComponent head , SummaryComponentStack tail |
189
189
head = stack .head ( ) and
190
190
tail = stack .tail ( ) and
191
- result = getComponentStackCsv ( tail ) + "." + getComponentCsv ( head )
191
+ result = getComponentStack ( tail ) + "." + getComponent ( head )
192
192
)
193
193
or
194
194
exists ( SummaryComponent c |
195
195
stack = TSingletonSummaryComponentStack ( c ) and
196
- result = getComponentCsv ( c )
196
+ result = getComponent ( c )
197
197
)
198
198
}
199
199
@@ -1217,8 +1217,8 @@ module Private {
1217
1217
c .relevantSummary ( input , output , preservesValue ) and
1218
1218
csv =
1219
1219
c .getCallableCsv ( ) // Callable information
1220
- + getComponentStackCsv ( input ) + ";" // input
1221
- + getComponentStackCsv ( output ) + ";" // output
1220
+ + getComponentStack ( input ) + ";" // input
1221
+ + getComponentStack ( output ) + ";" // output
1222
1222
+ renderKind ( preservesValue ) + ";" // kind
1223
1223
+ renderProvenance ( c ) // provenance
1224
1224
)
0 commit comments