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

Function parseTypeAnnotation

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

Source from the content-addressed store, hash-verified

34289 return type;
34290 }
34291 function parseTypeAnnotation() {
34292 return parseOptional(58 /* SyntaxKind.ColonToken */) ? parseType() : undefined;
34293 }
34294 // EXPRESSIONS
34295 function isStartOfLeftHandSideExpression() {
34296 switch (token()) {

Callers 6

parseParameterWorkerFunction · 0.85
parseMappedTypeFunction · 0.85
parseVariableDeclarationFunction · 0.85
parsePropertyDeclarationFunction · 0.85

Calls 2

parseOptionalFunction · 0.85
parseTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…