Edwin Cheng
|
59295854f8
|
Add token id to delims
|
2019-12-18 11:20:22 +08:00 |
|
Edwin Cheng
|
aceb9d7fb0
|
Add token ids for all tt::Leaf
|
2019-12-18 11:20:22 +08:00 |
|
Edwin Cheng
|
98f98cbb54
|
Refactor tt::Delimiter
|
2019-12-13 21:53:34 +08:00 |
|
Aleksey Kladov
|
70f2a21b55
|
Remove typed macro parsing API
We do type-erasure on every path anyway, so it doesn't make much sense
to duplicate this function for every type
|
2019-11-09 13:14:10 +03:00 |
|
Edwin Cheng
|
159da285e9
|
Add macro_expansion_info in hir_expand
|
2019-11-05 01:38:20 +08:00 |
|
Edwin Cheng
|
04af290d4e
|
Add TokenId Shif in macro_rules
|
2019-11-04 23:22:18 +08:00 |
|
Aleksey Kladov
|
b31b7ab238
|
slightly cleanup macro tests
|
2019-09-19 13:44:51 +03:00 |
|
Aleksey Kladov
|
4551182f94
|
use usual token tree for macro expansion
|
2019-09-17 15:51:48 +03:00 |
|
Aleksey Kladov
|
9eb14e1170
|
cleanup expansion to item list
|
2019-09-10 22:22:57 +03:00 |
|
Aleksey Kladov
|
6e5198cd6d
|
add fragmets to expansion
|
2019-09-10 20:26:41 +03:00 |
|
Aleksey Kladov
|
1c5800dee8
|
"Fix" mbe to work with decomposed tokens
We regressed $i * 2 where $i = 1 + 1, need to fix that!
|
2019-09-10 15:56:05 +03:00 |
|
Aleksey Kladov
|
e94587e315
|
fix assists
|
2019-09-02 21:52:06 +03:00 |
|
Aleksey Kladov
|
5b18a4eef9
|
rename struct -> record, pos -> tuple
|
2019-08-23 16:59:50 +03:00 |
|
Aleksey Kladov
|
c9cfd57eea
|
switch to upstream rowan's API
|
2019-07-20 20:12:06 +03:00 |
|
Aleksey Kladov
|
6d5d82e412
|
move debug_dump to fmt::Debug
|
2019-07-20 12:48:24 +03:00 |
|
Aleksey Kladov
|
08fd402ef2
|
migrate mbe to the new rowan
|
2019-07-19 13:16:24 +03:00 |
|
Aleksey Kladov
|
df33e7685b
|
use Parse in mbe
|
2019-07-18 23:19:04 +03:00 |
|
Aleksey Kladov
|
deab4caa7b
|
make Parse fields private
this is in preparation for the new rowan API
|
2019-07-12 19:41:13 +03:00 |
|
Aleksey Kladov
|
61e1474ab3
|
fix typos in mbe tests
|
2019-05-28 18:46:11 +03:00 |
|
Aleksey Kladov
|
2e3f5af9d4
|
move mbe to the new API
|
2019-05-28 17:39:01 +03:00 |
|
Edwin Cheng
|
ad9d2012de
|
Fix match literal
|
2019-05-20 18:29:02 +08:00 |
|
Edwin Cheng
|
a48e33f139
|
Fixed missing empty vars
|
2019-05-05 10:32:57 +08:00 |
|
Edwin Cheng
|
036141663b
|
Quote the quoted comment
|
2019-05-04 19:34:02 +08:00 |
|
Edwin Cheng
|
e7e896170a
|
Convert doc comment to attr
|
2019-05-04 15:00:16 +08:00 |
|
Edwin Cheng
|
4ba4747578
|
Mark unused mbe variable as Binding::Empty
|
2019-05-04 01:14:25 +08:00 |
|
Edwin Cheng
|
31909cc7d7
|
By pass unbind $var while mbe expanding
|
2019-05-03 23:23:21 +08:00 |
|
Edwin Cheng
|
e8e46100d6
|
Refactor out tests module and remove empty subtree
|
2019-05-03 21:38:00 +08:00 |
|