interface TextSegment
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

One piece of a partially reconstructed string.

The hierarchy is sealed: a segment is either text the analyzer knows (LiteralText) or a gap it does not (TextHole).

Methods§

public function display(): string

The segment rendered for humans, with gaps shown as a placeholder marker.

Returns

string

Test cases 1§

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

Dedicated tests 1

Relations§

Implemented by 2