@@ -42,7 +42,7 @@ we'll talk about that later.
4242 analysis. The crate entry points for the parser are the ` Parser.parse_crate_mod() ` and
4343 ` Parser.parse_mod() ` methods found in ` librustc_parse::parser::item ` . The external
4444 module parsing entry point is ` librustc_expand::module::parse_external_mod ` . And
45- the macro parser entry point is ` rustc_expand::mbe::macro_parser::parse_nt ` .
45+ the macro parser entry point is [ ` Parser.parse_nonterminal() ` ] [ parse_nonterminal ] .
4646- Parsing is performed with a set of ` Parser ` utility methods including ` fn bump ` ,
4747 ` fn check ` , ` fn eat ` , ` fn expect ` , ` fn look_ahead ` .
4848- Parsing is organized by the semantic construct that is being parsed. Separate
@@ -111,6 +111,7 @@ we'll talk about that later.
111111[ mir-opt ] : https://rustc-dev-guide.rust-lang.org/mir/optimizations.html
112112[ `simplify_try` ] : https://github.com/rust-lang/rust/pull/66282
113113[ codegen ] : https://rustc-dev-guide.rust-lang.org/backend/codegen.html
114+ [ parse_nonterminal ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/parser/struct.Parser.html#method.parse_nonterminal
114115
115116## How it does it
116117
@@ -347,7 +348,7 @@ For more details on bootstrapping, see
347348 - Main entry points:
348349 - [ Entry point for first file in crate] ( https://doc.rust-lang.org/nightly/nightly-rustc/rustc_interface/passes/fn.parse.html )
349350 - [ Entry point for outline module parsing] ( https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/module/fn.parse_external_mod.html )
350- - [ Entry point for macro fragments] ( https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/mbe/macro_parser/fn.parse_nt.html )
351+ - [ Entry point for macro fragments] [ parse_nonterminal ]
351352 - AST definition: [ ` librustc_ast ` ] ( https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/ast/index.html )
352353 - Expansion: ** TODO**
353354 - Name Resolution: ** TODO**
0 commit comments