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),
    Regex {
        regex: &'a str,
        is_global: bool,
        is_interactive: bool,
    },
    Condition(Condition),
    Operation(Operation),
}

Variants

Fields of Regex

Methods

impl<'a> Token<'a>
[src]

Trait Implementations

impl<'a> Debug for Token<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for Token<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Display for Token<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Token<'a>

impl<'a> Sync for Token<'a>