summaryrefslogtreecommitdiff
path: root/dhall/src/grammar_util.rs
diff options
context:
space:
mode:
authorNadrieril2019-03-06 12:19:26 +0100
committerNadrieril2019-03-06 12:19:26 +0100
commit564a5f37b106c69d8ebe9aec2f665f5222b3dfda (patch)
tree21779d5ea3bc5daaec7fa214402868cde101cfce /dhall/src/grammar_util.rs
parent5b32c5bdea80a0bdf19240f3cc2b8e2ae251d51a (diff)
Split-off core into its own crate
Diffstat (limited to 'dhall/src/grammar_util.rs')
-rw-r--r--dhall/src/grammar_util.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/dhall/src/grammar_util.rs b/dhall/src/grammar_util.rs
deleted file mode 100644
index ce73444..0000000
--- a/dhall/src/grammar_util.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-use crate::core::{Expr, X};
-
-pub type ParsedExpr<'i> = Expr<'i, X, X>; // FIXME Parse paths and replace the second X with Path
-pub type BoxExpr<'i> = Box<ParsedExpr<'i>>;
-pub type ExprOpFn<'i> = fn(BoxExpr<'i>, BoxExpr<'i>) -> ParsedExpr<'i>;
-pub type ExprListFn<'i> =
- fn(Option<BoxExpr<'i>>, Vec<ParsedExpr<'i>>) -> ParsedExpr<'i>;