final class JsonOptionsRule
    implements RewriteRule

Applies syntax-level SQL/JSON option restrictions from parse_expr.c/transformJsonFuncExpr.

Methods§

public function behaviors(
    TerminalSequence $sequence,
    int $owner,
    list<string> $allowed,
): TerminalSequence

Retains valid behavior alternatives and replaces only those forbidden for this function.

Parameters

$sequenceTerminalSequence
$ownerint
$allowedlist<string>
Test cases 1
Called from 1
Calls 4

Test cases 10§

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

Dedicated tests 4
Other tests reaching this symbol 6

Relations§

Instantiated in 1