Enum meval::tokenizer::Token [] [src]

pub enum Token {
    Binary(Operation),
    Unary(Operation),
    LParen,
    RParen,
    Comma,
    Number(f64),
    Var(String),
    Func(StringOption<usize>),
}

Expression tokens.

Variants

Binary operation.

Unary operation.

Left parenthesis.

Right parenthesis.

Comma: function argument separator

A number.

A variable.

A function with name and number of arguments.

Trait Implementations

impl Debug for Token
[src]

Formats the value using the given formatter.

impl PartialEq for Token
[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 Token
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more