classResolvedState
final class ResolvedState
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
The actions of one state once its conflicts have been settled.
Properties§
public array<int, int> $actionspublic array<int, int> $reductionCountspublic int $shiftReduceConflictspublic int $reduceReduceConflictsMethods§
public function __construct(
public array<int, int> $actions,
public array<int, int> $reductionCounts,
public int $shiftReduceConflicts,
public int $reduceReduceConflicts,
)Parameters
$actions | array<int, int> | Action code by terminal, explicit errors included |
$reductionCounts | array<int, int> | How many terminals each completed rule still reduces on |
$shiftReduceConflicts | int | Terminals where a shift won by default |
$reduceReduceConflicts | int | Terminals where an earlier rule won by default |
Test cases 4§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 3
ConflictResolverTestcallsParseTableBuilderTest::testDefaultRulecallsLrParserTestcalls