https://kotlinlang.org logo
#compiler
Title
# compiler
p

PHondogo

09/21/2022, 6:14 AM
Hello! How can I find out to what declaration expression belongs to? If it is impossible then is there IrElementTransformer that keeps track of element tree parent chain?
s

shikasd

09/21/2022, 11:43 AM
You can keep parent chain yourself by overriding visitDeclaration or visitExpression
2 Views