added RuntimeException, NoSuchElementException and missing Iterator.remove() function
This commit is contained in:
@@ -25,6 +25,8 @@ fun safeParseDouble(s : String) : Double? = js.noImpl
|
|||||||
library
|
library
|
||||||
open class Exception() : Throwable() {}
|
open class Exception() : Throwable() {}
|
||||||
library
|
library
|
||||||
|
open class RuntimeException() : Exception() {}
|
||||||
|
library
|
||||||
class NumberFormatException() : Exception() {}
|
class NumberFormatException() : Exception() {}
|
||||||
|
|
||||||
native
|
native
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ library
|
|||||||
public open class Iterator<T>() {
|
public open class Iterator<T>() {
|
||||||
open fun next() : T = js.noImpl
|
open fun next() : T = js.noImpl
|
||||||
open fun hasNext() : Boolean = js.noImpl
|
open fun hasNext() : Boolean = js.noImpl
|
||||||
|
open fun remove() : Unit = js.noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
library
|
library
|
||||||
@@ -173,4 +174,8 @@ library
|
|||||||
public class StringBuilder() {
|
public class StringBuilder() {
|
||||||
public fun append(obj : Any) : StringBuilder = js.noImpl
|
public fun append(obj : Any) : StringBuilder = js.noImpl
|
||||||
public fun toString() : String = js.noImpl
|
public fun toString() : String = js.noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
library
|
||||||
|
class NoSuchElementException() : Exception() {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user