diff options
author | Aleksey Kladov <[email protected]> | 2018-08-13 16:36:16 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-13 16:36:16 +0100 |
commit | c146331b1c92c3a6d58217b61f95e69155a3a4f8 (patch) | |
tree | eb8c37068ed82ac04abde7bc021a6e44fd53b1a2 /crates/libsyntax2/src/grammar.ron | |
parent | 1d95f34e9a1b2b7cebf44e38238b50a693d3394b (diff) |
rename
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r-- | crates/libsyntax2/src/grammar.ron | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron index 16300af41..ef56761fd 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron | |||
@@ -218,17 +218,17 @@ Grammar( | |||
218 | ast: { | 218 | ast: { |
219 | "File": ( | 219 | "File": ( |
220 | collections: [ | 220 | collections: [ |
221 | ["functions", "Function"] | 221 | ["functions", "FnDef"] |
222 | ] | 222 | ] |
223 | ), | 223 | ), |
224 | "Function": ( traits: ["NameOwner"] ), | 224 | "FnDef": ( traits: ["NameOwner"] ), |
225 | "Struct": ( traits: ["NameOwner"] ), | 225 | "StructDef": ( traits: ["NameOwner"] ), |
226 | "Enum": ( traits: ["NameOwner"] ), | 226 | "EnumDef": ( traits: ["NameOwner"] ), |
227 | "Trait": ( traits: ["NameOwner"] ), | 227 | "TraitDef": ( traits: ["NameOwner"] ), |
228 | "Module": ( traits: ["NameOwner"] ), | 228 | "Module": ( traits: ["NameOwner"] ), |
229 | "ConstItem": ( traits: ["NameOwner"] ), | 229 | "ConstDef": ( traits: ["NameOwner"] ), |
230 | "StaticItem": ( traits: ["NameOwner"] ), | 230 | "StaticDef": ( traits: ["NameOwner"] ), |
231 | "TypeItem": ( traits: ["NameOwner"] ), | 231 | "TypeDef": ( traits: ["NameOwner"] ), |
232 | "Name": (), | 232 | "Name": (), |
233 | "NameRef": (), | 233 | "NameRef": (), |
234 | }, | 234 | }, |