core.commands.repeat_ele module
Define the REPEAT_ELE command.
- class RepeatEle(line: list[str], dat_idx: int, **kwargs: str)
Bases:
Command
Repeat the
n
following elementsk
times.- __init__(line: list[str], dat_idx: int, **kwargs: str) None
Instantiate object.
- _abc_impl = <_abc._abc_data object>
- apply(instructions: list[Instruction], **kwargs: float) list[Instruction]
Copy the
n
elementsk
times.
- is_implemented: bool = True
- n_attributes: int | range | Collection = 2
- set_influenced_elements(instructions: Sequence[Instruction], **kwargs: float) None
Capture
n
following elements, as well as their commands.