ml_switcheroo.core.rewriter.structure¶

Structure Rewriter Aggregator.

Combines class, function, and type annotation rewriting logic. Splitting into sub-modules keeps file sizes manageable.

Classes¶

StructureMixin

Composite mixin for all structural rewriting tasks.

Module Contents¶

class ml_switcheroo.core.rewriter.structure.StructureMixin(semantics: ml_switcheroo.semantics.manager.SemanticsManager, config: ml_switcheroo.config.RuntimeConfig)¶

Bases: ml_switcheroo.core.rewriter.structure_class.ClassStructureMixin, ml_switcheroo.core.rewriter.structure_func.FuncStructureMixin, ml_switcheroo.core.rewriter.structure_types.TypeStructureMixin

Composite mixin for all structural rewriting tasks. Inherits from granular mixins to assemble the full feature set.