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

Recognizes complete multiword clause headers in source order.

Methods§

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

Shares the document being annotated.

Parameters

$documentDocument
$rulesRules
public function mark(int $start): void

Marks the longest recognized header beginning at a token.

Parameters

$startint
Test cases 2
Called from 2
Calls 3

Private surface 2§

Implementation details, listed for orientation only.

private Document $document
private Rules $rules

Test cases 16§

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

Dedicated tests 3
Other tests reaching this symbol 13

Relations§

Instantiated in 2
Method calls 2