/// Creates a new Lexer from an iterator over characters.
Creates a new Lexer from an iterator over characters.
Creates a new Lexer from an iterator over characters .
fn new(input: I, context: String) -> Lexer<I> {
        Lexer {
            input: input.peekable(),
            context,
            position: Position {
                column: 0,
                row: 1,
            }
        }
    }
fn new ( input : I , context : String ) -> Lexer < I > { Lexer { input : input . peekable ( ) , context , position : Position { column : 0 , row : 1 , } } }
Creates a new Lexer from an iterator over characters.
Creates a new Lexer from an iterator over characters .
input
I
context
String