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
Block
Context which contains several expressions/declarations separated by semicolons
Fields
emit_semi: bool | |
needs_close: bool |
Expr
A simple expression
Let
Type
If
Then
Delimiter(Delimiter)
MatchClause
Lambda
Trait Implementations
impl Clone for Context
[src]
fn clone(&self) -> Context
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more