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

Lowers the bracketed, subquery and column-function forms of simple_expr.

Rule: MYSQL-SIMPLE-FORM-001. Scope: the simple_expr productions for a grouping ( expr ), a row ( expr , expr_list ) and ROW ( … ) (the keyword ROW is optional), a subquery ( subselect ) or row_subquery, EXISTS, the ODBC escape { ident expr }, DEFAULT ( col ), VALUES ( col ), the leading INTERVAL expr unit + expr and the JSON operators -> and ->>; every other production goes to MYSQL-CONSTRUCT-001. Constructs: Grouped, Row, ScalarSubquery, Exists, OdbcEscape, DefaultOfColumn, InsertedColumn, IntervalAddition, JsonExtraction. Terminates: every child is a strict subtree. Source: https://dev.mysql.com/doc/refman/8.4/en/expressions.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to

Private surface 1§

Implementation details, listed for orientation only.

private Lowering $lowering

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