Commit Graph

216 Commits

Author SHA1 Message Date
David Tolnay
4b4c4b6708
Briefer ast traversal trait names 2018-01-06 13:48:05 -08:00
David Tolnay
0a0d78cff0
Fill in missing cfgs 2018-01-05 15:24:01 -08:00
David Tolnay
360efd23b8
More useful literal api 2018-01-05 14:22:13 -08:00
David Tolnay
6eff4da01d
Iterate over items by default in Punctuated 2018-01-01 20:48:41 -08:00
David Tolnay
bdafb10843
Rename fields to avoid repetition 2018-01-01 20:04:27 -08:00
David Tolnay
01a7758d5f
Avoid trying to parse TokenStream outside of a proc macro 2018-01-01 20:00:51 -08:00
David Tolnay
1cf8091dbe
Do not depend on quote when only parsing 2017-12-31 18:35:12 -05:00
David Tolnay
f2cfd72935
Punctuated 2017-12-31 18:14:35 -05:00
David Tolnay
e3d41b7678
Reorganize DeriveInput 2017-12-31 15:27:17 -05:00
David Tolnay
8875fcaba8
Parse delimiter before contents 2017-12-31 13:52:37 -05:00
David Tolnay
f047c7a1cc
Update codegen with Delimiter changes 2017-12-31 02:29:04 -05:00
David Tolnay
6702adeab0
Avoid conflicting imports in generated code 2017-12-30 23:38:15 -05:00
David Tolnay
ab9195198b
Separate delimiter and tokenstream in macro ast 2017-12-30 23:31:51 -05:00
David Tolnay
fe9d278f84
Standardize on tt name for tokens 2017-12-29 11:32:42 -05:00
David Tolnay
323279a79c
Expand Type::Macro and Pat::Macro into real variants 2017-12-29 11:31:04 -05:00
David Tolnay
fe5e2efd12
Move syn_codegen to just codegen 2017-12-29 02:44:08 -05:00