Enum erl_tokenize::TokenValue
[−]
[src]
pub enum TokenValue<'a> { Atom(&'a str), Char(char), Comment(&'a str), Float(f64), Integer(&'a BigUint), Keyword(Keyword), String(&'a str), Symbol(Symbol), Variable(&'a str), Whitespace(Whitespace), }
Token value.
Variants
Atom(&'a str)
Char(char)
Comment(&'a str)
Float(f64)
Integer(&'a BigUint)
Keyword(Keyword)
String(&'a str)
Symbol(Symbol)
Variable(&'a str)
Whitespace(Whitespace)
Trait Implementations
impl<'a> Debug for TokenValue<'a>
[src]
impl<'a> PartialEq for TokenValue<'a>
[src]
fn eq(&self, __arg_0: &TokenValue<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TokenValue<'a>) -> bool
This method tests for !=
.