Enum edn_format::Context [−][src]
pub enum Context {
ParsingVector {
row: usize,
col: usize,
},
ParsingList {
row: usize,
col: usize,
},
ParsingMap {
row: usize,
col: usize,
},
ParsingSet {
row: usize,
col: usize,
},
ParsingString {
row: usize,
col: usize,
},
ParsingAtom {
row: usize,
col: usize,
},
}Expand description
An element of context about what the parser was doing when an error was detected.
Variants
ParsingVector
The parser started parsing a vector at the given row and col.
ParsingList
The parser started parsing a list at the given row and col.
ParsingMap
The parser started parsing a map at the given row and col.
ParsingSet
The parser started parsing a set at the given row and col.
ParsingString
The parser started parsing a string at the given row and col.
ParsingAtom
The parser started parsing an “atom” at the given row and col.
An “atom” might be a symbol, keyword, number, true, false, or nil. At the point the parser records this information it does not know which.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Context
impl UnwindSafe for Context
Blanket Implementations
Mutably borrows from an owned value. Read more
