Enum gluon_parser::lexer::Context [] [src]

pub enum Context {
    Block {
        emit_semi: bool,
        needs_close: bool,
    },
    Expr,
    Let,
    Type,
    If,
    Then,
    Delimiter(Delimiter),
    MatchClause,
    Lambda,
}

Variants

Context which contains several expressions/declarations separated by semicolons

Fields

A simple expression

Trait Implementations

impl Clone for Context
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Context
[src]

Formats the value using the given formatter.

impl PartialEq for Context
[src]

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

This method tests for !=.