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

Lowers the binary and prefix operator productions.

Rule: SQLITE-EXPR-OPERATOR-001. Scope: the expr productions of the binary operators, the IS family and the prefix operators. The operator is kept by its spelling and the operands in written order; the structure the parser chose is the structure built. Terminates: every operand is a strict subtree. Source: https://sqlite.org/lang_expr.html#operators_and_parse_affecting_attributes. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to
Calls 1
public function expression(Form $form): Scalar

Private surface 2§

Implementation details, listed for orientation only.

private PredicateRule $predicates
private Lowering $lowering

Test cases 1§

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

Dedicated tests 1

Relations§

Instantiated in 1
Method calls 1
Type declarations 1