pub struct ParseNodeInternal {
pub mode: Mode,
pub loc: Option<SourceLocation>,
}
Expand description
Represents internal parser nodes for implementation details.
This struct handles nodes used internally by the parser for processing and transformation purposes.
§Fields
mode
- The parsing mode (Mode::Math
orMode::Text
)loc
- Optional source location for error reporting
§Usage
Internal nodes are used for parser implementation details and intermediate processing steps.
Fields§
§mode: Mode
The parsing mode (Mode::Math
or Mode::Text
)
loc: Option<SourceLocation>
Optional source location for error reporting
Trait Implementations§
Source§impl Clone for ParseNodeInternal
impl Clone for ParseNodeInternal
Source§fn clone(&self) -> ParseNodeInternal
fn clone(&self) -> ParseNodeInternal
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 ParseNodeInternal
impl Debug for ParseNodeInternal
Source§impl PartialEq for ParseNodeInternal
impl PartialEq for ParseNodeInternal
impl Eq for ParseNodeInternal
impl StructuralPartialEq for ParseNodeInternal
Auto Trait Implementations§
impl Freeze for ParseNodeInternal
impl RefUnwindSafe for ParseNodeInternal
impl Send for ParseNodeInternal
impl Sync for ParseNodeInternal
impl Unpin for ParseNodeInternal
impl UnwindSafe for ParseNodeInternal
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