aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/grammar.ron
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-11-07 15:38:43 +0000
committerAleksey Kladov <[email protected]>2018-11-07 15:42:36 +0000
commit2ed1514df3f8837ccebdbbfdadbe89e79b4a4365 (patch)
tree82af1d514d9865db4e2cc163a7ffa601a7c294db /crates/ra_syntax/src/grammar.ron
parentf8b36bbc3b968754b71844d942286e81415627b8 (diff)
rename ROOT -> SOURCE_FILE
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r--crates/ra_syntax/src/grammar.ron4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron
index 1fa25dc4d..a92844415 100644
--- a/crates/ra_syntax/src/grammar.ron
+++ b/crates/ra_syntax/src/grammar.ron
@@ -116,7 +116,7 @@ Grammar(
116 "SHEBANG", 116 "SHEBANG",
117 ], 117 ],
118 nodes: [ 118 nodes: [
119 "ROOT", 119 "SOURCE_FILE",
120 120
121 "STRUCT_DEF", 121 "STRUCT_DEF",
122 "ENUM_DEF", 122 "ENUM_DEF",
@@ -239,7 +239,7 @@ Grammar(
239 "ARG_LIST", 239 "ARG_LIST",
240 ], 240 ],
241 ast: { 241 ast: {
242 "Root": ( 242 "SourceFile": (
243 traits: [ "ModuleItemOwner", "FnDefOwner" ], 243 traits: [ "ModuleItemOwner", "FnDefOwner" ],
244 collections: [ 244 collections: [
245 ["modules", "Module"], 245 ["modules", "Module"],