pub struct AstBreakpointValidator { /* private fields */ }Expand description
AST-based breakpoint validator
Uses the Perl parser to build an AST and validate breakpoint locations against the parsed structure.
Implementations§
Trait Implementations§
Source§impl BreakpointValidator for AstBreakpointValidator
impl BreakpointValidator for AstBreakpointValidator
Source§fn validate(&self, line: i64) -> BreakpointValidation
fn validate(&self, line: i64) -> BreakpointValidation
Validate a breakpoint at the given line number (1-based)
Source§fn validate_with_column(
&self,
line: i64,
column: Option<i64>,
) -> BreakpointValidation
fn validate_with_column( &self, line: i64, column: Option<i64>, ) -> BreakpointValidation
Validate a breakpoint with optional column
Source§fn is_executable_line(&self, line: i64) -> bool
fn is_executable_line(&self, line: i64) -> bool
Check if a line contains executable code
Source§fn validate_condition(&self, line: i64, condition: &str) -> BreakpointValidation
fn validate_condition(&self, line: i64, condition: &str) -> BreakpointValidation
Validate a conditional breakpoint expression Read more
Auto Trait Implementations§
impl Freeze for AstBreakpointValidator
impl RefUnwindSafe for AstBreakpointValidator
impl Send for AstBreakpointValidator
impl Sync for AstBreakpointValidator
impl Unpin for AstBreakpointValidator
impl UnsafeUnpin for AstBreakpointValidator
impl UnwindSafe for AstBreakpointValidator
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