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

Sample tokens operations for PostgreSQL sampling.

Methods§

public function tokenAtOffset(list<SqlToken> $tokens, int $offset): ?SqlToken
public function sampleIndexAfter(list<SqlToken> $tokens, SqlToken $referenceToken): ?int
public function isRelationBoundary(SqlToken $token): bool
public function tokenAfter(list<SqlToken> $tokens, SqlToken $referenceToken): SqlToken

Test cases 19§

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

Dedicated tests 7
Other tests reaching this symbol 12

Relations§

Instantiated in 8
Method calls 8