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

Walks the CST once; the grammar distinguishes list commas and boolean operators.

Methods§

public function __construct(private Document $document, private Rules $rules)

Shares the token sequence and layout annotations under construction.

Parameters

$documentDocument
$rulesRules
public function visit(Node $node): array{int, int}

Private surface 2§

Implementation details, listed for orientation only.

private Document $document
private Rules $rules

Test cases 14§

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 13

Relations§

Instantiated in 1
Method calls 1