final class QualifiedNameSpacingRule
    implements SpacingRule

sql/sql_lex.cc MY_LEX_IDENT_SEP / MY_LEX_IDENT_START: preserves qualified-name adjacency.

A word joined to a following dot is read as an identifier whatever it spells, because MY_LEX_IDENT skips the keyword lookup when a dot and a name follow at once. A keyword that must stay a keyword, as in FROM .name, is therefore kept apart from the dot.

Methods§

public function apply(LexemeBoundary $boundary, LexemeInput $input): ?SpacingConstraint

Chooses the joined spelling for grammar dots; decimal points remain internal to numeric lexemes.

Parameters

Test cases 2
Calls 3

Test cases 11§

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

Dedicated tests 2
Other tests reaching this symbol 9

Relations§

Instantiated in 1