classBisonExpectDeclaration
final class BisonExpectDeclaration
implements BisonDeclaration
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Represents a %expect declaration.
Example: %expect 37
Properties§
public int $countMethods§
public function __construct(public int $count)Parameters
$count | int | Shift/reduce conflicts the grammar's author accepts |
Test cases 2
Test cases 7§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
BisonExpectDeclarationTest::testCountcovers and calls
Other tests reaching this symbol 6
BisonDeclarationTest::testEveryDeclarationKindCanBeCarriedByAnAstcallsBisonParserTest::testParseExpectDirectivecovers and callsBisonPreambleReaderTestcallsBisonStartSymbolTest::testFromFallsBackToTheFirstRuleWhenNoneIsDeclaredcallsBisonDirectiveReaderChainTest::providerDirectivecallsExpectDirectiveReaderTest::testReadTakesTheConflictCountcalls