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

Lowers SET PASSWORD of every release.

Rule: MYSQL-ACCOUNT-PASSWORD-001. Scope: the PASSWORD productions of start_option_value_list (5.7, 8.0+) and option_value_no_option_type (5.6), which the SET rules of the utility family hand over, and text_or_password (5.6), password (5.7). The password keeps its exact value; = and := are the same request. Constructs: SetPassword, Password. Terminates: every child is a strict subtree. Source: https://dev.mysql.com/doc/refman/8.4/en/set-password.html, https://dev.mysql.com/doc/refman/5.6/en/set-password.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to
public function statement(Form $form): SetPassword

Lowers a SET PASSWORD production.

Parameters

$formForm

Throws

ImplementationGap When the production has no rule
Called from 1
Calls 13

Private surface 2§

Implementation details, listed for orientation only.

private const FORMS = ['start_option_value_list: PASSWORD equal TEXT_STRING_password opt_replace_pass…
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