end module

Define a command to indicate end of the linac.

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

Bases: Command

The end of the linac.

is_implemented: bool = True
n_attributes: int | range | Collection = 0
__init__(line: list[str], dat_idx: int, **kwargs: str) None

Call mother __init__.

set_influenced_elements(*args, **kwargs: float) None

Determine the index of the element concerned by apply().

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

Remove everything in instructions after this object.

_abc_impl = <_abc._abc_data object at 0x7fd3ce70ee40>