fn new(name: String, input: &'a str, chan: SyncSender<Token>) -> Lexer<'a> {
        Lexer {
            name: name,
            input: input,
            iter: input.char_indices(),
            peeked: None,
            start: 0,
            pos: 0,
            width: 0,
            row: 1,
            col: 0,
            folding: false,
            chan: chan,
        }
    }
/// `new` constructs an instance of `Lexer` for the named input.
`new` constructs an instance of `Lexer` for the named input.
` new ` constructs an instance of ` Lexer ` for the named input .
fn new(name: String, input: &'a str, chan: SyncSender<Token>) -> Lexer<'a> {
        Lexer {
            name: name,
            input: input,
            iter: input.char_indices(),
            peeked: None,
            start: 0,
            pos: 0,
            width: 0,
            row: 1,
            col: 0,
            folding: false,
            chan: chan,
        }
    }
fn new ( name : String , input : & ' a str , chan : SyncSender < Token > ) -> Lexer < ' a > { Lexer { name : name , input : input , iter : input . char_indices ( ) , peeked : None , start : 0 , pos : 0 , width : 0 , row : 1 , col : 0 , folding : false , chan : chan , } }
`new` constructs an instance of `Lexer` for the named input.
` new ` constructs an instance of ` Lexer ` for the named input .
name
String
input
&'a str
chan
SyncSender<Token>