classPrecisionLexemeGenerator
final class PrecisionLexemeGenerator
implements LexemeGenerator
Create_field::init requires M >= D; my_decimal_trim gives (0,0) its default precision.
Methods§
public function generate(LexemeInput $input): ?LexemeCandidatesUses the already resolved scale from the same precision occurrence to construct the width domain.
Parameters
$input | LexemeInput |
Returns
Test cases 2
Calls 5
- method-call LexemeInput::terminal() line 26
- function-call
in_arrayline 27 - static-call LexemeCandidates::of() line 39
- new IntegerLexemeGenerator line 42
- method-call IntegerLexemeGenerator::generate() 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