CodeQL library for JavaScript
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.

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