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

Predicate Make::getRoot

Gets the root containing the given term, that is, the root of the literal, or a branch of the root disjunction.

Import path

import codeql.regex.nfa.NfaUtils
RegExpRoot getRoot(RegExpTerm term)