TextRunHandler class abstract
Optional capability interface for EscapeHandlers that accept runs of literal text in a single call.
Handlers implementing this are delivered consecutive printable code points as (list, start, end) views instead of one EscapeHandler.writeChar call per character, eliminating the parser's per-character dispatch overhead on text-heavy input. Handlers that don't implement it (debuggers, test doubles) keep the exact per-character behavior.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
writeChars(
List< int> chars, int start, int end) → void -
Writes the code points in
chars[start..end)as literal text. The view is only valid for the duration of the call — do not retain it.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited