Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.6.3 (changelog, source)

Module API::Label

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

Import path

import javascript

Predicates

arrayElement

Gets the edge label for an unknown array element.

content

Gets the content edge label for content c.

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.

spreadArgument

Gets the edge label for a spread argument passed at index i.

unknownMember

Gets the edge label for an unknown member.

Classes

ApiLabel

A label in the API-graph