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

Function parseTypeOuter

plugin/doc_comment.js:378–387  ·  view source on GitHub ↗
(scope, str, pos)

Source from the content-addressed store, hash-verified

376 }
377
378 function parseTypeOuter(scope, str, pos) {
379 pos = skipSpace(str, pos || 0);
380 if (str.charAt(pos) != "{") return null;
381 var result = parseType(scope, str, pos + 1);
382 if (!result) return null;
383 var end = skipSpace(str, result.end);
384 if (str.charAt(end) != "}") return null;
385 result.end = end + 1;
386 return result;
387 }
388
389 function jsdocInterpretComments(node, scope, aval, comments) {
390 var type, args, ret, foundOne, self, parsed;

Callers 2

jsdocInterpretCommentsFunction · 0.85
jsdocParseTypedefsFunction · 0.85

Calls 2

skipSpaceFunction · 0.85
parseTypeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…