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

Flattens a left-recursive list of the replication family after confirming every production of its spine.

Rule: MYSQL-REPLICATION-LIST-001. Every node of the list rule along the spine must match one of the given productions; the items are answered in written order, separators and parentheses dropped. Terminates: the spine is walked iteratively. Source: https://dev.mysql.com/doc/refman/8.4/en/sql-replication-statements.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to
public function items(Node $list, list<string> $signatures): list<Node>

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 7
Method calls 7