fn emit_identifier(&mut self, ident: &str) {
        let output = if self.folding {
            to_lowercase(ident)
        } else {
            ident.to_string()
        };
        let _ = self.chan.send(Token {
            typ: TokenType::Identifier,
            val: output,
            row: self.row,
            col: self.col,
        });
        self.start = self.pos;
    }
/// `emit_identifier` will fold the case of the identifier if the #!fold-case
/// directive is enabled, then emit the identifier to the token channel.
/// Otherwise, no folding is performed before emitting the token, per the
/// default. If the `ident` parameter is `None`, the current token text will
/// be emitted, otherwise the value of `ident` is emitted.
`emit_identifier` will fold the case of the identifier if the #!fold-case
directive is enabled, then emit the identifier to the token channel.
Otherwise, no folding is performed before emitting the token, per the
default.
` emit_identifier ` will fold the case of the identifier if the #!fold - case directive is enabled then emit the identifier to the token channel . Otherwise no folding is performed before emitting the token per the default .
fn emit_identifier(&mut self, ident: &str) {
        let output = if self.folding {
            to_lowercase(ident)
        } else {
            ident.to_string()
        };
        let _ = self.chan.send(Token {
            typ: TokenType::Identifier,
            val: output,
            row: self.row,
            col: self.col,
        });
        self.start = self.pos;
    }
fn emit_identifier ( & mut self , ident : & str ) { let output = if self . folding { to_lowercase ( ident ) } else { ident . to_string ( ) } ; let _ = self . chan . send ( Token { typ : TokenType :: Identifier , val : output , row : self . row , col : self . col , } ) ; self . start = self . pos ; }
`emit_identifier` will fold the case of the identifier if the #!fold-case
directive is enabled, then emit the identifier to the token channel.
` emit_identifier ` will fold the case of the identifier if the #!fold - case directive is enabled then emit the identifier to the token channel .
&mut self
ident
&str