File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ high-level interface to the lexer and some validation routines that run after
29
29
macro expansion. In particular, the [ ` rustc_parse::parser ` ] [ parser ] contains
30
30
the parser implementation.
31
31
32
- The main entrypoint to the parser is via the various ` parse_* ` functions in the
33
- [ parser] [ parser ] . They let you do things like turn a [ ` SourceFile ` ] [ sourcefile ]
32
+ The main entrypoint to the parser is via the various ` parse_* ` functions and others in the
33
+ [ parser crate ] [ parser_lib ] . They let you do things like turn a [ ` SourceFile ` ] [ sourcefile ]
34
34
(e.g. the source in a single file) into a token stream, create a parser from
35
35
the token stream, and then execute the parser to get a ` Crate ` (the root AST
36
36
node).
@@ -62,6 +62,7 @@ Code for lexical analysis is split between two crates:
62
62
[ `SourceMap` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/source_map/struct.SourceMap.html
63
63
[ ast module ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/ast/index.html
64
64
[ rustc_parse ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/index.html
65
+ [ parser_lib ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/index.html
65
66
[ parser ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/parser/index.html
66
67
[ `Parser` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/parse/parser/struct.Parser.html
67
68
[ `StringReader` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/lexer/struct.StringReader.html
You can’t perform that action at this time.
0 commit comments