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

Function visitClassExpression

test/fixtures/snapshot/typescript.js:92273–92284  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

92271 return statement;
92272 }
92273 function visitClassExpression(node) {
92274 if (!isClassLikeDeclarationWithTypeScriptSyntax(node)) {
92275 return ts.visitEachChild(node, visitor, context);
92276 }
92277 var classExpression = factory.createClassExpression(
92278 /*decorators*/ undefined,
92279 /*modifiers*/ undefined, node.name,
92280 /*typeParameters*/ undefined, ts.visitNodes(node.heritageClauses, visitor, ts.isHeritageClause), transformClassMembers(node));
92281 ts.setOriginalNode(classExpression, node);
92282 ts.setTextRange(classExpression, node);
92283 return classExpression;
92284 }
92285 /**
92286 * Transforms the members of a class.
92287 *

Callers 3

visitTypeScriptFunction · 0.85
visitClassLikeFunction · 0.85
visitorWorkerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…