aboutsummaryrefslogtreecommitdiff
path: root/src/syntax_kinds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax_kinds.rs')
-rw-r--r--src/syntax_kinds.rs20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/syntax_kinds.rs b/src/syntax_kinds.rs
index cd4c753a9..7577fa037 100644
--- a/src/syntax_kinds.rs
+++ b/src/syntax_kinds.rs
@@ -82,15 +82,16 @@ pub enum SyntaxKind {
82 FILE, 82 FILE,
83 STRUCT_ITEM, 83 STRUCT_ITEM,
84 ENUM_ITEM, 84 ENUM_ITEM,
85 FN_ITEM,
86 EXTERN_CRATE_ITEM,
87 MOD_ITEM,
88 USE_ITEM,
89 EXTERN_BLOCK,
85 ENUM_VARIANT, 90 ENUM_VARIANT,
86 NAMED_FIELD, 91 NAMED_FIELD,
87 POS_FIELD, 92 POS_FIELD,
88 FN_ITEM,
89 EXTERN_CRATE_ITEM,
90 ATTR, 93 ATTR,
91 META_ITEM, 94 META_ITEM,
92 MOD_ITEM,
93 USE_ITEM,
94 USE_TREE, 95 USE_TREE,
95 PATH, 96 PATH,
96 PATH_SEGMENT, 97 PATH_SEGMENT,
@@ -100,6 +101,7 @@ pub enum SyntaxKind {
100 TYPE_PARAM_LIST, 101 TYPE_PARAM_LIST,
101 LIFETIME_PARAM, 102 LIFETIME_PARAM,
102 TYPE_PARAM, 103 TYPE_PARAM,
104 ABI,
103 105
104 // Technical SyntaxKinds: they appear temporally during parsing, 106 // Technical SyntaxKinds: they appear temporally during parsing,
105 // but never end up in the final tree 107 // but never end up in the final tree
@@ -189,15 +191,16 @@ impl SyntaxKind {
189 FILE => &SyntaxInfo { name: "FILE" }, 191 FILE => &SyntaxInfo { name: "FILE" },
190 STRUCT_ITEM => &SyntaxInfo { name: "STRUCT_ITEM" }, 192 STRUCT_ITEM => &SyntaxInfo { name: "STRUCT_ITEM" },
191 ENUM_ITEM => &SyntaxInfo { name: "ENUM_ITEM" }, 193 ENUM_ITEM => &SyntaxInfo { name: "ENUM_ITEM" },
194 FN_ITEM => &SyntaxInfo { name: "FN_ITEM" },
195 EXTERN_CRATE_ITEM => &SyntaxInfo { name: "EXTERN_CRATE_ITEM" },
196 MOD_ITEM => &SyntaxInfo { name: "MOD_ITEM" },
197 USE_ITEM => &SyntaxInfo { name: "USE_ITEM" },
198 EXTERN_BLOCK => &SyntaxInfo { name: "EXTERN_BLOCK" },
192 ENUM_VARIANT => &SyntaxInfo { name: "ENUM_VARIANT" }, 199 ENUM_VARIANT => &SyntaxInfo { name: "ENUM_VARIANT" },
193 NAMED_FIELD => &SyntaxInfo { name: "NAMED_FIELD" }, 200 NAMED_FIELD => &SyntaxInfo { name: "NAMED_FIELD" },
194 POS_FIELD => &SyntaxInfo { name: "POS_FIELD" }, 201 POS_FIELD => &SyntaxInfo { name: "POS_FIELD" },
195 FN_ITEM => &SyntaxInfo { name: "FN_ITEM" },
196 EXTERN_CRATE_ITEM => &SyntaxInfo { name: "EXTERN_CRATE_ITEM" },
197 ATTR => &SyntaxInfo { name: "ATTR" }, 202 ATTR => &SyntaxInfo { name: "ATTR" },
198 META_ITEM => &SyntaxInfo { name: "META_ITEM" }, 203 META_ITEM => &SyntaxInfo { name: "META_ITEM" },
199 MOD_ITEM => &SyntaxInfo { name: "MOD_ITEM" },
200 USE_ITEM => &SyntaxInfo { name: "USE_ITEM" },
201 USE_TREE => &SyntaxInfo { name: "USE_TREE" }, 204 USE_TREE => &SyntaxInfo { name: "USE_TREE" },
202 PATH => &SyntaxInfo { name: "PATH" }, 205 PATH => &SyntaxInfo { name: "PATH" },
203 PATH_SEGMENT => &SyntaxInfo { name: "PATH_SEGMENT" }, 206 PATH_SEGMENT => &SyntaxInfo { name: "PATH_SEGMENT" },
@@ -207,6 +210,7 @@ impl SyntaxKind {
207 TYPE_PARAM_LIST => &SyntaxInfo { name: "TYPE_PARAM_LIST" }, 210 TYPE_PARAM_LIST => &SyntaxInfo { name: "TYPE_PARAM_LIST" },
208 LIFETIME_PARAM => &SyntaxInfo { name: "LIFETIME_PARAM" }, 211 LIFETIME_PARAM => &SyntaxInfo { name: "LIFETIME_PARAM" },
209 TYPE_PARAM => &SyntaxInfo { name: "TYPE_PARAM" }, 212 TYPE_PARAM => &SyntaxInfo { name: "TYPE_PARAM" },
213 ABI => &SyntaxInfo { name: "ABI" },
210 214
211 TOMBSTONE => &SyntaxInfo { name: "TOMBSTONE" }, 215 TOMBSTONE => &SyntaxInfo { name: "TOMBSTONE" },
212 EOF => &SyntaxInfo { name: "EOF" }, 216 EOF => &SyntaxInfo { name: "EOF" },