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

Lowers SIGNAL and RESIGNAL.

Rule: MYSQL-SIGNAL-LOWERING-001. Scope: signal_stmt, resignal_stmt, signal_value, opt_signal_value, opt_set_signal_information, signal_information_item_list, signal_allowed_expr, signal_condition_information_item_name. The value of an item is a literal, a variable or a name, each lowered by its leaf rule. Constructs: Signal, Resignal, SignalItem. Terminates: the item list is walked with a loop. Source: https://dev.mysql.com/doc/refman/8.4/en/signal.html, https://dev.mysql.com/doc/refman/8.4/en/resignal.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to
public function statement(Form $form): Signal|Resignal

Private surface 2§

Implementation details, listed for orientation only.

private const ITEMS = ['signal_condition_information_item_name: CLASS_ORIGIN_SYM' => \SqlSemantics\Pl…
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 2
Method calls 2