repeat_ele module

Define the REPEAT_ELE command.

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

Bases: Command

Repeat the n following elements k times.

is_implemented: bool = True
n_attributes: int | range | Collection = 2
__init__(line: list[str], dat_idx: int, **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 0x7fd3ce9a0080>