Docs: fix typos and references

Fix reference to fir_basics
This commit is contained in:
Shumaf Lovpache
2022-02-10 11:41:41 +03:00
committed by Ilya Kirillov
parent 0d46d0d69b
commit 729afb6149
@@ -1,6 +1,6 @@
# Low Level API
Low-level API (LL API fopr short) is an interlayer between Analysis API FIR Implementation and FIR compiler. Low-level API is responsible for:
Low-level API (LL API for short) is an interlayer between Analysis API FIR Implementation and FIR compiler. Low-level API is responsible for:
* Finding corresponding `FirElement` by `KtElement`
* Lazy resolving of `FirDeclaration`
@@ -8,7 +8,7 @@ Low-level API (LL API fopr short) is an interlayer between Analysis API FIR Impl
* Incremental code analysis
* Implementing FIR providers using IntelliJ indexes
You can read about how FIR compiler works [here](../fir/fir-basics.md).
You can read about how FIR compiler works [here](../../fir/fir-basics.md).
The entry point for LL API is `FirModuleResolveState`.` FirModuleResolveState` is a view of project modules visible from the current module.
The lifetime of
@@ -68,4 +68,4 @@ All resolve happens under containing file-based *write lock*.
The `FirModuleResolveState` represents a view from a specific module (**root module**) to the dependent modules. A module is represented by:
* `FirIdeSourcesSession` the implementation of `FirSession` (FIR compiler representation of a module)
* `ModuleFileCache` the `KtFile -> FirFile` cache & also caches for FIR providers
* `ModuleFileCache` the `KtFile -> FirFile` cache & also caches for FIR providers