classSqlVersion
final class SqlVersion
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
One supported release of a dialect and the resources shipped for it.
Properties§
public string $dialectpublic string $namepublic string $tablePathpublic string $keywordPathMethods§
public function __construct(
public string $dialect,
public string $name,
public string $tablePath,
public string $keywordPath,
)Parameters
$dialect | string | Dialect the release belongs to |
$name | string | Release tag as declared by the resource manifest |
$tablePath | string | Absolute path of the parse table |
$keywordPath | string | Absolute path of the keyword table |
Test cases 21§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 20
KeywordTableTestcallsMySqlLexerTestcallsNumberScannerTestcallsOperatorScannerTestcallsQuotedScannerTestcallsScanTestcallsTriviaScannerTestcallsVariableScannerTestcallsWordScannerTestcallsMySqlParserTestcallsMySqlVersionTestcallsKeywordTableTestcallsPostgreSqlParserTestcallsPostgreSqlVersionTestcallsResourceWriterTest::testWriteKeywordscallsResourceWriterTest::testWriteTablecallsVersionRegistryTestcallsKeywordTableTestcallsSqliteParserTestcallsSqliteVersionTestcalls
Relations§
Instantiated in 1
Type declarations 6
- type SqlParser\MySql\MySqlVersion packages/sql-parser/src/MySql/MySqlVersion.php:26
- type SqlParser\PostgreSql\PostgreSqlVersion packages/sql-parser/src/PostgreSql/PostgreSqlVersion.php:26
- type SqlParser\Resource\ResourceWriter packages/sql-parser/src/Resource/ResourceWriter.php:33
- type SqlParser\Resource\ResourceWriter packages/sql-parser/src/Resource/ResourceWriter.php:48
- type SqlParser\Resource\VersionRegistry packages/sql-parser/src/Resource/VersionRegistry.php:36
- type SqlParser\Sqlite\SqliteVersion packages/sql-parser/src/Sqlite/SqliteVersion.php:26