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

Function isIdentifier

plugin/doc_comment.js:203–208  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

201 }
202
203 function isIdentifier(string) {
204 if (!acorn.isIdentifierStart(string.charCodeAt(0))) return false;
205 for (var i = 1; i < string.length; i++)
206 if (!acorn.isIdentifierChar(string.charCodeAt(i))) return false;
207 return true;
208 }
209
210 function parseLabelList(scope, str, pos, close) {
211 var labels = [], types = [], madeUp = false;

Callers 1

parseLabelListFunction · 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…