classTermGraph
final class TermGraph
Restricted visibility: declared "@visibility namespace". Code outside that scope must not name this declaration.
Represents shared residual expressions once, using report-local node references.
Methods§
public function encode(Term $root): array{root: int, nodes: list<array{kind: string, literal: scalar|null, operands: array<int|string, int>, attributes: array<string, scalar|null>}>}Parameters
$root | Term |
Returns
array{root: int, nodes: list<array{kind: string, literal: scalar|null, operands: array<int|string, int>, attributes: array<string, scalar|null>}>}Test cases 1
Called from 2
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.