final class DefinitionFactory

Declares scanner values, fixed spellings, contextual domains and spacing for each exact release. Source tags match every MySQL release in resources/version.php; lex.h links accompany the keyword declarations. Create_field::init is in field.cc for MySQL 5.6/5.7 and create_field.cc for MySQL 8.x/9.x.

Methods§

public function create(string $version): LexicalDefinition

Composes the selected release directly from the declarations in this file.

Parameters

$versionstring

Throws

RuntimeException When the exact release is unsupported
Test cases 786
Called from 1
Calls 33

Test cases 793§

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

Dedicated tests 785
Other tests reaching this symbol 8

Relations§

Instantiated in 1
Method calls 1