classFactorLexemeGenerator
final class FactorLexemeGenerator
implements LexemeGenerator
sql_yacc.yy/factor accepts exactly 2 or 3; paired ALTER USER factors differ and ADD factors ascend.
Methods§
public function generate(LexemeInput $input): ?LexemeCandidatesConstrains the left factor using the resolved right factor within the same ALTER USER item.
Parameters
$input | LexemeInput |
Returns
Test cases 3
Calls 4
- method-call LexemeInput::terminal() line 24
- method-call ValueLexemeGenerator::generate() line 45
- new ValueLexemeGenerator line 45
- new WordDomain line 45
Test cases 12§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 9
LexicalExceptionTestcallsGenerationContextTestcallsCharsetValueLexemeGeneratorTestcallsDefinitionFactoryTestcallsLexicalGrammarTestcallsSqlGeneratorFactoryTestcallsMySqlProviderTestcallsPostgreSqlProviderTestcallsSqliteProviderTestcalls