MCPcopy
hub / github.com/ternjs/tern / skipSpace

Function skipSpace

plugin/doc_comment.js:198–201  ·  view source on GitHub ↗
(str, pos)

Source from the content-addressed store, hash-verified

196 // explicitly defined types in the analysis.
197
198 function skipSpace(str, pos) {
199 while (/\s/.test(str.charAt(pos))) ++pos;
200 return pos;
201 }
202
203 function isIdentifier(string) {
204 if (!acorn.isIdentifierStart(string.charCodeAt(0))) return false;

Callers 4

parseLabelListFunction · 0.85
parseTypeFunction · 0.85
parseTypeInnerFunction · 0.85
parseTypeOuterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…