aboutsummaryrefslogtreecommitdiff
path: root/lib/src/make.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/make.rs')
-rw-r--r--lib/src/make.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/src/make.rs b/lib/src/make.rs
index 2a6450c..aec32d5 100644
--- a/lib/src/make.rs
+++ b/lib/src/make.rs
@@ -75,3 +75,7 @@ pub fn select(set: &SyntaxNode, index: &SyntaxNode) -> types::Select {
75pub fn ident(text: &str) -> types::Ident { 75pub fn ident(text: &str) -> types::Ident {
76 ast_from_text(text) 76 ast_from_text(text)
77} 77}
78
79pub fn empty() -> types::Root {
80 ast_from_text("")
81}