fn add_token(&mut self, kind: TokenKind) {
        self.tokens.push(Token {
            kind,
            line: self.line,
        })
    }
/// Shortcut for adding a token which automatically encodes line information.
Shortcut for adding a token which automatically encodes line information.
Shortcut for adding a token which automatically encodes line information .
fn add_token(&mut self, kind: TokenKind) {
        self.tokens.push(Token {
            kind,
            line: self.line,
        })
    }
fn add_token ( & mut self , kind : TokenKind ) { self . tokens . push ( Token { kind , line : self . line , } ) }
Shortcut for adding a token which automatically encodes line information.
Shortcut for adding a token which automatically encodes line information .
&mut self
kind
TokenKind
&mut self
kind
TokenKind