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

Module MembershipCandidate

Provides classes for recognizing membership candidates.

Import path

import javascript

Classes

ArrayMembershipCandidate

A candidate that may be a member of an array.

CollectionMembershipCandidate

A candidate that may be a member of a collection class, such as a map or set.

ObjectPropertyNameMembershipCandidate

A candidate that may be a property name of an object.

Range

An expression that is tested for membership of a collection.

SwitchCaseCandidate

A candidate that may match a switch case.