pub struct ParserCapabilities {
pub max_content_size: Option<usize>,
pub max_concurrent_files: Option<usize>,
pub execution_strategies: Vec<ExecutionStrategy>,
pub supports_incremental: bool,
pub supports_error_recovery: bool,
pub supports_metadata_collection: bool,
pub supports_cross_file_analysis: bool,
pub performance_profile: PerformanceProfile,
pub capability_flags: RapidMap<String, bool>,
}Expand description
Parser capabilities and configuration information
Fields§
§max_content_size: Option<usize>Maximum content size this parser can handle (in bytes)
max_concurrent_files: Option<usize>Maximum number of files that can be parsed concurrently
execution_strategies: Vec<ExecutionStrategy>Supported execution strategies
supports_incremental: boolWhether incremental parsing is supported
supports_error_recovery: boolWhether error recovery during parsing is supported
supports_metadata_collection: boolWhether codebase-level metadata collection is supported
supports_cross_file_analysis: boolWhether cross-file analysis is supported
performance_profile: PerformanceProfilePerformance characteristics
capability_flags: RapidMap<String, bool>Additional capability flags
Trait Implementations§
Source§impl Clone for ParserCapabilities
impl Clone for ParserCapabilities
Source§fn clone(&self) -> ParserCapabilities
fn clone(&self) -> ParserCapabilities
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParserCapabilities
impl Debug for ParserCapabilities
Auto Trait Implementations§
impl Freeze for ParserCapabilities
impl RefUnwindSafe for ParserCapabilities
impl Send for ParserCapabilities
impl Sync for ParserCapabilities
impl Unpin for ParserCapabilities
impl UnsafeUnpin for ParserCapabilities
impl UnwindSafe for ParserCapabilities
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