CodeQL library for JavaScript
codeql/javascript-all 0.6.1 ( 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 ( )