Open henrikbarium opened 2 years ago
Hi @henrikbarium, thank you for reporting, I will fix it.
Hi @henrikbarium,
code blocks are currently not supported. I can try to add a "by" marker to KlassDeclaration
, but the function invocation lazy { 42 }
can not be expressed because there are many ast node types missing. See https://github.com/kotlinx/ast/issues/21 for more details. Please let me know if you have any questions.
If I run:
The raw AST contains
kotlinFile
/topLevelObject
/declaration
/propertyDeclaration
/propertyDelegate
which describes theby lazy { 42 }
part.However, in the summary AST that I get back from
rawAst.summary(false).get()
I cannot find any reference to the property delegation. TheKlassDeclararation
forval answer
is there, but it has no children (no expressions or anything else).