final class WindowFrameRule
    implements RewriteRule

Implements the frame_extent rejection conditions in PostgreSQL 17.2 gram.y.

Methods§

public function rewrite(TerminalSequence $sequence): TerminalSequence

Completes invalid frame endpoints without changing valid offsets or frames in nested expressions.

Parameters

Test cases 13
Calls 5
public function rank(TerminalSequence $sequence, int $bound): int

Assigns the category used by gram.y to compare start and end boundaries.

Parameters

$sequenceTerminalSequence
$boundint

Returns

int
Test cases 18
Called from 4
Calls 2

Test cases 27§

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

Dedicated tests 21
Other tests reaching this symbol 6

Relations§

Instantiated in 1