Java Uast: Initial implementation

This commit is contained in:
Yan Zhulanow
2016-03-03 17:46:54 +03:00
parent 16de31aebe
commit a13a1e1e4a
72 changed files with 2952 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
default class _Dummy_ {
default inner class Lambda {
default fun example(): void {
doJob({ arg: String ->
arg + arg
}, "Mary")
}
default fun doJob(job: Job, arg: String): void {
System.out.println(job.doJob(arg))
}
}
default abstract interface Job {
public fun doJob(arg: String): String = EmptyExpression
}
}