@@ -159,41 +159,41 @@ module Public {
159159 SummaryComponentStack return ( ReturnKind rk ) { result = singleton ( SummaryComponent:: return ( rk ) ) }
160160 }
161161
162- private predicate noComponentSpecificCsv ( SummaryComponent sc ) {
163- not exists ( getComponentSpecificCsv ( sc ) )
162+ private predicate noComponentSpecific ( SummaryComponent sc ) {
163+ not exists ( getComponentSpecific ( sc ) )
164164 }
165165
166166 /** 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 )
169169 or
170- noComponentSpecificCsv ( sc ) and
170+ noComponentSpecific ( sc ) and
171171 (
172172 exists ( ArgumentPosition pos |
173173 sc = TParameterSummaryComponent ( pos ) and
174- result = "Parameter[" + getArgumentPositionCsv ( pos ) + "]"
174+ result = "Parameter[" + getArgumentPosition ( pos ) + "]"
175175 )
176176 or
177177 exists ( ParameterPosition pos |
178178 sc = TArgumentSummaryComponent ( pos ) and
179- result = "Argument[" + getParameterPositionCsv ( pos ) + "]"
179+ result = "Argument[" + getParameterPosition ( pos ) + "]"
180180 )
181181 or
182182 sc = TReturnSummaryComponent ( getReturnValueKind ( ) ) and result = "ReturnValue"
183183 )
184184 }
185185
186186 /** Gets a textual representation of this stack used for flow summaries. */
187- string getComponentStackCsv ( SummaryComponentStack stack ) {
187+ string getComponentStack ( SummaryComponentStack stack ) {
188188 exists ( SummaryComponent head , SummaryComponentStack tail |
189189 head = stack .head ( ) and
190190 tail = stack .tail ( ) and
191- result = getComponentStackCsv ( tail ) + "." + getComponentCsv ( head )
191+ result = getComponentStack ( tail ) + "." + getComponent ( head )
192192 )
193193 or
194194 exists ( SummaryComponent c |
195195 stack = TSingletonSummaryComponentStack ( c ) and
196- result = getComponentCsv ( c )
196+ result = getComponent ( c )
197197 )
198198 }
199199
@@ -1217,8 +1217,8 @@ module Private {
12171217 c .relevantSummary ( input , output , preservesValue ) and
12181218 csv =
12191219 c .getCallableCsv ( ) // Callable information
1220- + getComponentStackCsv ( input ) + ";" // input
1221- + getComponentStackCsv ( output ) + ";" // output
1220+ + getComponentStack ( input ) + ";" // input
1221+ + getComponentStack ( output ) + ";" // output
12221222 + renderKind ( preservesValue ) + ";" // kind
12231223 + renderProvenance ( c ) // provenance
12241224 )
0 commit comments