classSizeNumberLexemeGenerator
final class SizeNumberLexemeGenerator
implements LexemeGenerator
Supplies identifier-form sizes accepted by sql_yacc.yy:size_number, with a 31-bit magnitude prefix.
Methods§
public function generate(LexemeInput $input): ?LexemeCandidatesPreserves explicit decimal K/M/G spellings and their optional identifier quoting.
Parameters
$input | LexemeInput |
Returns
Test cases 2
Calls 13
- method-call LexemeInput::terminal() line 29
- new SequenceDomain line 32
- new IntegerDomain line 32
- new WordDomain line 32
- function-call
str_starts_withline 35 - function-call
str_ends_withline 35 - function-call
substrline 35 - function-call
in_arrayline 36 - function-call
strlenline 36 - method-call SequenceDomain::match() line 36
- new LexemeSequence line 39
- new Lexeme line 40
- static-call LexemeCandidates::of() line 43
Test cases 11§
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 9
LexicalExceptionTestcallsGenerationContextTestcallsCharsetValueLexemeGeneratorTestcallsDefinitionFactoryTestcallsLexicalGrammarTestcallsSqlGeneratorFactoryTestcallsMySqlProviderTestcallsPostgreSqlProviderTestcallsSqliteProviderTestcalls