Home
last modified time | relevance | path

Searched refs:LocatedToken (Results 1 – 2 of 2) sorted by relevance

/wasmtime-44.0.1/cranelift/reader/src/
H A Dlexer.rs63 pub struct LocatedToken<'a> { struct
69 fn token(token: Token, loc: Location) -> Result<LocatedToken, LocatedError> { in token() argument
70 Ok(LocatedToken { in token()
217 ) -> Result<LocatedToken<'a>, LocatedError> { in scan_chars()
239 fn scan_comment(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_comment()
260 fn scan_number(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_number()
314 fn scan_word(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_word()
397 fn scan_name(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_name()
415 fn scan_string(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_string()
435 fn scan_hex_sequence(&mut self) -> Result<LocatedToken<'a>, LocatedError> { in scan_hex_sequence()
[all …]
H A Dparser.rs5 use crate::lexer::{LexError, Lexer, LocatedError, LocatedToken, Token};
470 Some(Ok(LocatedToken { token, location })) => { in token()