pub struct DevTools { /* private fields */ }
Expand description
Main development tools facade providing access to all utilities
Implementations§
Source§impl DevTools
impl DevTools
Sourcepub fn with_config(config: DevToolsConfig) -> Self
pub fn with_config(config: DevToolsConfig) -> Self
Create a DevTools instance with custom configuration
Sourcepub fn visualizer(&self) -> &AstVisualizer
pub fn visualizer(&self) -> &AstVisualizer
Get access to the AST visualizer
Sourcepub fn validator(&self) -> &ParserValidator
pub fn validator(&self) -> &ParserValidator
Get access to the parser validator
Sourcepub fn profiler(&self) -> &PerformanceProfiler
pub fn profiler(&self) -> &PerformanceProfiler
Get access to the performance profiler
Sourcepub fn exporter(&self) -> &GraphVizExporter
pub fn exporter(&self) -> &GraphVizExporter
Get access to the GraphViz exporter
Sourcepub async fn start_repl(&self, language: Option<&str>) -> Result<()>
pub async fn start_repl(&self, language: Option<&str>) -> Result<()>
Start an interactive development REPL
Sourcepub fn analyze_parse_result(
&self,
parse_result: &ParseResult,
source: &str,
) -> Result<AnalysisReport>
pub fn analyze_parse_result( &self, parse_result: &ParseResult, source: &str, ) -> Result<AnalysisReport>
Perform a comprehensive analysis of a parse result
Sourcepub fn compare_parse_results(
&self,
old_result: &ParseResult,
new_result: &ParseResult,
source: &str,
) -> Result<DiffReport>
pub fn compare_parse_results( &self, old_result: &ParseResult, new_result: &ParseResult, source: &str, ) -> Result<DiffReport>
Compare two parse results and generate a diff report
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DevTools
impl RefUnwindSafe for DevTools
impl Send for DevTools
impl Sync for DevTools
impl Unpin for DevTools
impl UnwindSafe for DevTools
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