MCPcopy
hub / github.com/jquery/esprima / parseClassBody

Method parseClassBody

src/parser.ts:3279–3284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3277 }
3278
3279 parseClassBody(): Node.ClassBody {
3280 const node = this.createNode();
3281 const elementList = this.parseClassElementList();
3282
3283 return this.finalize(node, new Node.ClassBody(elementList));
3284 }
3285
3286 parseClassDeclaration(identifierIsOptional?: boolean): Node.ClassDeclaration {
3287 const node = this.createNode();

Callers 2

parseClassDeclarationMethod · 0.95
parseClassExpressionMethod · 0.95

Calls 3

createNodeMethod · 0.95
parseClassElementListMethod · 0.95
finalizeMethod · 0.95

Tested by

no test coverage detected