final class SetNamesRule
    implements RewriteRule

sql/sql_yacc.yy option_value_no_option_type declares NAMES equal expr solely to reject it.

Methods§

public function __construct(private string $defaultTerminal = 'DEFAULT_SYM')

Binds the release's DEFAULT token name from sql_yacc.yy.

Parameters

$defaultTerminalstring
public function rewrite(TerminalSequence $sequence): TerminalSequence

Private surface 1§

Implementation details, listed for orientation only.

private string $defaultTerminal = 'DEFAULT_SYM'

Test cases 9§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 3
Other tests reaching this symbol 6

Relations§

Instantiated in 1