File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -272,16 +272,16 @@ several times, with different sets of `cfg`s enabled. The IDE-specific task of
272
272
mapping source code into a semantic model is inherently imprecise for
273
273
this reason and gets handled by the [ ` source_binder ` ] .
274
274
275
- [ `source_binder` ] : https://github.com/rust-lang/rust-analyzer/blob/guide-2019-01/crates/hir /src/source_binder.rs
275
+ [ `source_binder` ] : https://github.com/rust-lang/rust-analyzer/blob/guide-2019-01/crates/ra_hir /src/source_binder.rs
276
276
277
277
The semantic interface is declared in the [ ` code_model_api ` ] module. Each entity is
278
278
identified by an integer ID and has a bunch of methods which take a salsa database
279
279
as an argument and returns other entities (which are also IDs). Internally, these
280
280
methods invoke various queries on the database to build the model on demand.
281
281
Here's [ the list of queries] .
282
282
283
- [ `code_model_api` ] : https://github.com/rust-lang/rust-analyzer/blob/guide-2019-01/crates/hir /src/code_model_api.rs
284
- [ the list of queries ] : https://github.com/rust-lang/rust-analyzer/blob/7e84440e25e19529e4ff8a66e521d1b06349c6ec/crates/hir /src/db.rs#L20-L106
283
+ [ `code_model_api` ] : https://github.com/rust-lang/rust-analyzer/blob/guide-2019-01/crates/ra_hir /src/code_model_api.rs
284
+ [ the list of queries ] : https://github.com/rust-lang/rust-analyzer/blob/7e84440e25e19529e4ff8a66e521d1b06349c6ec/crates/ra_hir /src/db.rs#L20-L106
285
285
286
286
The first step of building the model is parsing the source code.
287
287
You can’t perform that action at this time.
0 commit comments