Skip to content

AnsiTokenizer ​

Namespace: Hex1b.Tokens

Assembly: Hex1b.dll

Parses ANSI text into a list of tokens.

csharp
public static class AnsiTokenizer

Inheritance ​

Object → AnsiTokenizer

Methods ​

Tokenize(string) ​

Tokenizes the given text into a list of ANSI tokens.

Parameters:

  • text (String): The text to tokenize, which may contain ANSI escape sequences.

Returns: IReadOnlyList<AnsiToken>

A read-only list of tokens representing the parsed text.

csharp
public static IReadOnlyList<AnsiToken> Tokenize(string text)

Released under the MIT License.