final class ConcatenationRule
    implements RewriteRule

Default SQL mode scans || as OR2_SYM; the OR_OR_SYM production constructs Item_func_concat. Preserve its operands and precedence by expressing that production as a native function call.

Methods§

public function rewrite(TerminalSequence $sequence): TerminalSequence

Rewrites innermost concatenations first, retaining the identities of both operand subtrees.

Parameters

Test cases 2
Calls 4

Test cases 6§

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 4

Relations§

Instantiated in 1