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

Function reScanGreaterToken

test/fixtures/snapshot/typescript.js:11892–11913  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11890 }
11891 }
11892 function reScanGreaterToken() {
11893 if (token === 31 /* SyntaxKind.GreaterThanToken */) {
11894 if (text.charCodeAt(pos) === 62 /* CharacterCodes.greaterThan */) {
11895 if (text.charCodeAt(pos + 1) === 62 /* CharacterCodes.greaterThan */) {
11896 if (text.charCodeAt(pos + 2) === 61 /* CharacterCodes.equals */) {
11897 return pos += 3, token = 72 /* SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken */;
11898 }
11899 return pos += 2, token = 49 /* SyntaxKind.GreaterThanGreaterThanGreaterThanToken */;
11900 }
11901 if (text.charCodeAt(pos + 1) === 61 /* CharacterCodes.equals */) {
11902 return pos += 2, token = 71 /* SyntaxKind.GreaterThanGreaterThanEqualsToken */;
11903 }
11904 pos++;
11905 return token = 48 /* SyntaxKind.GreaterThanGreaterThanToken */;
11906 }
11907 if (text.charCodeAt(pos) === 61 /* CharacterCodes.equals */) {
11908 pos++;
11909 return token = 33 /* SyntaxKind.GreaterThanEqualsToken */;
11910 }
11911 }
11912 return token;
11913 }
11914 function reScanAsteriskEqualsToken() {
11915 ts.Debug.assert(token === 66 /* SyntaxKind.AsteriskEqualsToken */, "'reScanAsteriskEqualsToken' should only be called on a '*='");
11916 pos = tokenPos + 1;

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…