CodeQL library for JavaScript
Search

Module Templating

Import path

import javascript

Predicates

getADelimiter

Gets a string that is a known template delimiter.

getDelimiterMatchingRegexp

Gets a regular expression that matches a string containing one of the known template delimiters identified by getADelimiter(), storing it in its first (and only) capture group.

getDelimiterMatchingRegexpWithPrefix

Gets a regular expression that matches a string containing one of the known template delimiters identified by getADelimiter(), storing it in its first (and only) capture group. Where the string prior to the template delimiter matches the regexp prefix.