Update analysis-api.md
This commit is contained in:
committed by
Ilya Kirillov
parent
722d876675
commit
4614ca94c5
@@ -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**.
|
||||
|
||||
Reference in New Issue
Block a user