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

Function parseClassDeclaration

test/fixtures/snapshot/typescript.js:36855–36857  ·  view source on GitHub ↗
(pos, hasJSDoc, decorators, modifiers)

Source from the content-addressed store, hash-verified

36853 return parseClassDeclarationOrExpression(getNodePos(), hasPrecedingJSDocComment(), /*decorators*/ undefined, /*modifiers*/ undefined, 226 /* SyntaxKind.ClassExpression */);
36854 }
36855 function parseClassDeclaration(pos, hasJSDoc, decorators, modifiers) {
36856 return parseClassDeclarationOrExpression(pos, hasJSDoc, decorators, modifiers, 257 /* SyntaxKind.ClassDeclaration */);
36857 }
36858 function parseClassDeclarationOrExpression(pos, hasJSDoc, decorators, modifiers, kind) {
36859 var savedAwaitContext = inAwaitContext();
36860 parseExpected(84 /* SyntaxKind.ClassKeyword */);

Callers 2

parseStatementFunction · 0.85
parseDeclarationWorkerFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…