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
2929macro expansion. In particular, the [ ` rustc_parse::parser ` ] [ parser ] contains
3030the parser implementation.
3131
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 ]
3434(e.g. the source in a single file) into a token stream, create a parser from
3535the token stream, and then execute the parser to get a ` Crate ` (the root AST
3636node).
@@ -62,6 +62,7 @@ Code for lexical analysis is split between two crates:
6262[ `SourceMap` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/source_map/struct.SourceMap.html
6363[ ast module ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/ast/index.html
6464[ 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
6566[ parser ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/parser/index.html
6667[ `Parser` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/parse/parser/struct.Parser.html
6768[ `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