classAnyRelationNameRule
final class AnyRelationNameRule
implements RewriteRule
gram.y/makeRangeVarFromAnyName limits composite type relation names to three components.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceLimits only the three grammar actions constructing a RangeVar from any_name.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 1
Calls 6
- method-call TerminalSequence::occurrences() line 23
- method-call TerminalSequence::range() line 24
- function-call
array_searchline 29 - method-call TerminalSequence::child() line 36
- method-call TerminalSequence::nameAt() line 37
- function-call
array_reverseline 41
Test cases 7§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 6
MySqlProviderTestcallsGenerationContextTestcallsRewriteDefinitionsTestcallsSqlGeneratorFactoryTestcallsPostgreSqlProviderTestcallsSqliteProviderTestcalls