classParserNameRule
final class ParserNameRule
implements RewriteRule
gram.y restricts partition strategies, JSON encodings, and literal role names beyond their grammar productions.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceReplaces only the direct name child; descendant column names and general RoleSpec references remain intact.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 3
Calls 4
- method-call TerminalSequence::occurrences() line 26
- method-call TerminalSequence::child() line 27
- method-call TerminalSequence::range() line 28
- function-call
in_arrayline 36
Test cases 10§
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 7
MySqlProviderTestcallsGenerationContextTestcallsColumnNameRuleTestcallsRewriteDefinitionsTestcallsSqlGeneratorFactoryTestcallsPostgreSqlProviderTestcallsSqliteProviderTestcalls