classQuotedScanner
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§
Reads the quoted token at the cursor, if one starts there.
Parameters
$scan | Scan | The tokenization in progress |
Returns
Lexeme|null The lexeme, or null when no quoted token starts hereThrows
LexicalException When the token never closes or a blob is malformedTest cases 4
Called from 1
Calls 3
- static-call LexicalException::unterminated() line 36
- method-call Scan::lexeme() line 39
- static-call LexicalException::unexpectedCharacter() line 50
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
SqliteLexerTestcallsSqliteParserTestcalls