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

A relation namespace and NULL-extension facts at one evaluation stage.

Properties§

public Identifiers $identifiers
public list<TableUse> $relations = []
public array<string, list<string>> $extensions = []

Methods§

public function __construct(
    public Identifiers $identifiers,
    public list<TableUse> $relations = [],
    public array<string, list<string>> $extensions = [],
)

Parameters

$identifiersIdentifiers
$relationslist<TableUse>
$extensionsarray<string, list<string>>
public function matches(TableUse $relation, list<string> $qualifiers): bool
public function combine(self $right, Node $source): self

Parameters

$rightself
$sourceNode

Returns

self
Calls 3
public function extend(string $joinId): self

Adds a join to the NULL provenance of every visible relation.

Parameters

$joinIdstring

Returns

self
Test cases 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 3
Method calls 5
Type declarations 11