pub enum SyntaxDiagnosticKind {
ErrorNode,
MissingNode,
}Expand description
Whether the parser recovered by skipping input or by inserting a missing token.
Variants§
ErrorNode
The parser recovered by skipping input it could not match.
MissingNode
The parser recovered by inserting a token the grammar required.
Trait Implementations§
Source§impl Clone for SyntaxDiagnosticKind
impl Clone for SyntaxDiagnosticKind
Source§fn clone(&self) -> SyntaxDiagnosticKind
fn clone(&self) -> SyntaxDiagnosticKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SyntaxDiagnosticKind
Source§impl Debug for SyntaxDiagnosticKind
impl Debug for SyntaxDiagnosticKind
Source§impl<'de> Deserialize<'de> for SyntaxDiagnosticKind
impl<'de> Deserialize<'de> for SyntaxDiagnosticKind
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
impl Eq for SyntaxDiagnosticKind
Source§impl Hash for SyntaxDiagnosticKind
impl Hash for SyntaxDiagnosticKind
Source§impl PartialEq for SyntaxDiagnosticKind
impl PartialEq for SyntaxDiagnosticKind
Source§impl Serialize for SyntaxDiagnosticKind
impl Serialize for SyntaxDiagnosticKind
impl StructuralPartialEq for SyntaxDiagnosticKind
Auto Trait Implementations§
impl Freeze for SyntaxDiagnosticKind
impl RefUnwindSafe for SyntaxDiagnosticKind
impl Send for SyntaxDiagnosticKind
impl Sync for SyntaxDiagnosticKind
impl Unpin for SyntaxDiagnosticKind
impl UnsafeUnpin for SyntaxDiagnosticKind
impl UnwindSafe for SyntaxDiagnosticKind
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