File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ we'll talk about that later.
38
38
data which are emitted in ` librustc_parse::lexer::mod ` as real diagnostics.
39
39
- The lexer preserves full fidelity information for both IDEs and proc macros.
40
40
- The parser [ translates the token stream from the lexer into an Abstract Syntax
41
- Tree (AST)] [ parser ] . It uses a recursive descent (top-down) approach to syntax
42
- analysis. The crate entry points for the parser are the ` Parser. parse_crate_mod() ` and
43
- ` Parser. parse_mod() ` methods found in ` librustc_parse::parser::item ` . The external
41
+ Tree (AST)] [ parser ] . It uses a recursive descent (top-down) approach to syntax
42
+ analysis. The crate entry points for the parser are the ` Parser:: parse_crate_mod() ` and
43
+ ` Parser:: parse_mod() ` methods found in ` librustc_parse::parser::item ` . The external
44
44
module parsing entry point is ` librustc_expand::module::parse_external_mod ` . And
45
- the macro parser entry point is [ ` Parser. parse_nonterminal() ` ] [ parse_nonterminal ] .
45
+ the macro parser entry point is [ ` Parser:: parse_nonterminal() ` ] [ parse_nonterminal ] .
46
46
- Parsing is performed with a set of ` Parser ` utility methods including ` fn bump ` ,
47
47
` fn check ` , ` fn eat ` , ` fn expect ` , ` fn look_ahead ` .
48
48
- Parsing is organized by the semantic construct that is being parsed. Separate
You can’t perform that action at this time.
0 commit comments