repeat_ele module

Define the REPEAT_ELE command.

class RepeatEle(line: DatLine, dat_idx: int | None = None, **kwargs: str)

Bases: Command

Repeat the n following elements k times.

is_implemented: bool = True
n_attributes: int | range | Collection = 2
__init__(line: DatLine, dat_idx: int | None = None, **kwargs: str) None

Instantiate object.

set_influenced_elements(instructions: Sequence[Instruction], **kwargs: float) None

Capture n following elements, as well as their commands.

apply(instructions: list[Instruction], **kwargs: float) list[Instruction]

Copy the n elements k times.

_abc_impl = <_abc._abc_data object at 0x7f36f9df1c00>