CodeQL library for JavaScript
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()