IDL2K declarations order stability
This commit is contained in:
@@ -20,136 +20,23 @@ import org.w3c.performance.*
|
|||||||
import org.w3c.workers.*
|
import org.w3c.workers.*
|
||||||
import org.w3c.xhr.*
|
import org.w3c.xhr.*
|
||||||
|
|
||||||
native public interface MediaList {
|
native public interface CSSStyleDeclaration {
|
||||||
var mediaText: String
|
|
||||||
get() = noImpl
|
|
||||||
set(value) = noImpl
|
|
||||||
val length: Int
|
|
||||||
get() = noImpl
|
|
||||||
fun item(index: Int): String? = noImpl
|
|
||||||
nativeGetter fun get(index: Int): String? = noImpl
|
|
||||||
fun appendMedium(medium: String): Unit = noImpl
|
|
||||||
fun deleteMedium(medium: String): Unit = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface StyleSheet {
|
|
||||||
val type: String
|
|
||||||
get() = noImpl
|
|
||||||
val href: String?
|
|
||||||
get() = noImpl
|
|
||||||
val ownerNode: UnionElementOrProcessingInstruction?
|
|
||||||
get() = noImpl
|
|
||||||
val parentStyleSheet: StyleSheet?
|
|
||||||
get() = noImpl
|
|
||||||
val title: String?
|
|
||||||
get() = noImpl
|
|
||||||
val media: MediaList
|
|
||||||
get() = noImpl
|
|
||||||
var disabled: Boolean
|
|
||||||
get() = noImpl
|
|
||||||
set(value) = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface CSSStyleSheet : StyleSheet {
|
|
||||||
val ownerRule: CSSRule?
|
|
||||||
get() = noImpl
|
|
||||||
val cssRules: CSSRuleList
|
|
||||||
get() = noImpl
|
|
||||||
fun insertRule(rule: String, index: Int): Int = noImpl
|
|
||||||
fun deleteRule(index: Int): Unit = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface StyleSheetList {
|
|
||||||
val length: Int
|
|
||||||
get() = noImpl
|
|
||||||
fun item(index: Int): StyleSheet? = noImpl
|
|
||||||
nativeGetter fun get(index: Int): StyleSheet? = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface CSSRuleList {
|
|
||||||
val length: Int
|
|
||||||
get() = noImpl
|
|
||||||
fun item(index: Int): CSSRule? = noImpl
|
|
||||||
nativeGetter fun get(index: Int): CSSRule? = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface CSSRule {
|
|
||||||
val type: Short
|
|
||||||
get() = noImpl
|
|
||||||
var cssText: String
|
var cssText: String
|
||||||
get() = noImpl
|
get() = noImpl
|
||||||
set(value) = noImpl
|
set(value) = noImpl
|
||||||
|
val length: Int
|
||||||
|
get() = noImpl
|
||||||
val parentRule: CSSRule?
|
val parentRule: CSSRule?
|
||||||
get() = noImpl
|
get() = noImpl
|
||||||
val parentStyleSheet: CSSStyleSheet?
|
var cssFloat: String
|
||||||
get() = noImpl
|
|
||||||
|
|
||||||
companion object {
|
|
||||||
val STYLE_RULE: Short = 1
|
|
||||||
val CHARSET_RULE: Short = 2
|
|
||||||
val IMPORT_RULE: Short = 3
|
|
||||||
val MEDIA_RULE: Short = 4
|
|
||||||
val FONT_FACE_RULE: Short = 5
|
|
||||||
val PAGE_RULE: Short = 6
|
|
||||||
val MARGIN_RULE: Short = 9
|
|
||||||
val NAMESPACE_RULE: Short = 10
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface CSSStyleRule : CSSRule {
|
|
||||||
var selectorText: String
|
|
||||||
get() = noImpl
|
get() = noImpl
|
||||||
set(value) = noImpl
|
set(value) = noImpl
|
||||||
val style: CSSStyleDeclaration
|
var _dashed_attribute: String
|
||||||
get() = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface CSSImportRule : CSSRule {
|
|
||||||
val href: String
|
|
||||||
get() = noImpl
|
|
||||||
val media: MediaList
|
|
||||||
get() = noImpl
|
|
||||||
val styleSheet: CSSStyleSheet
|
|
||||||
get() = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface CSSGroupingRule : CSSRule {
|
|
||||||
val cssRules: CSSRuleList
|
|
||||||
get() = noImpl
|
|
||||||
fun insertRule(rule: String, index: Int): Int = noImpl
|
|
||||||
fun deleteRule(index: Int): Unit = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface CSSMediaRule : CSSGroupingRule {
|
|
||||||
val media: MediaList
|
|
||||||
get() = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface CSSPageRule : CSSGroupingRule {
|
|
||||||
var selectorText: String
|
|
||||||
get() = noImpl
|
get() = noImpl
|
||||||
set(value) = noImpl
|
set(value) = noImpl
|
||||||
val style: CSSStyleDeclaration
|
var _camel_cased_attribute: String
|
||||||
get() = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface CSSMarginRule : CSSRule {
|
|
||||||
val name: String
|
|
||||||
get() = noImpl
|
|
||||||
val style: CSSStyleDeclaration
|
|
||||||
get() = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface CSSNamespaceRule : CSSRule {
|
|
||||||
var namespaceURI: String
|
|
||||||
get() = noImpl
|
get() = noImpl
|
||||||
set(value) = noImpl
|
set(value) = noImpl
|
||||||
var prefix: String
|
|
||||||
get() = noImpl
|
|
||||||
set(value) = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface CSSStyleDeclaration {
|
|
||||||
var alignContent: String
|
var alignContent: String
|
||||||
get() = noImpl
|
get() = noImpl
|
||||||
set(value) = noImpl
|
set(value) = noImpl
|
||||||
@@ -423,9 +310,6 @@ native public interface CSSStyleDeclaration {
|
|||||||
var flexWrap: String
|
var flexWrap: String
|
||||||
get() = noImpl
|
get() = noImpl
|
||||||
set(value) = noImpl
|
set(value) = noImpl
|
||||||
var cssFloat: String
|
|
||||||
get() = noImpl
|
|
||||||
set(value) = noImpl
|
|
||||||
var font: String
|
var font: String
|
||||||
get() = noImpl
|
get() = noImpl
|
||||||
set(value) = noImpl
|
set(value) = noImpl
|
||||||
@@ -822,19 +706,6 @@ native public interface CSSStyleDeclaration {
|
|||||||
var zIndex: String
|
var zIndex: String
|
||||||
get() = noImpl
|
get() = noImpl
|
||||||
set(value) = noImpl
|
set(value) = noImpl
|
||||||
var cssText: String
|
|
||||||
get() = noImpl
|
|
||||||
set(value) = noImpl
|
|
||||||
val length: Int
|
|
||||||
get() = noImpl
|
|
||||||
val parentRule: CSSRule?
|
|
||||||
get() = noImpl
|
|
||||||
var _dashed_attribute: String
|
|
||||||
get() = noImpl
|
|
||||||
set(value) = noImpl
|
|
||||||
var _camel_cased_attribute: String
|
|
||||||
get() = noImpl
|
|
||||||
set(value) = noImpl
|
|
||||||
fun item(index: Int): String = noImpl
|
fun item(index: Int): String = noImpl
|
||||||
nativeGetter fun get(index: Int): String? = noImpl
|
nativeGetter fun get(index: Int): String? = noImpl
|
||||||
fun getPropertyValue(property: String): String = noImpl
|
fun getPropertyValue(property: String): String = noImpl
|
||||||
@@ -845,6 +716,135 @@ native public interface CSSStyleDeclaration {
|
|||||||
fun removeProperty(property: String): String = noImpl
|
fun removeProperty(property: String): String = noImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
native public interface MediaList {
|
||||||
|
var mediaText: String
|
||||||
|
get() = noImpl
|
||||||
|
set(value) = noImpl
|
||||||
|
val length: Int
|
||||||
|
get() = noImpl
|
||||||
|
fun item(index: Int): String? = noImpl
|
||||||
|
nativeGetter fun get(index: Int): String? = noImpl
|
||||||
|
fun appendMedium(medium: String): Unit = noImpl
|
||||||
|
fun deleteMedium(medium: String): Unit = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface StyleSheet {
|
||||||
|
val type: String
|
||||||
|
get() = noImpl
|
||||||
|
val href: String?
|
||||||
|
get() = noImpl
|
||||||
|
val ownerNode: UnionElementOrProcessingInstruction?
|
||||||
|
get() = noImpl
|
||||||
|
val parentStyleSheet: StyleSheet?
|
||||||
|
get() = noImpl
|
||||||
|
val title: String?
|
||||||
|
get() = noImpl
|
||||||
|
val media: MediaList
|
||||||
|
get() = noImpl
|
||||||
|
var disabled: Boolean
|
||||||
|
get() = noImpl
|
||||||
|
set(value) = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface CSSStyleSheet : StyleSheet {
|
||||||
|
val ownerRule: CSSRule?
|
||||||
|
get() = noImpl
|
||||||
|
val cssRules: CSSRuleList
|
||||||
|
get() = noImpl
|
||||||
|
fun insertRule(rule: String, index: Int): Int = noImpl
|
||||||
|
fun deleteRule(index: Int): Unit = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface StyleSheetList {
|
||||||
|
val length: Int
|
||||||
|
get() = noImpl
|
||||||
|
fun item(index: Int): StyleSheet? = noImpl
|
||||||
|
nativeGetter fun get(index: Int): StyleSheet? = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface CSSRuleList {
|
||||||
|
val length: Int
|
||||||
|
get() = noImpl
|
||||||
|
fun item(index: Int): CSSRule? = noImpl
|
||||||
|
nativeGetter fun get(index: Int): CSSRule? = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface CSSRule {
|
||||||
|
val type: Short
|
||||||
|
get() = noImpl
|
||||||
|
var cssText: String
|
||||||
|
get() = noImpl
|
||||||
|
set(value) = noImpl
|
||||||
|
val parentRule: CSSRule?
|
||||||
|
get() = noImpl
|
||||||
|
val parentStyleSheet: CSSStyleSheet?
|
||||||
|
get() = noImpl
|
||||||
|
|
||||||
|
companion object {
|
||||||
|
val STYLE_RULE: Short = 1
|
||||||
|
val CHARSET_RULE: Short = 2
|
||||||
|
val IMPORT_RULE: Short = 3
|
||||||
|
val MEDIA_RULE: Short = 4
|
||||||
|
val FONT_FACE_RULE: Short = 5
|
||||||
|
val PAGE_RULE: Short = 6
|
||||||
|
val MARGIN_RULE: Short = 9
|
||||||
|
val NAMESPACE_RULE: Short = 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface CSSStyleRule : CSSRule {
|
||||||
|
var selectorText: String
|
||||||
|
get() = noImpl
|
||||||
|
set(value) = noImpl
|
||||||
|
val style: CSSStyleDeclaration
|
||||||
|
get() = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface CSSImportRule : CSSRule {
|
||||||
|
val href: String
|
||||||
|
get() = noImpl
|
||||||
|
val media: MediaList
|
||||||
|
get() = noImpl
|
||||||
|
val styleSheet: CSSStyleSheet
|
||||||
|
get() = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface CSSGroupingRule : CSSRule {
|
||||||
|
val cssRules: CSSRuleList
|
||||||
|
get() = noImpl
|
||||||
|
fun insertRule(rule: String, index: Int): Int = noImpl
|
||||||
|
fun deleteRule(index: Int): Unit = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface CSSMediaRule : CSSGroupingRule {
|
||||||
|
val media: MediaList
|
||||||
|
get() = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface CSSPageRule : CSSGroupingRule {
|
||||||
|
var selectorText: String
|
||||||
|
get() = noImpl
|
||||||
|
set(value) = noImpl
|
||||||
|
val style: CSSStyleDeclaration
|
||||||
|
get() = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface CSSMarginRule : CSSRule {
|
||||||
|
val name: String
|
||||||
|
get() = noImpl
|
||||||
|
val style: CSSStyleDeclaration
|
||||||
|
get() = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface CSSNamespaceRule : CSSRule {
|
||||||
|
var namespaceURI: String
|
||||||
|
get() = noImpl
|
||||||
|
set(value) = noImpl
|
||||||
|
var prefix: String
|
||||||
|
get() = noImpl
|
||||||
|
set(value) = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
native public interface PseudoElement : GeometryNode {
|
native public interface PseudoElement : GeometryNode {
|
||||||
val cascadedStyle: CSSStyleDeclaration
|
val cascadedStyle: CSSStyleDeclaration
|
||||||
get() = noImpl
|
get() = noImpl
|
||||||
|
|||||||
@@ -20,99 +20,6 @@ import org.w3c.performance.*
|
|||||||
import org.w3c.workers.*
|
import org.w3c.workers.*
|
||||||
import org.w3c.xhr.*
|
import org.w3c.xhr.*
|
||||||
|
|
||||||
native public open class MouseEvent(typeArg: String, mouseEventInitDict: MouseEventInit = noImpl) : UIEvent(noImpl, noImpl), UnionElementOrMouseEvent {
|
|
||||||
open val screenX: Int
|
|
||||||
get() = noImpl
|
|
||||||
open val screenY: Int
|
|
||||||
get() = noImpl
|
|
||||||
open val clientX: Int
|
|
||||||
get() = noImpl
|
|
||||||
open val clientY: Int
|
|
||||||
get() = noImpl
|
|
||||||
open val ctrlKey: Boolean
|
|
||||||
get() = noImpl
|
|
||||||
open val shiftKey: Boolean
|
|
||||||
get() = noImpl
|
|
||||||
open val altKey: Boolean
|
|
||||||
get() = noImpl
|
|
||||||
open val metaKey: Boolean
|
|
||||||
get() = noImpl
|
|
||||||
open val button: Short
|
|
||||||
get() = noImpl
|
|
||||||
open val relatedTarget: EventTarget?
|
|
||||||
get() = noImpl
|
|
||||||
open val buttons: Short
|
|
||||||
get() = noImpl
|
|
||||||
open val region: String?
|
|
||||||
get() = noImpl
|
|
||||||
// open val screenX: Double
|
|
||||||
// get() = noImpl
|
|
||||||
// open val screenY: Double
|
|
||||||
// get() = noImpl
|
|
||||||
open val pageX: Double
|
|
||||||
get() = noImpl
|
|
||||||
open val pageY: Double
|
|
||||||
get() = noImpl
|
|
||||||
// open val clientX: Double
|
|
||||||
// get() = noImpl
|
|
||||||
// open val clientY: Double
|
|
||||||
// get() = noImpl
|
|
||||||
// open val x: Double
|
|
||||||
// get() = noImpl
|
|
||||||
// open val y: Double
|
|
||||||
// get() = noImpl
|
|
||||||
open val offsetX: Double
|
|
||||||
get() = noImpl
|
|
||||||
open val offsetY: Double
|
|
||||||
get() = noImpl
|
|
||||||
fun getModifierState(keyArg: String): Boolean = noImpl
|
|
||||||
fun initMouseEvent(typeArg: String, bubblesArg: Boolean, cancelableArg: Boolean, viewArg: Window?, detailArg: Int, screenXArg: Int, screenYArg: Int, clientXArg: Int, clientYArg: Int, ctrlKeyArg: Boolean, altKeyArg: Boolean, shiftKeyArg: Boolean, metaKeyArg: Boolean, buttonArg: Short, relatedTargetArg: EventTarget?): Unit = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public open class Event(type: String, eventInitDict: EventInit = noImpl) {
|
|
||||||
open val type: String
|
|
||||||
get() = noImpl
|
|
||||||
open val target: EventTarget?
|
|
||||||
get() = noImpl
|
|
||||||
open val currentTarget: EventTarget?
|
|
||||||
get() = noImpl
|
|
||||||
open val eventPhase: Short
|
|
||||||
get() = noImpl
|
|
||||||
open val bubbles: Boolean
|
|
||||||
get() = noImpl
|
|
||||||
open val cancelable: Boolean
|
|
||||||
get() = noImpl
|
|
||||||
open val defaultPrevented: Boolean
|
|
||||||
get() = noImpl
|
|
||||||
open val isTrusted: Boolean
|
|
||||||
get() = noImpl
|
|
||||||
open val timeStamp: Number
|
|
||||||
get() = noImpl
|
|
||||||
fun stopPropagation(): Unit = noImpl
|
|
||||||
fun stopImmediatePropagation(): Unit = noImpl
|
|
||||||
fun preventDefault(): Unit = noImpl
|
|
||||||
fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean): Unit = noImpl
|
|
||||||
|
|
||||||
companion object {
|
|
||||||
val NONE: Short = 0
|
|
||||||
val CAPTURING_PHASE: Short = 1
|
|
||||||
val AT_TARGET: Short = 2
|
|
||||||
val BUBBLING_PHASE: Short = 3
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface EventTarget {
|
|
||||||
fun addEventListener(type: String, callback: EventListener?, capture: Boolean = false): Unit = noImpl
|
|
||||||
fun addEventListener(type: String, callback: ((Event) -> Unit)?, capture: Boolean = false): Unit = noImpl
|
|
||||||
fun removeEventListener(type: String, callback: EventListener?, capture: Boolean = false): Unit = noImpl
|
|
||||||
fun removeEventListener(type: String, callback: ((Event) -> Unit)?, capture: Boolean = false): Unit = noImpl
|
|
||||||
fun dispatchEvent(event: Event): Boolean = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public interface EventListener {
|
|
||||||
fun handleEvent(event: Event): Unit = noImpl
|
|
||||||
}
|
|
||||||
|
|
||||||
native public open class UIEvent(type: String, eventInitDict: UIEventInit = noImpl) : Event(type, eventInitDict) {
|
native public open class UIEvent(type: String, eventInitDict: UIEventInit = noImpl) : Event(type, eventInitDict) {
|
||||||
open val view: Window?
|
open val view: Window?
|
||||||
get() = noImpl
|
get() = noImpl
|
||||||
@@ -161,6 +68,55 @@ public inline fun FocusEventInit(relatedTarget: EventTarget? = null, view: Windo
|
|||||||
return o
|
return o
|
||||||
}
|
}
|
||||||
|
|
||||||
|
native public open class MouseEvent(typeArg: String, mouseEventInitDict: MouseEventInit = noImpl) : UIEvent(noImpl, noImpl), UnionElementOrMouseEvent {
|
||||||
|
open val region: String?
|
||||||
|
get() = noImpl
|
||||||
|
// open val screenX: Double
|
||||||
|
// get() = noImpl
|
||||||
|
// open val screenY: Double
|
||||||
|
// get() = noImpl
|
||||||
|
open val pageX: Double
|
||||||
|
get() = noImpl
|
||||||
|
open val pageY: Double
|
||||||
|
get() = noImpl
|
||||||
|
// open val clientX: Double
|
||||||
|
// get() = noImpl
|
||||||
|
// open val clientY: Double
|
||||||
|
// get() = noImpl
|
||||||
|
// open val x: Double
|
||||||
|
// get() = noImpl
|
||||||
|
// open val y: Double
|
||||||
|
// get() = noImpl
|
||||||
|
open val offsetX: Double
|
||||||
|
get() = noImpl
|
||||||
|
open val offsetY: Double
|
||||||
|
get() = noImpl
|
||||||
|
open val screenX: Int
|
||||||
|
get() = noImpl
|
||||||
|
open val screenY: Int
|
||||||
|
get() = noImpl
|
||||||
|
open val clientX: Int
|
||||||
|
get() = noImpl
|
||||||
|
open val clientY: Int
|
||||||
|
get() = noImpl
|
||||||
|
open val ctrlKey: Boolean
|
||||||
|
get() = noImpl
|
||||||
|
open val shiftKey: Boolean
|
||||||
|
get() = noImpl
|
||||||
|
open val altKey: Boolean
|
||||||
|
get() = noImpl
|
||||||
|
open val metaKey: Boolean
|
||||||
|
get() = noImpl
|
||||||
|
open val button: Short
|
||||||
|
get() = noImpl
|
||||||
|
open val relatedTarget: EventTarget?
|
||||||
|
get() = noImpl
|
||||||
|
open val buttons: Short
|
||||||
|
get() = noImpl
|
||||||
|
fun getModifierState(keyArg: String): Boolean = noImpl
|
||||||
|
fun initMouseEvent(typeArg: String, bubblesArg: Boolean, cancelableArg: Boolean, viewArg: Window?, detailArg: Int, screenXArg: Int, screenYArg: Int, clientXArg: Int, clientYArg: Int, ctrlKeyArg: Boolean, altKeyArg: Boolean, shiftKeyArg: Boolean, metaKeyArg: Boolean, buttonArg: Short, relatedTargetArg: EventTarget?): Unit = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
native public interface MouseEventInit : EventModifierInit {
|
native public interface MouseEventInit : EventModifierInit {
|
||||||
var screenX: Int
|
var screenX: Int
|
||||||
var screenY: Int
|
var screenY: Int
|
||||||
@@ -432,3 +388,47 @@ native public open class MutationEvent : Event(noImpl, noImpl) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
native public open class Event(type: String, eventInitDict: EventInit = noImpl) {
|
||||||
|
open val type: String
|
||||||
|
get() = noImpl
|
||||||
|
open val target: EventTarget?
|
||||||
|
get() = noImpl
|
||||||
|
open val currentTarget: EventTarget?
|
||||||
|
get() = noImpl
|
||||||
|
open val eventPhase: Short
|
||||||
|
get() = noImpl
|
||||||
|
open val bubbles: Boolean
|
||||||
|
get() = noImpl
|
||||||
|
open val cancelable: Boolean
|
||||||
|
get() = noImpl
|
||||||
|
open val defaultPrevented: Boolean
|
||||||
|
get() = noImpl
|
||||||
|
open val isTrusted: Boolean
|
||||||
|
get() = noImpl
|
||||||
|
open val timeStamp: Number
|
||||||
|
get() = noImpl
|
||||||
|
fun stopPropagation(): Unit = noImpl
|
||||||
|
fun stopImmediatePropagation(): Unit = noImpl
|
||||||
|
fun preventDefault(): Unit = noImpl
|
||||||
|
fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean): Unit = noImpl
|
||||||
|
|
||||||
|
companion object {
|
||||||
|
val NONE: Short = 0
|
||||||
|
val CAPTURING_PHASE: Short = 1
|
||||||
|
val AT_TARGET: Short = 2
|
||||||
|
val BUBBLING_PHASE: Short = 3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface EventTarget {
|
||||||
|
fun addEventListener(type: String, callback: EventListener?, capture: Boolean = false): Unit = noImpl
|
||||||
|
fun addEventListener(type: String, callback: ((Event) -> Unit)?, capture: Boolean = false): Unit = noImpl
|
||||||
|
fun removeEventListener(type: String, callback: EventListener?, capture: Boolean = false): Unit = noImpl
|
||||||
|
fun removeEventListener(type: String, callback: ((Event) -> Unit)?, capture: Boolean = false): Unit = noImpl
|
||||||
|
fun dispatchEvent(event: Event): Boolean = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
native public interface EventListener {
|
||||||
|
fun handleEvent(event: Event): Unit = noImpl
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -58,11 +58,11 @@ native public open class URL(url: String, base: String = noImpl) {
|
|||||||
set(value) = noImpl
|
set(value) = noImpl
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
fun domainToASCII(domain: String): String = noImpl
|
|
||||||
fun domainToUnicode(domain: String): String = noImpl
|
|
||||||
fun createObjectURL(blob: Blob): String = noImpl
|
fun createObjectURL(blob: Blob): String = noImpl
|
||||||
fun createFor(blob: Blob): String = noImpl
|
fun createFor(blob: Blob): String = noImpl
|
||||||
fun revokeObjectURL(url: String): Unit = noImpl
|
fun revokeObjectURL(url: String): Unit = noImpl
|
||||||
|
fun domainToASCII(domain: String): String = noImpl
|
||||||
|
fun domainToUnicode(domain: String): String = noImpl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ fun main(args: Array<String>) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
val repositoryPre = srcDir.walkTopDown().filter { it.isDirectory() || it.extension == "idl" }.asSequence().filter { it.isFile() }.fold(Repository(emptyMap(), emptyMap(), emptyMap(), emptyMap())) { acc, e ->
|
val repositoryPre = srcDir.walkTopDown().filter { it.isDirectory() || it.extension == "idl" }.asSequence().filter { it.isFile() }.toList().sortBy { it.getAbsolutePath() }.fold(Repository(emptyMap(), emptyMap(), emptyMap(), emptyMap())) { acc, e ->
|
||||||
val fileRepository = parseIDL(ANTLRFileStream(e.getAbsolutePath(), "UTF-8"))
|
val fileRepository = parseIDL(ANTLRFileStream(e.getAbsolutePath(), "UTF-8"))
|
||||||
|
|
||||||
Repository(
|
Repository(
|
||||||
|
|||||||
Reference in New Issue
Block a user