Searched refs:LocatedError (Results 1 – 2 of 2) sorted by relevance
| /wasmtime-44.0.1/cranelift/reader/src/ |
| H A D | lexer.rs | 69 fn token(token: Token, loc: Location) -> Result<LocatedToken, LocatedError> { in token() argument 84 pub struct LocatedError { struct 91 Err(LocatedError { in error() 217 ) -> Result<LocatedToken<'a>, LocatedError> { in scan_chars() argument 239 fn scan_comment(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_comment() argument 260 fn scan_number(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_number() argument 314 fn scan_word(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_word() argument 397 fn scan_name(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_name() argument 415 fn scan_string(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_string() argument 435 fn scan_hex_sequence(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_hex_sequence() argument [all …]
|
| H A D | parser.rs | 5 use crate::lexer::{LexError, Lexer, LocatedError, LocatedToken, Token}; 481 Some(Err(LocatedError { error, location })) => { in token()
|