[−][src]Function gluon_parser::infix::reparse
pub fn reparse<'ast, Id>(
arena: ArenaRef<'_, 'ast, Id>,
expr: &'ast mut SpannedExpr<'ast, Id>,
symbols: &dyn IdentEnv<Ident = Id>,
operators: &OpTable<Id>
) -> Result<&'ast mut SpannedExpr<'ast, Id>, (Spanned<Error, BytePos>, Option<Expr<'ast, Id>>)> where
Id: Eq + Hash + AsRef<str> + Clone + Debug,
Reconstruct the infix expression using the correct associativities and precedences.
Inspired by Language.Haskell.Infix
.