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

Member predicate DataFlow::RegExpConstructorInvokeNode::getRoot

Gets the AST of the regular expression created here, provided that the first argument is a string literal.

RegExpTerm getRoot()