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

Decodes upsert expression tokens and describes unsupported syntax.

Methods§

public function __construct(private string $sql)

Binds the collaborators used by this operation.

Parameters

$sqlstring
public function isSymbol(SqlToken $token, list<string> $symbols): bool

Parameters

$tokenSqlToken
$symbolslist<string>

Returns

bool
Test cases 1
Called from 8
Calls 2
public function number(string $literal): int|float

Decodes upsert expression tokens and describes unsupported syntax.

Parameters

$literalstring

Returns

int|float
Test cases 1
Called from 1
Calls 2
public function string(string $literal): string

Decodes upsert expression tokens and describes unsupported syntax.

Parameters

$literalstring

Returns

string
Test cases 1
Called from 1
Calls 2
public function unsupported(): UnsupportedSqlException

Decodes upsert expression tokens and describes unsupported syntax.

Test cases 1
Called from 8
Calls 1

Private surface 1§

Implementation details, listed for orientation only.

private string $sql

Test cases 16§

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

Dedicated tests 6
Other tests reaching this symbol 10

Relations§

Instantiated in 22
Method calls 22