classLeafEmbedding
final class LeafEmbedding
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
Checks that every operand leaf lowered from the source is part of the published structure.
The check is by object identity against the values actually stored in the statement, not by counting consumed tokens.
Methods§
public function dropped(Leaves $leaves, list<object> $reachable): ?objectAnswers the first recorded leaf that is not among the reachable objects, or null when all are.
Parameters
$leaves | Leaves | |
$reachable | list<object> | Every object reachable from the statement |
Returns
?objectTest cases 3
Called from 1
Calls 2
- function-call
spl_object_idline 28 - method-call Leaves::all() line 30
Test cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.