classLanguageRule
final class LanguageRule
implements RewriteRule
sql_yacc.yy/stored_routine_body requires a non-SQL language for AS strings and SQL for statement bodies.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceMakes the body's language explicit after any characteristics, retaining the chosen body.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 2
Calls 2
- method-call TerminalSequence::occurrences() line 21
- method-call TerminalSequence::range() line 22
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