interfaceTextSegment
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(): stringThe segment rendered for humans, with gaps shown as a placeholder marker.
Returns
stringTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
TextSegmentTestcalls