MCPcopy Index your code
hub / github.com/nodejs/node / reScanTemplateToken

Function reScanTemplateToken

test/fixtures/snapshot/typescript.js:11995–11999  ·  view source on GitHub ↗

* Unconditionally back up and scan a template expression portion.

(isTaggedTemplate)

Source from the content-addressed store, hash-verified

11993 * Unconditionally back up and scan a template expression portion.
11994 */
11995 function reScanTemplateToken(isTaggedTemplate) {
11996 ts.Debug.assert(token === 19 /* SyntaxKind.CloseBraceToken */, "'reScanTemplateToken' should only be called on a '}'");
11997 pos = tokenPos;
11998 return token = scanTemplateAndSetTokenValue(isTaggedTemplate);
11999 }
12000 function reScanTemplateHeadOrNoSubstitutionTemplate() {
12001 pos = tokenPos;
12002 return token = scanTemplateAndSetTokenValue(/* isTaggedTemplate */ true);

Callers 1

Calls 2

assertMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…