final class CharsetLexemeGenerator
    implements LexemeGenerator

sql_yacc.yy literal actions require introduced bytes to be well formed in the selected character set.

Methods§

public function generate(LexemeInput $input): ?LexemeCandidates

Filters a finite declared charset domain against the already resolved right-hand literal.

Parameters

Test cases 1
Calls 6
public function bytes(string $literal): string

Decodes complete binary literal forms; text-literal quoting consists only of ASCII bytes.

Parameters

$literalstring

Returns

string
Test cases 2
Called from 1
Calls 11
public function accepts(string $charset, string $bytes): bool

Test cases 12§

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 9

Relations§

Instantiated in 1