This commit is contained in:
Sergey Ignatov
2011-11-07 19:05:31 +04:00
parent d36c2a46d3
commit 98c9fcf68f
12 changed files with 30 additions and 22 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
abstract open class A {
abstract fun callme() : Unit
abstract fun callme() : Unit
fun callmetoo() : Unit {
print("This is a concrete method.")
}
@@ -6,5 +6,5 @@ color = c
public fun getColor() : String? {
return color
}
abstract public fun area() : Double
abstract public fun area() : Double
}
@@ -0,0 +1 @@
abstract interface I {}
@@ -0,0 +1,2 @@
abstract trait I {
}
@@ -1,7 +1,7 @@
trait INode {
class object {
public val IN : String? = "in"
public val AT : String? = "@"
public val COMMA_WITH_SPACE : String? = (COMMA + SPACE)
val IN : String? = "in"
val AT : String? = "@"
val COMMA_WITH_SPACE : String? = (COMMA + SPACE)
}
}
@@ -1,4 +1,4 @@
trait INode {
public fun getTag() : Tag?
public fun toKotlin() : String?
fun getTag() : Tag?
fun toKotlin() : String?
}