index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
compiler
/
rustc_expand
/
src
/
mbe
/
macro_parser.rs
Age
Commit message (
Expand
)
Author
Lines
2022-04-04
Reorder match arms in `parse_tt_inner`.
Nicholas Nethercote
-31
/
+31
2022-04-04
A new matcher representation for use in `parse_tt`.
Nicholas Nethercote
-332
/
+289
2022-04-02
Auto merge of #95509 - nnethercote:simplify-MatcherPos-some-more, r=petrochenkov
bors
-95
/
+119
2022-03-31
expand: Do not count metavar declarations on RHS of `macro_rules`
Vadim Petrochenkov
-12
/
+6
2022-03-31
Make `MatcherPos` not derive `Clone`.
Nicholas Nethercote
-8
/
+24
2022-03-31
Remove `MatcherPos::stack`.
Nicholas Nethercote
-62
/
+73
2022-03-31
Clarify `idx` handling in sequences.
Nicholas Nethercote
-9
/
+18
2022-03-31
Remove `MatcherPos::match_lo`.
Nicholas Nethercote
-10
/
+4
2022-03-31
Simplify exit of `Delimited` submatchers.
Nicholas Nethercote
-18
/
+12
2022-03-30
Pre-allocate an empty `Lrc<NamedMatchVec>`.
Nicholas Nethercote
-8
/
+26
2022-03-30
Overhaul how matches are recorded.
Nicholas Nethercote
-48
/
+55
2022-03-30
Improve comments and rename many things for consistency.
Nicholas Nethercote
-198
/
+181
2022-03-30
Clarify comments about doc comments in macros.
Nicholas Nethercote
-1
/
+6
2022-03-30
Simplify and rename `count_names`.
Nicholas Nethercote
-13
/
+13
2022-03-29
Add a useful assertion.
Nicholas Nethercote
-2
/
+7
2022-03-28
Rollup merge of #95390 - nnethercote:allow-doc-comments-in-macros, r=petroche...
Dylan DPC
-7
/
+8
2022-03-28
Ignore doc comments in a declarative macro matcher.
Nicholas Nethercote
-7
/
+8
2022-03-28
Remove `Nonterminal::NtTT`.
Nicholas Nethercote
-20
/
+17
2022-03-25
Shrink `MatcherPosRepetition`.
Nicholas Nethercote
-15
/
+13
2022-03-25
Shrink `NamedMatchVec` to one inline element.
Nicholas Nethercote
-2
/
+5
2022-03-25
Split `NamedMatch::MatchNonterminal` in two.
Nicholas Nethercote
-21
/
+31
2022-03-23
Add a size assertion for `NamedMatchVec`.
Nicholas Nethercote
-0
/
+4
2022-03-23
Eliminate `TokenTreeOrTokenTreeSlice`.
Nicholas Nethercote
-57
/
+25
2022-03-21
Move items into `TtParser` as `Vec`s.
Nicholas Nethercote
-56
/
+41
2022-03-21
Remove `MatcherPosHandle`.
Nicholas Nethercote
-88
/
+22
2022-03-19
Remove an impossible code path.
Nicholas Nethercote
-5
/
+6
2022-03-19
Add `TtParser::macro_name`.
Nicholas Nethercote
-10
/
+10
2022-03-19
Rename `bb_items_ambiguity_error` as `ambiguity_error`.
Nicholas Nethercote
-2
/
+2
2022-03-19
Introduce `TtParser`.
Nicholas Nethercote
-279
/
+294
2022-03-18
Auto merge of #95067 - nnethercote:parse_tt-more-refactoring, r=petrochenkov
bors
-142
/
+124
2022-03-18
Rename `TtSeq` as `TtSlice`.
Nicholas Nethercote
-10
/
+10
2022-03-18
Tweak a bunch of comments.
Nicholas Nethercote
-62
/
+36
2022-03-18
Reorder cases in `parse_tt_inner`.
Nicholas Nethercote
-61
/
+55
2022-03-18
Only modify `eof_items` if `token == Eof`.
Nicholas Nethercote
-4
/
+7
2022-03-18
Factor out some code into `MatcherPos::repetition`.
Nicholas Nethercote
-28
/
+37
2022-03-18
Add two useful assertions.
Nicholas Nethercote
-0
/
+2
2022-03-14
Fix remaining meta-variable expression TODOs
Caio
-2
/
+5
2022-03-11
Move a `parse_tt` error case into a separate function.
Nicholas Nethercote
-24
/
+35
2022-03-11
Make next_items a `SmallVec`.
Nicholas Nethercote
-3
/
+2
2022-03-11
Move `eof_items` handling entirely within `inner_parse_loop`.
Nicholas Nethercote
-50
/
+40
2022-03-11
Add a useful assertion.
Nicholas Nethercote
-0
/
+2
2022-03-11
Disallow `TokenTree::{MetaVar,MetaVarExpr}` in matchers.
Nicholas Nethercote
-4
/
+5
2022-03-11
Refactor the second half of `parse_tt`.
Nicholas Nethercote
-61
/
+68
2022-03-09
Implement macro meta-variable expressions
Caio
-4
/
+9
2022-03-03
Rollup merge of #94547 - nnethercote:parse_tt-cleanups, r=petrochenkov
Matthias Krüger
-101
/
+115
2022-03-03
Change `initial_matcher_pos()` into `MatcherPos::new()`.
Nicholas Nethercote
-29
/
+29
2022-03-03
Use a better return type for `inner_parse_loop`.
Nicholas Nethercote
-25
/
+35
2022-03-03
Introduce `MatcherPosRepetition`.
Nicholas Nethercote
-23
/
+27
2022-03-03
Add a static size assertion for `MatcherPos`.
Nicholas Nethercote
-0
/
+4
2022-03-03
Improve if/else formatting in macro_parser.rs.
Nicholas Nethercote
-32
/
+28
[next]