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

Assigns types and NULL facts to supported scalar operations.

Properties§

public Dialect $dialect

Methods§

public function __construct(public Dialect $dialect)

Binds the dependencies used for semantic binding.

Parameters

$dialectDialect
public function arithmetic(
    string $operator,
    non-empty-list<Expression> $operands,
    Node $source,
): TypeDescriptor

Resolves supported numeric operations, including signed literal boundaries.

Parameters

$operatorstring
$operandsnon-empty-list<Expression>
$sourceNode
Called from 1
Calls 1

Test cases 60§

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 59

Relations§

Instantiated in 6
Method calls 8