10 references to ParserState
aspire (10)
src\Shared\ConsoleLogs\AnsiParser.cs (9)
67public static ConversionResult ConvertToHtml(string? text, ParserState? priorResidualState = null, ConsoleColor? defaultBackgroundColor = null) 79ParserState currentState = default; 80var newState = priorResidualState ?? default; 200private static void ProcessParameters(ConsoleColor? defaultBackgroundColor, ref ParserState newState, int[] parameters) 445private static string ProcessStateChange(ParserState currentState, ParserState newState) 517private static string? GetForegroundColorClass(ParserState state) 533private static string? GetBackgroundColorClass(ParserState state) 873public readonly record struct ConversionResult(string? ConvertedText, ParserState ResidualState);
src\Shared\ConsoleLogs\LogParser.cs (1)
11private AnsiParser.ParserState? _residualState;