diff options
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r-- | crates/libsyntax2/src/grammar.ron | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron index c9470d4fa..3fe8fdf0b 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron | |||
@@ -220,39 +220,25 @@ Grammar( | |||
220 | ] | 220 | ] |
221 | ), | 221 | ), |
222 | "Function": ( | 222 | "Function": ( |
223 | options: [ | 223 | traits: ["NameOwner"] |
224 | ["name", "Name"] | ||
225 | ] | ||
226 | ), | 224 | ), |
227 | "Struct": ( | 225 | "Struct": ( |
228 | options: [ | 226 | traits: ["NameOwner"] |
229 | ["name", "Name"] | ||
230 | ] | ||
231 | ), | 227 | ), |
232 | "Enum": ( | 228 | "Enum": ( |
233 | options: [ | 229 | traits: ["NameOwner"] |
234 | ["name", "Name"] | ||
235 | ] | ||
236 | ), | 230 | ), |
237 | "Trait": ( | 231 | "Trait": ( |
238 | options: [ | 232 | traits: ["NameOwner"] |
239 | ["name", "Name"] | ||
240 | ] | ||
241 | ), | 233 | ), |
242 | "Module": ( | 234 | "Module": ( |
243 | options: [ | 235 | traits: ["NameOwner"] |
244 | ["name", "Name"] | ||
245 | ] | ||
246 | ), | 236 | ), |
247 | "ConstItem": ( | 237 | "ConstItem": ( |
248 | options: [ | 238 | traits: ["NameOwner"] |
249 | ["name", "Name"] | ||
250 | ] | ||
251 | ), | 239 | ), |
252 | "StaticItem": ( | 240 | "StaticItem": ( |
253 | options: [ | 241 | traits: ["NameOwner"] |
254 | ["name", "Name"] | ||
255 | ] | ||
256 | ), | 242 | ), |
257 | "Name": (), | 243 | "Name": (), |
258 | }, | 244 | }, |