Enum slr_lexer::TokenKind [] [src]

pub enum TokenKind<'l> {
    EscapedString(&'l str),
    RawString(&'l str),
    Assign,
    LeftBracket,
    RightBracket,
    LeftBrace,
    RightBrace,
    Dollar,
    Comma,
    Tilde,
    Eof,
}

Variants

Methods

impl<'l> TokenKind<'l>
[src]

Trait Implementations

impl<'l> PartialEq for TokenKind<'l>
[src]

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

This method tests for !=.

impl<'l> Debug for TokenKind<'l>
[src]

Formats the value using the given formatter.

impl<'l> Copy for TokenKind<'l>
[src]

impl<'l> Clone for TokenKind<'l>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more