Struct rustc_driver::json::Parser [−][src]
pub struct Parser<T> {
rdr: T,
ch: Option<char>,
line: usize,
col: usize,
stack: Stack,
state: ParserState,
}Expand description
A streaming JSON parser implemented as an iterator of JsonEvent, consuming an iterator of char.
Fields
rdr: Tch: Option<char>line: usizecol: usizestack: Stackstate: ParserStateAuto Trait Implementations
impl<T> RefUnwindSafe for Parser<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Parser<T> where
T: UnwindSafe,
Blanket Implementations
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.