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

Member predicate RegExpTerm::isPartOfStringLiteral

Holds if this term occurs as part of a string literal.

This predicate holds regardless of whether the string literal is actually used as a regular expression. See isUsedAsRegExp.

predicate isPartOfStringLiteral()