classHashBoundLexemeGenerator
final class HashBoundLexemeGenerator
implements LexemeGenerator
Implements the modulus/remainder name checks in PostgreSQL 17.2 gram.y/PartitionBoundSpec.
Methods§
public function generate(LexemeInput $input): ?LexemeCandidatesBoth orders remain reachable; a previously selected name in the same bound is not repeated.
Parameters
$input | LexemeInput |
Returns
Test cases 1
Calls 6
- method-call LexemeInput::terminal() line 26
- function-call
strtolowerline 34 - function-call
in_arrayline 40 - new LexemeSequence line 41
- new Lexeme line 42
- static-call LexemeCandidates::of() line 46
Test cases 8§
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 7
MySqlProviderTestcallsGenerationContextTestcallsDefinitionFactoryTestcallsLexicalGrammarTestcallsPostgreSqlProviderTestcallsSqlGeneratorFactoryTestcallsSqliteProviderTestcalls