Lines Matching defs:JsonParseError
17 pub struct JsonParseError { struct
23 impl JsonParseError { impl
24 fn new(msg: String, line: usize, col: usize) -> JsonParseError { in new()
51 impl fmt::Display for JsonParseError { implementation
61 impl std::error::Error for JsonParseError {} implementation
109 fn err<T>(&self, msg: String) -> Result<T, JsonParseError> { in err() argument
113 fn unexpected_eof(&self) -> Result<char, JsonParseError> { in unexpected_eof() argument
130 fn peek(&mut self) -> Result<char, JsonParseError> { in peek() argument
151 fn consume(&mut self) -> Result<char, JsonParseError> { in consume() argument
159 fn consume_no_skip(&mut self) -> Result<char, JsonParseError> { in consume_no_skip() argument
235 fn push_utf16(&self, s: &mut String, utf16: &mut Vec<u16>) -> Result<(), JsonParseError> { in push_utf16() argument
307 fn parse_constant(&mut self, s: &'static str) -> Option<JsonParseError> { in parse_constant()