final class FixedLexemeGenerator
    implements LexemeGenerator

A fixed output element, including an explicit empty output when text is empty.

Methods§

public function __construct(
    private string $text,
    private string $kind,
    private string $definition,
    private ?string $phrase = null,
)

Declares one complete fixed lexeme and its source identity.

Parameters

$textstring
$kindstring
$definitionstring
$phrase?string
Test cases 2

Private surface 4§

Implementation details, listed for orientation only.

private string $text
private string $kind
private string $definition
private ?string $phrase = null

Test cases 49§

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

Dedicated tests 2
Other tests reaching this symbol 47

Relations§

Instantiated in 101