classColumnNameRule
final class ColumnNameRule
implements RewriteRule
parse_expr.c and parse_target.c allow up to four ColumnRef fields before subscripting.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceKeeps the final column or star and leaves fields following the first subscript unrestricted.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 2
Calls 7
- function-call
array_reverseline 24 - method-call TerminalSequence::occurrences() line 24
- method-call TerminalSequence::range() line 25
- function-call
countline 30 - function-call
in_arrayline 31 - function-call
array_sliceline 45 - function-call
maxline 45
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
MySqlProviderTestcallsGenerationContextTestcallsRewriteDefinitionsTestcallsSqlGeneratorFactoryTestcallsPostgreSqlProviderTestcallsSqliteProviderTestcalls