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

Lowers comma-separated expression lists.

Rule: MYSQL-EXPRESSION-LIST-001. Scope: expr_list, opt_expr_list. An absent list is empty; the elements keep their order. Terminates: the list spine is flattened in a loop. 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
public function expressions(Node $list): list<Scalar>

Lowers a node of expr_list or opt_expr_list.

Parameters

$listNode

Returns

list<Scalar>

Throws

ImplementationGap When a production has no rule
Test cases 1
Called from 1
Calls 4

Private surface 1§

Implementation details, listed for orientation only.

private Lowering $lowering

Test cases 1§

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

Dedicated tests 1

Relations§

Instantiated in 1
Method calls 1