XFFXFF
|
6e97527eae
|
add is_blocklike func on BlockLike
|
2023-03-07 17:27:52 +08:00 |
|
XFFXFF
|
995aacfce8
|
show diagnostic for } token followed by else in let else statement
|
2023-03-07 08:24:25 +08:00 |
|
Lukas Wirth
|
4f6b5f41d4
|
Recover better for more delimited sequences
|
2023-02-14 13:52:15 +01:00 |
|
Lukas Wirth
|
1be24e0899
|
internal: Improve parser recovery a bunch
|
2023-02-11 20:28:36 +01:00 |
|
Lukas Wirth
|
6fa6efe90f
|
fix: Fix parsing of nested tuple field accesses in a cursed way
|
2023-02-03 17:18:48 +01:00 |
|
Jonas Schievink
|
ed48bd8b9d
|
Fix parsing of _ = x in closure body
|
2022-12-12 12:57:29 +01:00 |
|
Lukas Wirth
|
49d24f639f
|
Recover from missing ellipsis in record literals for path expressions
|
2022-08-09 18:23:25 +02:00 |
|
Amos Wenger
|
7e285e1ef5
|
Run cargo fmt
|
2022-07-20 15:06:15 +02:00 |
|
Amos Wenger
|
816f7fe12a
|
Run cargo fix --edition-idioms
|
2022-07-20 15:02:08 +02:00 |
|
Jonas Schievink
|
9bd11459ba
|
Revert "Auto merge of #12149 - jonas-schievink:literally-just-a-literal, r=jonas-schievink"
This reverts commit cc9ae2b89e , reversing
changes made to 7dfd1cb572 .
|
2022-05-13 15:08:14 +02:00 |
|
Jonas Schievink
|
37443eb9a1
|
Maybe everything else *should* have to deal with it
|
2022-05-05 16:28:59 +02:00 |
|
Jonas Schievink
|
2fe38d3b63
|
Indicate the number of float tokens in the first token
|
2022-05-05 16:28:59 +02:00 |
|
Jonas Schievink
|
34dc8e9383
|
Wrap floats in token trees in FLOAT_LITERAL node
|
2022-05-05 16:28:59 +02:00 |
|
Jonas Schievink
|
2a755495d0
|
Add tests
|
2022-05-05 16:28:59 +02:00 |
|
Jonas Schievink
|
1bc3305d95
|
Split float literal tokens at the .
|
2022-05-05 16:28:58 +02:00 |
|
Jonas Schievink
|
872b7b9660
|
Wrap macros in expr position in MacroExpr node
|
2022-04-05 17:43:34 +02:00 |
|
Chayim Refael Friedman
|
d9f0731bd2
|
Parse destructuring assignment
The only patterns we should parse are `..` in structs and `_`: the rest are either not supported or already valid expressions.
|
2022-03-02 01:51:25 +00:00 |
|
Chayim Refael Friedman
|
de8633f15f
|
Parse let expressions in order to support let chains
We still need to reject freestanding `let` expressions: see https://github.com/rust-analyzer/rust-analyzer/issues/11320#issuecomment-1018212465.
|
2022-02-21 08:34:34 +02:00 |
|
Aleksey Kladov
|
b5369927d7
|
parse empty statemet as statemetn
|
2021-12-29 20:04:36 +03:00 |
|
Aleksey Kladov
|
f5cfc0504e
|
rename
|
2021-12-29 19:18:34 +03:00 |
|
Aleksey Kladov
|
8234a85d15
|
compress
|
2021-12-29 18:51:05 +03:00 |
|
Aleksey Kladov
|
b360ea91f2
|
internal: move inline parser tests to parser crate
|
2021-12-26 18:19:09 +03:00 |
|
Aleksey Kladov
|
26bfd6023f
|
Switch parser to use tokens
|
2021-12-12 16:54:09 +03:00 |
|
Jonas Schievink
|
f8acae7895
|
Support let...else
|
2021-10-07 17:06:24 +02:00 |
|
Aramis Razzaghipour
|
eff195852d
|
Fix miscellaneous Clippy lints
|
2021-10-03 23:53:30 +11:00 |
|
Aramis Razzaghipour
|
55c0b86cde
|
Add semicolons for consistency
`clippy::semicolon_if_nothing_returned`
|
2021-10-03 23:39:43 +11:00 |
|
Aleksey Kladov
|
56964c9bd3
|
feat: allow attributes on all expressions
Attrs are syntactically valid on any expression, even if they are not
allowed semantically everywhere yet.
|
2021-09-25 22:19:27 +03:00 |
|
Aleksey Kladov
|
6997adfee7
|
simplify attribute parsing
|
2021-09-25 18:07:51 +03:00 |
|
Aleksey Kladov
|
f27cda6865
|
minor: more condensed tests
|
2021-09-25 14:24:57 +03:00 |
|
Aleksey Kladov
|
f692be853b
|
minor: link my own pratt parsing article :-)
|
2021-09-25 14:20:34 +03:00 |
|
Aleksey Kladov
|
1567bbb73e
|
minor: more focusted tests
|
2021-09-25 14:04:27 +03:00 |
|
Aleksey Kladov
|
a6f17f7436
|
minor: more readable code
|
2021-09-25 13:27:53 +03:00 |
|
Aleksey Kladov
|
ed84717869
|
internal: better naming
|
2021-09-18 15:55:07 +03:00 |
|
Aleksey Kladov
|
f632b5e481
|
internal: parser cleanups
|
2021-09-17 21:40:28 +03:00 |
|
Aleksey Kladov
|
940b3afd00
|
internal: fix bugs in tests by simplifying code
|
2021-09-13 13:29:27 +03:00 |
|
Jade
|
20b325c7d5
|
tree-wide: make rustdoc links spiky so they are clickable
|
2021-06-13 21:58:05 -07:00 |
|
Aleksey Kladov
|
dc1577d58d
|
Add even more docs
|
2021-05-22 17:20:22 +03:00 |
|
Edwin Cheng
|
8e07b23b84
|
Fix macro expansion for statements w/o semicolon
|
2021-03-16 13:44:50 +08:00 |
|
Aleksey Kladov
|
4b989009e3
|
CONST LOOPS ARE HERE
|
2020-08-27 18:12:01 +02:00 |
|
Aleksey Kladov
|
6bc2633c90
|
Align parser names with grammar
|
2020-08-13 17:59:27 +02:00 |
|
Aleksey Kladov
|
50a02eb359
|
Rename ra_parser -> parser
|
2020-08-12 17:14:23 +02:00 |
|