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

Member predicate ModelInput::TypeModel::getASource

Gets a data-flow node that is a source of the given type.

Note that type should also be included in isTypeUsed.

This must not depend on API graphs, but ensures that an API node is generated for the source.

Node getASource(string type)