File tree 1 file changed +1
-4
lines changed
compiler/rustc_expand/src/mbe
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 1
- //! This is an NFA-based parser, which calls out to the main rust parser for named non-terminals
1
+ //! This is an NFA-based parser, which calls out to the main Rust parser for named non-terminals
2
2
//! (which it commits to fully when it hits one in a grammar). There's a set of current NFA threads
3
3
//! and a set of next ones. Instead of NTs, we have a special case for Kleene star. The big-O, in
4
4
//! pathological cases, is worse than traditional use of NFA or Earley parsing, but it's an easier
@@ -422,16 +422,13 @@ fn token_name_eq(t1: &Token, t2: &Token) -> bool {
422
422
///
423
423
/// # Parameters
424
424
///
425
- /// - `sess`: the parsing session into which errors are emitted.
426
425
/// - `cur_items`: the set of current items to be processed. This should be empty by the end of a
427
426
/// successful execution of this function.
428
427
/// - `next_items`: the set of newly generated items. These are used to replenish `cur_items` in
429
428
/// the function `parse`.
430
429
/// - `eof_items`: the set of items that would be valid if this was the EOF.
431
430
/// - `bb_items`: the set of items that are waiting for the black-box parser.
432
431
/// - `token`: the current token of the parser.
433
- /// - `span`: the `Span` in the source code corresponding to the token trees we are trying to match
434
- /// against the matcher positions in `cur_items`.
435
432
///
436
433
/// # Returns
437
434
///
You can’t perform that action at this time.
0 commit comments