classHashPartitionBoundRule
final class HashPartitionBoundRule
implements RewriteRule
Supplies exactly the two named bounds required by gram.y/PartitionBoundSpec.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceRetains the first two integer values; the lexical handler chooses both distinct bound names.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 2
Calls 7
- method-call TerminalSequence::occurrences() line 23
- method-call TerminalSequence::child() line 24
- method-call TerminalSequence::range() line 25
- function-call
array_reverseline 30 - function-call
array_sliceline 34 - method-call TerminalSequence::insertedFor() line 38
- function-call
array_pushline 39
Test cases 8§
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 6
MySqlProviderTestcallsGenerationContextTestcallsRewriteDefinitionsTestcallsPostgreSqlProviderTestcallsSqlGeneratorFactoryTestcallsSqliteProviderTestcalls