Enum syntex_syntax::print::pp::Token [] [src]

pub enum Token {
    String(String, isize),
    Break(BreakToken),
    Begin(BeginToken),
    End,
    Eof,
}

Variants

String
Break
Begin
End
Eof

Methods

impl Token
[src]

fn is_eof(&self) -> bool

fn is_hardbreak_tok(&self) -> bool

Trait Implementations

Derived Implementations

impl Clone for Token
[src]

fn clone(&self) -> Token

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more