summaryrefslogtreecommitdiff
path: root/src/syntax/parsing/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-09-03 19:16:19 +0200
committerLaurenz <laurmaedje@gmail.com>2020-09-03 19:16:19 +0200
commit7f8f225cb3cb44367d731c544f7ce1eebdb97dd5 (patch)
treeeb0084ea898a6e2e7c9034778654b02944048cbb /src/syntax/parsing/mod.rs
parent7f575dc09870848a1a4e5ba1f17a47cf83b60046 (diff)
Split up parser into multiple files 🧱
Splits up into: - escaping: resolving of escape sequences - parser: the parsing code - tests: all integrated parsing tests Also moves Ident from the root syntax module into the tree module.
Diffstat (limited to 'src/syntax/parsing/mod.rs')
-rw-r--r--src/syntax/parsing/mod.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/syntax/parsing/mod.rs b/src/syntax/parsing/mod.rs
new file mode 100644
index 00000000..bf34340f
--- /dev/null
+++ b/src/syntax/parsing/mod.rs
@@ -0,0 +1,9 @@
+//! Parsing of source code into syntax trees.
+
+mod escaping;
+mod parser;
+
+pub use parser::parse;
+
+#[cfg(test)]
+mod tests;