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