Crate gluon_parser

Source
Expand description

The parser is a bit more complex than it needs to be as it needs to be fully specialized to avoid a recompilation every time a later part of the compiler is changed. Due to this the string interner and therefore also garbage collector needs to compiled before the parser.

Re-exports§

pub use crate::infix::Error as InfixError;

Modules§

infix
Ineix expressions in gluon are initially parsed as if they were all left- associative with the same precedence. Therefore we need to rebalance them after the fact.

Enums§

Error
FieldExpr
LayoutError
ReplLine
Token
TokenizeError
Variant

Traits§

ParserSource

Functions§

parse_expr
parse_partial_expr
parse_partial_repl_line
parse_partial_root_expr
reparse_infix

Type Aliases§

ParseErrors