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

Attaches layout roles at the grammar node that owns each construct.

Methods§

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

Shares the document being annotated.

Parameters

$documentDocument
$rulesRules
public function apply(string $name, int $start, int $end, array<int, string> $direct): void

Parameters

$namestring
$startint
$endint
$directarray<int, string>
Called from 1
Calls 8

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