CodeQL library for JavaScript
Search

Module ModelOutput

Module providing access to the imported models in terms of API graph nodes.

Import path

import semmle.javascript.frameworks.data.internal.ApiGraphModels

Predicates

getASinkNode

Holds if a CSV sink model contributed sink with the given kind.

getASourceNode

Holds if a CSV source model contributed source with the given kind.

getATypeNode

Holds if node is seen as an instance of (package,type) due to a type definition contributed by a CSV model.

getAWarning

Gets an error message relating to an invalid CSV row in a model.

relevantSummaryModel

Holds if a relevant CSV summary exists for these parameters.

resolvedSummaryBase

Holds if a baseNode is an invocation identified by the package,type,path part of a summary row.