pub enum ParserKind {
TreeSitter,
Manifest,
Structural,
Fallback,
}Expand description
Parser strategy used to produce a graph entry.
Variants§
TreeSitter
A tree-sitter grammar produced the result.
Manifest
A manifest parser produced the result.
Structural
A deterministic structural adapter produced the result.
Fallback
A conservative regex fallback produced the result.
Implementations§
Trait Implementations§
Source§impl Clone for ParserKind
impl Clone for ParserKind
Source§fn clone(&self) -> ParserKind
fn clone(&self) -> ParserKind
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 ParserKind
impl Debug for ParserKind
Source§impl<'de> Deserialize<'de> for ParserKind
impl<'de> Deserialize<'de> for ParserKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ParserKind
impl Display for ParserKind
Source§impl PartialEq for ParserKind
impl PartialEq for ParserKind
Source§impl Serialize for ParserKind
impl Serialize for ParserKind
impl Copy for ParserKind
impl Eq for ParserKind
impl StructuralPartialEq for ParserKind
Auto Trait Implementations§
impl Freeze for ParserKind
impl RefUnwindSafe for ParserKind
impl Send for ParserKind
impl Sync for ParserKind
impl Unpin for ParserKind
impl UnwindSafe for ParserKind
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.