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

Function parseClassExpression

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

Source from the content-addressed store, hash-verified

36850 return ts.Debug.fail("Should not have attempted to parse class member declaration.");
36851 }
36852 function parseClassExpression() {
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 }

Callers 1

parsePrimaryExpressionFunction · 0.85

Calls 3

getNodePosFunction · 0.85
hasPrecedingJSDocCommentFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…