classVariableScanner
final class VariableScanner
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Reads SQLite's bound parameters.
A parameter is ? with an optional number, or a name after :, @, $ or #. A name may hold :: and end in a parenthesised suffix, the spellings Tcl uses.
Methods§
Reads the parameter at the cursor, if one starts there.
Parameters
$scan | Scan | The tokenization in progress |
Returns
Lexeme|null The lexeme, or null when no parameter starts hereThrows
LexicalException When a sigil has no name after it or a suffix never closesTest cases 3
Called from 1
Calls 5
- method-call Scan::lexeme() line 38
- function-call
in_arrayline 40 - static-call Scan::isIdentifierByte() line 47
- static-call LexicalException::unterminated() line 51
- static-call LexicalException::unexpectedCharacter() line 62
Test cases 5§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 2
SqliteLexerTestcallsSqliteParserTestcalls