final class SubstringRule
    implements RewriteRule

gram.y:substr_list uses SIMILAR/ESCAPE as argument separators, also accepted inside a_expr.

Methods§

public function rewrite(TerminalSequence $sequence): TerminalSequence

Groups compound arguments after nested operand grouping to keep their operators inside the argument.

Parameters

Test cases 2
Calls 4

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

Relations§

Instantiated in 1