pub fn new(
        files: &'input Files,
        file_id: FileId,
        keywords: &'keywords Keywords,
    ) -> Lexer<'input, 'keywords> {
        let mut chars = files.source(file_id).chars();
        let peeked = chars.next();

        Lexer {
            file_id,
            keywords,
            chars,
            peeked,
            token_start: ByteIndex::from(0),
            token_end: ByteIndex::from(0),
        }
    }
/// Create a new lexer with the given file.
Create a new lexer with the given file.
Create a new lexer with the given file .
pub fn new(
        files: &'input Files,
        file_id: FileId,
        keywords: &'keywords Keywords,
    ) -> Lexer<'input, 'keywords> {
        let mut chars = files.source(file_id).chars();
        let peeked = chars.next();
        Lexer {
            file_id,
            keywords,
            chars,
            peeked,
            token_start: ByteIndex::from(0),
            token_end: ByteIndex::from(0),
        }
    }
pub fn new ( files : & ' input Files , file_id : FileId , keywords : & ' keywords Keywords , ) -> Lexer < ' input , ' keywords > { let mut chars = files . source ( file_id ) . chars ( ) ; let peeked = chars . next ( ) ; Lexer { file_id , keywords , chars , peeked , token_start : ByteIndex :: from ( 0 ) , token_end : ByteIndex :: from ( 0 ) , } }
Create a new lexer with the given file.
Create a new lexer with the given file .
files
&'input Files
file_id
FileId
keywords
&'keywords Keywords
files
&'input Files
file_id
FileId
keywords
&'keywords Keywords