marker module

Define a useless command to keep track of MARKER.

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

Bases: Command

Dummy class.

Parameters:
is_implemented: bool = False
__init__(line, dat_idx=None, **kwargs)[source]

Instantiate the dummy command.

Parameters:
Return type:

None

set_influenced_elements(instructions, **kwargs)[source]

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

Parameters:
Return type:

None

apply(instructions, **kwargs)[source]

Do nothing.

Parameters:
Return type:

list[Instruction]

concerns_one_of(dat_indexes)[source]

Tell if self concerns an element, which dat_idx is given.

Internally, we convert the self.influenced from a set to a list object and check intersections with dat_indexes.

Parameters:

dat_indexes (list[int]) – Indexes in the DAT file of the sub-list of elements under creation.

Return type:

bool

_abc_impl = <_abc._abc_data object at 0x7318fb80b200>