Enum minifier::js::token::Token
[−]
[src]
pub enum Token<'a> { Keyword(Keyword), Char(ReservedChar), String(&'a str), Comment(&'a str), License(&'a str), Other(&'a str), Condition(Condition), Operation(Operation), }
Variants
Keyword(Keyword)
Char(ReservedChar)
String(&'a str)
Comment(&'a str)
License(&'a str)
Other(&'a str)
Condition(Condition)
Operation(Operation)
Trait Implementations
impl<'a> Debug for Token<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for Token<'a>
[src]
fn eq(&self, __arg_0: &Token<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Token<'a>) -> bool
[src]
This method tests for !=
.