classLegacyDerivedTableRule
final class LegacyDerivedTableRule
implements RewriteRule
Legacy table_factor shares a bare SELECT production with parenthesized derived syntax. A generated table operand needs its own parentheses and alias before joining siblings.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceCompletes only the legacy bare SELECT table-factor production.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 2
Calls 5
- method-call TerminalSequence::occurrences() line 22
- method-call TerminalSequence::child() line 23
- method-call TerminalSequence::range() line 26
- function-call
countline 32 - function-call
array_sliceline 37
Test cases 8§
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 6
GenerationContextTestcallsRewriteDefinitionsTestcallsSqlGeneratorFactoryTestcallsMySqlProviderTestcallsPostgreSqlProviderTestcallsSqliteProviderTestcalls