diff options
Diffstat (limited to 'lib/src/make.rs')
-rw-r--r-- | lib/src/make.rs | 4 |
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 { | |||
75 | pub fn ident(text: &str) -> types::Ident { | 75 | pub fn ident(text: &str) -> types::Ident { |
76 | ast_from_text(text) | 76 | ast_from_text(text) |
77 | } | 77 | } |
78 | |||
79 | pub fn empty() -> types::Root { | ||
80 | ast_from_text("") | ||
81 | } | ||