pub struct CarbonParser;Expand description
Carbon parser implementation using Pest.
This struct is generated by the pest_derive macro and implements the parsing
logic defined in carbon.pest. You typically will not need to use this struct
directly; instead, use the provided parsing functions.
§Implementation Details
The parser uses a PEG (Parsing Expression Grammar) which provides:
- Deterministic parsing without ambiguity
- Clear error messages with position information
- Efficient parsing with linear time complexity
- Composable grammar rules
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CarbonParser
impl RefUnwindSafe for CarbonParser
impl Send for CarbonParser
impl Sync for CarbonParser
impl Unpin for CarbonParser
impl UnwindSafe for CarbonParser
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