final class IndexHintTokens
Restricted visibility: declared "@visibility ZtdQuery\Platform\Sqlite". Code outside that scope must not name this declaration.

Locates index hints following a table reference and optional alias.

Methods§

public static function hintRange(
    list<SqlToken> $tokens,
    int $index,
): array{start: int, end: int}|null
public static function tokenIndexAtOrAfter(list<SqlToken> $tokens, int $offset): int
public static function isSourceBoundary(SqlToken $token): bool

Locates index hints following a table reference and optional alias.

Parameters

$tokenSqlToken

Returns

bool
Test cases 1
Called from 1
Calls 1

Test cases 14§

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

Dedicated tests 5
Other tests reaching this symbol 9

Relations§

Static calls 3