[Analysis API] introduce KtDestructuringDeclarationSymbol to represent a destructuring declaration

Mainly needed to avoid "Cannot build symbol for KtDestructuringDeclaration" from `KtSymbolProvider.getSymbol` on `KtDestructuringDeclaration`.
This commit is contained in:
Ilya Kirillov
2023-08-07 15:02:28 +02:00
committed by Space Team
parent 1b0034b6e7
commit 8ad5a48b98
20 changed files with 338 additions and 1 deletions
@@ -0,0 +1,14 @@
KtDestructuringDeclarationSymbol:
annotationsList: [
AAA(value = "y")
psi: KtAnnotationEntry
]
entries: [
KtLocalVariableSymbol(<local>/a)
KtLocalVariableSymbol(<local>/b)
]
origin: SOURCE
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null