fn emit_text(&mut self, t: TokenType, text: &str) {
        let _ = self.chan.send(Token {
            typ: t,
            val: text.to_string(),
            row: self.row,
            col: self.col,
        });
        self.start = self.pos;
    }
/// emit_text passes the given token back to the client via the channel.
emit_text passes the given token back to the client via the channel.
emit_text passes the given token back to the client via the channel .
fn emit_text(&mut self, t: TokenType, text: &str) {
        let _ = self.chan.send(Token {
            typ: t,
            val: text.to_string(),
            row: self.row,
            col: self.col,
        });
        self.start = self.pos;
    }
fn emit_text ( & mut self , t : TokenType , text : & str ) { let _ = self . chan . send ( Token { typ : t , val : text . to_string ( ) , row : self . row , col : self . col , } ) ; self . start = self . pos ; }
emit_text passes the given token back to the client via the channel.
emit_text passes the given token back to the client via the channel .
&mut self
t
TokenType
text
&str