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

Predicate Make::isLeftArmTerm

Holds if term is one of the transitive left children of a regexp.

Import path

import codeql.regex.HostnameRegexp
predicate isLeftArmTerm(RegExpTerm term)