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

Class ModelInput::TypeModel

A unit class for adding additional type model rows from CodeQL models.

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getASink

Gets a data-flow node that is a sink of the given type, usually because it is an argument passed to a parameter of that type.

getASource

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

getAnApiNode

Gets an API node that is a source or sink of the given type.

Inherited predicates

toString

Gets a textual representation of this element.

from Unit