aboutsummaryrefslogtreecommitdiff
path: root/src/ast/generated.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/generated.rs')
-rw-r--r--src/ast/generated.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ast/generated.rs b/src/ast/generated.rs
index b93c76d0c..2f813050a 100644
--- a/src/ast/generated.rs
+++ b/src/ast/generated.rs
@@ -5,7 +5,7 @@ use {
5}; 5};
6 6
7 7
8#[derive(Debug)] 8#[derive(Debug, Clone, Copy)]
9pub struct File<R: TreeRoot = Arc<SyntaxRoot>> { 9pub struct File<R: TreeRoot = Arc<SyntaxRoot>> {
10 syntax: SyntaxNode<R>, 10 syntax: SyntaxNode<R>,
11} 11}
@@ -21,7 +21,7 @@ impl<R: TreeRoot> AstNode<R> for File<R> {
21} 21}
22 22
23 23
24#[derive(Debug)] 24#[derive(Debug, Clone, Copy)]
25pub struct Function<R: TreeRoot = Arc<SyntaxRoot>> { 25pub struct Function<R: TreeRoot = Arc<SyntaxRoot>> {
26 syntax: SyntaxNode<R>, 26 syntax: SyntaxNode<R>,
27} 27}
@@ -37,7 +37,7 @@ impl<R: TreeRoot> AstNode<R> for Function<R> {
37} 37}
38 38
39 39
40#[derive(Debug)] 40#[derive(Debug, Clone, Copy)]
41pub struct Name<R: TreeRoot = Arc<SyntaxRoot>> { 41pub struct Name<R: TreeRoot = Arc<SyntaxRoot>> {
42 syntax: SyntaxNode<R>, 42 syntax: SyntaxNode<R>,
43} 43}