AnsiToken
Namespace: Hex1b.Tokens
Assembly: Hex1b.dll
Base type for all ANSI terminal tokens.
csharp
public abstract record AnsiToken : IEquatable<AnsiToken>Inheritance
Object → AnsiToken
Implements
Remarks
Tokens represent parsed ANSI escape sequences and text content. They are the intermediate representation between raw bytes from a workload and the final bytes sent to a presentation adapter.
The token hierarchy is designed to: Preserve enough information to serialize back to ANSI bytesBe immutable (all types are records)Support pattern matching in filter implementations