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