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

Reads SQLite's quoted tokens: strings, quoted identifiers and blob literals.

Single quotes delimit strings; double quotes, backticks and brackets delimit identifiers. A quote inside doubles itself, except in brackets.

Methods§

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

Reads the quoted token at the cursor, if one starts there.

Parameters

$scanScanThe tokenization in progress

Returns

Lexeme|null The lexeme, or null when no quoted token starts here

Throws

LexicalException When the token never closes or a blob is malformed
Test cases 4
Called from 1
Calls 3

Test cases 6§

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

Dedicated tests 4
Other tests reaching this symbol 2

Relations§

Instantiated in 1
Method calls 1
Type declarations 1