Function gluon_parser::infix::reparse[][src]

pub fn reparse<Id>(
    expr: SpannedExpr<Id>,
    symbols: &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.