repeat_ele module

Define the REPEAT_ELE command.

class RepeatEle(line, dat_idx=None, **kwargs)[source]

Bases: Command

Repeat the n following elements k times.

Parameters:
is_implemented: bool = True
n_attributes: int | range | Collection = 2
__init__(line, dat_idx=None, **kwargs)[source]

Instantiate object.

Parameters:
Return type:

None

set_influenced_elements(instructions, **kwargs)[source]

Capture n following elements, as well as their commands.

Parameters:
Return type:

None

apply(instructions, **kwargs)[source]

Copy the n elements k times.

Parameters:
Return type:

list[Instruction]

_abc_impl = <_abc._abc_data object at 0x7318fb808700>