10 references to ParserState
aspire (10)
src\Shared\ConsoleLogs\AnsiParser.cs (9)
71public static ConversionResult ConvertToHtml(string? text, ParserState? priorResidualState = null, ConsoleColor? defaultBackgroundColor = null) 83ParserState currentState = default; 84var newState = priorResidualState ?? default; 204private static void ProcessParameters(ConsoleColor? defaultBackgroundColor, ref ParserState newState, int[] parameters) 449private static string ProcessStateChange(ParserState currentState, ParserState newState) 521private static string? GetForegroundColorClass(ParserState state) 537private static string? GetBackgroundColorClass(ParserState state) 877public readonly record struct ConversionResult(string? ConvertedText, ParserState ResidualState);
src\Shared\ConsoleLogs\LogParser.cs (1)
12private AnsiParser.ParserState? _residualState;