Module ApiGraphModelsSpecific
Contains the language-specific part of the models-as-data implementation found in ApiGraphModels.qll
.
It must export the following members:
class Unit // a unit type
class InvokeNode // a type representing an invocation connected to the API graph
module API // the API graph module
predicate isPackageUsed(string package)
API::Node getExtraNodeFromPath(string package, string type, string path, int n)
API::Node getExtraSuccessorFromNode(API::Node node, AccessPathTokenBase token)
API::Node getExtraSuccessorFromInvoke(InvokeNode node, AccessPathTokenBase token)
predicate invocationMatchesExtraCallSiteFilter(InvokeNode invoke, AccessPathTokenBase token)
InvokeNode getAnInvocationOf(API::Node node)
predicate isExtraValidTokenNameInIdentifyingAccessPath(string name)
predicate isExtraValidNoArgumentTokenInIdentifyingAccessPath(string name)
predicate isExtraValidTokenArgumentInIdentifyingAccessPath(string name, string argument)
Import path
import semmle.javascript.frameworks.data.internal.ApiGraphModelsSpecific
Predicates
apiGraphHasEdge | Holds if the edge |
getAFuzzySuccessor | |
getAnInvocationOf | Gets an |
getExtraNodeFromPath | Gets a JavaScript-specific interpretation of the |
getExtraNodeFromType | Gets a JavaScript-specific interpretation of the |
getExtraSuccessorFromInvoke | Gets a JavaScript-specific API graph successor of |
getExtraSuccessorFromNode | Gets a JavaScript-specific API graph successor of |
hasImplicitTypeModel | Holds if |
invocationMatchesExtraCallSiteFilter | Holds if |
isExtraValidNoArgumentTokenInIdentifyingAccessPath | Holds if |
isExtraValidTokenArgumentInIdentifyingAccessPath | Holds if |
isExtraValidTokenNameInIdentifyingAccessPath | Holds if |
isPackageUsed | Holds if models describing |
isTypeUsed | |
parseTypeString | Holds if |
sourceFlowsToSink | Holds if the value of |
summaryStep | Holds if a CSV summary contributed the step |
Modules
Aliases
API | Provides classes and predicates for working with the API boundary between the current codebase and external libraries. |
DataFlow | |
InvokeNode | An |
Location | A location as given by a file, a start line, a start column, an end line, and an end column. |