Enum arret_syntax::error::WithinContext  [−][src]
pub enum WithinContext {
    List(Span),
    Vector(Span),
    Set(Span),
    Map(Span),
    String(Span),
    Identifier,
    Datum,
    Dispatch,
    QuoteEscape,
    CodePoint,
}Describes the content an error occurred within, with optional starting span
Variants
List(Span)Vector(Span)Set(Span)Map(Span)String(Span)Implementations
impl WithinContext[src]
impl WithinContext[src]pub fn description(&self) -> &'static str[src]
Returns a description of the content that was being parsed
pub fn expected_next(&self) -> Option<ExpectedNext>[src]
Returns the normally expected in this context
pub fn open_char_span(&self) -> Option<Span>[src]
Returns the character opening the sequence or string
Trait Implementations
impl Clone for WithinContext[src]
impl Clone for WithinContext[src]fn clone(&self) -> WithinContext[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl PartialEq<WithinContext> for WithinContext[src]
impl PartialEq<WithinContext> for WithinContext[src]