56
56
* the type is related to the `foo` package but is not intended to match a static type.
57
57
*/
58
58
59
- private import Impl as Impl
59
+ private import ApiGraphModelsSpecific as Specific
60
60
import AccessPathSyntax
61
61
62
- private class Unit = Impl :: Unit ;
62
+ private class Unit = Specific :: Unit ;
63
63
64
- private module API = Impl :: API;
64
+ private module API = Specific :: API;
65
65
66
66
/** Module containing hooks for providing input data to be interpreted as a model. */
67
67
module ModelInput {
@@ -230,7 +230,7 @@ string getAPackageAlias(string package) {
230
230
* Holds if CSV rows involving `package` might be relevant for the analysis of this database.
231
231
*/
232
232
private predicate isRelevantPackage ( string package ) {
233
- Impl :: isPackageUsed ( package )
233
+ Specific :: isPackageUsed ( package )
234
234
or
235
235
exists ( string other |
236
236
isRelevantPackage ( other ) and
@@ -282,7 +282,7 @@ private API::Node getSuccessorFromNode(API::Node node, AccessPathToken token) {
282
282
result = node .getReturn ( )
283
283
or
284
284
// Language-specific tokens
285
- result = Impl :: getExtraSuccessorFromNode ( node , token )
285
+ result = Specific :: getExtraSuccessorFromNode ( node , token )
286
286
}
287
287
288
288
/**
@@ -303,7 +303,7 @@ private API::Node getSuccessorFromInvoke(API::InvokeNode invoke, AccessPathToken
303
303
result = invoke .getReturn ( )
304
304
or
305
305
// Language-specific tokens
306
- result = Impl :: getExtraSuccessorFromInvoke ( invoke , token )
306
+ result = Specific :: getExtraSuccessorFromInvoke ( invoke , token )
307
307
}
308
308
309
309
/**
@@ -314,7 +314,7 @@ private predicate invocationMatchesCallSiteFilter(API::InvokeNode invoke, Access
314
314
token .getName ( ) = "WithArity" and
315
315
invoke .getNumArgument ( ) = getAnIntFromStringUnbounded ( token .getAnArgument ( ) )
316
316
or
317
- Impl :: invocationMatchesExtraCallSiteFilter ( invoke , token )
317
+ Specific :: invocationMatchesExtraCallSiteFilter ( invoke , token )
318
318
}
319
319
320
320
/**
@@ -335,7 +335,7 @@ API::Node getNodeFromPath(string package, string type, AccessPath path, int n) {
335
335
)
336
336
or
337
337
// Language-specific cases, such as handling of global variables
338
- result = Impl :: getExtraNodeFromPath ( package , type , path , n )
338
+ result = Specific :: getExtraNodeFromPath ( package , type , path , n )
339
339
)
340
340
or
341
341
result = getSuccessorFromNode ( getNodeFromPath ( package , type , path , n - 1 ) , path .getToken ( n - 1 ) )
0 commit comments