CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.2.1-dev (changelog, source)
Search

Module signature ModelExportSig

Specifies which parts of the API graph to export in ModelExport.

Import path

import javascript

Predicates

mustBeNamed

Holds if node must be named if it is part of the exported graph.

shouldContain

Holds if the exported model should contain node, if it is publicly accessible.

shouldContainType

Holds if the exported model should preserve all paths leading to an instance of type, including partial ones. It does not need to be closed transitively, ModelExport will extend this to include type models from which type can be derived.