core.commands.adjust module

Define the ADJUST command.

As for now, ADJUST commands are not used by LightWin.

Functionnality under implementation: LightWin will be able to add ADJUST and DIAGNOSTIC commands to perform a beauty pass.

Todo

How should I save the min/max variables?? For now, use None.

Note

This is TraceWin’s equivalent of Variable.

class Adjust(line: list[str], dat_idx: int, **kwargs)

Bases: Command

A dummy command.

__init__(line: list[str], dat_idx: int, **kwargs) None

Instantiate the object.

_abc_impl = <_abc._abc_data object>
apply(*args, **kwargs) list[Instruction]

Do not apply anything.

is_implemented: bool = False
n_attributes: int | range | Collection = range(2, 8)
set_influenced_elements(instructions: list[Instruction], **kwargs: float) None

Apply command to first Element that is found.