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

A terminal a dialect scanner recognised, before it is numbered against a grammar.

Properties§

public string $name
public string $text
public int $offset

Methods§

public function __construct(public string $name, public string $text, public int $offset)

Parameters

$namestringTerminal name as the grammar spells it
$textstringText as written in the SQL
$offsetintByte offset of the first character
public function end(): int

Answers the byte offset just past the lexeme.

Returns

int End offset
Test cases 1
Calls 1

Test cases 35§

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 34

Relations§

Instantiated in 9
Type declarations 35