aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/grammar.ron
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-25 11:42:40 +0100
committerAleksey Kladov <[email protected]>2018-08-25 11:42:40 +0100
commit19d933ba38e843833b9fce4776ee9b6b9f779e4e (patch)
treea4e281d3ca8ef8d3b8b24f7ea5f1cad1a24ec369 /crates/libsyntax2/src/grammar.ron
parent838820ad986e04dffa43fc2662a58da27d97db06 (diff)
join lines works for lambdas
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r--crates/libsyntax2/src/grammar.ron69
1 files changed, 69 insertions, 0 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron
index 0ea7e8ce1..a753d5e48 100644
--- a/crates/libsyntax2/src/grammar.ron
+++ b/crates/libsyntax2/src/grammar.ron
@@ -325,6 +325,74 @@ Grammar(
325 ], 325 ],
326 ), 326 ),
327 327
328 "TupleExpr": (),
329 "ArrayExpr": (),
330 "ParenExpr": (),
331 "PathExpr": (),
332 "LambdaExpr": (),
333 "IfExpr": (),
334 "LoopExpr": (),
335 "ForExpr": (),
336 "WhileExpr": (),
337 "ContinueExpr": (),
338 "BreakExpr": (),
339 "Label": (),
340 "BlockExpr": (),
341 "ReturnExpr": (),
342 "MatchExpr": (),
343 "MatchArmList": (),
344 "MatchArm": (),
345 "MatchGuard": (),
346 "StructLit": (),
347 "NamedFieldList": (),
348 "NamedField": (),
349 "CallExpr": (),
350 "IndexExpr": (),
351 "MethodCallExpr": (),
352 "FieldExpr": (),
353 "TryExpr": (),
354 "CastExpr": (),
355 "RefExpr": (),
356 "PrefixExpr": (),
357 "RangeExpr": (),
358 "BinExpr": (),
359
360 "Expr": (
361 enum: [
362 "TupleExpr",
363 "ArrayExpr",
364 "ParenExpr",
365 "PathExpr",
366 "LambdaExpr",
367 "IfExpr",
368 "LoopExpr",
369 "ForExpr",
370 "WhileExpr",
371 "ContinueExpr",
372 "BreakExpr",
373 "Label",
374 "BlockExpr",
375 "ReturnExpr",
376 "MatchExpr",
377 "MatchArmList",
378 "MatchArm",
379 "MatchGuard",
380 "StructLit",
381 "NamedFieldList",
382 "NamedField",
383 "CallExpr",
384 "IndexExpr",
385 "MethodCallExpr",
386 "FieldExpr",
387 "TryExpr",
388 "CastExpr",
389 "RefExpr",
390 "PrefixExpr",
391 "RangeExpr",
392 "BinExpr",
393 ],
394 ),
395
328 "Name": (), 396 "Name": (),
329 "NameRef": (), 397 "NameRef": (),
330 "Attr": ( options: [ ["value", "TokenTree"] ] ), 398 "Attr": ( options: [ ["value", "TokenTree"] ] ),
@@ -332,5 +400,6 @@ Grammar(
332 "TypeParamList": ( collections: [ ["type_params", "TypeParam" ] ]), 400 "TypeParamList": ( collections: [ ["type_params", "TypeParam" ] ]),
333 "TypeParam": ( traits: ["NameOwner"]), 401 "TypeParam": ( traits: ["NameOwner"]),
334 "WhereClause": (), 402 "WhereClause": (),
403 "Block": (),
335 }, 404 },
336) 405)