final class DollarQuotedDomain
    implements ValueDomain

Reuses one chosen tag at both boundaries; the declared body alphabet excludes dollars.

Methods§

public function choose(Closure(positive-int): int $choose): string

Parameters

$chooseClosure(positive-int): int

Returns

string
Test cases 1
Calls 1
public function match(string $value, int $offset = 0): list<int>

Uses the opening tag as a bound delimiter; the first identical tag closes the scanner state.

Parameters

$valuestring
$offsetint

Returns

list<int>
Test cases 3
Calls 6

Private surface 2§

Implementation details, listed for orientation only.

private ValueDomain $tag
private ValueDomain $body

Test cases 10§

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

Dedicated tests 4
Other tests reaching this symbol 6

Relations§

Instantiated in 1