aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/grammar.ron
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-11 08:11:58 +0100
committerAleksey Kladov <[email protected]>2018-08-11 08:11:58 +0100
commit2e971cdcbbeb543ab6b66dc8558644c1f4a80670 (patch)
tree61facd6dbdcdf00bbbbda503cc3b78826e63af07 /crates/libsyntax2/src/grammar.ron
parente69c70e2a208fd89d4d49a104f5516c55546309e (diff)
Use dict for AST
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r--crates/libsyntax2/src/grammar.ron18
1 files changed, 7 insertions, 11 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron
index 06a4eb6a7..650f72212 100644
--- a/crates/libsyntax2/src/grammar.ron
+++ b/crates/libsyntax2/src/grammar.ron
@@ -213,21 +213,17 @@ Grammar(
213 "SELF_PARAM", 213 "SELF_PARAM",
214 "ARG_LIST", 214 "ARG_LIST",
215 ], 215 ],
216 ast: [ 216 ast: {
217 ( 217 "File": (
218 kind: "FILE",
219 collections: [ 218 collections: [
220 ["functions", "FUNCTION"] 219 ["functions", "Function"]
221 ] 220 ]
222 ), 221 ),
223 ( 222 "Function": (
224 kind: "FUNCTION",
225 options: [ 223 options: [
226 ["name", "NAME"] 224 ["name", "Name"]
227 ] 225 ]
228 ), 226 ),
229 ( 227 "Name": (),
230 kind: "NAME" 228 },
231 ),
232 ]
233) 229)