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

Module API::Label

Provides classes modeling the various edges (labels) in the API graph.

Import path

import javascript

Predicates

decoratedClass

Gets the label for an edge leading from a value D to any class that has D as a decorator.

decoratedMember

Gets the label for an edge leading from a value D to any method, field, or accessor that has D as a decorator.

decoratedParameter

Gets the label for an edge leading from a value D to any parameter that has D as a decorator.

entryPoint

Gets an entry-point label for the entry-point e.

forwardingFunction

Gets the label representing a function wrapper that forwards to an underlying function.

instance

Gets the instance edge label.

member

Gets the member edge label for member m.

memberFromRef

Gets the member edge label for the given property reference.

moduleLabel

Gets the edge label for the module m.

parameter

Gets the parameter edge label for the ith parameter.

promised

Gets the promised edge label connecting a promise to its contained value.

promisedError

Gets the promisedError edge label connecting a promise to its rejected value.

receiver

Gets the edge label for the receiver.

return

Gets the return edge label.

unknownMember

Gets the member edge label for the unknown member.

Classes

ApiLabel

A label in the API-graph