Enum figtree::LexToken [] [src]

pub enum LexToken {
    OpenBrace,
    CloseBrace,
    OpenBracket,
    CloseBracket,
    Comma,
    Colon,
    Bang,
    Identifier(String),
    StringLit(String),
    IntegerLit(i64),
    FloatLit(f64),
}

A enum representing different kinds of lexed event

Variants

Trait Implementations

impl Debug for LexToken
[src]

Formats the value using the given formatter.

impl PartialEq for LexToken
[src]

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

This method tests for !=.

impl Clone for LexToken
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more