Enum juniper::parser::Token [] [src]

pub enum Token<'a> {
    Name(&'a str),
    Int(i64),
    Float(f64),
    String(String),
    ExclamationMark,
    Dollar,
    ParenOpen,
    ParenClose,
    BracketOpen,
    BracketClose,
    CurlyOpen,
    CurlyClose,
    Ellipsis,
    Colon,
    Equals,
    At,
    Pipe,
    EndOfFile,
}

A single token in the input source

Variants

Trait Implementations

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

Formats the value using the given formatter.

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.