pub fn new(text: &'text str, token_type: TokenType, location: SourceLocation) -> Token {
        Token {
            text: text,
            token_type: token_type,
            location: location,
        }
    }
/// Construct a `Token`. The lifetime parameter `'text` refers
/// to the lifetime of the text being tokenized.
Construct a `Token`. The lifetime parameter `'text` refers
to the lifetime of the text being tokenized.
Construct a ` Token ` . The lifetime parameter ` ' text ` refers to the lifetime of the text being tokenized .
pub fn new(text: &'text str, token_type: TokenType, location: SourceLocation) -> Token {
        Token {
            text: text,
            token_type: token_type,
            location: location,
        }
    }
pub fn new ( text : & ' text str , token_type : TokenType , location : SourceLocation ) -> Token { Token { text : text , token_type : token_type , location : location , } }
Construct a `Token`.
Construct a ` Token ` .
text
&'text str
token_type
TokenType
location
SourceLocation
text
&'text str
token_type
TokenType
location
SourceLocation