Work in progress on consistent UAST structure

This commit is contained in:
Dmitry Jemerov
2017-09-13 17:21:27 +02:00
parent a5a5b37e1e
commit c98c3a7033
19 changed files with 292 additions and 150 deletions
@@ -0,0 +1,2 @@
fun foo(a: Int = 1, foo: String? = null) {
}
@@ -0,0 +1,10 @@
UFile (package = )
UClass (name = DefaultParameterValuesKt)
UAnnotationMethod (name = foo)
UParameter (name = a)
UAnnotation (fqName = null)
ULiteralExpression (value = 1)
UParameter (name = foo)
UAnnotation (fqName = org.jetbrains.annotations.Nullable)
ULiteralExpression (value = null)
UBlockExpression
@@ -0,0 +1,4 @@
public final class DefaultParameterValuesKt {
public static final fun foo(a: int, foo: java.lang.String) : void {
}
}