pub struct DebugInfo;
Expand description
Handles debug information generation and management
Implementations§
Source§impl DebugInfo
impl DebugInfo
Sourcepub fn generate_full_debug_simple(
buffer: &dyn BufferAPI,
buffer_count: usize,
buffer_index: usize,
buffer_names: Vec<String>,
hybrid_parser: &HybridParser,
sort_state: &SortState,
input_text: &str,
cursor_pos: usize,
visual_cursor: usize,
_api_url: &str,
) -> String
pub fn generate_full_debug_simple( buffer: &dyn BufferAPI, buffer_count: usize, buffer_index: usize, buffer_names: Vec<String>, hybrid_parser: &HybridParser, sort_state: &SortState, input_text: &str, cursor_pos: usize, visual_cursor: usize, _api_url: &str, ) -> String
Generate full debug information including parser state, buffer state, etc.
Sourcepub fn generate_debug_context(buffer: &dyn BufferAPI) -> String
pub fn generate_debug_context(buffer: &dyn BufferAPI) -> String
Generate complete debug context for current state
Sourcepub fn generate_test_case(buffer: &dyn BufferAPI) -> String
pub fn generate_test_case(buffer: &dyn BufferAPI) -> String
Generate a complete test case string that can be pasted into a test file
Sourcepub fn generate_buffer_summary(buffer: &dyn BufferAPI) -> String
pub fn generate_buffer_summary(buffer: &dyn BufferAPI) -> String
Generate buffer state summary for status messages
Auto Trait Implementations§
impl Freeze for DebugInfo
impl RefUnwindSafe for DebugInfo
impl Send for DebugInfo
impl Sync for DebugInfo
impl Unpin for DebugInfo
impl UnwindSafe for DebugInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more