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

Reads SQLite's operators and punctuation.

Constants§

public const OPERATORS = ['->>' => 'PTR', '->' => 'PTR', '||' => 'CONCAT', '==' => 'EQ', '<=' => 'LE', '…

Terminal by spelling, longest spellings first.

Methods§

public function scan(Scan $scan): Lexeme

Reads the operator at the cursor.

Parameters

$scanScanThe tokenization in progress

Returns

Lexeme The lexeme

Throws

LexicalException When the character starts no token at all
Test cases 2
Called from 1
Calls 4

Test cases 5§

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

Dedicated tests 2
Other tests reaching this symbol 3

Relations§

Instantiated in 1
Method calls 1
Constant reads 1
Type declarations 1