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

Names the family that lowers each alternative of the statement rules.

Rule: MYSQL-STATEMENT-ROUTES-001. Scope: statement (5.6, 5.7) and simple_statement (8.0 and later). Every alternative is a unit production whose only symbol is the rule of one statement; the table names the family that owns that rule in the family plan. The tables are generated from the plan and cover every alternative of every shipped release. Terminates: one table lookup. Status: Implemented.

Methods§

public function family(string $signature): ?Family

Answers the family of a statement production, or null when the production is not a statement alternative.

Parameters

$signaturestring

Returns

Test cases 2
Called from 1
Calls 2

Private surface 2§

Implementation details, listed for orientation only.

private const LEGACY = ['statement: alter' => \SqlSemantics\Platform\MySql\Lowering\Dispatch\Family::D…
private const MODERN = ['simple_statement: alter_database_stmt' => \SqlSemantics\Platform\MySql\Loweri…

Test cases 2§

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

Dedicated tests 2

Relations§

Instantiated in 1
Method calls 1