classTriviaScanner
final class TriviaScanner
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Skips the whitespace and comments between SQLite tokens.
A block comment that never closes runs to the end of the text, as it does in SQLite, and a byte order mark at the start is whitespace too.
Methods§
Test cases 8§
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 5
SqliteLexerTestcallsWordScannerTest::testAheadcallsWordScannerTest::testContextualcallsWordScannerTest::testScancallsSqliteParserTestcalls
Relations§
Instantiated in 1
Method calls 2
Type declarations 4
- type SqlParser\Sqlite\Lexer\SqliteLexer packages/sql-parser/src/Sqlite/Lexer/SqliteLexer.php:34
- type SqlParser\Sqlite\Lexer\WordScanner packages/sql-parser/src/Sqlite/Lexer/WordScanner.php:31
- type SqlParser\Sqlite\Lexer\WordScanner packages/sql-parser/src/Sqlite/Lexer/WordScanner.php:56
- type SqlParser\Sqlite\Lexer\WordScanner packages/sql-parser/src/Sqlite/Lexer/WordScanner.php:82