final class Introducers
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

The character set names a string, hexadecimal or bit literal may be introduced with.

Rule: MYSQL-INTRODUCER-001. _name before a literal is a character set introducer only when the name is a character set the server compiles in; any other such word is an identifier. The list is the one the lexer of the pinned parser uses for MySQL 5.6 through 9.1. Names are compared without regard to ASCII case and held in lower case. Source: https://dev.mysql.com/doc/refman/8.4/en/charset-introducer.html. Status: Implemented.

Methods§

public function charset(string $token): string

Private surface 1§

Implementation details, listed for orientation only.

private const NAMES = ['armscii8', 'ascii', 'big5', 'binary', 'cp1250', 'cp1251', 'cp1256', 'cp1257',…

Test cases 3§

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

Dedicated tests 3

Relations§

Instantiated in 4
Method calls 4