final class Keywords
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.

Reads a keyword used as a name.

Rule: PG-KEYWORD-NAME-001. Scope: unreserved_keyword, col_name_keyword, type_func_name_keyword, reserved_keyword and bare_label_keyword. The name is the keyword folded to lower case, exactly as an unquoted identifier is folded. Source: https://www.postgresql.org/docs/17/sql-keywords-appendix.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe hub

Private surface 2§

Implementation details, listed for orientation only.

private static array<string, array<string, int>> $claimed = []
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 4
Method calls 4