J2K: generate 'interface' keyword instead of 'trait'

This commit is contained in:
Dmitry Jemerov
2015-05-11 19:36:22 +02:00
parent 69a58d1f0e
commit 25959fefdc
36 changed files with 39 additions and 39 deletions
@@ -1 +1 @@
trait I
interface I
@@ -1 +1 @@
trait A
interface A
@@ -1 +1 @@
trait A : I0, I1, I2
interface A : I0, I1, I2
@@ -1 +1 @@
trait A : I
interface A : I
@@ -1,4 +1,4 @@
trait INode {
interface INode {
companion object {
public val IN: String = "in"
public val AT: String = "@"
@@ -1,4 +1,4 @@
trait INode {
interface INode {
public fun getTag(): Tag
public fun toKotlin(): String
}
@@ -1,4 +1,4 @@
public trait INode {
public interface INode {
companion object {
public val IN: String = "in"
public val AT: String = "@"
@@ -1 +1 @@
trait Test
interface Test
@@ -1 +1 @@
private trait Test
private interface Test
@@ -1 +1 @@
protected trait Test
protected interface Test
@@ -1 +1 @@
public trait Test
public interface Test