UastKotlinPsiVariable psiParent made lazy to eliminate recursion when building UAST parents

This commit is contained in:
nickl
2017-10-20 16:48:09 +03:00
committed by xiexed
parent b2e53644a5
commit 6a659f33b5
6 changed files with 138 additions and 48 deletions
+17
View File
@@ -0,0 +1,17 @@
fun getElementsAdditionalResolve(string: String): String {
val arr = listOf("1", "2")
when (string) {
"aaaa" -> {
return "bindingContext"
}
else -> {
val (bindingContext, statementFilter) = arr
return bindingContext
}
}
}