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