classParserOptionsRule
final class ParserOptionsRule
implements RewriteRule
Removes options forbidden by the trigger/view grammar actions, scoped to their direct owner.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceRetains normal triggers and non-recursive view options, including those nested in other statements.
Parameters
$sequence | TerminalSequence |
Returns
Calls 5
- method-call TerminalSequence::occurrences() line 25
- function-call
array_filterline 26 - function-call
countline 27 - method-call TerminalSequence::child() line 28
- method-call TerminalSequence::range() line 29
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