Update analysis-api.md

This commit is contained in:
Kristoffer Andersen
2022-05-02 15:52:02 +02:00
committed by Ilya Kirillov
parent 722d876675
commit 4614ca94c5
+1 -1
View File
@@ -43,7 +43,7 @@ All interaction with the Analysis API should be performed **only** in **KtAnalys
function should be used:
```kotlin
fun <R> analyze(contextElement: KtElement, action: KtAnalysisSession.() -> R): R
fun <R> analyse(contextElement: KtElement, action: KtAnalysisSession.() -> R): R
```
Where `action` lambda represents the **KtAnalysisSession Scope**.