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

Predicate CharacterEscapes::getAnIdentityEscapedCharacter

Gets a character in n that is preceded by a single useless backslash.

The character is the ith character of rawStringNode’s raw string value.

Import path

import semmle.javascript.CharacterEscapes
string getAnIdentityEscapedCharacter(Node n, AstNode rawStringNode, int i)