class MyClass {
val myClassProp = "myClassProp"
companion object {
const val myCompanionConst = "myCompanionConst"
val myCompanionProp = "myCompanionProp"
}
}
the parser returns myConst and myClassProp as a KlassDeclaration instances, but the myCompanionProp is parsed as a tree of DefaultAstNode/DefaultAstTerminal which are hard to analyze:
Given the following code:
the parser returns
myConst
andmyClassProp
as a KlassDeclaration instances, but themyCompanionProp
is parsed as a tree ofDefaultAstNode
/DefaultAstTerminal
which are hard to analyze:Is this the expected behavior?