Lines Matching refs:source
126 source: &'a str, field
144 source: s, in new()
168 self.pos = self.source.len(); in next_ch()
184 self.source[self.pos..].starts_with(prefix) in looking_at()
232 None | Some('\n') => return &self.source[begin..self.pos], in rest_of_line()
304 let text = &self.source[begin..self.pos]; in scan_number()
325 let text = &self.source[begin..self.pos]; in scan_word()
411 token(Token::Name(&self.source[begin..end]), loc) in scan_name()
432 token(Token::String(&self.source[begin..end]), loc) in scan_string()
448 token(Token::HexSequence(&self.source[begin..end]), loc) in scan_hex_sequence()
469 token(Token::SourceLoc(&self.source[begin..end]), loc) in scan_srcloc()