MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / class_def

Method class_def

compiler/src/modules/parser/literals.rs:478–478  ·  view source on GitHub ↗

class: compiles body into fresh chunk, emits MakeClass+decorators+StoreName. */

(&mut self)

Source from the content-addressed store, hash-verified

476
477 /* class: compiles body into fresh chunk, emits MakeClass+decorators+StoreName. */
478 pub(super) fn class_def(&mut self) { self.class_def_with(0) }
479
480 pub(super) fn class_def_with(&mut self, decorators: u16) {
481 // Missing name: non-syncing diagnostic + synthetic name so body still parses.

Callers 1

stmtMethod · 0.80

Calls 1

class_def_withMethod · 0.80

Tested by

no test coverage detected