classCharsetValueLexemeGenerator
final class CharsetValueLexemeGenerator
implements LexemeGenerator
sql_yacc.yy literal actions impose charset validity on introduced string, hex and bit values.
Methods§
public function __construct(
private LexemeGenerator $ordinary,
private LexemeGenerator $introduced,
)Composes separate constructive domains while preserving each child's explicit-spelling contract.
Parameters
$ordinary | LexemeGenerator | |
$introduced | LexemeGenerator |
public function generate(LexemeInput $input): ?LexemeCandidatesUses a domain valid under every declared introducer, including a charset fixed by a partial caller plan.
Parameters
$input | LexemeInput |
Returns
Private surface 2§
Implementation details, listed for orientation only.
private LexemeGenerator $ordinaryprivate LexemeGenerator $introducedTest cases 10§
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 8
LexicalExceptionTestcallsGenerationContextTestcallsDefinitionFactoryTestcallsLexicalGrammarTestcallsMySqlProviderTestcallsPostgreSqlProviderTestcallsSqlGeneratorFactoryTestcallsSqliteProviderTestcalls