MCPcopy Create free account
hub / github.com/nodejs/node / isNonWhitespaceToken

Function isNonWhitespaceToken

test/fixtures/snapshot/typescript.js:127609–127611  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

127607 }
127608 ts.findPrecedingToken = findPrecedingToken;
127609 function isNonWhitespaceToken(n) {
127610 return ts.isToken(n) && !isWhiteSpaceOnlyJsxText(n);
127611 }
127612 function findRightmostToken(n, sourceFile) {
127613 if (isNonWhitespaceToken(n)) {
127614 return n;

Callers 2

findFunction · 0.85
findRightmostTokenFunction · 0.85

Calls 1

isWhiteSpaceOnlyJsxTextFunction · 0.85

Tested by

no test coverage detected