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§

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

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

Parameters

$scanScanThe tokenization in progress

Returns

Lexeme|null The lexeme, or null when no parameter starts here

Throws

LexicalException When a sigil has no name after it or a suffix never closes
Test cases 3
Called from 1
Calls 5

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

Relations§

Instantiated in 1
Method calls 1
Type declarations 1