Skip to main content

Module method

Module method 

Source
Expand description

ASTRegApply implementations for AddMethodMutation and RemoveMethodMutation

New design: Methods are registered directly on types (Struct/Enum) as Type::method. Impl blocks are file-level constructs added to module_items for code generation.