final class ArrayRows
    implements ActionRows
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Action rows held in memory as they were built.

Methods§

public function __construct(private list<array<int, int>> $rows)

Parameters

$rowslist<array<int, int>>Action code by symbol, per state
public function row(int $state): array<int, int>

Answers the explicit actions of one state.

Parameters

$stateintState number

Returns

array<int, int> Action code by symbol number
Test cases 2
public function count(): int

Answers how many states there are.

Returns

int State count
Test cases 2
Calls 1

Private surface 1§

Implementation details, listed for orientation only.

private list<array<int, int>> $rows

Test cases 16§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 14

Relations§

Instantiated in 1