final class SqlLexeme

What a reader made of the statement at an offset, and where it left off.

A reader is asked what starts at an offset and answers this, or nothing when what starts there is not its concern. The offset it left off at is what the scanner carries on from, so the answer says both what was read and how much of the statement it accounted for.

Properties§

public int $end

Methods§

public function __construct(public SqlTokenKind $kind, public int $end)

Parameters

$kindSqlTokenKindWhat kind of lexeme was read
$endintWhere the reading stopped, just past the last byte read
Test cases 1

Test cases 9§

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

Dedicated tests 1
Other tests reaching this symbol 8

Relations§

Instantiated in 10
Type declarations 4