Enum parol_runtime::parser::parse_tree_type::ParseTreeType
source · [−]Expand description
The type of the elements in the parse tree.
The lifetime parameter 't
refers to the lifetime of the scanned text.
Variants
T(Token<'t>)
A scanned token.
N(&'static str)
A non-terminal name. All names are of static lifetime (see NON_TERMINALS slice of non-terminal names).
Implementations
Trait Implementations
sourceimpl<'t> Clone for ParseTreeType<'t>
impl<'t> Clone for ParseTreeType<'t>
sourcefn clone(&self) -> ParseTreeType<'t>
fn clone(&self) -> ParseTreeType<'t>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'t> Debug for ParseTreeType<'t>
impl<'t> Debug for ParseTreeType<'t>
sourceimpl Display for ParseTreeType<'_>
impl Display for ParseTreeType<'_>
sourceimpl Visualize for ParseTreeType<'_>
impl Visualize for ParseTreeType<'_>
Implementation of the Visualize trait to support the visualization of the ParseTreeType in a tree layout.
Auto Trait Implementations
impl<'t> RefUnwindSafe for ParseTreeType<'t>
impl<'t> Send for ParseTreeType<'t>
impl<'t> Sync for ParseTreeType<'t>
impl<'t> Unpin for ParseTreeType<'t>
impl<'t> UnwindSafe for ParseTreeType<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more