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

Reads PostgreSQL's unquoted identifiers and keywords.

Methods§

public function scan(Scan $scan): Lexeme|null

Reads the word at the cursor, if one starts there.

Parameters

$scanScanThe tokenization in progress

Returns

Lexeme|null The lexeme, or null when no word starts here
Test cases 1
Called from 1
Calls 1

Test cases 3§

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

Dedicated tests 1
Other tests reaching this symbol 2

Relations§

Instantiated in 1
Method calls 1
Type declarations 1