Dennis Rieks
Dennis Rieks
Hi @mbolotov, thank you for reporting! The recursive tree parsing call for companion objects was missing, it should be working now. Please try version `6e557bc3ba`
Hi @mediavrog, all comment are part of the raw ast, but they are currently not attached to a class. I added an example here: https://github.com/kotlinx/ast/blob/master/grammar-kotlin-parser-test/src/commonMain/resources/testdata/Issue17.kt.txt As you can see in...
Hi Kevin @kevinvandenbreemen, you can find many examples in the unittest folder: https://github.com/kotlinx/ast/blob/master/grammar-kotlin-parser-test/src/commonMain/resources/testdata/ The Files are still there, just renamed: * https://github.com/kotlinx/ast/blob/master/grammar-kotlin-parser-test/src/commonMain/resources/testdata/Issue17.kt.txt * https://github.com/kotlinx/ast/blob/master/grammar-kotlin-parser-test/src/commonMain/resources/testdata/Issue17.raw.ast.txt * https://github.com/kotlinx/ast/blob/master/grammar-kotlin-parser-test/src/commonMain/resources/testdata/Issue17.raw.info.txt * https://github.com/kotlinx/ast/blob/master/grammar-kotlin-parser-test/src/commonMain/resources/testdata/Issue17.summary.ast.txt * https://github.com/kotlinx/ast/blob/master/grammar-kotlin-parser-test/src/commonMain/resources/testdata/Issue17.summary.info.txt...
Oh, thank you for reporting this. https://github.com/kotlinx/ast is the "main" repository. https://github.com/drieks/antlr-kotlin/ is a fork of https://github.com/Strumenta/antlr-kotlin/ I'm using in kotlinx.ast to support kotlin.js and kotlin native. Currently, all my...
I tried to move the build from jitpack to github actions, but did not find time to finish it right now. I want to add normal version numbers and a...
Hi @gauthier-roebroeck-mox, `KlassDeclaration` has a Member called `annotations`. When you have the `func: KlassDeclaration` you can write `func.annotations` to get a list of all annotations. You can then compare the...
Hi @gauthier-roebroeck-mox, yes, sadly I have only little time to work on this library and I prefer to add new functionality, so there is almost no documentation. TreeFilter is mainly...
Hi @fab1an, thank you for reporting this! Should be working now in version https://github.com/kotlinx/ast/commit/59c388806eba4b9bd980ac1a2aba669ac4d60612
Hi @martinflorek, please try version `fd6123da02`. Can you tell me the required parsing time of the old and the new version? Thank you very much!
I refactored `kotlinx.ast` so that it is now possible to use both `antlr-kotlin` and `antlr-java` to parse kotlin sources. Example: https://github.com/kotlinx/ast/blob/master/grammar-kotlin-parser-antlr-java/src/test/kotlin/kotlinx/ast/example/ExampleMain.kt But sadly, it seems that `antlr-kotlin` is not much...