OLD | NEW |
(Empty) | |
| 1 // ********** Library dart:core ************** |
| 2 // ********** Natives dart:core ************** |
| 3 Object.defineProperty(Object.prototype, '$typeNameOf', { value: function() { |
| 4 if ((typeof(window) != 'undefined' && window.constructor.name == 'DOMWindow') |
| 5 || typeof(process) != 'undefined') { // fast-path for Chrome and Node |
| 6 return this.constructor.name; |
| 7 } |
| 8 var str = Object.prototype.toString.call(this); |
| 9 str = str.substring(8, str.length - 1); |
| 10 if (str == 'Window') { |
| 11 str = 'DOMWindow'; |
| 12 } else if (str == 'Document') { |
| 13 str = 'HTMLDocument'; |
| 14 } |
| 15 return str; |
| 16 }, enumerable: false, writable: true, configurable: true}); |
| 17 function $throw(e) { |
| 18 // If e is not a value, we can use V8's captureStackTrace utility method. |
| 19 // TODO(jmesserly): capture the stack trace on other JS engines. |
| 20 if (e && (typeof e == 'object') && Error.captureStackTrace) { |
| 21 // TODO(jmesserly): this will clobber the e.stack property |
| 22 Error.captureStackTrace(e, $throw); |
| 23 } |
| 24 throw e; |
| 25 } |
| 26 Object.defineProperty(Object.prototype, '$index', { value: function(i) { |
| 27 var proto = Object.getPrototypeOf(this); |
| 28 if (proto !== Object) { |
| 29 proto.$index = function(i) { return this[i]; } |
| 30 } |
| 31 return this[i]; |
| 32 }, enumerable: false, writable: true, configurable: true}); |
| 33 Object.defineProperty(Array.prototype, '$index', { value: function(i) { |
| 34 return this[i]; |
| 35 }, enumerable: false, writable: true, configurable: true}); |
| 36 Object.defineProperty(String.prototype, '$index', { value: function(i) { |
| 37 return this[i]; |
| 38 }, enumerable: false, writable: true, configurable: true}); |
| 39 Object.defineProperty(Object.prototype, '$setindex', { value: function(i, value)
{ |
| 40 var proto = Object.getPrototypeOf(this); |
| 41 if (proto !== Object) { |
| 42 proto.$setindex = function(i, value) { return this[i] = value; } |
| 43 } |
| 44 return this[i] = value; |
| 45 }, enumerable: false, writable: true, configurable: true}); |
| 46 Object.defineProperty(Array.prototype, '$setindex', { value: function(i, value)
{ |
| 47 return this[i] = value; }, enumerable: false, writable: true, |
| 48 configurable: true}); |
| 49 // Wrap a 0-arg dom-callback to bind it with the current isolate: |
| 50 function $wrap_call$0(fn) { return fn && fn.wrap$call$0(); } |
| 51 Function.prototype.wrap$call$0 = function() { |
| 52 var isolateContext = $globalState.currentContext; |
| 53 var self = this; |
| 54 this.wrap$0 = function() { |
| 55 isolateContext.eval(self); |
| 56 $globalState.topEventLoop.run(); |
| 57 }; |
| 58 this.wrap$call$0 = function() { return this.wrap$0; }; |
| 59 return this.wrap$0; |
| 60 } |
| 61 // Wrap a 1-arg dom-callback to bind it with the current isolate: |
| 62 function $wrap_call$1(fn) { return fn && fn.wrap$call$1(); } |
| 63 Function.prototype.wrap$call$1 = function() { |
| 64 var isolateContext = $globalState.currentContext; |
| 65 var self = this; |
| 66 this.wrap$1 = function(arg) { |
| 67 isolateContext.eval(function() { self(arg); }); |
| 68 $globalState.topEventLoop.run(); |
| 69 }; |
| 70 this.wrap$call$1 = function() { return this.wrap$1; }; |
| 71 return this.wrap$1; |
| 72 } |
| 73 var $globalThis = this; |
| 74 var $globals = null; |
| 75 var $globalState = null; |
| 76 function $add(x, y) { |
| 77 return ((typeof(x) == 'number' && typeof(y) == 'number') || |
| 78 (typeof(x) == 'string')) |
| 79 ? x + y : x.$add(y); |
| 80 } |
| 81 function $eq(x, y) { |
| 82 if (x == null) return y == null; |
| 83 return (typeof(x) == 'number' && typeof(y) == 'number') || |
| 84 (typeof(x) == 'boolean' && typeof(y) == 'boolean') || |
| 85 (typeof(x) == 'string' && typeof(y) == 'string') |
| 86 ? x == y : x.$eq(y); |
| 87 } |
| 88 // TODO(jimhug): Should this or should it not match equals? |
| 89 Object.defineProperty(Object.prototype, '$eq', { value: function(other) { |
| 90 return this === other; |
| 91 }, enumerable: false, writable: true, configurable: true }); |
| 92 function $truncdiv(x, y) { |
| 93 if (typeof(x) == 'number' && typeof(y) == 'number') { |
| 94 if (y == 0) $throw(new IntegerDivisionByZeroException()); |
| 95 var tmp = x / y; |
| 96 return (tmp < 0) ? Math.ceil(tmp) : Math.floor(tmp); |
| 97 } else { |
| 98 return x.$truncdiv(y); |
| 99 } |
| 100 } |
| 101 Object.defineProperty(Object.prototype, "get$typeName", { value: Object.prototyp
e.$typeNameOf, enumerable: false, writable: true, configurable: true}); |
| 102 // ********** Code for Object ************** |
| 103 Object.defineProperty(Object.prototype, "get$dynamic", { value: function() { |
| 104 "use strict"; return this; |
| 105 }, enumerable: false, writable: true, configurable: true }); |
| 106 Object.defineProperty(Object.prototype, "noSuchMethod", { value: function(name,
args) { |
| 107 $throw(new NoSuchMethodException(this, name, args)); |
| 108 }, enumerable: false, writable: true, configurable: true }); |
| 109 Object.defineProperty(Object.prototype, "_asNonSentinelEntry$0", { value: functi
on() { |
| 110 return this.noSuchMethod$2("_asNonSentinelEntry", []); |
| 111 }, enumerable: false, writable: true, configurable: true }); |
| 112 Object.defineProperty(Object.prototype, "_callback$2", { value: function($0, $1)
{ |
| 113 return this.noSuchMethod$2("_callback", [$0, $1]); |
| 114 }, enumerable: false, writable: true, configurable: true }); |
| 115 Object.defineProperty(Object.prototype, "_setGlobals$0", { value: function() { |
| 116 return this.noSuchMethod$2("_setGlobals", []); |
| 117 }, enumerable: false, writable: true, configurable: true }); |
| 118 Object.defineProperty(Object.prototype, "add$1", { value: function($0) { |
| 119 return this.noSuchMethod$2("add", [$0]); |
| 120 }, enumerable: false, writable: true, configurable: true }); |
| 121 Object.defineProperty(Object.prototype, "add$2", { value: function($0, $1) { |
| 122 return this.noSuchMethod$2("add", [$0, $1]); |
| 123 }, enumerable: false, writable: true, configurable: true }); |
| 124 Object.defineProperty(Object.prototype, "addAll$1", { value: function($0) { |
| 125 return this.noSuchMethod$2("addAll", [$0]); |
| 126 }, enumerable: false, writable: true, configurable: true }); |
| 127 Object.defineProperty(Object.prototype, "addEventListener$3", { value: function(
$0, $1, $2) { |
| 128 return this.noSuchMethod$2("addEventListener", [$0, $1, $2]); |
| 129 }, enumerable: false, writable: true, configurable: true }); |
| 130 Object.defineProperty(Object.prototype, "appendChild$1", { value: function($0) { |
| 131 return this.noSuchMethod$2("appendChild", [$0]); |
| 132 }, enumerable: false, writable: true, configurable: true }); |
| 133 Object.defineProperty(Object.prototype, "call$1", { value: function($0) { |
| 134 return this.noSuchMethod$2("call", [$0]); |
| 135 }, enumerable: false, writable: true, configurable: true }); |
| 136 Object.defineProperty(Object.prototype, "clear$0", { value: function() { |
| 137 return this.noSuchMethod$2("clear", []); |
| 138 }, enumerable: false, writable: true, configurable: true }); |
| 139 Object.defineProperty(Object.prototype, "click$0", { value: function() { |
| 140 return this.noSuchMethod$2("click", []); |
| 141 }, enumerable: false, writable: true, configurable: true }); |
| 142 Object.defineProperty(Object.prototype, "cloneNode$1", { value: function($0) { |
| 143 return this.noSuchMethod$2("cloneNode", [$0]); |
| 144 }, enumerable: false, writable: true, configurable: true }); |
| 145 Object.defineProperty(Object.prototype, "eval$1", { value: function($0) { |
| 146 return this.noSuchMethod$2("eval", [$0]); |
| 147 }, enumerable: false, writable: true, configurable: true }); |
| 148 Object.defineProperty(Object.prototype, "filter$1", { value: function($0) { |
| 149 return this.noSuchMethod$2("filter", [$0]); |
| 150 }, enumerable: false, writable: true, configurable: true }); |
| 151 Object.defineProperty(Object.prototype, "getAttribute$1", { value: function($0)
{ |
| 152 return this.noSuchMethod$2("getAttribute", [$0]); |
| 153 }, enumerable: false, writable: true, configurable: true }); |
| 154 Object.defineProperty(Object.prototype, "getKeys$0", { value: function() { |
| 155 return this.noSuchMethod$2("getKeys", []); |
| 156 }, enumerable: false, writable: true, configurable: true }); |
| 157 Object.defineProperty(Object.prototype, "getValues$0", { value: function() { |
| 158 return this.noSuchMethod$2("getValues", []); |
| 159 }, enumerable: false, writable: true, configurable: true }); |
| 160 Object.defineProperty(Object.prototype, "hasAttribute$1", { value: function($0)
{ |
| 161 return this.noSuchMethod$2("hasAttribute", [$0]); |
| 162 }, enumerable: false, writable: true, configurable: true }); |
| 163 Object.defineProperty(Object.prototype, "hasAttributes$0", { value: function() { |
| 164 return this.noSuchMethod$2("hasAttributes", []); |
| 165 }, enumerable: false, writable: true, configurable: true }); |
| 166 Object.defineProperty(Object.prototype, "hasChildNodes$0", { value: function() { |
| 167 return this.noSuchMethod$2("hasChildNodes", []); |
| 168 }, enumerable: false, writable: true, configurable: true }); |
| 169 Object.defineProperty(Object.prototype, "hasNext$0", { value: function() { |
| 170 return this.noSuchMethod$2("hasNext", []); |
| 171 }, enumerable: false, writable: true, configurable: true }); |
| 172 Object.defineProperty(Object.prototype, "hashCode$0", { value: function() { |
| 173 return this.noSuchMethod$2("hashCode", []); |
| 174 }, enumerable: false, writable: true, configurable: true }); |
| 175 Object.defineProperty(Object.prototype, "is$List", { value: function() { |
| 176 return false; |
| 177 }, enumerable: false, writable: true, configurable: true }); |
| 178 Object.defineProperty(Object.prototype, "is$Map", { value: function() { |
| 179 return false; |
| 180 }, enumerable: false, writable: true, configurable: true }); |
| 181 Object.defineProperty(Object.prototype, "is$html_html_Element", { value: functio
n() { |
| 182 return false; |
| 183 }, enumerable: false, writable: true, configurable: true }); |
| 184 Object.defineProperty(Object.prototype, "item$1", { value: function($0) { |
| 185 return this.noSuchMethod$2("item", [$0]); |
| 186 }, enumerable: false, writable: true, configurable: true }); |
| 187 Object.defineProperty(Object.prototype, "iterator$0", { value: function() { |
| 188 return this.noSuchMethod$2("iterator", []); |
| 189 }, enumerable: false, writable: true, configurable: true }); |
| 190 Object.defineProperty(Object.prototype, "last$0", { value: function() { |
| 191 return this.noSuchMethod$2("last", []); |
| 192 }, enumerable: false, writable: true, configurable: true }); |
| 193 Object.defineProperty(Object.prototype, "lookup$1", { value: function($0) { |
| 194 return this.noSuchMethod$2("lookup", [$0]); |
| 195 }, enumerable: false, writable: true, configurable: true }); |
| 196 Object.defineProperty(Object.prototype, "next$0", { value: function() { |
| 197 return this.noSuchMethod$2("next", []); |
| 198 }, enumerable: false, writable: true, configurable: true }); |
| 199 Object.defineProperty(Object.prototype, "noSuchMethod$2", { value: function($0,
$1) { |
| 200 return this.noSuchMethod($0, $1); |
| 201 }, enumerable: false, writable: true, configurable: true }); |
| 202 Object.defineProperty(Object.prototype, "postMessage$1", { value: function($0) { |
| 203 return this.noSuchMethod$2("postMessage", [$0]); |
| 204 }, enumerable: false, writable: true, configurable: true }); |
| 205 Object.defineProperty(Object.prototype, "postMessage$2", { value: function($0, $
1) { |
| 206 return this.noSuchMethod$2("postMessage", [$0, $1]); |
| 207 }, enumerable: false, writable: true, configurable: true }); |
| 208 Object.defineProperty(Object.prototype, "postMessage$3", { value: function($0, $
1, $2) { |
| 209 return this.noSuchMethod$2("postMessage", [$0, $1, $2]); |
| 210 }, enumerable: false, writable: true, configurable: true }); |
| 211 Object.defineProperty(Object.prototype, "process$0", { value: function() { |
| 212 return this.noSuchMethod$2("process", []); |
| 213 }, enumerable: false, writable: true, configurable: true }); |
| 214 Object.defineProperty(Object.prototype, "putIfAbsent$2", { value: function($0, $
1) { |
| 215 return this.noSuchMethod$2("putIfAbsent", [$0, $1]); |
| 216 }, enumerable: false, writable: true, configurable: true }); |
| 217 Object.defineProperty(Object.prototype, "querySelector$1", { value: function($0)
{ |
| 218 return this.noSuchMethod$2("querySelector", [$0]); |
| 219 }, enumerable: false, writable: true, configurable: true }); |
| 220 Object.defineProperty(Object.prototype, "querySelectorAll$1", { value: function(
$0) { |
| 221 return this.noSuchMethod$2("querySelectorAll", [$0]); |
| 222 }, enumerable: false, writable: true, configurable: true }); |
| 223 Object.defineProperty(Object.prototype, "receive$1", { value: function($0) { |
| 224 return this.noSuchMethod$2("receive", [$0]); |
| 225 }, enumerable: false, writable: true, configurable: true }); |
| 226 Object.defineProperty(Object.prototype, "remove$0", { value: function() { |
| 227 return this.noSuchMethod$2("remove", []); |
| 228 }, enumerable: false, writable: true, configurable: true }); |
| 229 Object.defineProperty(Object.prototype, "remove$1", { value: function($0) { |
| 230 return this.noSuchMethod$2("remove", [$0]); |
| 231 }, enumerable: false, writable: true, configurable: true }); |
| 232 Object.defineProperty(Object.prototype, "removeAttribute$1", { value: function($
0) { |
| 233 return this.noSuchMethod$2("removeAttribute", [$0]); |
| 234 }, enumerable: false, writable: true, configurable: true }); |
| 235 Object.defineProperty(Object.prototype, "removeChild$1", { value: function($0) { |
| 236 return this.noSuchMethod$2("removeChild", [$0]); |
| 237 }, enumerable: false, writable: true, configurable: true }); |
| 238 Object.defineProperty(Object.prototype, "removeEventListener$3", { value: functi
on($0, $1, $2) { |
| 239 return this.noSuchMethod$2("removeEventListener", [$0, $1, $2]); |
| 240 }, enumerable: false, writable: true, configurable: true }); |
| 241 Object.defineProperty(Object.prototype, "removeLast$0", { value: function() { |
| 242 return this.noSuchMethod$2("removeLast", []); |
| 243 }, enumerable: false, writable: true, configurable: true }); |
| 244 Object.defineProperty(Object.prototype, "replaceChild$2", { value: function($0,
$1) { |
| 245 return this.noSuchMethod$2("replaceChild", [$0, $1]); |
| 246 }, enumerable: false, writable: true, configurable: true }); |
| 247 Object.defineProperty(Object.prototype, "setAttribute$2", { value: function($0,
$1) { |
| 248 return this.noSuchMethod$2("setAttribute", [$0, $1]); |
| 249 }, enumerable: false, writable: true, configurable: true }); |
| 250 Object.defineProperty(Object.prototype, "setTimeout$2", { value: function($0, $1
) { |
| 251 return this.noSuchMethod$2("setTimeout", [$0, $1]); |
| 252 }, enumerable: false, writable: true, configurable: true }); |
| 253 Object.defineProperty(Object.prototype, "terminate$0", { value: function() { |
| 254 return this.noSuchMethod$2("terminate", []); |
| 255 }, enumerable: false, writable: true, configurable: true }); |
| 256 Object.defineProperty(Object.prototype, "toSendPort$0", { value: function() { |
| 257 return this.noSuchMethod$2("toSendPort", []); |
| 258 }, enumerable: false, writable: true, configurable: true }); |
| 259 Object.defineProperty(Object.prototype, "toString$0", { value: function() { |
| 260 return this.toString(); |
| 261 }, enumerable: false, writable: true, configurable: true }); |
| 262 Object.defineProperty(Object.prototype, "visitList$1", { value: function($0) { |
| 263 return this.noSuchMethod$2("visitList", [$0]); |
| 264 }, enumerable: false, writable: true, configurable: true }); |
| 265 // ********** Code for IllegalAccessException ************** |
| 266 function IllegalAccessException() { |
| 267 |
| 268 } |
| 269 IllegalAccessException.prototype.toString = function() { |
| 270 return "Attempt to modify an immutable object"; |
| 271 } |
| 272 IllegalAccessException.prototype.toString$0 = IllegalAccessException.prototype.t
oString; |
| 273 // ********** Code for NoSuchMethodException ************** |
| 274 function NoSuchMethodException(_receiver, _functionName, _arguments) { |
| 275 this._receiver = _receiver; |
| 276 this._functionName = _functionName; |
| 277 this._arguments = _arguments; |
| 278 } |
| 279 NoSuchMethodException.prototype.toString = function() { |
| 280 var sb = new StringBufferImpl(""); |
| 281 for (var i = (0); |
| 282 i < this._arguments.get$length(); i++) { |
| 283 if (i > (0)) { |
| 284 sb.add(", "); |
| 285 } |
| 286 sb.add(this._arguments.$index(i)); |
| 287 } |
| 288 sb.add("]"); |
| 289 return ("NoSuchMethodException - receiver: '" + this._receiver + "' ") + ("fun
ction name: '" + this._functionName + "' arguments: [" + sb + "]"); |
| 290 } |
| 291 NoSuchMethodException.prototype.toString$0 = NoSuchMethodException.prototype.toS
tring; |
| 292 // ********** Code for ClosureArgumentMismatchException ************** |
| 293 function ClosureArgumentMismatchException() { |
| 294 |
| 295 } |
| 296 ClosureArgumentMismatchException.prototype.toString = function() { |
| 297 return "Closure argument mismatch"; |
| 298 } |
| 299 ClosureArgumentMismatchException.prototype.toString$0 = ClosureArgumentMismatchE
xception.prototype.toString; |
| 300 // ********** Code for ObjectNotClosureException ************** |
| 301 function ObjectNotClosureException() { |
| 302 |
| 303 } |
| 304 ObjectNotClosureException.prototype.toString = function() { |
| 305 return "Object is not closure"; |
| 306 } |
| 307 ObjectNotClosureException.prototype.toString$0 = ObjectNotClosureException.proto
type.toString; |
| 308 // ********** Code for StackOverflowException ************** |
| 309 function StackOverflowException() { |
| 310 |
| 311 } |
| 312 StackOverflowException.prototype.toString = function() { |
| 313 return "Stack Overflow"; |
| 314 } |
| 315 StackOverflowException.prototype.toString$0 = StackOverflowException.prototype.t
oString; |
| 316 // ********** Code for BadNumberFormatException ************** |
| 317 function BadNumberFormatException(_s) { |
| 318 this._s = _s; |
| 319 } |
| 320 BadNumberFormatException.prototype.toString = function() { |
| 321 return ("BadNumberFormatException: '" + this._s + "'"); |
| 322 } |
| 323 BadNumberFormatException.prototype.toString$0 = BadNumberFormatException.prototy
pe.toString; |
| 324 // ********** Code for NullPointerException ************** |
| 325 function NullPointerException() { |
| 326 |
| 327 } |
| 328 NullPointerException.prototype.toString = function() { |
| 329 return "NullPointerException"; |
| 330 } |
| 331 NullPointerException.prototype.toString$0 = NullPointerException.prototype.toStr
ing; |
| 332 // ********** Code for NoMoreElementsException ************** |
| 333 function NoMoreElementsException() { |
| 334 |
| 335 } |
| 336 NoMoreElementsException.prototype.toString = function() { |
| 337 return "NoMoreElementsException"; |
| 338 } |
| 339 NoMoreElementsException.prototype.toString$0 = NoMoreElementsException.prototype
.toString; |
| 340 // ********** Code for EmptyQueueException ************** |
| 341 function EmptyQueueException() { |
| 342 |
| 343 } |
| 344 EmptyQueueException.prototype.toString = function() { |
| 345 return "EmptyQueueException"; |
| 346 } |
| 347 EmptyQueueException.prototype.toString$0 = EmptyQueueException.prototype.toStrin
g; |
| 348 // ********** Code for UnsupportedOperationException ************** |
| 349 function UnsupportedOperationException(_message) { |
| 350 this._message = _message; |
| 351 } |
| 352 UnsupportedOperationException.prototype.toString = function() { |
| 353 return ("UnsupportedOperationException: " + this._message); |
| 354 } |
| 355 UnsupportedOperationException.prototype.toString$0 = UnsupportedOperationExcepti
on.prototype.toString; |
| 356 // ********** Code for dart_core_Function ************** |
| 357 Function.prototype.to$call$0 = function() { |
| 358 this.call$0 = this._genStub(0); |
| 359 this.to$call$0 = function() { return this.call$0; }; |
| 360 return this.call$0; |
| 361 }; |
| 362 Function.prototype.call$0 = function() { |
| 363 return this.to$call$0()(); |
| 364 }; |
| 365 function to$call$0(f) { return f && f.to$call$0(); } |
| 366 Function.prototype.to$call$1 = function() { |
| 367 this.call$1 = this._genStub(1); |
| 368 this.to$call$1 = function() { return this.call$1; }; |
| 369 return this.call$1; |
| 370 }; |
| 371 Function.prototype.call$1 = function($0) { |
| 372 return this.to$call$1()($0); |
| 373 }; |
| 374 function to$call$1(f) { return f && f.to$call$1(); } |
| 375 Function.prototype.to$call$2 = function() { |
| 376 this.call$2 = this._genStub(2); |
| 377 this.to$call$2 = function() { return this.call$2; }; |
| 378 return this.call$2; |
| 379 }; |
| 380 Function.prototype.call$2 = function($0, $1) { |
| 381 return this.to$call$2()($0, $1); |
| 382 }; |
| 383 function to$call$2(f) { return f && f.to$call$2(); } |
| 384 // ********** Code for Isolate ************** |
| 385 function Isolate() {} |
| 386 Isolate.light$ctor = function() { |
| 387 this._isLight = true; |
| 388 } |
| 389 Isolate.light$ctor.prototype = Isolate.prototype; |
| 390 Isolate.prototype.spawn = function() { |
| 391 return IsolateNatives.spawn(this, this._isLight); |
| 392 } |
| 393 Isolate.prototype._run = function(port) { |
| 394 this._port = port; |
| 395 this.main(); |
| 396 } |
| 397 Isolate.prototype.get$port = function() { |
| 398 return this._port; |
| 399 } |
| 400 // ********** Code for Math ************** |
| 401 Math.parseInt = function(str) { |
| 402 var ret = parseInt(str); |
| 403 if (isNaN(ret)) $throw(new BadNumberFormatException(str)); |
| 404 return ret; |
| 405 } |
| 406 // ********** Code for Strings ************** |
| 407 function Strings() {} |
| 408 Strings.join = function(strings, separator) { |
| 409 return StringBase.join(strings, separator); |
| 410 } |
| 411 // ********** Code for top level ************** |
| 412 function dart_core_print(obj) { |
| 413 return _print(obj); |
| 414 } |
| 415 function _print(obj) { |
| 416 if (typeof console == 'object') { |
| 417 if (obj) obj = obj.toString(); |
| 418 console.log(obj); |
| 419 } else { |
| 420 write(obj); |
| 421 write('\n'); |
| 422 } |
| 423 } |
| 424 function _toDartException(e) { |
| 425 function attachStack(dartEx) { |
| 426 // TODO(jmesserly): setting the stack property is not a long term solution. |
| 427 var stack = e.stack; |
| 428 // The stack contains the error message, and the stack is all that is |
| 429 // printed (the exception's toString() is never called). Make the Dart |
| 430 // exception's toString() be the dominant message. |
| 431 if (typeof stack == 'string') { |
| 432 var message = dartEx.toString(); |
| 433 if (/^(Type|Range)Error:/.test(stack)) { |
| 434 // Indent JS message (it can be helpful) so new message stands out. |
| 435 stack = ' (' + stack.substring(0, stack.indexOf('\n')) + ')\n' + |
| 436 stack.substring(stack.indexOf('\n') + 1); |
| 437 } |
| 438 stack = message + '\n' + stack; |
| 439 } |
| 440 dartEx.stack = stack; |
| 441 return dartEx; |
| 442 } |
| 443 |
| 444 if (e instanceof TypeError) { |
| 445 switch(e.type) { |
| 446 case 'property_not_function': |
| 447 case 'called_non_callable': |
| 448 if (e.arguments[0] == null) { |
| 449 return attachStack(new NullPointerException()); |
| 450 } else { |
| 451 return attachStack(new ObjectNotClosureException()); |
| 452 } |
| 453 break; |
| 454 case 'non_object_property_call': |
| 455 case 'non_object_property_load': |
| 456 return attachStack(new NullPointerException()); |
| 457 break; |
| 458 case 'undefined_method': |
| 459 var mname = e.arguments[0]; |
| 460 if (typeof(mname) == 'string' && (mname.indexOf('call$') == 0 |
| 461 || mname == 'call' || mname == 'apply')) { |
| 462 return attachStack(new ObjectNotClosureException()); |
| 463 } else { |
| 464 // TODO(jmesserly): fix noSuchMethod on operators so we don't hit this |
| 465 return attachStack(new NoSuchMethodException('', e.arguments[0], [])); |
| 466 } |
| 467 break; |
| 468 } |
| 469 } else if (e instanceof RangeError) { |
| 470 if (e.message.indexOf('call stack') >= 0) { |
| 471 return attachStack(new StackOverflowException()); |
| 472 } |
| 473 } |
| 474 return e; |
| 475 } |
| 476 function _stackTraceOf(e) { |
| 477 return (e && e.stack) ? e.stack : null; |
| 478 } |
| 479 // ********** Library dart:coreimpl ************** |
| 480 // ********** Code for ListFactory ************** |
| 481 ListFactory = Array; |
| 482 Object.defineProperty(ListFactory.prototype, "is$List", { value: function(){retu
rn true}, enumerable: false, writable: true, configurable: true }); |
| 483 ListFactory.ListFactory$from$factory = function(other) { |
| 484 var list = []; |
| 485 for (var $$i = other.iterator$0(); $$i.hasNext$0(); ) { |
| 486 var e = $$i.next$0(); |
| 487 list.add$1(e); |
| 488 } |
| 489 return list; |
| 490 } |
| 491 Object.defineProperty(ListFactory.prototype, "get$length", { value: function() {
return this.length; }, enumerable: false, writable: true, configurable: true })
; |
| 492 Object.defineProperty(ListFactory.prototype, "set$length", { value: function(val
ue) { return this.length = value; }, enumerable: false, writable: true, configur
able: true }); |
| 493 Object.defineProperty(ListFactory.prototype, "add", { value: function(value) { |
| 494 this.push(value); |
| 495 }, enumerable: false, writable: true, configurable: true }); |
| 496 Object.defineProperty(ListFactory.prototype, "addAll", { value: function(collect
ion) { |
| 497 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) { |
| 498 var item = $$i.next$0(); |
| 499 this.add(item); |
| 500 } |
| 501 }, enumerable: false, writable: true, configurable: true }); |
| 502 Object.defineProperty(ListFactory.prototype, "clear", { value: function() { |
| 503 this.set$length((0)); |
| 504 }, enumerable: false, writable: true, configurable: true }); |
| 505 Object.defineProperty(ListFactory.prototype, "get$clear", { value: function() { |
| 506 return this.clear.bind(this); |
| 507 }, enumerable: false, writable: true, configurable: true }); |
| 508 Object.defineProperty(ListFactory.prototype, "removeLast", { value: function() { |
| 509 return this.pop(); |
| 510 }, enumerable: false, writable: true, configurable: true }); |
| 511 Object.defineProperty(ListFactory.prototype, "last", { value: function() { |
| 512 return this[this.get$length() - (1)]; |
| 513 }, enumerable: false, writable: true, configurable: true }); |
| 514 Object.defineProperty(ListFactory.prototype, "isEmpty", { value: function() { |
| 515 return this.get$length() == (0); |
| 516 }, enumerable: false, writable: true, configurable: true }); |
| 517 Object.defineProperty(ListFactory.prototype, "iterator", { value: function() { |
| 518 return new ListIterator(this); |
| 519 }, enumerable: false, writable: true, configurable: true }); |
| 520 Object.defineProperty(ListFactory.prototype, "add$1", { value: ListFactory.proto
type.add, enumerable: false, writable: true, configurable: true }); |
| 521 Object.defineProperty(ListFactory.prototype, "addAll$1", { value: ListFactory.pr
ototype.addAll, enumerable: false, writable: true, configurable: true }); |
| 522 Object.defineProperty(ListFactory.prototype, "clear$0", { value: ListFactory.pro
totype.clear, enumerable: false, writable: true, configurable: true }); |
| 523 Object.defineProperty(ListFactory.prototype, "filter$1", { value: function($0) { |
| 524 return this.filter(to$call$1($0)); |
| 525 }, enumerable: false, writable: true, configurable: true }); |
| 526 Object.defineProperty(ListFactory.prototype, "iterator$0", { value: ListFactory.
prototype.iterator, enumerable: false, writable: true, configurable: true }); |
| 527 Object.defineProperty(ListFactory.prototype, "last$0", { value: ListFactory.prot
otype.last, enumerable: false, writable: true, configurable: true }); |
| 528 Object.defineProperty(ListFactory.prototype, "removeLast$0", { value: ListFactor
y.prototype.removeLast, enumerable: false, writable: true, configurable: true })
; |
| 529 ListFactory_E = ListFactory; |
| 530 ListFactory_K = ListFactory; |
| 531 ListFactory_dart_core_String = ListFactory; |
| 532 ListFactory_V = ListFactory; |
| 533 ListFactory__EventListenerWrapper = ListFactory; |
| 534 // ********** Code for ListIterator ************** |
| 535 function ListIterator(array) { |
| 536 this._array = array; |
| 537 this._pos = (0); |
| 538 } |
| 539 ListIterator.prototype.hasNext = function() { |
| 540 return this._array.get$length() > this._pos; |
| 541 } |
| 542 ListIterator.prototype.next = function() { |
| 543 if (!this.hasNext()) { |
| 544 $throw(const$0003); |
| 545 } |
| 546 return this._array.$index(this._pos++); |
| 547 } |
| 548 ListIterator.prototype.hasNext$0 = ListIterator.prototype.hasNext; |
| 549 ListIterator.prototype.next$0 = ListIterator.prototype.next; |
| 550 // ********** Code for ImmutableMap ************** |
| 551 function ImmutableMap(keyValuePairs) { |
| 552 this._dart_coreimpl_internal = _map(keyValuePairs); |
| 553 } |
| 554 ImmutableMap.prototype.is$Map = function(){return true}; |
| 555 ImmutableMap.prototype.$index = function(key) { |
| 556 return this._dart_coreimpl_internal.$index(key); |
| 557 } |
| 558 ImmutableMap.prototype.isEmpty = function() { |
| 559 return this._dart_coreimpl_internal.isEmpty(); |
| 560 } |
| 561 ImmutableMap.prototype.get$length = function() { |
| 562 return this._dart_coreimpl_internal.get$length(); |
| 563 } |
| 564 ImmutableMap.prototype.forEach = function(f) { |
| 565 this._dart_coreimpl_internal.forEach(f); |
| 566 } |
| 567 ImmutableMap.prototype.getKeys = function() { |
| 568 return this._dart_coreimpl_internal.getKeys$0(); |
| 569 } |
| 570 ImmutableMap.prototype.getValues = function() { |
| 571 return this._dart_coreimpl_internal.getValues$0(); |
| 572 } |
| 573 ImmutableMap.prototype.containsKey = function(key) { |
| 574 return this._dart_coreimpl_internal.containsKey(key); |
| 575 } |
| 576 ImmutableMap.prototype.$setindex = function(key, value) { |
| 577 $throw(const$0005); |
| 578 } |
| 579 ImmutableMap.prototype.putIfAbsent = function(key, ifAbsent) { |
| 580 $throw(const$0005); |
| 581 } |
| 582 ImmutableMap.prototype.clear = function() { |
| 583 $throw(const$0005); |
| 584 } |
| 585 ImmutableMap.prototype.get$clear = function() { |
| 586 return this.clear.bind(this); |
| 587 } |
| 588 ImmutableMap.prototype.remove = function(key) { |
| 589 $throw(const$0005); |
| 590 } |
| 591 ImmutableMap.prototype.clear$0 = ImmutableMap.prototype.clear; |
| 592 ImmutableMap.prototype.getKeys$0 = ImmutableMap.prototype.getKeys; |
| 593 ImmutableMap.prototype.getValues$0 = ImmutableMap.prototype.getValues; |
| 594 ImmutableMap.prototype.putIfAbsent$2 = function($0, $1) { |
| 595 return this.putIfAbsent($0, to$call$0($1)); |
| 596 }; |
| 597 ImmutableMap.prototype.remove$1 = ImmutableMap.prototype.remove; |
| 598 // ********** Code for NumImplementation ************** |
| 599 NumImplementation = Number; |
| 600 NumImplementation.prototype.hashCode = function() { |
| 601 'use strict'; return this & 0x1FFFFFFF; |
| 602 } |
| 603 NumImplementation.prototype.hashCode$0 = NumImplementation.prototype.hashCode; |
| 604 // ********** Code for ExceptionImplementation ************** |
| 605 function ExceptionImplementation(msg) { |
| 606 this._msg = msg; |
| 607 } |
| 608 ExceptionImplementation.prototype.toString = function() { |
| 609 return (this._msg == null) ? "Exception" : ("Exception: " + this._msg); |
| 610 } |
| 611 ExceptionImplementation.prototype.toString$0 = ExceptionImplementation.prototype
.toString; |
| 612 // ********** Code for FutureNotCompleteException ************** |
| 613 function FutureNotCompleteException() { |
| 614 |
| 615 } |
| 616 FutureNotCompleteException.prototype.toString = function() { |
| 617 return "Exception: future has not been completed"; |
| 618 } |
| 619 FutureNotCompleteException.prototype.toString$0 = FutureNotCompleteException.pro
totype.toString; |
| 620 // ********** Code for FutureAlreadyCompleteException ************** |
| 621 function FutureAlreadyCompleteException() { |
| 622 |
| 623 } |
| 624 FutureAlreadyCompleteException.prototype.toString = function() { |
| 625 return "Exception: future already completed"; |
| 626 } |
| 627 FutureAlreadyCompleteException.prototype.toString$0 = FutureAlreadyCompleteExcep
tion.prototype.toString; |
| 628 // ********** Code for FutureImpl ************** |
| 629 function FutureImpl() { |
| 630 this._exceptionHandlers = new Array(); |
| 631 this._listeners = new Array(); |
| 632 this._isComplete = false; |
| 633 this._exceptionHandled = false; |
| 634 } |
| 635 FutureImpl.prototype.get$value = function() { |
| 636 if (!this.get$isComplete()) { |
| 637 $throw(new FutureNotCompleteException()); |
| 638 } |
| 639 if (this._exception != null) { |
| 640 $throw(this._exception); |
| 641 } |
| 642 return this._dart_coreimpl_value; |
| 643 } |
| 644 FutureImpl.prototype.get$isComplete = function() { |
| 645 return this._isComplete; |
| 646 } |
| 647 FutureImpl.prototype.get$hasValue = function() { |
| 648 return this.get$isComplete() && this._exception == null; |
| 649 } |
| 650 FutureImpl.prototype.then = function(onComplete) { |
| 651 if (this.get$hasValue()) { |
| 652 onComplete.call$1(this.get$value()); |
| 653 } |
| 654 else if (!this.get$isComplete()) { |
| 655 this._listeners.add$1(onComplete); |
| 656 } |
| 657 else if (!this._exceptionHandled) { |
| 658 $throw(this._exception); |
| 659 } |
| 660 } |
| 661 FutureImpl.prototype._complete = function() { |
| 662 this._isComplete = true; |
| 663 if (this._exception != null) { |
| 664 var $$list = this._exceptionHandlers; |
| 665 for (var $$i = 0;$$i < $$list.get$length(); $$i++) { |
| 666 var handler = $$list.$index($$i); |
| 667 if (handler.call$1(this._exception)) { |
| 668 this._exceptionHandled = true; |
| 669 break; |
| 670 } |
| 671 } |
| 672 } |
| 673 if (this.get$hasValue()) { |
| 674 var $$list = this._listeners; |
| 675 for (var $$i = 0;$$i < $$list.get$length(); $$i++) { |
| 676 var listener = $$list.$index($$i); |
| 677 listener.call$1(this.get$value()); |
| 678 } |
| 679 } |
| 680 else { |
| 681 if (!this._exceptionHandled && this._listeners.get$length() > (0)) { |
| 682 $throw(this._exception); |
| 683 } |
| 684 } |
| 685 } |
| 686 FutureImpl.prototype._setValue = function(value) { |
| 687 if (this._isComplete) { |
| 688 $throw(new FutureAlreadyCompleteException()); |
| 689 } |
| 690 this._dart_coreimpl_value = value; |
| 691 this._complete(); |
| 692 } |
| 693 // ********** Code for FutureImpl_T ************** |
| 694 /** Implements extends for Dart classes on JavaScript prototypes. */ |
| 695 function $inherits(child, parent) { |
| 696 if (child.prototype.__proto__) { |
| 697 child.prototype.__proto__ = parent.prototype; |
| 698 } else { |
| 699 function tmp() {}; |
| 700 tmp.prototype = parent.prototype; |
| 701 child.prototype = new tmp(); |
| 702 child.prototype.constructor = child; |
| 703 } |
| 704 } |
| 705 $inherits(FutureImpl_T, FutureImpl); |
| 706 function FutureImpl_T() {} |
| 707 FutureImpl_T.prototype._complete = function() { |
| 708 this._isComplete = true; |
| 709 if (this._exception != null) { |
| 710 var $$list = this._exceptionHandlers; |
| 711 for (var $$i = 0;$$i < $$list.get$length(); $$i++) { |
| 712 var handler = $$list.$index($$i); |
| 713 if (handler.call$1(this._exception)) { |
| 714 this._exceptionHandled = true; |
| 715 break; |
| 716 } |
| 717 } |
| 718 } |
| 719 if (this.get$hasValue()) { |
| 720 var $$list = this._listeners; |
| 721 for (var $$i = 0;$$i < $$list.get$length(); $$i++) { |
| 722 var listener = $$list.$index($$i); |
| 723 listener.call$1(this.get$value()); |
| 724 } |
| 725 } |
| 726 else { |
| 727 if (!this._exceptionHandled && this._listeners.get$length() > (0)) { |
| 728 $throw(this._exception); |
| 729 } |
| 730 } |
| 731 } |
| 732 FutureImpl_T.prototype._setValue = function(value) { |
| 733 if (this._isComplete) { |
| 734 $throw(new FutureAlreadyCompleteException()); |
| 735 } |
| 736 this._dart_coreimpl_value = value; |
| 737 this._complete(); |
| 738 } |
| 739 // ********** Code for CompleterImpl ************** |
| 740 function CompleterImpl() { |
| 741 this._futureImpl = new FutureImpl(); |
| 742 } |
| 743 CompleterImpl.prototype.get$future = function() { |
| 744 return this._futureImpl; |
| 745 } |
| 746 CompleterImpl.prototype.complete = function(value) { |
| 747 this._futureImpl._setValue(value); |
| 748 } |
| 749 // ********** Code for CompleterImpl_SendPort ************** |
| 750 $inherits(CompleterImpl_SendPort, CompleterImpl); |
| 751 function CompleterImpl_SendPort() {} |
| 752 // ********** Code for HashMapImplementation ************** |
| 753 function HashMapImplementation() { |
| 754 this._numberOfEntries = (0); |
| 755 this._numberOfDeleted = (0); |
| 756 this._loadLimit = HashMapImplementation._computeLoadLimit((8)); |
| 757 this._keys = new Array((8)); |
| 758 this._values = new Array((8)); |
| 759 } |
| 760 HashMapImplementation.prototype.is$Map = function(){return true}; |
| 761 HashMapImplementation._computeLoadLimit = function(capacity) { |
| 762 return $truncdiv((capacity * (3)), (4)); |
| 763 } |
| 764 HashMapImplementation._firstProbe = function(hashCode, length) { |
| 765 return hashCode & (length - (1)); |
| 766 } |
| 767 HashMapImplementation._nextProbe = function(currentProbe, numberOfProbes, length
) { |
| 768 return (currentProbe + numberOfProbes) & (length - (1)); |
| 769 } |
| 770 HashMapImplementation.prototype._probeForAdding = function(key) { |
| 771 var hash = HashMapImplementation._firstProbe(key.hashCode$0(), this._keys.get$
length()); |
| 772 var numberOfProbes = (1); |
| 773 var initialHash = hash; |
| 774 var insertionIndex = (-1); |
| 775 while (true) { |
| 776 var existingKey = this._keys.$index(hash); |
| 777 if (existingKey == null) { |
| 778 if (insertionIndex < (0)) return hash; |
| 779 return insertionIndex; |
| 780 } |
| 781 else if ($eq(existingKey, key)) { |
| 782 return hash; |
| 783 } |
| 784 else if ((insertionIndex < (0)) && (const$0001 == existingKey)) { |
| 785 insertionIndex = hash; |
| 786 } |
| 787 hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.g
et$length()); |
| 788 } |
| 789 } |
| 790 HashMapImplementation.prototype._probeForLookup = function(key) { |
| 791 var hash = HashMapImplementation._firstProbe(key.hashCode$0(), this._keys.get$
length()); |
| 792 var numberOfProbes = (1); |
| 793 var initialHash = hash; |
| 794 while (true) { |
| 795 var existingKey = this._keys.$index(hash); |
| 796 if (existingKey == null) return (-1); |
| 797 if ($eq(existingKey, key)) return hash; |
| 798 hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.g
et$length()); |
| 799 } |
| 800 } |
| 801 HashMapImplementation.prototype._ensureCapacity = function() { |
| 802 var newNumberOfEntries = this._numberOfEntries + (1); |
| 803 if (newNumberOfEntries >= this._loadLimit) { |
| 804 this._grow(this._keys.get$length() * (2)); |
| 805 return; |
| 806 } |
| 807 var capacity = this._keys.get$length(); |
| 808 var numberOfFreeOrDeleted = capacity - newNumberOfEntries; |
| 809 var numberOfFree = numberOfFreeOrDeleted - this._numberOfDeleted; |
| 810 if (this._numberOfDeleted > numberOfFree) { |
| 811 this._grow(this._keys.get$length()); |
| 812 } |
| 813 } |
| 814 HashMapImplementation._isPowerOfTwo = function(x) { |
| 815 return ((x & (x - (1))) == (0)); |
| 816 } |
| 817 HashMapImplementation.prototype._grow = function(newCapacity) { |
| 818 var capacity = this._keys.get$length(); |
| 819 this._loadLimit = HashMapImplementation._computeLoadLimit(newCapacity); |
| 820 var oldKeys = this._keys; |
| 821 var oldValues = this._values; |
| 822 this._keys = new Array(newCapacity); |
| 823 this._values = new Array(newCapacity); |
| 824 for (var i = (0); |
| 825 i < capacity; i++) { |
| 826 var key = oldKeys.$index(i); |
| 827 if (key == null || key == const$0001) { |
| 828 continue; |
| 829 } |
| 830 var value = oldValues.$index(i); |
| 831 var newIndex = this._probeForAdding(key); |
| 832 this._keys.$setindex(newIndex, key); |
| 833 this._values.$setindex(newIndex, value); |
| 834 } |
| 835 this._numberOfDeleted = (0); |
| 836 } |
| 837 HashMapImplementation.prototype.clear = function() { |
| 838 this._numberOfEntries = (0); |
| 839 this._numberOfDeleted = (0); |
| 840 var length = this._keys.get$length(); |
| 841 for (var i = (0); |
| 842 i < length; i++) { |
| 843 this._keys.$setindex(i); |
| 844 this._values.$setindex(i); |
| 845 } |
| 846 } |
| 847 HashMapImplementation.prototype.get$clear = function() { |
| 848 return this.clear.bind(this); |
| 849 } |
| 850 HashMapImplementation.prototype.$setindex = function(key, value) { |
| 851 this._ensureCapacity(); |
| 852 var index = this._probeForAdding(key); |
| 853 if ((this._keys.$index(index) == null) || (this._keys.$index(index) == const$0
001)) { |
| 854 this._numberOfEntries++; |
| 855 } |
| 856 this._keys.$setindex(index, key); |
| 857 this._values.$setindex(index, value); |
| 858 } |
| 859 HashMapImplementation.prototype.$index = function(key) { |
| 860 var index = this._probeForLookup(key); |
| 861 if (index < (0)) return null; |
| 862 return this._values.$index(index); |
| 863 } |
| 864 HashMapImplementation.prototype.putIfAbsent = function(key, ifAbsent) { |
| 865 var index = this._probeForLookup(key); |
| 866 if (index >= (0)) return this._values.$index(index); |
| 867 var value = ifAbsent.call$0(); |
| 868 this.$setindex(key, value); |
| 869 return value; |
| 870 } |
| 871 HashMapImplementation.prototype.remove = function(key) { |
| 872 var index = this._probeForLookup(key); |
| 873 if (index >= (0)) { |
| 874 this._numberOfEntries--; |
| 875 var value = this._values.$index(index); |
| 876 this._values.$setindex(index); |
| 877 this._keys.$setindex(index, const$0001); |
| 878 this._numberOfDeleted++; |
| 879 return value; |
| 880 } |
| 881 return null; |
| 882 } |
| 883 HashMapImplementation.prototype.isEmpty = function() { |
| 884 return this._numberOfEntries == (0); |
| 885 } |
| 886 HashMapImplementation.prototype.get$length = function() { |
| 887 return this._numberOfEntries; |
| 888 } |
| 889 HashMapImplementation.prototype.forEach = function(f) { |
| 890 var length = this._keys.get$length(); |
| 891 for (var i = (0); |
| 892 i < length; i++) { |
| 893 var key = this._keys.$index(i); |
| 894 if ((key != null) && (key != const$0001)) { |
| 895 f.call$2(key, this._values.$index(i)); |
| 896 } |
| 897 } |
| 898 } |
| 899 HashMapImplementation.prototype.getKeys = function() { |
| 900 var list = new Array(this.get$length()); |
| 901 var i = (0); |
| 902 this.forEach(function _(key, value) { |
| 903 list.$setindex(i++, key); |
| 904 } |
| 905 ); |
| 906 return list; |
| 907 } |
| 908 HashMapImplementation.prototype.getValues = function() { |
| 909 var list = new Array(this.get$length()); |
| 910 var i = (0); |
| 911 this.forEach(function _(key, value) { |
| 912 list.$setindex(i++, value); |
| 913 } |
| 914 ); |
| 915 return list; |
| 916 } |
| 917 HashMapImplementation.prototype.containsKey = function(key) { |
| 918 return (this._probeForLookup(key) != (-1)); |
| 919 } |
| 920 HashMapImplementation.prototype.clear$0 = HashMapImplementation.prototype.clear; |
| 921 HashMapImplementation.prototype.getKeys$0 = HashMapImplementation.prototype.getK
eys; |
| 922 HashMapImplementation.prototype.getValues$0 = HashMapImplementation.prototype.ge
tValues; |
| 923 HashMapImplementation.prototype.putIfAbsent$2 = function($0, $1) { |
| 924 return this.putIfAbsent($0, to$call$0($1)); |
| 925 }; |
| 926 HashMapImplementation.prototype.remove$1 = HashMapImplementation.prototype.remov
e; |
| 927 // ********** Code for HashMapImplementation_E$E ************** |
| 928 $inherits(HashMapImplementation_E$E, HashMapImplementation); |
| 929 function HashMapImplementation_E$E() { |
| 930 this._numberOfEntries = (0); |
| 931 this._numberOfDeleted = (0); |
| 932 this._loadLimit = HashMapImplementation._computeLoadLimit((8)); |
| 933 this._keys = new Array((8)); |
| 934 this._values = new Array((8)); |
| 935 } |
| 936 HashMapImplementation_E$E.prototype.is$Map = function(){return true}; |
| 937 HashMapImplementation_E$E._computeLoadLimit = function(capacity) { |
| 938 return $truncdiv((capacity * (3)), (4)); |
| 939 } |
| 940 HashMapImplementation_E$E._firstProbe = function(hashCode, length) { |
| 941 return hashCode & (length - (1)); |
| 942 } |
| 943 HashMapImplementation_E$E._nextProbe = function(currentProbe, numberOfProbes, le
ngth) { |
| 944 return (currentProbe + numberOfProbes) & (length - (1)); |
| 945 } |
| 946 HashMapImplementation_E$E.prototype._probeForAdding = function(key) { |
| 947 var hash = HashMapImplementation._firstProbe(key.hashCode$0(), this._keys.get$
length()); |
| 948 var numberOfProbes = (1); |
| 949 var initialHash = hash; |
| 950 var insertionIndex = (-1); |
| 951 while (true) { |
| 952 var existingKey = this._keys.$index(hash); |
| 953 if (existingKey == null) { |
| 954 if (insertionIndex < (0)) return hash; |
| 955 return insertionIndex; |
| 956 } |
| 957 else if ($eq(existingKey, key)) { |
| 958 return hash; |
| 959 } |
| 960 else if ((insertionIndex < (0)) && (const$0001 == existingKey)) { |
| 961 insertionIndex = hash; |
| 962 } |
| 963 hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.g
et$length()); |
| 964 } |
| 965 } |
| 966 HashMapImplementation_E$E.prototype._probeForLookup = function(key) { |
| 967 var hash = HashMapImplementation._firstProbe(key.hashCode$0(), this._keys.get$
length()); |
| 968 var numberOfProbes = (1); |
| 969 var initialHash = hash; |
| 970 while (true) { |
| 971 var existingKey = this._keys.$index(hash); |
| 972 if (existingKey == null) return (-1); |
| 973 if ($eq(existingKey, key)) return hash; |
| 974 hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.g
et$length()); |
| 975 } |
| 976 } |
| 977 HashMapImplementation_E$E.prototype._ensureCapacity = function() { |
| 978 var newNumberOfEntries = this._numberOfEntries + (1); |
| 979 if (newNumberOfEntries >= this._loadLimit) { |
| 980 this._grow(this._keys.get$length() * (2)); |
| 981 return; |
| 982 } |
| 983 var capacity = this._keys.get$length(); |
| 984 var numberOfFreeOrDeleted = capacity - newNumberOfEntries; |
| 985 var numberOfFree = numberOfFreeOrDeleted - this._numberOfDeleted; |
| 986 if (this._numberOfDeleted > numberOfFree) { |
| 987 this._grow(this._keys.get$length()); |
| 988 } |
| 989 } |
| 990 HashMapImplementation_E$E._isPowerOfTwo = function(x) { |
| 991 return ((x & (x - (1))) == (0)); |
| 992 } |
| 993 HashMapImplementation_E$E.prototype._grow = function(newCapacity) { |
| 994 var capacity = this._keys.get$length(); |
| 995 this._loadLimit = HashMapImplementation._computeLoadLimit(newCapacity); |
| 996 var oldKeys = this._keys; |
| 997 var oldValues = this._values; |
| 998 this._keys = new Array(newCapacity); |
| 999 this._values = new Array(newCapacity); |
| 1000 for (var i = (0); |
| 1001 i < capacity; i++) { |
| 1002 var key = oldKeys.$index(i); |
| 1003 if (key == null || key == const$0001) { |
| 1004 continue; |
| 1005 } |
| 1006 var value = oldValues.$index(i); |
| 1007 var newIndex = this._probeForAdding(key); |
| 1008 this._keys.$setindex(newIndex, key); |
| 1009 this._values.$setindex(newIndex, value); |
| 1010 } |
| 1011 this._numberOfDeleted = (0); |
| 1012 } |
| 1013 HashMapImplementation_E$E.prototype.clear = function() { |
| 1014 this._numberOfEntries = (0); |
| 1015 this._numberOfDeleted = (0); |
| 1016 var length = this._keys.get$length(); |
| 1017 for (var i = (0); |
| 1018 i < length; i++) { |
| 1019 this._keys.$setindex(i); |
| 1020 this._values.$setindex(i); |
| 1021 } |
| 1022 } |
| 1023 HashMapImplementation_E$E.prototype.$setindex = function(key, value) { |
| 1024 this._ensureCapacity(); |
| 1025 var index = this._probeForAdding(key); |
| 1026 if ((this._keys.$index(index) == null) || (this._keys.$index(index) == const$0
001)) { |
| 1027 this._numberOfEntries++; |
| 1028 } |
| 1029 this._keys.$setindex(index, key); |
| 1030 this._values.$setindex(index, value); |
| 1031 } |
| 1032 HashMapImplementation_E$E.prototype.remove = function(key) { |
| 1033 var index = this._probeForLookup(key); |
| 1034 if (index >= (0)) { |
| 1035 this._numberOfEntries--; |
| 1036 var value = this._values.$index(index); |
| 1037 this._values.$setindex(index); |
| 1038 this._keys.$setindex(index, const$0001); |
| 1039 this._numberOfDeleted++; |
| 1040 return value; |
| 1041 } |
| 1042 return null; |
| 1043 } |
| 1044 HashMapImplementation_E$E.prototype.isEmpty = function() { |
| 1045 return this._numberOfEntries == (0); |
| 1046 } |
| 1047 HashMapImplementation_E$E.prototype.forEach = function(f) { |
| 1048 var length = this._keys.get$length(); |
| 1049 for (var i = (0); |
| 1050 i < length; i++) { |
| 1051 var key = this._keys.$index(i); |
| 1052 if ((key != null) && (key != const$0001)) { |
| 1053 f.call$2(key, this._values.$index(i)); |
| 1054 } |
| 1055 } |
| 1056 } |
| 1057 HashMapImplementation_E$E.prototype.containsKey = function(key) { |
| 1058 return (this._probeForLookup(key) != (-1)); |
| 1059 } |
| 1060 // ********** Code for HashMapImplementation_K$DoubleLinkedQueueEntry_KeyValuePa
ir_K$V ************** |
| 1061 $inherits(HashMapImplementation_K$DoubleLinkedQueueEntry_KeyValuePair_K$V, HashM
apImplementation); |
| 1062 function HashMapImplementation_K$DoubleLinkedQueueEntry_KeyValuePair_K$V() {} |
| 1063 HashMapImplementation_K$DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype.is$Map
= function(){return true}; |
| 1064 // ********** Code for HashSetImplementation ************** |
| 1065 function HashSetImplementation() { |
| 1066 this._backingMap = new HashMapImplementation_E$E(); |
| 1067 } |
| 1068 HashSetImplementation.prototype.clear = function() { |
| 1069 this._backingMap.clear(); |
| 1070 } |
| 1071 HashSetImplementation.prototype.get$clear = function() { |
| 1072 return this.clear.bind(this); |
| 1073 } |
| 1074 HashSetImplementation.prototype.add = function(value) { |
| 1075 this._backingMap.$setindex(value, value); |
| 1076 } |
| 1077 HashSetImplementation.prototype.remove = function(value) { |
| 1078 if (!this._backingMap.containsKey(value)) return false; |
| 1079 this._backingMap.remove(value); |
| 1080 return true; |
| 1081 } |
| 1082 HashSetImplementation.prototype.addAll = function(collection) { |
| 1083 var $this = this; // closure support |
| 1084 collection.forEach(function _(value) { |
| 1085 $this.add(value); |
| 1086 } |
| 1087 ); |
| 1088 } |
| 1089 HashSetImplementation.prototype.forEach = function(f) { |
| 1090 this._backingMap.forEach(function _(key, value) { |
| 1091 f.call$1(key); |
| 1092 } |
| 1093 ); |
| 1094 } |
| 1095 HashSetImplementation.prototype.filter = function(f) { |
| 1096 var result = new HashSetImplementation(); |
| 1097 this._backingMap.forEach(function _(key, value) { |
| 1098 if (f.call$1(key)) result.add(key); |
| 1099 } |
| 1100 ); |
| 1101 return result; |
| 1102 } |
| 1103 HashSetImplementation.prototype.isEmpty = function() { |
| 1104 return this._backingMap.isEmpty(); |
| 1105 } |
| 1106 HashSetImplementation.prototype.get$length = function() { |
| 1107 return this._backingMap.get$length(); |
| 1108 } |
| 1109 HashSetImplementation.prototype.iterator = function() { |
| 1110 return new HashSetIterator_E(this); |
| 1111 } |
| 1112 HashSetImplementation.prototype.add$1 = HashSetImplementation.prototype.add; |
| 1113 HashSetImplementation.prototype.addAll$1 = HashSetImplementation.prototype.addAl
l; |
| 1114 HashSetImplementation.prototype.clear$0 = HashSetImplementation.prototype.clear; |
| 1115 HashSetImplementation.prototype.filter$1 = function($0) { |
| 1116 return this.filter(to$call$1($0)); |
| 1117 }; |
| 1118 HashSetImplementation.prototype.iterator$0 = HashSetImplementation.prototype.ite
rator; |
| 1119 HashSetImplementation.prototype.remove$1 = HashSetImplementation.prototype.remov
e; |
| 1120 // ********** Code for HashSetImplementation_E ************** |
| 1121 $inherits(HashSetImplementation_E, HashSetImplementation); |
| 1122 function HashSetImplementation_E() {} |
| 1123 // ********** Code for HashSetImplementation_dart_core_String ************** |
| 1124 $inherits(HashSetImplementation_dart_core_String, HashSetImplementation); |
| 1125 function HashSetImplementation_dart_core_String() {} |
| 1126 // ********** Code for HashSetIterator ************** |
| 1127 function HashSetIterator(set_) { |
| 1128 this._entries = set_._backingMap._keys; |
| 1129 this._nextValidIndex = (-1); |
| 1130 this._advance(); |
| 1131 } |
| 1132 HashSetIterator.prototype.hasNext = function() { |
| 1133 if (this._nextValidIndex >= this._entries.get$length()) return false; |
| 1134 if (this._entries.$index(this._nextValidIndex) == const$0001) { |
| 1135 this._advance(); |
| 1136 } |
| 1137 return this._nextValidIndex < this._entries.get$length(); |
| 1138 } |
| 1139 HashSetIterator.prototype.next = function() { |
| 1140 if (!this.hasNext()) { |
| 1141 $throw(const$0003); |
| 1142 } |
| 1143 var res = this._entries.$index(this._nextValidIndex); |
| 1144 this._advance(); |
| 1145 return res; |
| 1146 } |
| 1147 HashSetIterator.prototype._advance = function() { |
| 1148 var length = this._entries.get$length(); |
| 1149 var entry; |
| 1150 var deletedKey = const$0001; |
| 1151 do { |
| 1152 if (++this._nextValidIndex >= length) break; |
| 1153 entry = this._entries.$index(this._nextValidIndex); |
| 1154 } |
| 1155 while ((entry == null) || (entry == deletedKey)) |
| 1156 } |
| 1157 HashSetIterator.prototype.hasNext$0 = HashSetIterator.prototype.hasNext; |
| 1158 HashSetIterator.prototype.next$0 = HashSetIterator.prototype.next; |
| 1159 // ********** Code for HashSetIterator_E ************** |
| 1160 $inherits(HashSetIterator_E, HashSetIterator); |
| 1161 function HashSetIterator_E(set_) { |
| 1162 this._nextValidIndex = (-1); |
| 1163 this._entries = set_._backingMap._keys; |
| 1164 this._advance(); |
| 1165 } |
| 1166 HashSetIterator_E.prototype._advance = function() { |
| 1167 var length = this._entries.get$length(); |
| 1168 var entry; |
| 1169 var deletedKey = const$0001; |
| 1170 do { |
| 1171 if (++this._nextValidIndex >= length) break; |
| 1172 entry = this._entries.$index(this._nextValidIndex); |
| 1173 } |
| 1174 while ((entry == null) || (entry == deletedKey)) |
| 1175 } |
| 1176 // ********** Code for _DeletedKeySentinel ************** |
| 1177 function _DeletedKeySentinel() { |
| 1178 |
| 1179 } |
| 1180 // ********** Code for KeyValuePair ************** |
| 1181 function KeyValuePair(key, value) { |
| 1182 this.value = value; |
| 1183 this.key = key; |
| 1184 } |
| 1185 KeyValuePair.prototype.get$value = function() { return this.value; }; |
| 1186 KeyValuePair.prototype.set$value = function(value) { return this.value = value;
}; |
| 1187 // ********** Code for KeyValuePair_K$V ************** |
| 1188 $inherits(KeyValuePair_K$V, KeyValuePair); |
| 1189 function KeyValuePair_K$V(key, value) { |
| 1190 this.key = key; |
| 1191 this.value = value; |
| 1192 } |
| 1193 // ********** Code for LinkedHashMapImplementation ************** |
| 1194 function LinkedHashMapImplementation() { |
| 1195 this._map = new HashMapImplementation(); |
| 1196 this._list = new DoubleLinkedQueue_KeyValuePair_K$V(); |
| 1197 } |
| 1198 LinkedHashMapImplementation.prototype.is$Map = function(){return true}; |
| 1199 LinkedHashMapImplementation.prototype.$setindex = function(key, value) { |
| 1200 if (this._map.containsKey(key)) { |
| 1201 this._map.$index(key).get$element().set$value(value); |
| 1202 } |
| 1203 else { |
| 1204 this._list.addLast(new KeyValuePair_K$V(key, value)); |
| 1205 this._map.$setindex(key, this._list.lastEntry()); |
| 1206 } |
| 1207 } |
| 1208 LinkedHashMapImplementation.prototype.$index = function(key) { |
| 1209 var entry = this._map.$index(key); |
| 1210 if (entry == null) return null; |
| 1211 return entry.get$element().get$value(); |
| 1212 } |
| 1213 LinkedHashMapImplementation.prototype.remove = function(key) { |
| 1214 var entry = this._map.remove$1(key); |
| 1215 if (entry == null) return null; |
| 1216 entry.remove$0(); |
| 1217 return entry.get$element().get$value(); |
| 1218 } |
| 1219 LinkedHashMapImplementation.prototype.putIfAbsent = function(key, ifAbsent) { |
| 1220 var value = this.$index(key); |
| 1221 if ((this.$index(key) == null) && !(this.containsKey(key))) { |
| 1222 value = ifAbsent.call$0(); |
| 1223 this.$setindex(key, value); |
| 1224 } |
| 1225 return value; |
| 1226 } |
| 1227 LinkedHashMapImplementation.prototype.getKeys = function() { |
| 1228 var list = new Array(this.get$length()); |
| 1229 var index = (0); |
| 1230 this._list.forEach(function _(entry) { |
| 1231 list.$setindex(index++, entry.key); |
| 1232 } |
| 1233 ); |
| 1234 return list; |
| 1235 } |
| 1236 LinkedHashMapImplementation.prototype.getValues = function() { |
| 1237 var list = new Array(this.get$length()); |
| 1238 var index = (0); |
| 1239 this._list.forEach(function _(entry) { |
| 1240 list.$setindex(index++, entry.value); |
| 1241 } |
| 1242 ); |
| 1243 return list; |
| 1244 } |
| 1245 LinkedHashMapImplementation.prototype.forEach = function(f) { |
| 1246 this._list.forEach(function _(entry) { |
| 1247 f.call$2(entry.key, entry.value); |
| 1248 } |
| 1249 ); |
| 1250 } |
| 1251 LinkedHashMapImplementation.prototype.containsKey = function(key) { |
| 1252 return this._map.containsKey(key); |
| 1253 } |
| 1254 LinkedHashMapImplementation.prototype.get$length = function() { |
| 1255 return this._map.get$length(); |
| 1256 } |
| 1257 LinkedHashMapImplementation.prototype.isEmpty = function() { |
| 1258 return this.get$length() == (0); |
| 1259 } |
| 1260 LinkedHashMapImplementation.prototype.clear = function() { |
| 1261 this._map.clear(); |
| 1262 this._list.clear(); |
| 1263 } |
| 1264 LinkedHashMapImplementation.prototype.get$clear = function() { |
| 1265 return this.clear.bind(this); |
| 1266 } |
| 1267 LinkedHashMapImplementation.prototype.clear$0 = LinkedHashMapImplementation.prot
otype.clear; |
| 1268 LinkedHashMapImplementation.prototype.getKeys$0 = LinkedHashMapImplementation.pr
ototype.getKeys; |
| 1269 LinkedHashMapImplementation.prototype.getValues$0 = LinkedHashMapImplementation.
prototype.getValues; |
| 1270 LinkedHashMapImplementation.prototype.putIfAbsent$2 = function($0, $1) { |
| 1271 return this.putIfAbsent($0, to$call$0($1)); |
| 1272 }; |
| 1273 LinkedHashMapImplementation.prototype.remove$1 = LinkedHashMapImplementation.pro
totype.remove; |
| 1274 // ********** Code for DoubleLinkedQueueEntry ************** |
| 1275 function DoubleLinkedQueueEntry(e) { |
| 1276 this._element = e; |
| 1277 } |
| 1278 DoubleLinkedQueueEntry.prototype._link = function(p, n) { |
| 1279 this._next = n; |
| 1280 this._previous = p; |
| 1281 p._next = this; |
| 1282 n._previous = this; |
| 1283 } |
| 1284 DoubleLinkedQueueEntry.prototype.prepend = function(e) { |
| 1285 new DoubleLinkedQueueEntry_E(e)._link(this._previous, this); |
| 1286 } |
| 1287 DoubleLinkedQueueEntry.prototype.remove = function() { |
| 1288 this._previous._next = this._next; |
| 1289 this._next._previous = this._previous; |
| 1290 this._next = null; |
| 1291 this._previous = null; |
| 1292 return this._element; |
| 1293 } |
| 1294 DoubleLinkedQueueEntry.prototype._asNonSentinelEntry = function() { |
| 1295 return this; |
| 1296 } |
| 1297 DoubleLinkedQueueEntry.prototype.previousEntry = function() { |
| 1298 return this._previous._asNonSentinelEntry(); |
| 1299 } |
| 1300 DoubleLinkedQueueEntry.prototype.get$element = function() { |
| 1301 return this._element; |
| 1302 } |
| 1303 DoubleLinkedQueueEntry.prototype._asNonSentinelEntry$0 = DoubleLinkedQueueEntry.
prototype._asNonSentinelEntry; |
| 1304 DoubleLinkedQueueEntry.prototype.remove$0 = DoubleLinkedQueueEntry.prototype.rem
ove; |
| 1305 // ********** Code for DoubleLinkedQueueEntry_E ************** |
| 1306 $inherits(DoubleLinkedQueueEntry_E, DoubleLinkedQueueEntry); |
| 1307 function DoubleLinkedQueueEntry_E(e) { |
| 1308 this._element = e; |
| 1309 } |
| 1310 DoubleLinkedQueueEntry_E.prototype._link = function(p, n) { |
| 1311 this._next = n; |
| 1312 this._previous = p; |
| 1313 p._next = this; |
| 1314 n._previous = this; |
| 1315 } |
| 1316 DoubleLinkedQueueEntry_E.prototype.prepend = function(e) { |
| 1317 new DoubleLinkedQueueEntry_E(e)._link(this._previous, this); |
| 1318 } |
| 1319 DoubleLinkedQueueEntry_E.prototype.remove = function() { |
| 1320 this._previous._next = this._next; |
| 1321 this._next._previous = this._previous; |
| 1322 this._next = null; |
| 1323 this._previous = null; |
| 1324 return this._element; |
| 1325 } |
| 1326 DoubleLinkedQueueEntry_E.prototype._asNonSentinelEntry = function() { |
| 1327 return this; |
| 1328 } |
| 1329 // ********** Code for DoubleLinkedQueueEntry_KeyValuePair_K$V ************** |
| 1330 $inherits(DoubleLinkedQueueEntry_KeyValuePair_K$V, DoubleLinkedQueueEntry); |
| 1331 function DoubleLinkedQueueEntry_KeyValuePair_K$V(e) { |
| 1332 this._element = e; |
| 1333 } |
| 1334 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype._link = function(p, n) { |
| 1335 this._next = n; |
| 1336 this._previous = p; |
| 1337 p._next = this; |
| 1338 n._previous = this; |
| 1339 } |
| 1340 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype.prepend = function(e) { |
| 1341 new DoubleLinkedQueueEntry_KeyValuePair_K$V(e)._link(this._previous, this); |
| 1342 } |
| 1343 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype.remove = function() { |
| 1344 this._previous._next = this._next; |
| 1345 this._next._previous = this._previous; |
| 1346 this._next = null; |
| 1347 this._previous = null; |
| 1348 return this._element; |
| 1349 } |
| 1350 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype._asNonSentinelEntry = function
() { |
| 1351 return this; |
| 1352 } |
| 1353 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype.previousEntry = function() { |
| 1354 return this._previous._asNonSentinelEntry$0(); |
| 1355 } |
| 1356 // ********** Code for _DoubleLinkedQueueEntrySentinel ************** |
| 1357 $inherits(_DoubleLinkedQueueEntrySentinel, DoubleLinkedQueueEntry_E); |
| 1358 function _DoubleLinkedQueueEntrySentinel() { |
| 1359 DoubleLinkedQueueEntry_E.call(this, null); |
| 1360 this._link(this, this); |
| 1361 } |
| 1362 _DoubleLinkedQueueEntrySentinel.prototype.remove = function() { |
| 1363 $throw(const$0002); |
| 1364 } |
| 1365 _DoubleLinkedQueueEntrySentinel.prototype._asNonSentinelEntry = function() { |
| 1366 return null; |
| 1367 } |
| 1368 _DoubleLinkedQueueEntrySentinel.prototype.get$element = function() { |
| 1369 $throw(const$0002); |
| 1370 } |
| 1371 _DoubleLinkedQueueEntrySentinel.prototype._asNonSentinelEntry$0 = _DoubleLinkedQ
ueueEntrySentinel.prototype._asNonSentinelEntry; |
| 1372 _DoubleLinkedQueueEntrySentinel.prototype.remove$0 = _DoubleLinkedQueueEntrySent
inel.prototype.remove; |
| 1373 // ********** Code for _DoubleLinkedQueueEntrySentinel_E ************** |
| 1374 $inherits(_DoubleLinkedQueueEntrySentinel_E, _DoubleLinkedQueueEntrySentinel); |
| 1375 function _DoubleLinkedQueueEntrySentinel_E() { |
| 1376 DoubleLinkedQueueEntry_E.call(this, null); |
| 1377 this._link(this, this); |
| 1378 } |
| 1379 // ********** Code for _DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V ********
****** |
| 1380 $inherits(_DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V, _DoubleLinkedQueueEn
trySentinel); |
| 1381 function _DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V() { |
| 1382 DoubleLinkedQueueEntry_KeyValuePair_K$V.call(this, null); |
| 1383 this._link(this, this); |
| 1384 } |
| 1385 // ********** Code for DoubleLinkedQueue ************** |
| 1386 function DoubleLinkedQueue() { |
| 1387 this._sentinel = new _DoubleLinkedQueueEntrySentinel_E(); |
| 1388 } |
| 1389 DoubleLinkedQueue.prototype.addLast = function(value) { |
| 1390 this._sentinel.prepend(value); |
| 1391 } |
| 1392 DoubleLinkedQueue.prototype.add = function(value) { |
| 1393 this.addLast(value); |
| 1394 } |
| 1395 DoubleLinkedQueue.prototype.addAll = function(collection) { |
| 1396 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) { |
| 1397 var e = $$i.next$0(); |
| 1398 this.add(e); |
| 1399 } |
| 1400 } |
| 1401 DoubleLinkedQueue.prototype.removeLast = function() { |
| 1402 return this._sentinel._previous.remove(); |
| 1403 } |
| 1404 DoubleLinkedQueue.prototype.removeFirst = function() { |
| 1405 return this._sentinel._next.remove(); |
| 1406 } |
| 1407 DoubleLinkedQueue.prototype.first = function() { |
| 1408 return this._sentinel._next.get$element(); |
| 1409 } |
| 1410 DoubleLinkedQueue.prototype.get$first = function() { |
| 1411 return this.first.bind(this); |
| 1412 } |
| 1413 DoubleLinkedQueue.prototype.last = function() { |
| 1414 return this._sentinel._previous.get$element(); |
| 1415 } |
| 1416 DoubleLinkedQueue.prototype.get$length = function() { |
| 1417 var counter = (0); |
| 1418 this.forEach(function _(element) { |
| 1419 counter++; |
| 1420 } |
| 1421 ); |
| 1422 return counter; |
| 1423 } |
| 1424 DoubleLinkedQueue.prototype.isEmpty = function() { |
| 1425 return (this._sentinel._next == this._sentinel); |
| 1426 } |
| 1427 DoubleLinkedQueue.prototype.clear = function() { |
| 1428 this._sentinel._next = this._sentinel; |
| 1429 this._sentinel._previous = this._sentinel; |
| 1430 } |
| 1431 DoubleLinkedQueue.prototype.get$clear = function() { |
| 1432 return this.clear.bind(this); |
| 1433 } |
| 1434 DoubleLinkedQueue.prototype.forEach = function(f) { |
| 1435 var entry = this._sentinel._next; |
| 1436 while (entry != this._sentinel) { |
| 1437 var nextEntry = entry._next; |
| 1438 f.call$1(entry._element); |
| 1439 entry = nextEntry; |
| 1440 } |
| 1441 } |
| 1442 DoubleLinkedQueue.prototype.filter = function(f) { |
| 1443 var other = new DoubleLinkedQueue(); |
| 1444 var entry = this._sentinel._next; |
| 1445 while (entry != this._sentinel) { |
| 1446 var nextEntry = entry._next; |
| 1447 if (f.call$1(entry._element)) other.addLast(entry._element); |
| 1448 entry = nextEntry; |
| 1449 } |
| 1450 return other; |
| 1451 } |
| 1452 DoubleLinkedQueue.prototype.iterator = function() { |
| 1453 return new _DoubleLinkedQueueIterator_E(this._sentinel); |
| 1454 } |
| 1455 DoubleLinkedQueue.prototype.add$1 = DoubleLinkedQueue.prototype.add; |
| 1456 DoubleLinkedQueue.prototype.addAll$1 = DoubleLinkedQueue.prototype.addAll; |
| 1457 DoubleLinkedQueue.prototype.clear$0 = DoubleLinkedQueue.prototype.clear; |
| 1458 DoubleLinkedQueue.prototype.filter$1 = function($0) { |
| 1459 return this.filter(to$call$1($0)); |
| 1460 }; |
| 1461 DoubleLinkedQueue.prototype.iterator$0 = DoubleLinkedQueue.prototype.iterator; |
| 1462 DoubleLinkedQueue.prototype.last$0 = DoubleLinkedQueue.prototype.last; |
| 1463 DoubleLinkedQueue.prototype.removeLast$0 = DoubleLinkedQueue.prototype.removeLas
t; |
| 1464 // ********** Code for DoubleLinkedQueue_E ************** |
| 1465 $inherits(DoubleLinkedQueue_E, DoubleLinkedQueue); |
| 1466 function DoubleLinkedQueue_E() {} |
| 1467 // ********** Code for DoubleLinkedQueue_IsolateEvent ************** |
| 1468 $inherits(DoubleLinkedQueue_IsolateEvent, DoubleLinkedQueue); |
| 1469 function DoubleLinkedQueue_IsolateEvent() {} |
| 1470 // ********** Code for DoubleLinkedQueue_KeyValuePair_K$V ************** |
| 1471 $inherits(DoubleLinkedQueue_KeyValuePair_K$V, DoubleLinkedQueue); |
| 1472 function DoubleLinkedQueue_KeyValuePair_K$V() { |
| 1473 this._sentinel = new _DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V(); |
| 1474 } |
| 1475 DoubleLinkedQueue_KeyValuePair_K$V.prototype.addLast = function(value) { |
| 1476 this._sentinel.prepend(value); |
| 1477 } |
| 1478 DoubleLinkedQueue_KeyValuePair_K$V.prototype.lastEntry = function() { |
| 1479 return this._sentinel.previousEntry(); |
| 1480 } |
| 1481 DoubleLinkedQueue_KeyValuePair_K$V.prototype.clear = function() { |
| 1482 this._sentinel._next = this._sentinel; |
| 1483 this._sentinel._previous = this._sentinel; |
| 1484 } |
| 1485 DoubleLinkedQueue_KeyValuePair_K$V.prototype.forEach = function(f) { |
| 1486 var entry = this._sentinel._next; |
| 1487 while (entry != this._sentinel) { |
| 1488 var nextEntry = entry._next; |
| 1489 f.call$1(entry._element); |
| 1490 entry = nextEntry; |
| 1491 } |
| 1492 } |
| 1493 // ********** Code for _DoubleLinkedQueueIterator ************** |
| 1494 function _DoubleLinkedQueueIterator(_sentinel) { |
| 1495 this._sentinel = _sentinel; |
| 1496 this._currentEntry = this._sentinel; |
| 1497 } |
| 1498 _DoubleLinkedQueueIterator.prototype.hasNext = function() { |
| 1499 return this._currentEntry._next != this._sentinel; |
| 1500 } |
| 1501 _DoubleLinkedQueueIterator.prototype.next = function() { |
| 1502 if (!this.hasNext()) { |
| 1503 $throw(const$0003); |
| 1504 } |
| 1505 this._currentEntry = this._currentEntry._next; |
| 1506 return this._currentEntry.get$element(); |
| 1507 } |
| 1508 _DoubleLinkedQueueIterator.prototype.hasNext$0 = _DoubleLinkedQueueIterator.prot
otype.hasNext; |
| 1509 _DoubleLinkedQueueIterator.prototype.next$0 = _DoubleLinkedQueueIterator.prototy
pe.next; |
| 1510 // ********** Code for _DoubleLinkedQueueIterator_E ************** |
| 1511 $inherits(_DoubleLinkedQueueIterator_E, _DoubleLinkedQueueIterator); |
| 1512 function _DoubleLinkedQueueIterator_E(_sentinel) { |
| 1513 this._sentinel = _sentinel; |
| 1514 this._currentEntry = this._sentinel; |
| 1515 } |
| 1516 // ********** Code for StringBufferImpl ************** |
| 1517 function StringBufferImpl(content) { |
| 1518 this.clear(); |
| 1519 this.add(content); |
| 1520 } |
| 1521 StringBufferImpl.prototype.get$length = function() { |
| 1522 return this._length; |
| 1523 } |
| 1524 StringBufferImpl.prototype.add = function(obj) { |
| 1525 var str = obj.toString$0(); |
| 1526 if (str == null || str.isEmpty()) return this; |
| 1527 this._buffer.add$1(str); |
| 1528 this._length = this._length + str.length; |
| 1529 return this; |
| 1530 } |
| 1531 StringBufferImpl.prototype.addAll = function(objects) { |
| 1532 for (var $$i = objects.iterator$0(); $$i.hasNext$0(); ) { |
| 1533 var obj = $$i.next$0(); |
| 1534 this.add(obj); |
| 1535 } |
| 1536 return this; |
| 1537 } |
| 1538 StringBufferImpl.prototype.clear = function() { |
| 1539 this._buffer = new Array(); |
| 1540 this._length = (0); |
| 1541 return this; |
| 1542 } |
| 1543 StringBufferImpl.prototype.get$clear = function() { |
| 1544 return this.clear.bind(this); |
| 1545 } |
| 1546 StringBufferImpl.prototype.toString = function() { |
| 1547 if (this._buffer.get$length() == (0)) return ""; |
| 1548 if (this._buffer.get$length() == (1)) return this._buffer.$index((0)); |
| 1549 var result = StringBase.concatAll(this._buffer); |
| 1550 this._buffer.clear$0(); |
| 1551 this._buffer.add$1(result); |
| 1552 return result; |
| 1553 } |
| 1554 StringBufferImpl.prototype.add$1 = StringBufferImpl.prototype.add; |
| 1555 StringBufferImpl.prototype.addAll$1 = StringBufferImpl.prototype.addAll; |
| 1556 StringBufferImpl.prototype.clear$0 = StringBufferImpl.prototype.clear; |
| 1557 StringBufferImpl.prototype.toString$0 = StringBufferImpl.prototype.toString; |
| 1558 // ********** Code for StringBase ************** |
| 1559 function StringBase() {} |
| 1560 StringBase.join = function(strings, separator) { |
| 1561 if (strings.get$length() == (0)) return ""; |
| 1562 var s = strings.$index((0)); |
| 1563 for (var i = (1); |
| 1564 i < strings.get$length(); i++) { |
| 1565 s = s + separator + strings.$index(i); |
| 1566 } |
| 1567 return s; |
| 1568 } |
| 1569 StringBase.concatAll = function(strings) { |
| 1570 return StringBase.join(strings, ""); |
| 1571 } |
| 1572 // ********** Code for StringImplementation ************** |
| 1573 StringImplementation = String; |
| 1574 StringImplementation.prototype.get$length = function() { return this.length; }; |
| 1575 StringImplementation.prototype.isEmpty = function() { |
| 1576 return this.length == (0); |
| 1577 } |
| 1578 StringImplementation.prototype.hashCode = function() { |
| 1579 'use strict'; |
| 1580 var hash = 0; |
| 1581 for (var i = 0; i < this.length; i++) { |
| 1582 hash = 0x1fffffff & (hash + this.charCodeAt(i)); |
| 1583 hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10)); |
| 1584 hash ^= hash >> 6; |
| 1585 } |
| 1586 |
| 1587 hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3)); |
| 1588 hash ^= hash >> 11; |
| 1589 return 0x1fffffff & (hash + ((0x00003fff & hash) << 15)); |
| 1590 } |
| 1591 StringImplementation.prototype.hashCode$0 = StringImplementation.prototype.hashC
ode; |
| 1592 // ********** Code for GlobalState ************** |
| 1593 function GlobalState() { |
| 1594 this.currentContext = null; |
| 1595 this.rootContext = null; |
| 1596 this.nextWorkerId = (1); |
| 1597 this.currentWorkerId = (0); |
| 1598 this.nextIsolateId = (0); |
| 1599 this.topEventLoop = new EventLoop(); |
| 1600 this.isolates = new HashMapImplementation(); |
| 1601 this.workers = new HashMapImplementation(); |
| 1602 this.mainWorker = new MainWorker(); |
| 1603 this._nativeInit(); |
| 1604 } |
| 1605 GlobalState.prototype.get$useWorkers = function() { |
| 1606 return this.supportsWorkers; |
| 1607 } |
| 1608 GlobalState.prototype.get$needSerialization = function() { |
| 1609 return this.get$useWorkers(); |
| 1610 } |
| 1611 GlobalState.prototype._nativeInit = function() { |
| 1612 this.isWorker = typeof ($globalThis['importScripts']) != 'undefined'; |
| 1613 this.inWindow = typeof(window) !== 'undefined'; |
| 1614 this.supportsWorkers = this.isWorker || |
| 1615 ((typeof $globalThis['Worker']) != 'undefined'); |
| 1616 |
| 1617 // if workers are supported, treat this as a main worker: |
| 1618 if (this.supportsWorkers) { |
| 1619 $globalThis.onmessage = function(e) { |
| 1620 IsolateNatives._processWorkerMessage(this.mainWorker, e); |
| 1621 }; |
| 1622 } |
| 1623 |
| 1624 } |
| 1625 GlobalState.prototype.closeWorker = function() { |
| 1626 if (this.isWorker) { |
| 1627 if (!this.isolates.isEmpty()) return; |
| 1628 this.mainWorker.postMessage(_serializeMessage(_map(["command", "close"]))); |
| 1629 } |
| 1630 else if (this.isolates.containsKey(this.rootContext.id) && this.workers.isEmpt
y() && !this.supportsWorkers && !this.inWindow) { |
| 1631 $throw(new ExceptionImplementation("Program exited with open ReceivePorts.")
); |
| 1632 } |
| 1633 } |
| 1634 // ********** Code for MainWorker ************** |
| 1635 function MainWorker() { |
| 1636 this.id = (0); |
| 1637 } |
| 1638 MainWorker.prototype.get$id = function() { return this.id; }; |
| 1639 MainWorker.prototype.set$id = function(value) { return this.id = value; }; |
| 1640 MainWorker.prototype.postMessage = function(msg) { |
| 1641 return $globalThis.postMessage(msg); |
| 1642 } |
| 1643 MainWorker.prototype.terminate = function() { |
| 1644 |
| 1645 } |
| 1646 MainWorker.prototype.set$onmessage = function(f) { |
| 1647 $globalThis.onmessage = f; |
| 1648 } |
| 1649 MainWorker.prototype.postMessage$1 = MainWorker.prototype.postMessage; |
| 1650 MainWorker.prototype.terminate$0 = MainWorker.prototype.terminate; |
| 1651 // ********** Code for _Worker ************** |
| 1652 function $dynamic(name) { |
| 1653 var f = Object.prototype[name]; |
| 1654 if (f && f.methods) return f.methods; |
| 1655 |
| 1656 var methods = {}; |
| 1657 if (f) methods.Object = f; |
| 1658 function $dynamicBind() { |
| 1659 // Find the target method |
| 1660 var obj = this; |
| 1661 var tag = obj.$typeNameOf(); |
| 1662 var method = methods[tag]; |
| 1663 if (!method) { |
| 1664 var table = $dynamicMetadata; |
| 1665 for (var i = 0; i < table.length; i++) { |
| 1666 var entry = table[i]; |
| 1667 if (entry.map.hasOwnProperty(tag)) { |
| 1668 method = methods[entry.tag]; |
| 1669 if (method) break; |
| 1670 } |
| 1671 } |
| 1672 } |
| 1673 method = method || methods.Object; |
| 1674 var proto = Object.getPrototypeOf(obj); |
| 1675 if (!proto.hasOwnProperty(name)) { |
| 1676 Object.defineProperty(proto, name, |
| 1677 { value: method, enumerable: false, writable: true, |
| 1678 configurable: true }); |
| 1679 } |
| 1680 |
| 1681 return method.apply(this, Array.prototype.slice.call(arguments)); |
| 1682 }; |
| 1683 $dynamicBind.methods = methods; |
| 1684 Object.defineProperty(Object.prototype, name, { value: $dynamicBind, |
| 1685 enumerable: false, writable: true, configurable: true}); |
| 1686 return methods; |
| 1687 } |
| 1688 if (typeof $dynamicMetadata == 'undefined') $dynamicMetadata = []; |
| 1689 |
| 1690 function $dynamicSetMetadata(inputTable) { |
| 1691 // TODO: Deal with light isolates. |
| 1692 var table = []; |
| 1693 for (var i = 0; i < inputTable.length; i++) { |
| 1694 var tag = inputTable[i][0]; |
| 1695 var tags = inputTable[i][1]; |
| 1696 var map = {}; |
| 1697 var tagNames = tags.split('|'); |
| 1698 for (var j = 0; j < tagNames.length; j++) { |
| 1699 map[tagNames[j]] = true; |
| 1700 } |
| 1701 table.push({tag: tag, tags: tags, map: map}); |
| 1702 } |
| 1703 $dynamicMetadata = table; |
| 1704 } |
| 1705 $dynamic("get$id").Worker = function() { |
| 1706 return this.id; |
| 1707 } |
| 1708 $dynamic("set$id").Worker = function(i) { |
| 1709 this.id = i; |
| 1710 } |
| 1711 $dynamic("postMessage").Worker = function(msg) { |
| 1712 return this.postMessage(msg); |
| 1713 } |
| 1714 $dynamic("set$onmessage").Worker = function(f) { |
| 1715 this.onmessage = f; |
| 1716 } |
| 1717 $dynamic("postMessage$1").Worker = function($0) { |
| 1718 return this.postMessage($0); |
| 1719 }; |
| 1720 // ********** Code for IsolateContext ************** |
| 1721 function IsolateContext() { |
| 1722 this.id = get$_globalState().nextIsolateId++; |
| 1723 this.ports = new HashMapImplementation(); |
| 1724 this.initGlobals(); |
| 1725 } |
| 1726 IsolateContext.prototype.get$id = function() { return this.id; }; |
| 1727 IsolateContext.prototype.set$id = function(value) { return this.id = value; }; |
| 1728 IsolateContext.prototype.initGlobals = function() { |
| 1729 this.isolateStatics = {}; |
| 1730 } |
| 1731 IsolateContext.prototype.eval = function(code) { |
| 1732 var old = get$_globalState().currentContext; |
| 1733 get$_globalState().currentContext = this; |
| 1734 this._setGlobals(); |
| 1735 var result = null; |
| 1736 try { |
| 1737 result = code.call$0(); |
| 1738 } finally { |
| 1739 get$_globalState().currentContext = old; |
| 1740 if (old != null) old._setGlobals$0(); |
| 1741 } |
| 1742 return result; |
| 1743 } |
| 1744 IsolateContext.prototype._setGlobals = function() { |
| 1745 $globals = this.isolateStatics; |
| 1746 } |
| 1747 IsolateContext.prototype.lookup = function(id) { |
| 1748 return this.ports.$index(id); |
| 1749 } |
| 1750 IsolateContext.prototype.register = function(portId, port) { |
| 1751 if (this.ports.containsKey(portId)) { |
| 1752 $throw(new ExceptionImplementation("Registry: ports must be registered only
once.")); |
| 1753 } |
| 1754 this.ports.$setindex(portId, port); |
| 1755 get$_globalState().isolates.$setindex(this.id, this); |
| 1756 } |
| 1757 IsolateContext.prototype.unregister = function(portId) { |
| 1758 this.ports.remove$1(portId); |
| 1759 if (this.ports.isEmpty()) { |
| 1760 get$_globalState().isolates.remove$1(this.id); |
| 1761 } |
| 1762 } |
| 1763 IsolateContext.prototype._setGlobals$0 = IsolateContext.prototype._setGlobals; |
| 1764 IsolateContext.prototype.eval$1 = IsolateContext.prototype.eval; |
| 1765 IsolateContext.prototype.lookup$1 = IsolateContext.prototype.lookup; |
| 1766 // ********** Code for EventLoop ************** |
| 1767 function EventLoop() { |
| 1768 this.events = new DoubleLinkedQueue(); |
| 1769 } |
| 1770 EventLoop.prototype.enqueue = function(isolate, fn, msg) { |
| 1771 this.events.addLast(new IsolateEvent(isolate, fn, msg)); |
| 1772 } |
| 1773 EventLoop.prototype.dequeue = function() { |
| 1774 if (this.events.isEmpty()) return null; |
| 1775 return this.events.removeFirst(); |
| 1776 } |
| 1777 EventLoop.prototype.runIteration = function() { |
| 1778 var event = this.dequeue(); |
| 1779 if (event == null) { |
| 1780 get$_globalState().closeWorker(); |
| 1781 return false; |
| 1782 } |
| 1783 event.process$0(); |
| 1784 return true; |
| 1785 } |
| 1786 EventLoop._wrapSetTimeout = function() { |
| 1787 return typeof window != 'undefined' ? |
| 1788 function(a, b) { window.setTimeout(a, b); } : undefined; |
| 1789 |
| 1790 } |
| 1791 EventLoop.prototype._runHelper = function() { |
| 1792 var $this = this; // closure support |
| 1793 var setTimeout = EventLoop._wrapSetTimeout(); |
| 1794 if (setTimeout != null) { |
| 1795 function next() { |
| 1796 if (!$this.runIteration()) return; |
| 1797 setTimeout.call$2(next, (0)); |
| 1798 } |
| 1799 next.call$0(); |
| 1800 } |
| 1801 else { |
| 1802 while (this.runIteration()) { |
| 1803 } |
| 1804 } |
| 1805 } |
| 1806 EventLoop.prototype.run = function() { |
| 1807 if (!get$_globalState().isWorker) { |
| 1808 this._runHelper(); |
| 1809 } |
| 1810 else { |
| 1811 try { |
| 1812 this._runHelper(); |
| 1813 } catch (e) { |
| 1814 var trace = _stackTraceOf(e); |
| 1815 e = _toDartException(e); |
| 1816 get$_globalState().mainWorker.postMessage(_serializeMessage(_map(["command
", "error", "msg", ("" + e + "\n" + trace)]))); |
| 1817 } |
| 1818 } |
| 1819 } |
| 1820 // ********** Code for IsolateEvent ************** |
| 1821 function IsolateEvent(isolate, fn, message) { |
| 1822 this.message = message; |
| 1823 this.isolate = isolate; |
| 1824 this.fn = fn; |
| 1825 } |
| 1826 IsolateEvent.prototype.process = function() { |
| 1827 this.isolate.eval(this.fn); |
| 1828 } |
| 1829 IsolateEvent.prototype.process$0 = IsolateEvent.prototype.process; |
| 1830 // ********** Code for SendPortImpl ************** |
| 1831 function SendPortImpl(_workerId, _isolateId, _receivePortId) { |
| 1832 this._workerId = _workerId; |
| 1833 this._receivePortId = _receivePortId; |
| 1834 this._isolateId = _isolateId; |
| 1835 } |
| 1836 SendPortImpl.prototype.send = function(message, replyTo) { |
| 1837 if (replyTo != null && !((replyTo instanceof SendPortImpl))) { |
| 1838 $throw("SendPort::send: Illegal replyTo type."); |
| 1839 } |
| 1840 IsolateNatives._sendMessage(this._workerId, this._isolateId, this._receivePort
Id, _serializeMessage(message), _serializeMessage(replyTo)); |
| 1841 } |
| 1842 SendPortImpl.prototype.call = function(message) { |
| 1843 var result = new ReceivePortSingleShotImpl(); |
| 1844 this.send(message, result.toSendPort$0()); |
| 1845 return result; |
| 1846 } |
| 1847 SendPortImpl.prototype.$eq = function(other) { |
| 1848 return ((other instanceof SendPortImpl)) && (this._workerId == other.get$_work
erId()) && (this._isolateId == other.get$_isolateId()) && (this._receivePortId =
= other.get$_receivePortId()); |
| 1849 } |
| 1850 SendPortImpl.prototype.hashCode = function() { |
| 1851 return (this._workerId << (16)) ^ (this._isolateId << (8)) ^ this._receivePort
Id; |
| 1852 } |
| 1853 SendPortImpl.prototype.get$_receivePortId = function() { return this._receivePor
tId; }; |
| 1854 SendPortImpl.prototype.get$_isolateId = function() { return this._isolateId; }; |
| 1855 SendPortImpl.prototype.get$_workerId = function() { return this._workerId; }; |
| 1856 SendPortImpl.prototype.call$1 = SendPortImpl.prototype.call; |
| 1857 SendPortImpl.prototype.hashCode$0 = SendPortImpl.prototype.hashCode; |
| 1858 // ********** Code for ReceivePortFactory ************** |
| 1859 function ReceivePortFactory() {} |
| 1860 ReceivePortFactory.ReceivePort$factory = function() { |
| 1861 return new ReceivePortImpl(); |
| 1862 } |
| 1863 ReceivePortFactory.ReceivePort$singleShot$factory = function() { |
| 1864 return new ReceivePortSingleShotImpl(); |
| 1865 } |
| 1866 // ********** Code for ReceivePortImpl ************** |
| 1867 function ReceivePortImpl() { |
| 1868 this._id = $globals.ReceivePortImpl__nextFreeId++; |
| 1869 get$_globalState().currentContext.register(this._id, this); |
| 1870 } |
| 1871 ReceivePortImpl.prototype.receive = function(onMessage) { |
| 1872 this._callback = onMessage; |
| 1873 } |
| 1874 ReceivePortImpl.prototype.close = function() { |
| 1875 this._callback = null; |
| 1876 get$_globalState().currentContext.unregister(this._id); |
| 1877 } |
| 1878 ReceivePortImpl.prototype.toSendPort = function() { |
| 1879 return new SendPortImpl(get$_globalState().currentWorkerId, get$_globalState()
.currentContext.id, this._id); |
| 1880 } |
| 1881 ReceivePortImpl.prototype.get$_callback = function() { return this._callback; }; |
| 1882 ReceivePortImpl.prototype.set$_callback = function(value) { return this._callbac
k = value; }; |
| 1883 ReceivePortImpl.prototype._callback$2 = function($0, $1) { |
| 1884 return this._callback.call$2($0, $1); |
| 1885 }; |
| 1886 ReceivePortImpl.prototype.receive$1 = function($0) { |
| 1887 return this.receive(to$call$2($0)); |
| 1888 }; |
| 1889 ReceivePortImpl.prototype.toSendPort$0 = ReceivePortImpl.prototype.toSendPort; |
| 1890 // ********** Code for ReceivePortSingleShotImpl ************** |
| 1891 function ReceivePortSingleShotImpl() { |
| 1892 this._dart_coreimpl_port = new ReceivePortImpl(); |
| 1893 } |
| 1894 ReceivePortSingleShotImpl.prototype.receive = function(callback) { |
| 1895 var $this = this; // closure support |
| 1896 this._dart_coreimpl_port.receive((function (message, replyTo) { |
| 1897 $this._dart_coreimpl_port.close(); |
| 1898 callback.call$2(message, replyTo); |
| 1899 }) |
| 1900 ); |
| 1901 } |
| 1902 ReceivePortSingleShotImpl.prototype.toSendPort = function() { |
| 1903 return this._dart_coreimpl_port.toSendPort(); |
| 1904 } |
| 1905 ReceivePortSingleShotImpl.prototype.receive$1 = function($0) { |
| 1906 return this.receive(to$call$2($0)); |
| 1907 }; |
| 1908 ReceivePortSingleShotImpl.prototype.toSendPort$0 = ReceivePortSingleShotImpl.pro
totype.toSendPort; |
| 1909 // ********** Code for IsolateNatives ************** |
| 1910 function IsolateNatives() {} |
| 1911 IsolateNatives.spawn = function(isolate, isLight) { |
| 1912 var completer = new CompleterImpl(); |
| 1913 var port = ReceivePortFactory.ReceivePort$singleShot$factory(); |
| 1914 port.receive((function (msg, replyPort) { |
| 1915 completer.complete(replyPort); |
| 1916 }) |
| 1917 ); |
| 1918 if (get$_globalState().get$useWorkers() && !isLight) { |
| 1919 IsolateNatives._startWorker(isolate, port.toSendPort()); |
| 1920 } |
| 1921 else { |
| 1922 IsolateNatives._startNonWorker(isolate, port.toSendPort()); |
| 1923 } |
| 1924 return completer.get$future(); |
| 1925 } |
| 1926 IsolateNatives._startWorker = function(runnable, replyPort) { |
| 1927 var factoryName = IsolateNatives._getJSConstructorName(runnable); |
| 1928 if (get$_globalState().isWorker) { |
| 1929 get$_globalState().mainWorker.postMessage(_serializeMessage(_map(["command",
"spawn-worker", "factoryName", factoryName, "replyPort", replyPort]))); |
| 1930 } |
| 1931 else { |
| 1932 IsolateNatives._spawnWorker(factoryName, _serializeMessage(replyPort)); |
| 1933 } |
| 1934 } |
| 1935 IsolateNatives.get$_thisScript = function() { |
| 1936 return $globals.IsolateNatives__thisScriptCache != null ? $globals.IsolateNati
ves__thisScriptCache : IsolateNatives._computeThisScript(); |
| 1937 } |
| 1938 IsolateNatives._computeThisScript = function() { |
| 1939 if (!$globalState.supportsWorkers || $globalState.isWorker) return null; |
| 1940 |
| 1941 // TODO(5334778): Find a cross-platform non-brittle way of getting the |
| 1942 // currently running script. |
| 1943 var scripts = document.getElementsByTagName('script'); |
| 1944 // The scripts variable only contains the scripts that have already been |
| 1945 // executed. The last one is the currently running script. |
| 1946 var script = scripts[scripts.length - 1]; |
| 1947 var src = script && script.src; |
| 1948 if (!src) { |
| 1949 // TODO() |
| 1950 src = "FIXME:5407062" + "_" + Math.random().toString(); |
| 1951 if (script) script.src = src; |
| 1952 } |
| 1953 IsolateNatives._thisScriptCache = src; |
| 1954 return src; |
| 1955 |
| 1956 } |
| 1957 IsolateNatives._newWorker = function(url) { |
| 1958 return new Worker(url); |
| 1959 } |
| 1960 IsolateNatives._spawnWorker = function(factoryName, serializedReplyPort) { |
| 1961 var worker = IsolateNatives._newWorker(IsolateNatives.get$_thisScript()); |
| 1962 worker.set$onmessage((function (e) { |
| 1963 IsolateNatives._processWorkerMessage(worker, e); |
| 1964 }) |
| 1965 ); |
| 1966 var workerId = get$_globalState().nextWorkerId++; |
| 1967 worker.set$id(workerId); |
| 1968 get$_globalState().workers.$setindex(workerId, worker); |
| 1969 worker.postMessage$1(_serializeMessage(_map(["command", "start", "id", workerI
d, "replyTo", serializedReplyPort, "factoryName", factoryName]))); |
| 1970 } |
| 1971 IsolateNatives._getEventData = function(e) { |
| 1972 return e.data |
| 1973 } |
| 1974 IsolateNatives._processWorkerMessage = function(sender, e) { |
| 1975 var msg = _deserializeMessage(IsolateNatives._getEventData(e)); |
| 1976 switch (msg.$index("command")) { |
| 1977 case "start": |
| 1978 |
| 1979 get$_globalState().currentWorkerId = msg.$index("id"); |
| 1980 var runnerObject = IsolateNatives._allocate(IsolateNatives._getJSConstruct
orFromName(msg.$index("factoryName"))); |
| 1981 var serializedReplyTo = msg.$index("replyTo"); |
| 1982 get$_globalState().topEventLoop.enqueue(new IsolateContext(), function fun
ction_() { |
| 1983 var replyTo = _deserializeMessage(serializedReplyTo); |
| 1984 IsolateNatives._startIsolate(runnerObject, replyTo); |
| 1985 } |
| 1986 , "worker-start"); |
| 1987 get$_globalState().topEventLoop.run(); |
| 1988 break; |
| 1989 |
| 1990 case "spawn-worker": |
| 1991 |
| 1992 IsolateNatives._spawnWorker(msg.$index("factoryName"), msg.$index("replyPo
rt")); |
| 1993 break; |
| 1994 |
| 1995 case "message": |
| 1996 |
| 1997 IsolateNatives._sendMessage(msg.$index("workerId"), msg.$index("isolateId"
), msg.$index("portId"), msg.$index("msg"), msg.$index("replyTo")); |
| 1998 get$_globalState().topEventLoop.run(); |
| 1999 break; |
| 2000 |
| 2001 case "close": |
| 2002 |
| 2003 IsolateNatives._log("Closing Worker"); |
| 2004 get$_globalState().workers.remove$1(sender.get$id()); |
| 2005 sender.terminate$0(); |
| 2006 get$_globalState().topEventLoop.run(); |
| 2007 break; |
| 2008 |
| 2009 case "log": |
| 2010 |
| 2011 IsolateNatives._log(msg.$index("msg")); |
| 2012 break; |
| 2013 |
| 2014 case "print": |
| 2015 |
| 2016 if (get$_globalState().isWorker) { |
| 2017 get$_globalState().mainWorker.postMessage(_serializeMessage(_map(["comma
nd", "print", "msg", msg]))); |
| 2018 } |
| 2019 else { |
| 2020 dart_core_print(msg.$index("msg")); |
| 2021 } |
| 2022 break; |
| 2023 |
| 2024 case "error": |
| 2025 |
| 2026 $throw(msg.$index("msg")); |
| 2027 |
| 2028 } |
| 2029 } |
| 2030 IsolateNatives._log = function(msg) { |
| 2031 if (get$_globalState().isWorker) { |
| 2032 get$_globalState().mainWorker.postMessage(_serializeMessage(_map(["command",
"log", "msg", msg]))); |
| 2033 } |
| 2034 else { |
| 2035 try { |
| 2036 IsolateNatives._consoleLog(msg); |
| 2037 } catch (e) { |
| 2038 var trace = _stackTraceOf(e); |
| 2039 e = _toDartException(e); |
| 2040 $throw(new ExceptionImplementation(trace)); |
| 2041 } |
| 2042 } |
| 2043 } |
| 2044 IsolateNatives._consoleLog = function(msg) { |
| 2045 $globalThis.console.log(msg); |
| 2046 } |
| 2047 IsolateNatives._getJSConstructor = function(runnable) { |
| 2048 return runnable.constructor; |
| 2049 |
| 2050 } |
| 2051 IsolateNatives._getJSConstructorName = function(runnable) { |
| 2052 return runnable.constructor.name; |
| 2053 |
| 2054 } |
| 2055 IsolateNatives._getJSConstructorFromName = function(factoryName) { |
| 2056 return $globalThis[factoryName]; |
| 2057 |
| 2058 } |
| 2059 IsolateNatives._allocate = function(ctor) { |
| 2060 return new ctor(); |
| 2061 } |
| 2062 IsolateNatives._startNonWorker = function(runnable, replyTo) { |
| 2063 var spawned = new IsolateContext(); |
| 2064 var ctor = IsolateNatives._getJSConstructor(runnable); |
| 2065 get$_globalState().topEventLoop.enqueue(spawned, function function_() { |
| 2066 IsolateNatives._startIsolate(IsolateNatives._allocate(ctor), replyTo); |
| 2067 } |
| 2068 , "nonworker start"); |
| 2069 } |
| 2070 IsolateNatives._startIsolate = function(isolate, replyTo) { |
| 2071 _fillStatics(get$_globalState().currentContext); |
| 2072 var port = ReceivePortFactory.ReceivePort$factory(); |
| 2073 replyTo.send("spawned", port.toSendPort()); |
| 2074 isolate._run(port); |
| 2075 } |
| 2076 IsolateNatives._sendMessage = function(workerId, isolateId, receivePortId, messa
ge, replyTo) { |
| 2077 if (workerId == get$_globalState().currentWorkerId) { |
| 2078 var isolate = get$_globalState().isolates.$index(isolateId); |
| 2079 if (isolate == null) return; |
| 2080 var receivePort = isolate.lookup$1(receivePortId); |
| 2081 if (receivePort == null) return; |
| 2082 get$_globalState().topEventLoop.enqueue(isolate, (function () { |
| 2083 if (receivePort.get$_callback() != null) { |
| 2084 receivePort._callback$2(_deserializeMessage(message), _deserializeMessag
e(replyTo)); |
| 2085 } |
| 2086 }) |
| 2087 , "receive " + message); |
| 2088 } |
| 2089 else { |
| 2090 var worker; |
| 2091 if (get$_globalState().isWorker) { |
| 2092 worker = get$_globalState().mainWorker; |
| 2093 } |
| 2094 else { |
| 2095 worker = get$_globalState().workers.$index(workerId); |
| 2096 } |
| 2097 worker.postMessage$1(_serializeMessage(_map(["command", "message", "workerId
", workerId, "isolateId", isolateId, "portId", receivePortId, "msg", message, "r
eplyTo", replyTo]))); |
| 2098 } |
| 2099 } |
| 2100 // ********** Code for MessageTraverser ************** |
| 2101 function MessageTraverser() { |
| 2102 |
| 2103 } |
| 2104 MessageTraverser.isPrimitive = function(x) { |
| 2105 return (x == null) || ((typeof(x) == 'string')) || ((typeof(x) == 'number')) |
| ((typeof(x) == 'boolean')); |
| 2106 } |
| 2107 MessageTraverser.prototype.traverse = function(x) { |
| 2108 if (MessageTraverser.isPrimitive(x)) return this.visitPrimitive(x); |
| 2109 this._taggedObjects = new Array(); |
| 2110 var result; |
| 2111 try { |
| 2112 result = this._dispatch(x); |
| 2113 } finally { |
| 2114 this._cleanup(); |
| 2115 } |
| 2116 return result; |
| 2117 } |
| 2118 MessageTraverser.prototype._cleanup = function() { |
| 2119 var len = this._taggedObjects.get$length(); |
| 2120 for (var i = (0); |
| 2121 i < len; i++) { |
| 2122 this._clearAttachedInfo(this._taggedObjects.$index(i)); |
| 2123 } |
| 2124 this._taggedObjects = null; |
| 2125 } |
| 2126 MessageTraverser.prototype._attachInfo = function(o, info) { |
| 2127 this._taggedObjects.add$1(o); |
| 2128 this._setAttachedInfo(o, info); |
| 2129 } |
| 2130 MessageTraverser.prototype._getInfo = function(o) { |
| 2131 return this._getAttachedInfo(o); |
| 2132 } |
| 2133 MessageTraverser.prototype._dispatch = function(x) { |
| 2134 if (MessageTraverser.isPrimitive(x)) return this.visitPrimitive(x); |
| 2135 if (!!(x && x.is$List())) return this.visitList$1(x); |
| 2136 if (!!(x && x.is$Map())) return this.visitMap(x); |
| 2137 if ((x instanceof SendPortImpl)) return this.visitSendPort(x); |
| 2138 if ((x instanceof ReceivePortImpl)) return this.visitReceivePort(x); |
| 2139 if ((x instanceof ReceivePortSingleShotImpl)) return this.visitReceivePortSing
leShot(x); |
| 2140 $throw(("Message serialization: Illegal value " + x + " passed")); |
| 2141 } |
| 2142 MessageTraverser.prototype._clearAttachedInfo = function(o) { |
| 2143 o['__MessageTraverser__attached_info__'] = (void 0); |
| 2144 } |
| 2145 MessageTraverser.prototype._setAttachedInfo = function(o, info) { |
| 2146 o['__MessageTraverser__attached_info__'] = info; |
| 2147 } |
| 2148 MessageTraverser.prototype._getAttachedInfo = function(o) { |
| 2149 return o['__MessageTraverser__attached_info__']; |
| 2150 } |
| 2151 MessageTraverser.prototype.visitList$1 = MessageTraverser.prototype.visitList; |
| 2152 // ********** Code for Copier ************** |
| 2153 $inherits(Copier, MessageTraverser); |
| 2154 function Copier() { |
| 2155 MessageTraverser.call(this); |
| 2156 } |
| 2157 Copier.prototype.visitPrimitive = function(x) { |
| 2158 return x; |
| 2159 } |
| 2160 Copier.prototype.visitList = function(list) { |
| 2161 var copy = this._getInfo(list); |
| 2162 if (copy != null) return copy; |
| 2163 var len = list.get$length(); |
| 2164 copy = new Array(len); |
| 2165 this._attachInfo(list, copy); |
| 2166 for (var i = (0); |
| 2167 i < len; i++) { |
| 2168 copy.$setindex(i, this._dispatch(list.$index(i))); |
| 2169 } |
| 2170 return copy; |
| 2171 } |
| 2172 Copier.prototype.visitMap = function(map) { |
| 2173 var $this = this; // closure support |
| 2174 var copy = this._getInfo(map); |
| 2175 if (copy != null) return copy; |
| 2176 copy = new HashMapImplementation(); |
| 2177 this._attachInfo(map, copy); |
| 2178 map.forEach((function (key, val) { |
| 2179 copy.$setindex($this._dispatch(key), $this._dispatch(val)); |
| 2180 }) |
| 2181 ); |
| 2182 return copy; |
| 2183 } |
| 2184 Copier.prototype.visitSendPort = function(port) { |
| 2185 return new SendPortImpl(port._workerId, port._isolateId, port._receivePortId); |
| 2186 } |
| 2187 Copier.prototype.visitReceivePort = function(port) { |
| 2188 return port.toSendPort(); |
| 2189 } |
| 2190 Copier.prototype.visitReceivePortSingleShot = function(port) { |
| 2191 return port.toSendPort(); |
| 2192 } |
| 2193 Copier.prototype.visitList$1 = Copier.prototype.visitList; |
| 2194 // ********** Code for Serializer ************** |
| 2195 $inherits(Serializer, MessageTraverser); |
| 2196 function Serializer() { |
| 2197 this._nextFreeRefId = (0); |
| 2198 MessageTraverser.call(this); |
| 2199 } |
| 2200 Serializer.prototype.visitPrimitive = function(x) { |
| 2201 return x; |
| 2202 } |
| 2203 Serializer.prototype.visitList = function(list) { |
| 2204 var copyId = this._getInfo(list); |
| 2205 if (copyId != null) return ["ref", copyId]; |
| 2206 var id = this._nextFreeRefId++; |
| 2207 this._attachInfo(list, id); |
| 2208 var jsArray = this._serializeList(list); |
| 2209 return ["list", id, jsArray]; |
| 2210 } |
| 2211 Serializer.prototype.visitMap = function(map) { |
| 2212 var copyId = this._getInfo(map); |
| 2213 if (copyId != null) return ["ref", copyId]; |
| 2214 var id = this._nextFreeRefId++; |
| 2215 this._attachInfo(map, id); |
| 2216 var keys = this._serializeList(map.getKeys$0()); |
| 2217 var values = this._serializeList(map.getValues$0()); |
| 2218 return ["map", id, keys, values]; |
| 2219 } |
| 2220 Serializer.prototype.visitSendPort = function(port) { |
| 2221 return ["sendport", port._workerId, port._isolateId, port._receivePortId]; |
| 2222 } |
| 2223 Serializer.prototype.visitReceivePort = function(port) { |
| 2224 return this.visitSendPort(port.toSendPort()); |
| 2225 ; |
| 2226 } |
| 2227 Serializer.prototype.visitReceivePortSingleShot = function(port) { |
| 2228 return this.visitSendPort(port.toSendPort()); |
| 2229 } |
| 2230 Serializer.prototype._serializeList = function(list) { |
| 2231 var len = list.get$length(); |
| 2232 var result = new Array(len); |
| 2233 for (var i = (0); |
| 2234 i < len; i++) { |
| 2235 result.$setindex(i, this._dispatch(list.$index(i))); |
| 2236 } |
| 2237 return result; |
| 2238 } |
| 2239 Serializer.prototype.visitList$1 = Serializer.prototype.visitList; |
| 2240 // ********** Code for Deserializer ************** |
| 2241 function Deserializer() { |
| 2242 |
| 2243 } |
| 2244 Deserializer.isPrimitive = function(x) { |
| 2245 return (x == null) || ((typeof(x) == 'string')) || ((typeof(x) == 'number')) |
| ((typeof(x) == 'boolean')); |
| 2246 } |
| 2247 Deserializer.prototype.deserialize = function(x) { |
| 2248 if (Deserializer.isPrimitive(x)) return x; |
| 2249 this._deserialized = new HashMapImplementation(); |
| 2250 return this._deserializeHelper(x); |
| 2251 } |
| 2252 Deserializer.prototype._deserializeHelper = function(x) { |
| 2253 if (Deserializer.isPrimitive(x)) return x; |
| 2254 switch (x.$index((0))) { |
| 2255 case "ref": |
| 2256 |
| 2257 return this._deserializeRef(x); |
| 2258 |
| 2259 case "list": |
| 2260 |
| 2261 return this._deserializeList(x); |
| 2262 |
| 2263 case "map": |
| 2264 |
| 2265 return this._deserializeMap(x); |
| 2266 |
| 2267 case "sendport": |
| 2268 |
| 2269 return this._deserializeSendPort(x); |
| 2270 |
| 2271 default: |
| 2272 |
| 2273 $throw("Unexpected serialized object"); |
| 2274 |
| 2275 } |
| 2276 } |
| 2277 Deserializer.prototype._deserializeRef = function(x) { |
| 2278 var id = x.$index((1)); |
| 2279 var result = this._deserialized.$index(id); |
| 2280 return result; |
| 2281 } |
| 2282 Deserializer.prototype._deserializeList = function(x) { |
| 2283 var id = x.$index((1)); |
| 2284 var dartList = x.$index((2)); |
| 2285 this._deserialized.$setindex(id, dartList); |
| 2286 var len = dartList.get$length(); |
| 2287 for (var i = (0); |
| 2288 i < len; i++) { |
| 2289 dartList.$setindex(i, this._deserializeHelper(dartList.$index(i))); |
| 2290 } |
| 2291 return dartList; |
| 2292 } |
| 2293 Deserializer.prototype._deserializeMap = function(x) { |
| 2294 var result = new HashMapImplementation(); |
| 2295 var id = x.$index((1)); |
| 2296 this._deserialized.$setindex(id, result); |
| 2297 var keys = x.$index((2)); |
| 2298 var values = x.$index((3)); |
| 2299 var len = keys.get$length(); |
| 2300 for (var i = (0); |
| 2301 i < len; i++) { |
| 2302 var key = this._deserializeHelper(keys.$index(i)); |
| 2303 var value = this._deserializeHelper(values.$index(i)); |
| 2304 result.$setindex(key, value); |
| 2305 } |
| 2306 return result; |
| 2307 } |
| 2308 Deserializer.prototype._deserializeSendPort = function(x) { |
| 2309 var workerId = x.$index((1)); |
| 2310 var isolateId = x.$index((2)); |
| 2311 var receivePortId = x.$index((3)); |
| 2312 return new SendPortImpl(workerId, isolateId, receivePortId); |
| 2313 } |
| 2314 // ********** Code for _ArgumentMismatchException ************** |
| 2315 $inherits(_ArgumentMismatchException, ClosureArgumentMismatchException); |
| 2316 function _ArgumentMismatchException(_message) { |
| 2317 this._dart_coreimpl_message = _message; |
| 2318 ClosureArgumentMismatchException.call(this); |
| 2319 } |
| 2320 _ArgumentMismatchException.prototype.toString = function() { |
| 2321 return ("Closure argument mismatch: " + this._dart_coreimpl_message); |
| 2322 } |
| 2323 _ArgumentMismatchException.prototype.toString$0 = _ArgumentMismatchException.pro
totype.toString; |
| 2324 // ********** Code for _FunctionImplementation ************** |
| 2325 _FunctionImplementation = Function; |
| 2326 _FunctionImplementation.prototype._genStub = function(argsLength, names) { |
| 2327 // Fast path #1: if no named arguments and arg count matches |
| 2328 if (this.length == argsLength && !names) { |
| 2329 return this; |
| 2330 } |
| 2331 |
| 2332 var paramsNamed = this.$optional ? (this.$optional.length / 2) : 0; |
| 2333 var paramsBare = this.length - paramsNamed; |
| 2334 var argsNamed = names ? names.length : 0; |
| 2335 var argsBare = argsLength - argsNamed; |
| 2336 |
| 2337 // Check we got the right number of arguments |
| 2338 if (argsBare < paramsBare || argsLength > this.length || |
| 2339 argsNamed > paramsNamed) { |
| 2340 return function() { |
| 2341 $throw(new _ArgumentMismatchException( |
| 2342 'Wrong number of arguments to function. Expected ' + paramsBare + |
| 2343 ' positional arguments and at most ' + paramsNamed + |
| 2344 ' named arguments, but got ' + argsBare + |
| 2345 ' positional arguments and ' + argsNamed + ' named arguments.')); |
| 2346 }; |
| 2347 } |
| 2348 |
| 2349 // First, fill in all of the default values |
| 2350 var p = new Array(paramsBare); |
| 2351 if (paramsNamed) { |
| 2352 p = p.concat(this.$optional.slice(paramsNamed)); |
| 2353 } |
| 2354 // Fill in positional args |
| 2355 var a = new Array(argsLength); |
| 2356 for (var i = 0; i < argsBare; i++) { |
| 2357 p[i] = a[i] = '$' + i; |
| 2358 } |
| 2359 // Then overwrite with supplied values for optional args |
| 2360 var lastParameterIndex; |
| 2361 var namesInOrder = true; |
| 2362 for (var i = 0; i < argsNamed; i++) { |
| 2363 var name = names[i]; |
| 2364 a[i + argsBare] = name; |
| 2365 var j = this.$optional.indexOf(name); |
| 2366 if (j < 0 || j >= paramsNamed) { |
| 2367 return function() { |
| 2368 $throw(new _ArgumentMismatchException( |
| 2369 'Named argument "' + name + '" was not expected by function.' + |
| 2370 ' Did you forget to mark the function parameter [optional]?')); |
| 2371 }; |
| 2372 } else if (lastParameterIndex && lastParameterIndex > j) { |
| 2373 namesInOrder = false; |
| 2374 } |
| 2375 p[j + paramsBare] = name; |
| 2376 lastParameterIndex = j; |
| 2377 } |
| 2378 |
| 2379 if (this.length == argsLength && namesInOrder) { |
| 2380 // Fast path #2: named arguments, but they're in order and all supplied. |
| 2381 return this; |
| 2382 } |
| 2383 |
| 2384 // Note: using Function instead of 'eval' to get a clean scope. |
| 2385 // TODO(jmesserly): evaluate the performance of these stubs. |
| 2386 var f = 'function(' + a.join(',') + '){return $f(' + p.join(',') + ');}'; |
| 2387 return new Function('$f', 'return ' + f + '').call(null, this); |
| 2388 |
| 2389 } |
| 2390 // ********** Code for top level ************** |
| 2391 function _map(itemsAndKeys) { |
| 2392 var ret = new LinkedHashMapImplementation(); |
| 2393 for (var i = (0); |
| 2394 i < itemsAndKeys.get$length(); ) { |
| 2395 ret.$setindex(itemsAndKeys.$index(i++), itemsAndKeys.$index(i++)); |
| 2396 } |
| 2397 return ret; |
| 2398 } |
| 2399 function _constMap(itemsAndKeys) { |
| 2400 return new ImmutableMap(itemsAndKeys); |
| 2401 } |
| 2402 function get$_globalState() { |
| 2403 return $globalState; |
| 2404 } |
| 2405 function set$_globalState(val) { |
| 2406 $globalState = val; |
| 2407 } |
| 2408 function startRootIsolate(entry) { |
| 2409 set$_globalState(new GlobalState()); |
| 2410 if (get$_globalState().isWorker) return; |
| 2411 var rootContext = new IsolateContext(); |
| 2412 get$_globalState().rootContext = rootContext; |
| 2413 _fillStatics(rootContext); |
| 2414 get$_globalState().currentContext = rootContext; |
| 2415 rootContext.eval$1(entry); |
| 2416 get$_globalState().topEventLoop.run(); |
| 2417 } |
| 2418 function _fillStatics(context) { |
| 2419 $globals = context.isolateStatics; |
| 2420 $static_init(); |
| 2421 } |
| 2422 function _serializeMessage(message) { |
| 2423 if (get$_globalState().get$needSerialization()) { |
| 2424 return new Serializer().traverse(message); |
| 2425 } |
| 2426 else { |
| 2427 return new Copier().traverse(message); |
| 2428 } |
| 2429 } |
| 2430 function _deserializeMessage(message) { |
| 2431 if (get$_globalState().get$needSerialization()) { |
| 2432 return new Deserializer().deserialize(message); |
| 2433 } |
| 2434 else { |
| 2435 return message; |
| 2436 } |
| 2437 } |
| 2438 // ********** Library dom ************** |
| 2439 // ********** Code for Window ************** |
| 2440 // ********** Code for AbstractWorker ************** |
| 2441 $dynamic("get$dartObjectLocalStorage").AbstractWorker = function() { return this
.dartObjectLocalStorage; }; |
| 2442 $dynamic("set$dartObjectLocalStorage").AbstractWorker = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2443 $dynamic("addEventListener$3").AbstractWorker = function($0, $1, $2) { |
| 2444 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2445 }; |
| 2446 $dynamic("removeEventListener$3").AbstractWorker = function($0, $1, $2) { |
| 2447 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2448 }; |
| 2449 // ********** Code for ArrayBuffer ************** |
| 2450 $dynamic("get$dartObjectLocalStorage").ArrayBuffer = function() { return this.da
rtObjectLocalStorage; }; |
| 2451 $dynamic("set$dartObjectLocalStorage").ArrayBuffer = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 2452 // ********** Code for ArrayBufferView ************** |
| 2453 $dynamic("get$dartObjectLocalStorage").ArrayBufferView = function() { return thi
s.dartObjectLocalStorage; }; |
| 2454 $dynamic("set$dartObjectLocalStorage").ArrayBufferView = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 2455 // ********** Code for dom_Attr ************** |
| 2456 $dynamic("get$name").Attr = function() { return this.name; }; |
| 2457 $dynamic("set$name").Attr = function(value) { return this.name = value; }; |
| 2458 $dynamic("get$value").Attr = function() { return this.value; }; |
| 2459 $dynamic("set$value").Attr = function(value) { return this.value = value; }; |
| 2460 // ********** Code for AudioBuffer ************** |
| 2461 $dynamic("get$length").AudioBuffer = function() { return this.length; }; |
| 2462 $dynamic("set$length").AudioBuffer = function(value) { return this.length = valu
e; }; |
| 2463 $dynamic("get$dartObjectLocalStorage").AudioBuffer = function() { return this.da
rtObjectLocalStorage; }; |
| 2464 $dynamic("set$dartObjectLocalStorage").AudioBuffer = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 2465 // ********** Code for AudioBufferSourceNode ************** |
| 2466 // ********** Code for AudioChannelMerger ************** |
| 2467 // ********** Code for AudioChannelSplitter ************** |
| 2468 // ********** Code for AudioContext ************** |
| 2469 $dynamic("get$dartObjectLocalStorage").AudioContext = function() { return this.d
artObjectLocalStorage; }; |
| 2470 $dynamic("set$dartObjectLocalStorage").AudioContext = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 2471 // ********** Code for AudioDestinationNode ************** |
| 2472 // ********** Code for AudioGain ************** |
| 2473 // ********** Code for AudioGainNode ************** |
| 2474 // ********** Code for AudioListener ************** |
| 2475 $dynamic("get$dartObjectLocalStorage").AudioListener = function() { return this.
dartObjectLocalStorage; }; |
| 2476 $dynamic("set$dartObjectLocalStorage").AudioListener = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2477 // ********** Code for AudioNode ************** |
| 2478 $dynamic("get$dartObjectLocalStorage").AudioNode = function() { return this.dart
ObjectLocalStorage; }; |
| 2479 $dynamic("set$dartObjectLocalStorage").AudioNode = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 2480 // ********** Code for AudioPannerNode ************** |
| 2481 // ********** Code for AudioParam ************** |
| 2482 $dynamic("get$name").AudioParam = function() { return this.name; }; |
| 2483 $dynamic("set$name").AudioParam = function(value) { return this.name = value; }; |
| 2484 $dynamic("get$value").AudioParam = function() { return this.value; }; |
| 2485 $dynamic("set$value").AudioParam = function(value) { return this.value = value;
}; |
| 2486 $dynamic("get$dartObjectLocalStorage").AudioParam = function() { return this.dar
tObjectLocalStorage; }; |
| 2487 $dynamic("set$dartObjectLocalStorage").AudioParam = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 2488 // ********** Code for AudioProcessingEvent ************** |
| 2489 // ********** Code for AudioSourceNode ************** |
| 2490 // ********** Code for BarInfo ************** |
| 2491 $dynamic("get$dartObjectLocalStorage").BarInfo = function() { return this.dartOb
jectLocalStorage; }; |
| 2492 $dynamic("set$dartObjectLocalStorage").BarInfo = function(value) { return this.d
artObjectLocalStorage = value; }; |
| 2493 // ********** Code for BeforeLoadEvent ************** |
| 2494 // ********** Code for BiquadFilterNode ************** |
| 2495 // ********** Code for Blob ************** |
| 2496 $dynamic("get$dartObjectLocalStorage").Blob = function() { return this.dartObjec
tLocalStorage; }; |
| 2497 $dynamic("set$dartObjectLocalStorage").Blob = function(value) { return this.dart
ObjectLocalStorage = value; }; |
| 2498 // ********** Code for CDATASection ************** |
| 2499 // ********** Code for CSSCharsetRule ************** |
| 2500 // ********** Code for CSSFontFaceRule ************** |
| 2501 // ********** Code for CSSImportRule ************** |
| 2502 // ********** Code for CSSMediaRule ************** |
| 2503 // ********** Code for CSSPageRule ************** |
| 2504 // ********** Code for CSSPrimitiveValue ************** |
| 2505 // ********** Code for CSSRule ************** |
| 2506 $dynamic("get$dartObjectLocalStorage").CSSRule = function() { return this.dartOb
jectLocalStorage; }; |
| 2507 $dynamic("set$dartObjectLocalStorage").CSSRule = function(value) { return this.d
artObjectLocalStorage = value; }; |
| 2508 // ********** Code for CSSRuleList ************** |
| 2509 $dynamic("get$length").CSSRuleList = function() { return this.length; }; |
| 2510 $dynamic("set$length").CSSRuleList = function(value) { return this.length = valu
e; }; |
| 2511 $dynamic("get$dartObjectLocalStorage").CSSRuleList = function() { return this.da
rtObjectLocalStorage; }; |
| 2512 $dynamic("set$dartObjectLocalStorage").CSSRuleList = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 2513 $dynamic("item$1").CSSRuleList = function($0) { |
| 2514 return this.item($0); |
| 2515 }; |
| 2516 // ********** Code for CSSStyleDeclaration ************** |
| 2517 $dynamic("get$length").CSSStyleDeclaration = function() { return this.length; }; |
| 2518 $dynamic("set$length").CSSStyleDeclaration = function(value) { return this.lengt
h = value; }; |
| 2519 $dynamic("get$dartObjectLocalStorage").CSSStyleDeclaration = function() { return
this.dartObjectLocalStorage; }; |
| 2520 $dynamic("set$dartObjectLocalStorage").CSSStyleDeclaration = function(value) { r
eturn this.dartObjectLocalStorage = value; }; |
| 2521 $dynamic("item$1").CSSStyleDeclaration = function($0) { |
| 2522 return this.item($0); |
| 2523 }; |
| 2524 // ********** Code for CSSStyleRule ************** |
| 2525 // ********** Code for CSSStyleSheet ************** |
| 2526 // ********** Code for CSSUnknownRule ************** |
| 2527 // ********** Code for CSSValue ************** |
| 2528 $dynamic("get$dartObjectLocalStorage").CSSValue = function() { return this.dartO
bjectLocalStorage; }; |
| 2529 $dynamic("set$dartObjectLocalStorage").CSSValue = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 2530 // ********** Code for CSSValueList ************** |
| 2531 $dynamic("get$length").CSSValueList = function() { return this.length; }; |
| 2532 $dynamic("set$length").CSSValueList = function(value) { return this.length = val
ue; }; |
| 2533 $dynamic("item$1").CSSValueList = function($0) { |
| 2534 return this.item($0); |
| 2535 }; |
| 2536 // ********** Code for CanvasGradient ************** |
| 2537 $dynamic("get$dartObjectLocalStorage").CanvasGradient = function() { return this
.dartObjectLocalStorage; }; |
| 2538 $dynamic("set$dartObjectLocalStorage").CanvasGradient = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2539 // ********** Code for CanvasPattern ************** |
| 2540 $dynamic("get$dartObjectLocalStorage").CanvasPattern = function() { return this.
dartObjectLocalStorage; }; |
| 2541 $dynamic("set$dartObjectLocalStorage").CanvasPattern = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2542 // ********** Code for CanvasPixelArray ************** |
| 2543 $dynamic("get$length").CanvasPixelArray = function() { return this.length; }; |
| 2544 $dynamic("set$length").CanvasPixelArray = function(value) { return this.length =
value; }; |
| 2545 $dynamic("get$dartObjectLocalStorage").CanvasPixelArray = function() { return th
is.dartObjectLocalStorage; }; |
| 2546 $dynamic("set$dartObjectLocalStorage").CanvasPixelArray = function(value) { retu
rn this.dartObjectLocalStorage = value; }; |
| 2547 // ********** Code for CanvasRenderingContext ************** |
| 2548 $dynamic("get$dartObjectLocalStorage").CanvasRenderingContext = function() { ret
urn this.dartObjectLocalStorage; }; |
| 2549 $dynamic("set$dartObjectLocalStorage").CanvasRenderingContext = function(value)
{ return this.dartObjectLocalStorage = value; }; |
| 2550 // ********** Code for CanvasRenderingContext2D ************** |
| 2551 // ********** Code for CharacterData ************** |
| 2552 $dynamic("get$length").CharacterData = function() { return this.length; }; |
| 2553 $dynamic("set$length").CharacterData = function(value) { return this.length = va
lue; }; |
| 2554 // ********** Code for ClientRect ************** |
| 2555 $dynamic("get$dartObjectLocalStorage").ClientRect = function() { return this.dar
tObjectLocalStorage; }; |
| 2556 $dynamic("set$dartObjectLocalStorage").ClientRect = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 2557 // ********** Code for ClientRectList ************** |
| 2558 $dynamic("get$length").ClientRectList = function() { return this.length; }; |
| 2559 $dynamic("set$length").ClientRectList = function(value) { return this.length = v
alue; }; |
| 2560 $dynamic("get$dartObjectLocalStorage").ClientRectList = function() { return this
.dartObjectLocalStorage; }; |
| 2561 $dynamic("set$dartObjectLocalStorage").ClientRectList = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2562 $dynamic("item$1").ClientRectList = function($0) { |
| 2563 return this.item($0); |
| 2564 }; |
| 2565 // ********** Code for Clipboard ************** |
| 2566 $dynamic("get$dartObjectLocalStorage").Clipboard = function() { return this.dart
ObjectLocalStorage; }; |
| 2567 $dynamic("set$dartObjectLocalStorage").Clipboard = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 2568 // ********** Code for CloseEvent ************** |
| 2569 // ********** Code for Comment ************** |
| 2570 // ********** Code for CompositionEvent ************** |
| 2571 // ********** Code for Console ************** |
| 2572 Console = (typeof console == 'undefined' ? {} : console); |
| 2573 Console.get$dartObjectLocalStorage = function() { return this.dartObjectLocalSto
rage; }; |
| 2574 Console.set$dartObjectLocalStorage = function(value) { return this.dartObjectLoc
alStorage = value; }; |
| 2575 // ********** Code for ConvolverNode ************** |
| 2576 // ********** Code for Coordinates ************** |
| 2577 $dynamic("get$dartObjectLocalStorage").Coordinates = function() { return this.da
rtObjectLocalStorage; }; |
| 2578 $dynamic("set$dartObjectLocalStorage").Coordinates = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 2579 // ********** Code for Counter ************** |
| 2580 $dynamic("get$dartObjectLocalStorage").Counter = function() { return this.dartOb
jectLocalStorage; }; |
| 2581 $dynamic("set$dartObjectLocalStorage").Counter = function(value) { return this.d
artObjectLocalStorage = value; }; |
| 2582 // ********** Code for Crypto ************** |
| 2583 $dynamic("get$dartObjectLocalStorage").Crypto = function() { return this.dartObj
ectLocalStorage; }; |
| 2584 $dynamic("set$dartObjectLocalStorage").Crypto = function(value) { return this.da
rtObjectLocalStorage = value; }; |
| 2585 // ********** Code for CustomEvent ************** |
| 2586 // ********** Code for DOMApplicationCache ************** |
| 2587 $dynamic("get$dartObjectLocalStorage").DOMApplicationCache = function() { return
this.dartObjectLocalStorage; }; |
| 2588 $dynamic("set$dartObjectLocalStorage").DOMApplicationCache = function(value) { r
eturn this.dartObjectLocalStorage = value; }; |
| 2589 $dynamic("addEventListener$3").DOMApplicationCache = function($0, $1, $2) { |
| 2590 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2591 }; |
| 2592 $dynamic("removeEventListener$3").DOMApplicationCache = function($0, $1, $2) { |
| 2593 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2594 }; |
| 2595 // ********** Code for DOMException ************** |
| 2596 $dynamic("get$name").DOMException = function() { return this.name; }; |
| 2597 $dynamic("set$name").DOMException = function(value) { return this.name = value;
}; |
| 2598 $dynamic("get$dartObjectLocalStorage").DOMException = function() { return this.d
artObjectLocalStorage; }; |
| 2599 $dynamic("set$dartObjectLocalStorage").DOMException = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 2600 $dynamic("toString$0").DOMException = function() { |
| 2601 return this.toString(); |
| 2602 }; |
| 2603 // ********** Code for DOMFileSystem ************** |
| 2604 $dynamic("get$name").DOMFileSystem = function() { return this.name; }; |
| 2605 $dynamic("set$name").DOMFileSystem = function(value) { return this.name = value;
}; |
| 2606 $dynamic("get$dartObjectLocalStorage").DOMFileSystem = function() { return this.
dartObjectLocalStorage; }; |
| 2607 $dynamic("set$dartObjectLocalStorage").DOMFileSystem = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2608 // ********** Code for DOMFileSystemSync ************** |
| 2609 $dynamic("get$name").DOMFileSystemSync = function() { return this.name; }; |
| 2610 $dynamic("set$name").DOMFileSystemSync = function(value) { return this.name = va
lue; }; |
| 2611 $dynamic("get$dartObjectLocalStorage").DOMFileSystemSync = function() { return t
his.dartObjectLocalStorage; }; |
| 2612 $dynamic("set$dartObjectLocalStorage").DOMFileSystemSync = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 2613 // ********** Code for DOMFormData ************** |
| 2614 $dynamic("get$dartObjectLocalStorage").DOMFormData = function() { return this.da
rtObjectLocalStorage; }; |
| 2615 $dynamic("set$dartObjectLocalStorage").DOMFormData = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 2616 // ********** Code for dom_DOMImplementation ************** |
| 2617 $dynamic("get$dartObjectLocalStorage").DOMImplementation = function() { return t
his.dartObjectLocalStorage; }; |
| 2618 $dynamic("set$dartObjectLocalStorage").DOMImplementation = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 2619 // ********** Code for DOMMimeType ************** |
| 2620 $dynamic("get$dartObjectLocalStorage").DOMMimeType = function() { return this.da
rtObjectLocalStorage; }; |
| 2621 $dynamic("set$dartObjectLocalStorage").DOMMimeType = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 2622 // ********** Code for DOMMimeTypeArray ************** |
| 2623 $dynamic("get$length").DOMMimeTypeArray = function() { return this.length; }; |
| 2624 $dynamic("set$length").DOMMimeTypeArray = function(value) { return this.length =
value; }; |
| 2625 $dynamic("get$dartObjectLocalStorage").DOMMimeTypeArray = function() { return th
is.dartObjectLocalStorage; }; |
| 2626 $dynamic("set$dartObjectLocalStorage").DOMMimeTypeArray = function(value) { retu
rn this.dartObjectLocalStorage = value; }; |
| 2627 $dynamic("item$1").DOMMimeTypeArray = function($0) { |
| 2628 return this.item($0); |
| 2629 }; |
| 2630 // ********** Code for DOMParser ************** |
| 2631 $dynamic("get$dartObjectLocalStorage").DOMParser = function() { return this.dart
ObjectLocalStorage; }; |
| 2632 $dynamic("set$dartObjectLocalStorage").DOMParser = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 2633 // ********** Code for DOMPlugin ************** |
| 2634 $dynamic("get$length").DOMPlugin = function() { return this.length; }; |
| 2635 $dynamic("set$length").DOMPlugin = function(value) { return this.length = value;
}; |
| 2636 $dynamic("get$name").DOMPlugin = function() { return this.name; }; |
| 2637 $dynamic("set$name").DOMPlugin = function(value) { return this.name = value; }; |
| 2638 $dynamic("get$dartObjectLocalStorage").DOMPlugin = function() { return this.dart
ObjectLocalStorage; }; |
| 2639 $dynamic("set$dartObjectLocalStorage").DOMPlugin = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 2640 $dynamic("item$1").DOMPlugin = function($0) { |
| 2641 return this.item($0); |
| 2642 }; |
| 2643 // ********** Code for DOMPluginArray ************** |
| 2644 $dynamic("get$length").DOMPluginArray = function() { return this.length; }; |
| 2645 $dynamic("set$length").DOMPluginArray = function(value) { return this.length = v
alue; }; |
| 2646 $dynamic("get$dartObjectLocalStorage").DOMPluginArray = function() { return this
.dartObjectLocalStorage; }; |
| 2647 $dynamic("set$dartObjectLocalStorage").DOMPluginArray = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2648 $dynamic("item$1").DOMPluginArray = function($0) { |
| 2649 return this.item($0); |
| 2650 }; |
| 2651 // ********** Code for DOMSelection ************** |
| 2652 $dynamic("get$dartObjectLocalStorage").DOMSelection = function() { return this.d
artObjectLocalStorage; }; |
| 2653 $dynamic("set$dartObjectLocalStorage").DOMSelection = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 2654 $dynamic("toString$0").DOMSelection = function() { |
| 2655 return this.toString(); |
| 2656 }; |
| 2657 // ********** Code for DOMSettableTokenList ************** |
| 2658 $dynamic("get$value").DOMSettableTokenList = function() { return this.value; }; |
| 2659 $dynamic("set$value").DOMSettableTokenList = function(value) { return this.value
= value; }; |
| 2660 // ********** Code for DOMTokenList ************** |
| 2661 $dynamic("get$length").DOMTokenList = function() { return this.length; }; |
| 2662 $dynamic("set$length").DOMTokenList = function(value) { return this.length = val
ue; }; |
| 2663 $dynamic("get$dartObjectLocalStorage").DOMTokenList = function() { return this.d
artObjectLocalStorage; }; |
| 2664 $dynamic("set$dartObjectLocalStorage").DOMTokenList = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 2665 $dynamic("add$1").DOMTokenList = function($0) { |
| 2666 return this.add($0); |
| 2667 }; |
| 2668 $dynamic("item$1").DOMTokenList = function($0) { |
| 2669 return this.item($0); |
| 2670 }; |
| 2671 $dynamic("remove$1").DOMTokenList = function($0) { |
| 2672 return this.remove($0); |
| 2673 }; |
| 2674 $dynamic("toString$0").DOMTokenList = function() { |
| 2675 return this.toString(); |
| 2676 }; |
| 2677 // ********** Code for DOMURL ************** |
| 2678 $dynamic("get$dartObjectLocalStorage").DOMURL = function() { return this.dartObj
ectLocalStorage; }; |
| 2679 $dynamic("set$dartObjectLocalStorage").DOMURL = function(value) { return this.da
rtObjectLocalStorage = value; }; |
| 2680 // ********** Code for dom_DOMWindow ************** |
| 2681 $dynamic("get$length").DOMWindow = function() { return this.length; }; |
| 2682 $dynamic("set$length").DOMWindow = function(value) { return this.length = value;
}; |
| 2683 $dynamic("get$name").DOMWindow = function() { return this.name; }; |
| 2684 $dynamic("set$name").DOMWindow = function(value) { return this.name = value; }; |
| 2685 $dynamic("get$dartObjectLocalStorage").DOMWindow = function() { return this.dart
ObjectLocalStorage; }; |
| 2686 $dynamic("set$dartObjectLocalStorage").DOMWindow = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 2687 $dynamic("addEventListener$3").DOMWindow = function($0, $1, $2) { |
| 2688 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2689 }; |
| 2690 $dynamic("postMessage$2").DOMWindow = function($0, $1) { |
| 2691 return this.postMessage($0, $1); |
| 2692 }; |
| 2693 $dynamic("postMessage$3").DOMWindow = function($0, $1, $2) { |
| 2694 return this.postMessage($0, $1, $2); |
| 2695 }; |
| 2696 $dynamic("removeEventListener$3").DOMWindow = function($0, $1, $2) { |
| 2697 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2698 }; |
| 2699 $dynamic("setTimeout$2").DOMWindow = function($0, $1) { |
| 2700 return this.setTimeout($wrap_call$0(to$call$0($0)), $1); |
| 2701 }; |
| 2702 // ********** Code for DataTransferItem ************** |
| 2703 $dynamic("get$dartObjectLocalStorage").DataTransferItem = function() { return th
is.dartObjectLocalStorage; }; |
| 2704 $dynamic("set$dartObjectLocalStorage").DataTransferItem = function(value) { retu
rn this.dartObjectLocalStorage = value; }; |
| 2705 // ********** Code for DataTransferItemList ************** |
| 2706 $dynamic("get$length").DataTransferItemList = function() { return this.length; }
; |
| 2707 $dynamic("set$length").DataTransferItemList = function(value) { return this.leng
th = value; }; |
| 2708 $dynamic("get$clear").DataTransferItemList = function() { |
| 2709 return this.clear.bind(this); |
| 2710 } |
| 2711 $dynamic("get$dartObjectLocalStorage").DataTransferItemList = function() { retur
n this.dartObjectLocalStorage; }; |
| 2712 $dynamic("set$dartObjectLocalStorage").DataTransferItemList = function(value) {
return this.dartObjectLocalStorage = value; }; |
| 2713 $dynamic("add$2").DataTransferItemList = function($0, $1) { |
| 2714 return this.add($0, $1); |
| 2715 }; |
| 2716 $dynamic("clear$0").DataTransferItemList = function() { |
| 2717 return this.clear(); |
| 2718 }; |
| 2719 $dynamic("item$1").DataTransferItemList = function($0) { |
| 2720 return this.item($0); |
| 2721 }; |
| 2722 // ********** Code for DataView ************** |
| 2723 // ********** Code for dom_Database ************** |
| 2724 $dynamic("get$dartObjectLocalStorage").Database = function() { return this.dartO
bjectLocalStorage; }; |
| 2725 $dynamic("set$dartObjectLocalStorage").Database = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 2726 // ********** Code for dom_DatabaseSync ************** |
| 2727 $dynamic("get$dartObjectLocalStorage").DatabaseSync = function() { return this.d
artObjectLocalStorage; }; |
| 2728 $dynamic("set$dartObjectLocalStorage").DatabaseSync = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 2729 // ********** Code for dom_DedicatedWorkerContext ************** |
| 2730 $dynamic("get$onmessage").DedicatedWorkerContext = function() { return this.onme
ssage; }; |
| 2731 $dynamic("set$onmessage").DedicatedWorkerContext = function(value) { return this
.onmessage = value; }; |
| 2732 $dynamic("postMessage$1").DedicatedWorkerContext = function($0) { |
| 2733 return this.postMessage($0); |
| 2734 }; |
| 2735 $dynamic("postMessage$2").DedicatedWorkerContext = function($0, $1) { |
| 2736 return this.postMessage($0, $1); |
| 2737 }; |
| 2738 // ********** Code for DelayNode ************** |
| 2739 // ********** Code for DeviceMotionEvent ************** |
| 2740 // ********** Code for DeviceOrientationEvent ************** |
| 2741 // ********** Code for DirectoryEntry ************** |
| 2742 // ********** Code for DirectoryEntrySync ************** |
| 2743 // ********** Code for DirectoryReader ************** |
| 2744 $dynamic("get$dartObjectLocalStorage").DirectoryReader = function() { return thi
s.dartObjectLocalStorage; }; |
| 2745 $dynamic("set$dartObjectLocalStorage").DirectoryReader = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 2746 // ********** Code for DirectoryReaderSync ************** |
| 2747 $dynamic("get$dartObjectLocalStorage").DirectoryReaderSync = function() { return
this.dartObjectLocalStorage; }; |
| 2748 $dynamic("set$dartObjectLocalStorage").DirectoryReaderSync = function(value) { r
eturn this.dartObjectLocalStorage = value; }; |
| 2749 // ********** Code for Document ************** |
| 2750 $dynamic("get$documentElement").Document = function() { return this.documentElem
ent; }; |
| 2751 $dynamic("set$documentElement").Document = function(value) { return this.documen
tElement = value; }; |
| 2752 $dynamic("get$readyState").Document = function() { return this.readyState; }; |
| 2753 $dynamic("set$readyState").Document = function(value) { return this.readyState =
value; }; |
| 2754 $dynamic("querySelector$1").Document = function($0) { |
| 2755 return this.querySelector($0); |
| 2756 }; |
| 2757 $dynamic("querySelectorAll$1").Document = function($0) { |
| 2758 return this.querySelectorAll($0); |
| 2759 }; |
| 2760 // ********** Code for DocumentFragment ************** |
| 2761 $dynamic("querySelector$1").DocumentFragment = function($0) { |
| 2762 return this.querySelector($0); |
| 2763 }; |
| 2764 $dynamic("querySelectorAll$1").DocumentFragment = function($0) { |
| 2765 return this.querySelectorAll($0); |
| 2766 }; |
| 2767 // ********** Code for dom_DocumentType ************** |
| 2768 $dynamic("get$name").DocumentType = function() { return this.name; }; |
| 2769 $dynamic("set$name").DocumentType = function(value) { return this.name = value;
}; |
| 2770 // ********** Code for DynamicsCompressorNode ************** |
| 2771 // ********** Code for Element ************** |
| 2772 $dynamic("get$firstElementChild").Element = function() { return this.firstElemen
tChild; }; |
| 2773 $dynamic("set$firstElementChild").Element = function(value) { return this.firstE
lementChild = value; }; |
| 2774 $dynamic("get$lastElementChild").Element = function() { return this.lastElementC
hild; }; |
| 2775 $dynamic("set$lastElementChild").Element = function(value) { return this.lastEle
mentChild = value; }; |
| 2776 $dynamic("getAttribute$1").Element = function($0) { |
| 2777 return this.getAttribute($0); |
| 2778 }; |
| 2779 $dynamic("hasAttribute$1").Element = function($0) { |
| 2780 return this.hasAttribute($0); |
| 2781 }; |
| 2782 $dynamic("querySelector$1").Element = function($0) { |
| 2783 return this.querySelector($0); |
| 2784 }; |
| 2785 $dynamic("querySelectorAll$1").Element = function($0) { |
| 2786 return this.querySelectorAll($0); |
| 2787 }; |
| 2788 $dynamic("removeAttribute$1").Element = function($0) { |
| 2789 return this.removeAttribute($0); |
| 2790 }; |
| 2791 $dynamic("setAttribute$2").Element = function($0, $1) { |
| 2792 return this.setAttribute($0, $1); |
| 2793 }; |
| 2794 // ********** Code for ElementTimeControl ************** |
| 2795 $dynamic("get$dartObjectLocalStorage").ElementTimeControl = function() { return
this.dartObjectLocalStorage; }; |
| 2796 $dynamic("set$dartObjectLocalStorage").ElementTimeControl = function(value) { re
turn this.dartObjectLocalStorage = value; }; |
| 2797 // ********** Code for dom_ElementTraversal ************** |
| 2798 $dynamic("get$firstElementChild").ElementTraversal = function() { return this.fi
rstElementChild; }; |
| 2799 $dynamic("set$firstElementChild").ElementTraversal = function(value) { return th
is.firstElementChild = value; }; |
| 2800 $dynamic("get$lastElementChild").ElementTraversal = function() { return this.las
tElementChild; }; |
| 2801 $dynamic("set$lastElementChild").ElementTraversal = function(value) { return thi
s.lastElementChild = value; }; |
| 2802 $dynamic("get$dartObjectLocalStorage").ElementTraversal = function() { return th
is.dartObjectLocalStorage; }; |
| 2803 $dynamic("set$dartObjectLocalStorage").ElementTraversal = function(value) { retu
rn this.dartObjectLocalStorage = value; }; |
| 2804 // ********** Code for Entity ************** |
| 2805 // ********** Code for EntityReference ************** |
| 2806 // ********** Code for Entry ************** |
| 2807 $dynamic("get$name").Entry = function() { return this.name; }; |
| 2808 $dynamic("set$name").Entry = function(value) { return this.name = value; }; |
| 2809 $dynamic("get$dartObjectLocalStorage").Entry = function() { return this.dartObje
ctLocalStorage; }; |
| 2810 $dynamic("set$dartObjectLocalStorage").Entry = function(value) { return this.dar
tObjectLocalStorage = value; }; |
| 2811 $dynamic("remove$1").Entry = function($0) { |
| 2812 return this.remove($wrap_call$0(to$call$0($0)), $wrap_call$1(to$call$1(null)))
; |
| 2813 }; |
| 2814 // ********** Code for EntryArray ************** |
| 2815 $dynamic("get$length").EntryArray = function() { return this.length; }; |
| 2816 $dynamic("set$length").EntryArray = function(value) { return this.length = value
; }; |
| 2817 $dynamic("get$dartObjectLocalStorage").EntryArray = function() { return this.dar
tObjectLocalStorage; }; |
| 2818 $dynamic("set$dartObjectLocalStorage").EntryArray = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 2819 $dynamic("item$1").EntryArray = function($0) { |
| 2820 return this.item($0); |
| 2821 }; |
| 2822 // ********** Code for EntryArraySync ************** |
| 2823 $dynamic("get$length").EntryArraySync = function() { return this.length; }; |
| 2824 $dynamic("set$length").EntryArraySync = function(value) { return this.length = v
alue; }; |
| 2825 $dynamic("get$dartObjectLocalStorage").EntryArraySync = function() { return this
.dartObjectLocalStorage; }; |
| 2826 $dynamic("set$dartObjectLocalStorage").EntryArraySync = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2827 $dynamic("item$1").EntryArraySync = function($0) { |
| 2828 return this.item($0); |
| 2829 }; |
| 2830 // ********** Code for EntrySync ************** |
| 2831 $dynamic("get$name").EntrySync = function() { return this.name; }; |
| 2832 $dynamic("set$name").EntrySync = function(value) { return this.name = value; }; |
| 2833 $dynamic("get$dartObjectLocalStorage").EntrySync = function() { return this.dart
ObjectLocalStorage; }; |
| 2834 $dynamic("set$dartObjectLocalStorage").EntrySync = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 2835 $dynamic("remove$0").EntrySync = function() { |
| 2836 return this.remove(); |
| 2837 }; |
| 2838 // ********** Code for ErrorEvent ************** |
| 2839 // ********** Code for Event ************** |
| 2840 $dynamic("get$currentTarget").Event = function() { return this.currentTarget; }; |
| 2841 $dynamic("set$currentTarget").Event = function(value) { return this.currentTarge
t = value; }; |
| 2842 $dynamic("get$dartObjectLocalStorage").Event = function() { return this.dartObje
ctLocalStorage; }; |
| 2843 $dynamic("set$dartObjectLocalStorage").Event = function(value) { return this.dar
tObjectLocalStorage = value; }; |
| 2844 // ********** Code for EventException ************** |
| 2845 $dynamic("get$name").EventException = function() { return this.name; }; |
| 2846 $dynamic("set$name").EventException = function(value) { return this.name = value
; }; |
| 2847 $dynamic("get$dartObjectLocalStorage").EventException = function() { return this
.dartObjectLocalStorage; }; |
| 2848 $dynamic("set$dartObjectLocalStorage").EventException = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2849 $dynamic("toString$0").EventException = function() { |
| 2850 return this.toString(); |
| 2851 }; |
| 2852 // ********** Code for EventSource ************** |
| 2853 $dynamic("get$readyState").EventSource = function() { return this.readyState; }; |
| 2854 $dynamic("set$readyState").EventSource = function(value) { return this.readyStat
e = value; }; |
| 2855 $dynamic("get$dartObjectLocalStorage").EventSource = function() { return this.da
rtObjectLocalStorage; }; |
| 2856 $dynamic("set$dartObjectLocalStorage").EventSource = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 2857 $dynamic("addEventListener$3").EventSource = function($0, $1, $2) { |
| 2858 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2859 }; |
| 2860 $dynamic("removeEventListener$3").EventSource = function($0, $1, $2) { |
| 2861 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2862 }; |
| 2863 // ********** Code for EventTarget ************** |
| 2864 $dynamic("get$dartObjectLocalStorage").EventTarget = function() { return this.da
rtObjectLocalStorage; }; |
| 2865 $dynamic("set$dartObjectLocalStorage").EventTarget = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 2866 $dynamic("addEventListener$3").EventTarget = function($0, $1, $2) { |
| 2867 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2868 }; |
| 2869 $dynamic("removeEventListener$3").EventTarget = function($0, $1, $2) { |
| 2870 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2871 }; |
| 2872 // ********** Code for File ************** |
| 2873 $dynamic("get$name").File = function() { return this.name; }; |
| 2874 $dynamic("set$name").File = function(value) { return this.name = value; }; |
| 2875 // ********** Code for FileEntry ************** |
| 2876 // ********** Code for FileEntrySync ************** |
| 2877 // ********** Code for FileError ************** |
| 2878 $dynamic("get$dartObjectLocalStorage").FileError = function() { return this.dart
ObjectLocalStorage; }; |
| 2879 $dynamic("set$dartObjectLocalStorage").FileError = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 2880 // ********** Code for FileException ************** |
| 2881 $dynamic("get$name").FileException = function() { return this.name; }; |
| 2882 $dynamic("set$name").FileException = function(value) { return this.name = value;
}; |
| 2883 $dynamic("get$dartObjectLocalStorage").FileException = function() { return this.
dartObjectLocalStorage; }; |
| 2884 $dynamic("set$dartObjectLocalStorage").FileException = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2885 $dynamic("toString$0").FileException = function() { |
| 2886 return this.toString(); |
| 2887 }; |
| 2888 // ********** Code for FileList ************** |
| 2889 $dynamic("get$length").FileList = function() { return this.length; }; |
| 2890 $dynamic("set$length").FileList = function(value) { return this.length = value;
}; |
| 2891 $dynamic("get$dartObjectLocalStorage").FileList = function() { return this.dartO
bjectLocalStorage; }; |
| 2892 $dynamic("set$dartObjectLocalStorage").FileList = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 2893 $dynamic("item$1").FileList = function($0) { |
| 2894 return this.item($0); |
| 2895 }; |
| 2896 // ********** Code for FileReader ************** |
| 2897 $dynamic("get$readyState").FileReader = function() { return this.readyState; }; |
| 2898 $dynamic("set$readyState").FileReader = function(value) { return this.readyState
= value; }; |
| 2899 $dynamic("get$dartObjectLocalStorage").FileReader = function() { return this.dar
tObjectLocalStorage; }; |
| 2900 $dynamic("set$dartObjectLocalStorage").FileReader = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 2901 $dynamic("addEventListener$3").FileReader = function($0, $1, $2) { |
| 2902 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2903 }; |
| 2904 $dynamic("removeEventListener$3").FileReader = function($0, $1, $2) { |
| 2905 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 2906 }; |
| 2907 // ********** Code for FileReaderSync ************** |
| 2908 $dynamic("get$dartObjectLocalStorage").FileReaderSync = function() { return this
.dartObjectLocalStorage; }; |
| 2909 $dynamic("set$dartObjectLocalStorage").FileReaderSync = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2910 // ********** Code for FileWriter ************** |
| 2911 $dynamic("get$length").FileWriter = function() { return this.length; }; |
| 2912 $dynamic("set$length").FileWriter = function(value) { return this.length = value
; }; |
| 2913 $dynamic("get$readyState").FileWriter = function() { return this.readyState; }; |
| 2914 $dynamic("set$readyState").FileWriter = function(value) { return this.readyState
= value; }; |
| 2915 $dynamic("get$dartObjectLocalStorage").FileWriter = function() { return this.dar
tObjectLocalStorage; }; |
| 2916 $dynamic("set$dartObjectLocalStorage").FileWriter = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 2917 // ********** Code for FileWriterSync ************** |
| 2918 $dynamic("get$length").FileWriterSync = function() { return this.length; }; |
| 2919 $dynamic("set$length").FileWriterSync = function(value) { return this.length = v
alue; }; |
| 2920 $dynamic("get$dartObjectLocalStorage").FileWriterSync = function() { return this
.dartObjectLocalStorage; }; |
| 2921 $dynamic("set$dartObjectLocalStorage").FileWriterSync = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2922 // ********** Code for Float32Array ************** |
| 2923 $dynamic("is$List").Float32Array = function(){return true}; |
| 2924 $dynamic("get$length").Float32Array = function() { return this.length; }; |
| 2925 $dynamic("set$length").Float32Array = function(value) { return this.length = val
ue; }; |
| 2926 // ********** Code for Float64Array ************** |
| 2927 $dynamic("is$List").Float64Array = function(){return true}; |
| 2928 $dynamic("get$length").Float64Array = function() { return this.length; }; |
| 2929 $dynamic("set$length").Float64Array = function(value) { return this.length = val
ue; }; |
| 2930 // ********** Code for Geolocation ************** |
| 2931 $dynamic("get$dartObjectLocalStorage").Geolocation = function() { return this.da
rtObjectLocalStorage; }; |
| 2932 $dynamic("set$dartObjectLocalStorage").Geolocation = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 2933 // ********** Code for Geoposition ************** |
| 2934 $dynamic("get$dartObjectLocalStorage").Geoposition = function() { return this.da
rtObjectLocalStorage; }; |
| 2935 $dynamic("set$dartObjectLocalStorage").Geoposition = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 2936 // ********** Code for HTMLAllCollection ************** |
| 2937 $dynamic("get$length").HTMLAllCollection = function() { return this.length; }; |
| 2938 $dynamic("set$length").HTMLAllCollection = function(value) { return this.length
= value; }; |
| 2939 $dynamic("get$dartObjectLocalStorage").HTMLAllCollection = function() { return t
his.dartObjectLocalStorage; }; |
| 2940 $dynamic("set$dartObjectLocalStorage").HTMLAllCollection = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 2941 $dynamic("item$1").HTMLAllCollection = function($0) { |
| 2942 return this.item($0); |
| 2943 }; |
| 2944 // ********** Code for dom_HTMLAnchorElement ************** |
| 2945 $dynamic("get$name").HTMLAnchorElement = function() { return this.name; }; |
| 2946 $dynamic("set$name").HTMLAnchorElement = function(value) { return this.name = va
lue; }; |
| 2947 $dynamic("get$text").HTMLAnchorElement = function() { return this.text; }; |
| 2948 $dynamic("set$text").HTMLAnchorElement = function(value) { return this.text = va
lue; }; |
| 2949 $dynamic("toString$0").HTMLAnchorElement = function() { |
| 2950 return this.toString(); |
| 2951 }; |
| 2952 // ********** Code for dom_HTMLAppletElement ************** |
| 2953 $dynamic("get$name").HTMLAppletElement = function() { return this.name; }; |
| 2954 $dynamic("set$name").HTMLAppletElement = function(value) { return this.name = va
lue; }; |
| 2955 // ********** Code for dom_HTMLAreaElement ************** |
| 2956 // ********** Code for dom_HTMLAudioElement ************** |
| 2957 // ********** Code for dom_HTMLBRElement ************** |
| 2958 $dynamic("get$clear").HTMLBRElement = function() { return this.clear; }; |
| 2959 $dynamic("set$clear").HTMLBRElement = function(value) { return this.clear = valu
e; }; |
| 2960 $dynamic("clear$0").HTMLBRElement = function() { |
| 2961 return this.clear.call$0(); |
| 2962 }; |
| 2963 // ********** Code for dom_HTMLBaseElement ************** |
| 2964 // ********** Code for dom_HTMLBaseFontElement ************** |
| 2965 // ********** Code for dom_HTMLBodyElement ************** |
| 2966 $dynamic("get$text").HTMLBodyElement = function() { return this.text; }; |
| 2967 $dynamic("set$text").HTMLBodyElement = function(value) { return this.text = valu
e; }; |
| 2968 // ********** Code for dom_HTMLButtonElement ************** |
| 2969 $dynamic("get$name").HTMLButtonElement = function() { return this.name; }; |
| 2970 $dynamic("set$name").HTMLButtonElement = function(value) { return this.name = va
lue; }; |
| 2971 $dynamic("get$value").HTMLButtonElement = function() { return this.value; }; |
| 2972 $dynamic("set$value").HTMLButtonElement = function(value) { return this.value =
value; }; |
| 2973 $dynamic("get$click").HTMLButtonElement = function() { |
| 2974 return this.click.bind(this); |
| 2975 } |
| 2976 $dynamic("click$0").HTMLButtonElement = function() { |
| 2977 return this.click(); |
| 2978 }; |
| 2979 // ********** Code for dom_HTMLCanvasElement ************** |
| 2980 // ********** Code for dom_HTMLCollection ************** |
| 2981 $dynamic("get$length").HTMLCollection = function() { return this.length; }; |
| 2982 $dynamic("set$length").HTMLCollection = function(value) { return this.length = v
alue; }; |
| 2983 $dynamic("$setindex").HTMLCollection = function(index, value) { |
| 2984 $throw(new UnsupportedOperationException("Cannot assign element of immutable L
ist.")); |
| 2985 } |
| 2986 $dynamic("get$dartObjectLocalStorage").HTMLCollection = function() { return this
.dartObjectLocalStorage; }; |
| 2987 $dynamic("set$dartObjectLocalStorage").HTMLCollection = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 2988 $dynamic("item$1").HTMLCollection = function($0) { |
| 2989 if (Object.getPrototypeOf(this).hasOwnProperty("item$1")) { |
| 2990 return this.item($0); |
| 2991 } |
| 2992 return Object.prototype.item$1.call(this, $0); |
| 2993 }; |
| 2994 // ********** Code for dom_HTMLDListElement ************** |
| 2995 // ********** Code for dom_HTMLDataListElement ************** |
| 2996 // ********** Code for dom_HTMLDetailsElement ************** |
| 2997 // ********** Code for dom_HTMLDirectoryElement ************** |
| 2998 // ********** Code for dom_HTMLDivElement ************** |
| 2999 // ********** Code for dom_HTMLDocument ************** |
| 3000 $dynamic("get$clear").HTMLDocument = function() { |
| 3001 return this.clear.bind(this); |
| 3002 } |
| 3003 $dynamic("clear$0").HTMLDocument = function() { |
| 3004 return this.clear(); |
| 3005 }; |
| 3006 // ********** Code for dom_HTMLElement ************** |
| 3007 $dynamic("get$children").HTMLElement = function() { return this.children; }; |
| 3008 $dynamic("set$children").HTMLElement = function(value) { return this.children =
value; }; |
| 3009 $dynamic("get$className").HTMLElement = function() { return this.className; }; |
| 3010 $dynamic("set$className").HTMLElement = function(value) { return this.className
= value; }; |
| 3011 $dynamic("get$id").HTMLElement = function() { return this.id; }; |
| 3012 $dynamic("set$id").HTMLElement = function(value) { return this.id = value; }; |
| 3013 $dynamic("get$innerHTML").HTMLElement = function() { return this.innerHTML; }; |
| 3014 $dynamic("set$innerHTML").HTMLElement = function(value) { return this.innerHTML
= value; }; |
| 3015 // ********** Code for dom_HTMLEmbedElement ************** |
| 3016 $dynamic("get$name").HTMLEmbedElement = function() { return this.name; }; |
| 3017 $dynamic("set$name").HTMLEmbedElement = function(value) { return this.name = val
ue; }; |
| 3018 // ********** Code for dom_HTMLFieldSetElement ************** |
| 3019 // ********** Code for dom_HTMLFontElement ************** |
| 3020 // ********** Code for dom_HTMLFormElement ************** |
| 3021 $dynamic("get$elements").HTMLFormElement = function() { return this.elements; }; |
| 3022 $dynamic("set$elements").HTMLFormElement = function(value) { return this.element
s = value; }; |
| 3023 $dynamic("get$length").HTMLFormElement = function() { return this.length; }; |
| 3024 $dynamic("set$length").HTMLFormElement = function(value) { return this.length =
value; }; |
| 3025 $dynamic("get$name").HTMLFormElement = function() { return this.name; }; |
| 3026 $dynamic("set$name").HTMLFormElement = function(value) { return this.name = valu
e; }; |
| 3027 // ********** Code for dom_HTMLFrameElement ************** |
| 3028 $dynamic("get$name").HTMLFrameElement = function() { return this.name; }; |
| 3029 $dynamic("set$name").HTMLFrameElement = function(value) { return this.name = val
ue; }; |
| 3030 // ********** Code for dom_HTMLFrameSetElement ************** |
| 3031 // ********** Code for dom_HTMLHRElement ************** |
| 3032 // ********** Code for dom_HTMLHeadElement ************** |
| 3033 // ********** Code for dom_HTMLHeadingElement ************** |
| 3034 // ********** Code for dom_HTMLHtmlElement ************** |
| 3035 // ********** Code for dom_HTMLIFrameElement ************** |
| 3036 $dynamic("get$name").HTMLIFrameElement = function() { return this.name; }; |
| 3037 $dynamic("set$name").HTMLIFrameElement = function(value) { return this.name = va
lue; }; |
| 3038 // ********** Code for dom_HTMLImageElement ************** |
| 3039 $dynamic("get$name").HTMLImageElement = function() { return this.name; }; |
| 3040 $dynamic("set$name").HTMLImageElement = function(value) { return this.name = val
ue; }; |
| 3041 // ********** Code for dom_HTMLInputElement ************** |
| 3042 $dynamic("get$checked").HTMLInputElement = function() { return this.checked; }; |
| 3043 $dynamic("set$checked").HTMLInputElement = function(value) { return this.checked
= value; }; |
| 3044 $dynamic("get$name").HTMLInputElement = function() { return this.name; }; |
| 3045 $dynamic("set$name").HTMLInputElement = function(value) { return this.name = val
ue; }; |
| 3046 $dynamic("get$value").HTMLInputElement = function() { return this.value; }; |
| 3047 $dynamic("set$value").HTMLInputElement = function(value) { return this.value = v
alue; }; |
| 3048 $dynamic("get$click").HTMLInputElement = function() { |
| 3049 return this.click.bind(this); |
| 3050 } |
| 3051 $dynamic("click$0").HTMLInputElement = function() { |
| 3052 return this.click(); |
| 3053 }; |
| 3054 // ********** Code for dom_HTMLIsIndexElement ************** |
| 3055 // ********** Code for dom_HTMLKeygenElement ************** |
| 3056 $dynamic("get$name").HTMLKeygenElement = function() { return this.name; }; |
| 3057 $dynamic("set$name").HTMLKeygenElement = function(value) { return this.name = va
lue; }; |
| 3058 // ********** Code for dom_HTMLLIElement ************** |
| 3059 $dynamic("get$value").HTMLLIElement = function() { return this.value; }; |
| 3060 $dynamic("set$value").HTMLLIElement = function(value) { return this.value = valu
e; }; |
| 3061 // ********** Code for dom_HTMLLabelElement ************** |
| 3062 // ********** Code for dom_HTMLLegendElement ************** |
| 3063 // ********** Code for dom_HTMLLinkElement ************** |
| 3064 // ********** Code for dom_HTMLMapElement ************** |
| 3065 $dynamic("get$name").HTMLMapElement = function() { return this.name; }; |
| 3066 $dynamic("set$name").HTMLMapElement = function(value) { return this.name = value
; }; |
| 3067 // ********** Code for dom_HTMLMarqueeElement ************** |
| 3068 // ********** Code for dom_HTMLMediaElement ************** |
| 3069 $dynamic("get$readyState").HTMLMediaElement = function() { return this.readyStat
e; }; |
| 3070 $dynamic("set$readyState").HTMLMediaElement = function(value) { return this.read
yState = value; }; |
| 3071 // ********** Code for dom_HTMLMenuElement ************** |
| 3072 // ********** Code for dom_HTMLMetaElement ************** |
| 3073 $dynamic("get$name").HTMLMetaElement = function() { return this.name; }; |
| 3074 $dynamic("set$name").HTMLMetaElement = function(value) { return this.name = valu
e; }; |
| 3075 // ********** Code for dom_HTMLMeterElement ************** |
| 3076 $dynamic("get$value").HTMLMeterElement = function() { return this.value; }; |
| 3077 $dynamic("set$value").HTMLMeterElement = function(value) { return this.value = v
alue; }; |
| 3078 // ********** Code for dom_HTMLModElement ************** |
| 3079 // ********** Code for dom_HTMLOListElement ************** |
| 3080 // ********** Code for dom_HTMLObjectElement ************** |
| 3081 $dynamic("get$name").HTMLObjectElement = function() { return this.name; }; |
| 3082 $dynamic("set$name").HTMLObjectElement = function(value) { return this.name = va
lue; }; |
| 3083 // ********** Code for dom_HTMLOptGroupElement ************** |
| 3084 // ********** Code for dom_HTMLOptionElement ************** |
| 3085 $dynamic("get$text").HTMLOptionElement = function() { return this.text; }; |
| 3086 $dynamic("set$text").HTMLOptionElement = function(value) { return this.text = va
lue; }; |
| 3087 $dynamic("get$value").HTMLOptionElement = function() { return this.value; }; |
| 3088 $dynamic("set$value").HTMLOptionElement = function(value) { return this.value =
value; }; |
| 3089 // ********** Code for dom_HTMLOptionsCollection ************** |
| 3090 $dynamic("get$length").HTMLOptionsCollection = function() { return this.length;
}; |
| 3091 $dynamic("set$length").HTMLOptionsCollection = function(value) { return this.len
gth = value; }; |
| 3092 $dynamic("remove$1").HTMLOptionsCollection = function($0) { |
| 3093 return this.remove($0); |
| 3094 }; |
| 3095 // ********** Code for dom_HTMLOutputElement ************** |
| 3096 $dynamic("get$name").HTMLOutputElement = function() { return this.name; }; |
| 3097 $dynamic("set$name").HTMLOutputElement = function(value) { return this.name = va
lue; }; |
| 3098 $dynamic("get$value").HTMLOutputElement = function() { return this.value; }; |
| 3099 $dynamic("set$value").HTMLOutputElement = function(value) { return this.value =
value; }; |
| 3100 // ********** Code for dom_HTMLParagraphElement ************** |
| 3101 // ********** Code for dom_HTMLParamElement ************** |
| 3102 $dynamic("get$name").HTMLParamElement = function() { return this.name; }; |
| 3103 $dynamic("set$name").HTMLParamElement = function(value) { return this.name = val
ue; }; |
| 3104 $dynamic("get$value").HTMLParamElement = function() { return this.value; }; |
| 3105 $dynamic("set$value").HTMLParamElement = function(value) { return this.value = v
alue; }; |
| 3106 // ********** Code for dom_HTMLPreElement ************** |
| 3107 // ********** Code for dom_HTMLProgressElement ************** |
| 3108 $dynamic("get$value").HTMLProgressElement = function() { return this.value; }; |
| 3109 $dynamic("set$value").HTMLProgressElement = function(value) { return this.value
= value; }; |
| 3110 // ********** Code for dom_HTMLPropertiesCollection ************** |
| 3111 $dynamic("get$length").HTMLPropertiesCollection = function() { return this.lengt
h; }; |
| 3112 $dynamic("set$length").HTMLPropertiesCollection = function(value) { return this.
length = value; }; |
| 3113 $dynamic("item$1").HTMLPropertiesCollection = function($0) { |
| 3114 return this.item($0); |
| 3115 }; |
| 3116 // ********** Code for dom_HTMLQuoteElement ************** |
| 3117 // ********** Code for dom_HTMLScriptElement ************** |
| 3118 $dynamic("get$text").HTMLScriptElement = function() { return this.text; }; |
| 3119 $dynamic("set$text").HTMLScriptElement = function(value) { return this.text = va
lue; }; |
| 3120 // ********** Code for dom_HTMLSelectElement ************** |
| 3121 $dynamic("get$length").HTMLSelectElement = function() { return this.length; }; |
| 3122 $dynamic("set$length").HTMLSelectElement = function(value) { return this.length
= value; }; |
| 3123 $dynamic("get$name").HTMLSelectElement = function() { return this.name; }; |
| 3124 $dynamic("set$name").HTMLSelectElement = function(value) { return this.name = va
lue; }; |
| 3125 $dynamic("get$value").HTMLSelectElement = function() { return this.value; }; |
| 3126 $dynamic("set$value").HTMLSelectElement = function(value) { return this.value =
value; }; |
| 3127 $dynamic("add$2").HTMLSelectElement = function($0, $1) { |
| 3128 return this.add($0, $1); |
| 3129 }; |
| 3130 $dynamic("item$1").HTMLSelectElement = function($0) { |
| 3131 return this.item($0); |
| 3132 }; |
| 3133 $dynamic("remove$1").HTMLSelectElement = function($0) { |
| 3134 return this.remove($0); |
| 3135 }; |
| 3136 // ********** Code for dom_HTMLSourceElement ************** |
| 3137 // ********** Code for dom_HTMLSpanElement ************** |
| 3138 // ********** Code for dom_HTMLStyleElement ************** |
| 3139 // ********** Code for dom_HTMLTableCaptionElement ************** |
| 3140 // ********** Code for dom_HTMLTableCellElement ************** |
| 3141 // ********** Code for dom_HTMLTableColElement ************** |
| 3142 // ********** Code for dom_HTMLTableElement ************** |
| 3143 // ********** Code for dom_HTMLTableRowElement ************** |
| 3144 // ********** Code for dom_HTMLTableSectionElement ************** |
| 3145 // ********** Code for dom_HTMLTextAreaElement ************** |
| 3146 $dynamic("get$name").HTMLTextAreaElement = function() { return this.name; }; |
| 3147 $dynamic("set$name").HTMLTextAreaElement = function(value) { return this.name =
value; }; |
| 3148 $dynamic("get$value").HTMLTextAreaElement = function() { return this.value; }; |
| 3149 $dynamic("set$value").HTMLTextAreaElement = function(value) { return this.value
= value; }; |
| 3150 // ********** Code for dom_HTMLTitleElement ************** |
| 3151 $dynamic("get$text").HTMLTitleElement = function() { return this.text; }; |
| 3152 $dynamic("set$text").HTMLTitleElement = function(value) { return this.text = val
ue; }; |
| 3153 // ********** Code for dom_HTMLTrackElement ************** |
| 3154 $dynamic("get$readyState").HTMLTrackElement = function() { return this.readyStat
e; }; |
| 3155 $dynamic("set$readyState").HTMLTrackElement = function(value) { return this.read
yState = value; }; |
| 3156 // ********** Code for dom_HTMLUListElement ************** |
| 3157 // ********** Code for dom_HTMLUnknownElement ************** |
| 3158 // ********** Code for dom_HTMLVideoElement ************** |
| 3159 // ********** Code for HashChangeEvent ************** |
| 3160 // ********** Code for HighPass2FilterNode ************** |
| 3161 // ********** Code for History ************** |
| 3162 $dynamic("get$length").History = function() { return this.length; }; |
| 3163 $dynamic("set$length").History = function(value) { return this.length = value; }
; |
| 3164 $dynamic("get$dartObjectLocalStorage").History = function() { return this.dartOb
jectLocalStorage; }; |
| 3165 $dynamic("set$dartObjectLocalStorage").History = function(value) { return this.d
artObjectLocalStorage = value; }; |
| 3166 // ********** Code for IDBAny ************** |
| 3167 $dynamic("get$dartObjectLocalStorage").IDBAny = function() { return this.dartObj
ectLocalStorage; }; |
| 3168 $dynamic("set$dartObjectLocalStorage").IDBAny = function(value) { return this.da
rtObjectLocalStorage = value; }; |
| 3169 // ********** Code for IDBCursor ************** |
| 3170 $dynamic("get$dartObjectLocalStorage").IDBCursor = function() { return this.dart
ObjectLocalStorage; }; |
| 3171 $dynamic("set$dartObjectLocalStorage").IDBCursor = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 3172 // ********** Code for IDBCursorWithValue ************** |
| 3173 $dynamic("get$value").IDBCursorWithValue = function() { return this.value; }; |
| 3174 $dynamic("set$value").IDBCursorWithValue = function(value) { return this.value =
value; }; |
| 3175 // ********** Code for IDBDatabase ************** |
| 3176 $dynamic("get$name").IDBDatabase = function() { return this.name; }; |
| 3177 $dynamic("set$name").IDBDatabase = function(value) { return this.name = value; }
; |
| 3178 $dynamic("get$dartObjectLocalStorage").IDBDatabase = function() { return this.da
rtObjectLocalStorage; }; |
| 3179 $dynamic("set$dartObjectLocalStorage").IDBDatabase = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 3180 $dynamic("addEventListener$3").IDBDatabase = function($0, $1, $2) { |
| 3181 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3182 }; |
| 3183 $dynamic("removeEventListener$3").IDBDatabase = function($0, $1, $2) { |
| 3184 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3185 }; |
| 3186 // ********** Code for IDBDatabaseError ************** |
| 3187 $dynamic("get$dartObjectLocalStorage").IDBDatabaseError = function() { return th
is.dartObjectLocalStorage; }; |
| 3188 $dynamic("set$dartObjectLocalStorage").IDBDatabaseError = function(value) { retu
rn this.dartObjectLocalStorage = value; }; |
| 3189 // ********** Code for IDBDatabaseException ************** |
| 3190 $dynamic("get$name").IDBDatabaseException = function() { return this.name; }; |
| 3191 $dynamic("set$name").IDBDatabaseException = function(value) { return this.name =
value; }; |
| 3192 $dynamic("get$dartObjectLocalStorage").IDBDatabaseException = function() { retur
n this.dartObjectLocalStorage; }; |
| 3193 $dynamic("set$dartObjectLocalStorage").IDBDatabaseException = function(value) {
return this.dartObjectLocalStorage = value; }; |
| 3194 $dynamic("toString$0").IDBDatabaseException = function() { |
| 3195 return this.toString(); |
| 3196 }; |
| 3197 // ********** Code for IDBFactory ************** |
| 3198 $dynamic("get$dartObjectLocalStorage").IDBFactory = function() { return this.dar
tObjectLocalStorage; }; |
| 3199 $dynamic("set$dartObjectLocalStorage").IDBFactory = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 3200 // ********** Code for IDBIndex ************** |
| 3201 $dynamic("get$name").IDBIndex = function() { return this.name; }; |
| 3202 $dynamic("set$name").IDBIndex = function(value) { return this.name = value; }; |
| 3203 $dynamic("get$dartObjectLocalStorage").IDBIndex = function() { return this.dartO
bjectLocalStorage; }; |
| 3204 $dynamic("set$dartObjectLocalStorage").IDBIndex = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 3205 // ********** Code for IDBKey ************** |
| 3206 $dynamic("get$dartObjectLocalStorage").IDBKey = function() { return this.dartObj
ectLocalStorage; }; |
| 3207 $dynamic("set$dartObjectLocalStorage").IDBKey = function(value) { return this.da
rtObjectLocalStorage = value; }; |
| 3208 // ********** Code for IDBKeyRange ************** |
| 3209 $dynamic("get$dartObjectLocalStorage").IDBKeyRange = function() { return this.da
rtObjectLocalStorage; }; |
| 3210 $dynamic("set$dartObjectLocalStorage").IDBKeyRange = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 3211 // ********** Code for IDBObjectStore ************** |
| 3212 $dynamic("get$name").IDBObjectStore = function() { return this.name; }; |
| 3213 $dynamic("set$name").IDBObjectStore = function(value) { return this.name = value
; }; |
| 3214 $dynamic("get$clear").IDBObjectStore = function() { |
| 3215 return this.clear.bind(this); |
| 3216 } |
| 3217 $dynamic("get$dartObjectLocalStorage").IDBObjectStore = function() { return this
.dartObjectLocalStorage; }; |
| 3218 $dynamic("set$dartObjectLocalStorage").IDBObjectStore = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3219 $dynamic("add$1").IDBObjectStore = function($0) { |
| 3220 return this.add($0); |
| 3221 }; |
| 3222 $dynamic("add$2").IDBObjectStore = function($0, $1) { |
| 3223 return this.add($0, $1); |
| 3224 }; |
| 3225 $dynamic("clear$0").IDBObjectStore = function() { |
| 3226 return this.clear(); |
| 3227 }; |
| 3228 // ********** Code for IDBRequest ************** |
| 3229 $dynamic("get$readyState").IDBRequest = function() { return this.readyState; }; |
| 3230 $dynamic("set$readyState").IDBRequest = function(value) { return this.readyState
= value; }; |
| 3231 $dynamic("get$dartObjectLocalStorage").IDBRequest = function() { return this.dar
tObjectLocalStorage; }; |
| 3232 $dynamic("set$dartObjectLocalStorage").IDBRequest = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 3233 $dynamic("addEventListener$3").IDBRequest = function($0, $1, $2) { |
| 3234 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3235 }; |
| 3236 $dynamic("removeEventListener$3").IDBRequest = function($0, $1, $2) { |
| 3237 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3238 }; |
| 3239 // ********** Code for IDBTransaction ************** |
| 3240 $dynamic("get$dartObjectLocalStorage").IDBTransaction = function() { return this
.dartObjectLocalStorage; }; |
| 3241 $dynamic("set$dartObjectLocalStorage").IDBTransaction = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3242 $dynamic("addEventListener$3").IDBTransaction = function($0, $1, $2) { |
| 3243 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3244 }; |
| 3245 $dynamic("removeEventListener$3").IDBTransaction = function($0, $1, $2) { |
| 3246 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3247 }; |
| 3248 // ********** Code for IDBVersionChangeEvent ************** |
| 3249 // ********** Code for IDBVersionChangeRequest ************** |
| 3250 // ********** Code for ImageData ************** |
| 3251 $dynamic("get$dartObjectLocalStorage").ImageData = function() { return this.dart
ObjectLocalStorage; }; |
| 3252 $dynamic("set$dartObjectLocalStorage").ImageData = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 3253 // ********** Code for dom_InjectedScriptHost ************** |
| 3254 $dynamic("get$dartObjectLocalStorage").InjectedScriptHost = function() { return
this.dartObjectLocalStorage; }; |
| 3255 $dynamic("set$dartObjectLocalStorage").InjectedScriptHost = function(value) { re
turn this.dartObjectLocalStorage = value; }; |
| 3256 // ********** Code for dom_InspectorFrontendHost ************** |
| 3257 $dynamic("get$dartObjectLocalStorage").InspectorFrontendHost = function() { retu
rn this.dartObjectLocalStorage; }; |
| 3258 $dynamic("set$dartObjectLocalStorage").InspectorFrontendHost = function(value) {
return this.dartObjectLocalStorage = value; }; |
| 3259 // ********** Code for Int16Array ************** |
| 3260 $dynamic("is$List").Int16Array = function(){return true}; |
| 3261 $dynamic("get$length").Int16Array = function() { return this.length; }; |
| 3262 $dynamic("set$length").Int16Array = function(value) { return this.length = value
; }; |
| 3263 // ********** Code for Int32Array ************** |
| 3264 $dynamic("is$List").Int32Array = function(){return true}; |
| 3265 $dynamic("get$length").Int32Array = function() { return this.length; }; |
| 3266 $dynamic("set$length").Int32Array = function(value) { return this.length = value
; }; |
| 3267 // ********** Code for Int8Array ************** |
| 3268 $dynamic("is$List").Int8Array = function(){return true}; |
| 3269 $dynamic("get$length").Int8Array = function() { return this.length; }; |
| 3270 $dynamic("set$length").Int8Array = function(value) { return this.length = value;
}; |
| 3271 // ********** Code for JavaScriptAudioNode ************** |
| 3272 // ********** Code for dom_JavaScriptCallFrame ************** |
| 3273 $dynamic("get$dartObjectLocalStorage").JavaScriptCallFrame = function() { return
this.dartObjectLocalStorage; }; |
| 3274 $dynamic("set$dartObjectLocalStorage").JavaScriptCallFrame = function(value) { r
eturn this.dartObjectLocalStorage = value; }; |
| 3275 // ********** Code for KeyboardEvent ************** |
| 3276 // ********** Code for Location ************** |
| 3277 $dynamic("get$dartObjectLocalStorage").Location = function() { return this.dartO
bjectLocalStorage; }; |
| 3278 $dynamic("set$dartObjectLocalStorage").Location = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 3279 $dynamic("toString$0").Location = function() { |
| 3280 return this.toString(); |
| 3281 }; |
| 3282 // ********** Code for LowPass2FilterNode ************** |
| 3283 // ********** Code for dom_MediaController ************** |
| 3284 $dynamic("get$dartObjectLocalStorage").MediaController = function() { return thi
s.dartObjectLocalStorage; }; |
| 3285 $dynamic("set$dartObjectLocalStorage").MediaController = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 3286 $dynamic("addEventListener$3").MediaController = function($0, $1, $2) { |
| 3287 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3288 }; |
| 3289 $dynamic("removeEventListener$3").MediaController = function($0, $1, $2) { |
| 3290 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3291 }; |
| 3292 // ********** Code for MediaElementAudioSourceNode ************** |
| 3293 // ********** Code for MediaError ************** |
| 3294 $dynamic("get$dartObjectLocalStorage").MediaError = function() { return this.dar
tObjectLocalStorage; }; |
| 3295 $dynamic("set$dartObjectLocalStorage").MediaError = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 3296 // ********** Code for MediaList ************** |
| 3297 $dynamic("get$length").MediaList = function() { return this.length; }; |
| 3298 $dynamic("set$length").MediaList = function(value) { return this.length = value;
}; |
| 3299 $dynamic("$setindex").MediaList = function(index, value) { |
| 3300 $throw(new UnsupportedOperationException("Cannot assign element of immutable L
ist.")); |
| 3301 } |
| 3302 $dynamic("get$dartObjectLocalStorage").MediaList = function() { return this.dart
ObjectLocalStorage; }; |
| 3303 $dynamic("set$dartObjectLocalStorage").MediaList = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 3304 $dynamic("item$1").MediaList = function($0) { |
| 3305 return this.item($0); |
| 3306 }; |
| 3307 // ********** Code for MediaQueryList ************** |
| 3308 $dynamic("get$dartObjectLocalStorage").MediaQueryList = function() { return this
.dartObjectLocalStorage; }; |
| 3309 $dynamic("set$dartObjectLocalStorage").MediaQueryList = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3310 // ********** Code for MediaQueryListListener ************** |
| 3311 $dynamic("get$dartObjectLocalStorage").MediaQueryListListener = function() { ret
urn this.dartObjectLocalStorage; }; |
| 3312 $dynamic("set$dartObjectLocalStorage").MediaQueryListListener = function(value)
{ return this.dartObjectLocalStorage = value; }; |
| 3313 // ********** Code for dom_MemoryInfo ************** |
| 3314 $dynamic("get$dartObjectLocalStorage").MemoryInfo = function() { return this.dar
tObjectLocalStorage; }; |
| 3315 $dynamic("set$dartObjectLocalStorage").MemoryInfo = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 3316 // ********** Code for MessageChannel ************** |
| 3317 $dynamic("get$dartObjectLocalStorage").MessageChannel = function() { return this
.dartObjectLocalStorage; }; |
| 3318 $dynamic("set$dartObjectLocalStorage").MessageChannel = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3319 // ********** Code for MessageEvent ************** |
| 3320 // ********** Code for MessagePort ************** |
| 3321 $dynamic("get$dartObjectLocalStorage").MessagePort = function() { return this.da
rtObjectLocalStorage; }; |
| 3322 $dynamic("set$dartObjectLocalStorage").MessagePort = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 3323 $dynamic("addEventListener$3").MessagePort = function($0, $1, $2) { |
| 3324 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3325 }; |
| 3326 $dynamic("postMessage$1").MessagePort = function($0) { |
| 3327 return this.postMessage($0); |
| 3328 }; |
| 3329 $dynamic("postMessage$2").MessagePort = function($0, $1) { |
| 3330 return this.postMessage($0, $1); |
| 3331 }; |
| 3332 $dynamic("removeEventListener$3").MessagePort = function($0, $1, $2) { |
| 3333 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3334 }; |
| 3335 // ********** Code for Metadata ************** |
| 3336 $dynamic("get$dartObjectLocalStorage").Metadata = function() { return this.dartO
bjectLocalStorage; }; |
| 3337 $dynamic("set$dartObjectLocalStorage").Metadata = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 3338 // ********** Code for MouseEvent ************** |
| 3339 // ********** Code for MutationCallback ************** |
| 3340 $dynamic("get$dartObjectLocalStorage").MutationCallback = function() { return th
is.dartObjectLocalStorage; }; |
| 3341 $dynamic("set$dartObjectLocalStorage").MutationCallback = function(value) { retu
rn this.dartObjectLocalStorage = value; }; |
| 3342 // ********** Code for MutationEvent ************** |
| 3343 // ********** Code for MutationRecord ************** |
| 3344 $dynamic("get$dartObjectLocalStorage").MutationRecord = function() { return this
.dartObjectLocalStorage; }; |
| 3345 $dynamic("set$dartObjectLocalStorage").MutationRecord = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3346 // ********** Code for dom_NamedNodeMap ************** |
| 3347 $dynamic("get$length").NamedNodeMap = function() { return this.length; }; |
| 3348 $dynamic("set$length").NamedNodeMap = function(value) { return this.length = val
ue; }; |
| 3349 $dynamic("$setindex").NamedNodeMap = function(index, value) { |
| 3350 $throw(new UnsupportedOperationException("Cannot assign element of immutable L
ist.")); |
| 3351 } |
| 3352 $dynamic("get$dartObjectLocalStorage").NamedNodeMap = function() { return this.d
artObjectLocalStorage; }; |
| 3353 $dynamic("set$dartObjectLocalStorage").NamedNodeMap = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3354 $dynamic("item$1").NamedNodeMap = function($0) { |
| 3355 return this.item($0); |
| 3356 }; |
| 3357 // ********** Code for Navigator ************** |
| 3358 $dynamic("get$dartObjectLocalStorage").Navigator = function() { return this.dart
ObjectLocalStorage; }; |
| 3359 $dynamic("set$dartObjectLocalStorage").Navigator = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 3360 // ********** Code for Node ************** |
| 3361 $dynamic("get$attributes").Node = function() { return this.attributes; }; |
| 3362 $dynamic("set$attributes").Node = function(value) { return this.attributes = val
ue; }; |
| 3363 $dynamic("get$childNodes").Node = function() { return this.childNodes; }; |
| 3364 $dynamic("set$childNodes").Node = function(value) { return this.childNodes = val
ue; }; |
| 3365 $dynamic("get$firstChild").Node = function() { return this.firstChild; }; |
| 3366 $dynamic("set$firstChild").Node = function(value) { return this.firstChild = val
ue; }; |
| 3367 $dynamic("get$lastChild").Node = function() { return this.lastChild; }; |
| 3368 $dynamic("set$lastChild").Node = function(value) { return this.lastChild = value
; }; |
| 3369 $dynamic("get$parentNode").Node = function() { return this.parentNode; }; |
| 3370 $dynamic("set$parentNode").Node = function(value) { return this.parentNode = val
ue; }; |
| 3371 $dynamic("get$textContent").Node = function() { return this.textContent; }; |
| 3372 $dynamic("set$textContent").Node = function(value) { return this.textContent = v
alue; }; |
| 3373 $dynamic("get$dartObjectLocalStorage").Node = function() { return this.dartObjec
tLocalStorage; }; |
| 3374 $dynamic("set$dartObjectLocalStorage").Node = function(value) { return this.dart
ObjectLocalStorage = value; }; |
| 3375 $dynamic("addEventListener$3").Node = function($0, $1, $2) { |
| 3376 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3377 }; |
| 3378 $dynamic("appendChild$1").Node = function($0) { |
| 3379 return this.appendChild($0); |
| 3380 }; |
| 3381 $dynamic("cloneNode$1").Node = function($0) { |
| 3382 return this.cloneNode($0); |
| 3383 }; |
| 3384 $dynamic("hasAttributes$0").Node = function() { |
| 3385 return this.hasAttributes(); |
| 3386 }; |
| 3387 $dynamic("hasChildNodes$0").Node = function() { |
| 3388 return this.hasChildNodes(); |
| 3389 }; |
| 3390 $dynamic("removeChild$1").Node = function($0) { |
| 3391 return this.removeChild($0); |
| 3392 }; |
| 3393 $dynamic("removeEventListener$3").Node = function($0, $1, $2) { |
| 3394 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3395 }; |
| 3396 $dynamic("replaceChild$2").Node = function($0, $1) { |
| 3397 return this.replaceChild($0, $1); |
| 3398 }; |
| 3399 // ********** Code for dom_NodeFilter ************** |
| 3400 $dynamic("get$dartObjectLocalStorage").NodeFilter = function() { return this.dar
tObjectLocalStorage; }; |
| 3401 $dynamic("set$dartObjectLocalStorage").NodeFilter = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 3402 // ********** Code for dom_NodeIterator ************** |
| 3403 $dynamic("get$dartObjectLocalStorage").NodeIterator = function() { return this.d
artObjectLocalStorage; }; |
| 3404 $dynamic("set$dartObjectLocalStorage").NodeIterator = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3405 $dynamic("filter$1").NodeIterator = function($0) { |
| 3406 return this.filter.call$1($0); |
| 3407 }; |
| 3408 // ********** Code for NodeList ************** |
| 3409 $dynamic("get$length").NodeList = function() { return this.length; }; |
| 3410 $dynamic("set$length").NodeList = function(value) { return this.length = value;
}; |
| 3411 $dynamic("$setindex").NodeList = function(index, value) { |
| 3412 $throw(new UnsupportedOperationException("Cannot assign element of immutable L
ist.")); |
| 3413 } |
| 3414 $dynamic("get$dartObjectLocalStorage").NodeList = function() { return this.dartO
bjectLocalStorage; }; |
| 3415 $dynamic("set$dartObjectLocalStorage").NodeList = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 3416 $dynamic("item$1").NodeList = function($0) { |
| 3417 return this.item($0); |
| 3418 }; |
| 3419 // ********** Code for dom_NodeSelector ************** |
| 3420 $dynamic("get$dartObjectLocalStorage").NodeSelector = function() { return this.d
artObjectLocalStorage; }; |
| 3421 $dynamic("set$dartObjectLocalStorage").NodeSelector = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3422 $dynamic("querySelector$1").NodeSelector = function($0) { |
| 3423 return this.querySelector($0); |
| 3424 }; |
| 3425 $dynamic("querySelectorAll$1").NodeSelector = function($0) { |
| 3426 return this.querySelectorAll($0); |
| 3427 }; |
| 3428 // ********** Code for Notation ************** |
| 3429 // ********** Code for Notification ************** |
| 3430 $dynamic("get$dartObjectLocalStorage").Notification = function() { return this.d
artObjectLocalStorage; }; |
| 3431 $dynamic("set$dartObjectLocalStorage").Notification = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3432 $dynamic("addEventListener$3").Notification = function($0, $1, $2) { |
| 3433 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3434 }; |
| 3435 $dynamic("removeEventListener$3").Notification = function($0, $1, $2) { |
| 3436 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3437 }; |
| 3438 // ********** Code for NotificationCenter ************** |
| 3439 $dynamic("get$dartObjectLocalStorage").NotificationCenter = function() { return
this.dartObjectLocalStorage; }; |
| 3440 $dynamic("set$dartObjectLocalStorage").NotificationCenter = function(value) { re
turn this.dartObjectLocalStorage = value; }; |
| 3441 // ********** Code for OESStandardDerivatives ************** |
| 3442 $dynamic("get$dartObjectLocalStorage").OESStandardDerivatives = function() { ret
urn this.dartObjectLocalStorage; }; |
| 3443 $dynamic("set$dartObjectLocalStorage").OESStandardDerivatives = function(value)
{ return this.dartObjectLocalStorage = value; }; |
| 3444 // ********** Code for OESTextureFloat ************** |
| 3445 $dynamic("get$dartObjectLocalStorage").OESTextureFloat = function() { return thi
s.dartObjectLocalStorage; }; |
| 3446 $dynamic("set$dartObjectLocalStorage").OESTextureFloat = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 3447 // ********** Code for OESVertexArrayObject ************** |
| 3448 $dynamic("get$dartObjectLocalStorage").OESVertexArrayObject = function() { retur
n this.dartObjectLocalStorage; }; |
| 3449 $dynamic("set$dartObjectLocalStorage").OESVertexArrayObject = function(value) {
return this.dartObjectLocalStorage = value; }; |
| 3450 // ********** Code for OfflineAudioCompletionEvent ************** |
| 3451 // ********** Code for OperationNotAllowedException ************** |
| 3452 $dynamic("get$name").OperationNotAllowedException = function() { return this.nam
e; }; |
| 3453 $dynamic("set$name").OperationNotAllowedException = function(value) { return thi
s.name = value; }; |
| 3454 $dynamic("get$dartObjectLocalStorage").OperationNotAllowedException = function()
{ return this.dartObjectLocalStorage; }; |
| 3455 $dynamic("set$dartObjectLocalStorage").OperationNotAllowedException = function(v
alue) { return this.dartObjectLocalStorage = value; }; |
| 3456 $dynamic("toString$0").OperationNotAllowedException = function() { |
| 3457 return this.toString(); |
| 3458 }; |
| 3459 // ********** Code for OverflowEvent ************** |
| 3460 // ********** Code for PageTransitionEvent ************** |
| 3461 // ********** Code for dom_Performance ************** |
| 3462 $dynamic("get$dartObjectLocalStorage").Performance = function() { return this.da
rtObjectLocalStorage; }; |
| 3463 $dynamic("set$dartObjectLocalStorage").Performance = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 3464 // ********** Code for dom_PerformanceNavigation ************** |
| 3465 $dynamic("get$dartObjectLocalStorage").PerformanceNavigation = function() { retu
rn this.dartObjectLocalStorage; }; |
| 3466 $dynamic("set$dartObjectLocalStorage").PerformanceNavigation = function(value) {
return this.dartObjectLocalStorage = value; }; |
| 3467 // ********** Code for dom_PerformanceTiming ************** |
| 3468 $dynamic("get$dartObjectLocalStorage").PerformanceTiming = function() { return t
his.dartObjectLocalStorage; }; |
| 3469 $dynamic("set$dartObjectLocalStorage").PerformanceTiming = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 3470 // ********** Code for dom_PointerLock ************** |
| 3471 $dynamic("get$dartObjectLocalStorage").PointerLock = function() { return this.da
rtObjectLocalStorage; }; |
| 3472 $dynamic("set$dartObjectLocalStorage").PointerLock = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 3473 // ********** Code for PopStateEvent ************** |
| 3474 // ********** Code for PositionError ************** |
| 3475 $dynamic("get$dartObjectLocalStorage").PositionError = function() { return this.
dartObjectLocalStorage; }; |
| 3476 $dynamic("set$dartObjectLocalStorage").PositionError = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3477 // ********** Code for ProcessingInstruction ************** |
| 3478 // ********** Code for ProgressEvent ************** |
| 3479 // ********** Code for RGBColor ************** |
| 3480 $dynamic("get$dartObjectLocalStorage").RGBColor = function() { return this.dartO
bjectLocalStorage; }; |
| 3481 $dynamic("set$dartObjectLocalStorage").RGBColor = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 3482 // ********** Code for Range ************** |
| 3483 $dynamic("get$dartObjectLocalStorage").Range = function() { return this.dartObje
ctLocalStorage; }; |
| 3484 $dynamic("set$dartObjectLocalStorage").Range = function(value) { return this.dar
tObjectLocalStorage = value; }; |
| 3485 $dynamic("toString$0").Range = function() { |
| 3486 return this.toString(); |
| 3487 }; |
| 3488 // ********** Code for RangeException ************** |
| 3489 $dynamic("get$name").RangeException = function() { return this.name; }; |
| 3490 $dynamic("set$name").RangeException = function(value) { return this.name = value
; }; |
| 3491 $dynamic("get$dartObjectLocalStorage").RangeException = function() { return this
.dartObjectLocalStorage; }; |
| 3492 $dynamic("set$dartObjectLocalStorage").RangeException = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3493 $dynamic("toString$0").RangeException = function() { |
| 3494 return this.toString(); |
| 3495 }; |
| 3496 // ********** Code for RealtimeAnalyserNode ************** |
| 3497 // ********** Code for Rect ************** |
| 3498 $dynamic("get$dartObjectLocalStorage").Rect = function() { return this.dartObjec
tLocalStorage; }; |
| 3499 $dynamic("set$dartObjectLocalStorage").Rect = function(value) { return this.dart
ObjectLocalStorage = value; }; |
| 3500 // ********** Code for dom_SQLError ************** |
| 3501 $dynamic("get$dartObjectLocalStorage").SQLError = function() { return this.dartO
bjectLocalStorage; }; |
| 3502 $dynamic("set$dartObjectLocalStorage").SQLError = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 3503 // ********** Code for dom_SQLException ************** |
| 3504 $dynamic("get$dartObjectLocalStorage").SQLException = function() { return this.d
artObjectLocalStorage; }; |
| 3505 $dynamic("set$dartObjectLocalStorage").SQLException = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3506 // ********** Code for dom_SQLResultSet ************** |
| 3507 $dynamic("get$dartObjectLocalStorage").SQLResultSet = function() { return this.d
artObjectLocalStorage; }; |
| 3508 $dynamic("set$dartObjectLocalStorage").SQLResultSet = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3509 // ********** Code for dom_SQLResultSetRowList ************** |
| 3510 $dynamic("get$length").SQLResultSetRowList = function() { return this.length; }; |
| 3511 $dynamic("set$length").SQLResultSetRowList = function(value) { return this.lengt
h = value; }; |
| 3512 $dynamic("get$dartObjectLocalStorage").SQLResultSetRowList = function() { return
this.dartObjectLocalStorage; }; |
| 3513 $dynamic("set$dartObjectLocalStorage").SQLResultSetRowList = function(value) { r
eturn this.dartObjectLocalStorage = value; }; |
| 3514 $dynamic("item$1").SQLResultSetRowList = function($0) { |
| 3515 return this.item($0); |
| 3516 }; |
| 3517 // ********** Code for dom_SQLTransaction ************** |
| 3518 $dynamic("get$dartObjectLocalStorage").SQLTransaction = function() { return this
.dartObjectLocalStorage; }; |
| 3519 $dynamic("set$dartObjectLocalStorage").SQLTransaction = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3520 // ********** Code for dom_SQLTransactionSync ************** |
| 3521 $dynamic("get$dartObjectLocalStorage").SQLTransactionSync = function() { return
this.dartObjectLocalStorage; }; |
| 3522 $dynamic("set$dartObjectLocalStorage").SQLTransactionSync = function(value) { re
turn this.dartObjectLocalStorage = value; }; |
| 3523 // ********** Code for SVGAElement ************** |
| 3524 $dynamic("get$className").SVGAElement = function() { return this.className; }; |
| 3525 $dynamic("set$className").SVGAElement = function(value) { return this.className
= value; }; |
| 3526 // ********** Code for SVGAltGlyphDefElement ************** |
| 3527 // ********** Code for SVGAltGlyphElement ************** |
| 3528 // ********** Code for SVGAltGlyphItemElement ************** |
| 3529 // ********** Code for SVGAngle ************** |
| 3530 $dynamic("get$value").SVGAngle = function() { return this.value; }; |
| 3531 $dynamic("set$value").SVGAngle = function(value) { return this.value = value; }; |
| 3532 $dynamic("get$dartObjectLocalStorage").SVGAngle = function() { return this.dartO
bjectLocalStorage; }; |
| 3533 $dynamic("set$dartObjectLocalStorage").SVGAngle = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 3534 // ********** Code for SVGAnimateColorElement ************** |
| 3535 // ********** Code for SVGAnimateElement ************** |
| 3536 // ********** Code for SVGAnimateMotionElement ************** |
| 3537 // ********** Code for SVGAnimateTransformElement ************** |
| 3538 // ********** Code for SVGAnimatedAngle ************** |
| 3539 $dynamic("get$baseVal").SVGAnimatedAngle = function() { return this.baseVal; }; |
| 3540 $dynamic("set$baseVal").SVGAnimatedAngle = function(value) { return this.baseVal
= value; }; |
| 3541 $dynamic("get$dartObjectLocalStorage").SVGAnimatedAngle = function() { return th
is.dartObjectLocalStorage; }; |
| 3542 $dynamic("set$dartObjectLocalStorage").SVGAnimatedAngle = function(value) { retu
rn this.dartObjectLocalStorage = value; }; |
| 3543 // ********** Code for SVGAnimatedBoolean ************** |
| 3544 $dynamic("get$baseVal").SVGAnimatedBoolean = function() { return this.baseVal; }
; |
| 3545 $dynamic("set$baseVal").SVGAnimatedBoolean = function(value) { return this.baseV
al = value; }; |
| 3546 $dynamic("get$dartObjectLocalStorage").SVGAnimatedBoolean = function() { return
this.dartObjectLocalStorage; }; |
| 3547 $dynamic("set$dartObjectLocalStorage").SVGAnimatedBoolean = function(value) { re
turn this.dartObjectLocalStorage = value; }; |
| 3548 // ********** Code for SVGAnimatedEnumeration ************** |
| 3549 $dynamic("get$baseVal").SVGAnimatedEnumeration = function() { return this.baseVa
l; }; |
| 3550 $dynamic("set$baseVal").SVGAnimatedEnumeration = function(value) { return this.b
aseVal = value; }; |
| 3551 $dynamic("get$dartObjectLocalStorage").SVGAnimatedEnumeration = function() { ret
urn this.dartObjectLocalStorage; }; |
| 3552 $dynamic("set$dartObjectLocalStorage").SVGAnimatedEnumeration = function(value)
{ return this.dartObjectLocalStorage = value; }; |
| 3553 // ********** Code for SVGAnimatedInteger ************** |
| 3554 $dynamic("get$baseVal").SVGAnimatedInteger = function() { return this.baseVal; }
; |
| 3555 $dynamic("set$baseVal").SVGAnimatedInteger = function(value) { return this.baseV
al = value; }; |
| 3556 $dynamic("get$dartObjectLocalStorage").SVGAnimatedInteger = function() { return
this.dartObjectLocalStorage; }; |
| 3557 $dynamic("set$dartObjectLocalStorage").SVGAnimatedInteger = function(value) { re
turn this.dartObjectLocalStorage = value; }; |
| 3558 // ********** Code for SVGAnimatedLength ************** |
| 3559 $dynamic("get$baseVal").SVGAnimatedLength = function() { return this.baseVal; }; |
| 3560 $dynamic("set$baseVal").SVGAnimatedLength = function(value) { return this.baseVa
l = value; }; |
| 3561 $dynamic("get$dartObjectLocalStorage").SVGAnimatedLength = function() { return t
his.dartObjectLocalStorage; }; |
| 3562 $dynamic("set$dartObjectLocalStorage").SVGAnimatedLength = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 3563 // ********** Code for SVGAnimatedLengthList ************** |
| 3564 $dynamic("get$baseVal").SVGAnimatedLengthList = function() { return this.baseVal
; }; |
| 3565 $dynamic("set$baseVal").SVGAnimatedLengthList = function(value) { return this.ba
seVal = value; }; |
| 3566 $dynamic("get$dartObjectLocalStorage").SVGAnimatedLengthList = function() { retu
rn this.dartObjectLocalStorage; }; |
| 3567 $dynamic("set$dartObjectLocalStorage").SVGAnimatedLengthList = function(value) {
return this.dartObjectLocalStorage = value; }; |
| 3568 // ********** Code for SVGAnimatedNumber ************** |
| 3569 $dynamic("get$baseVal").SVGAnimatedNumber = function() { return this.baseVal; }; |
| 3570 $dynamic("set$baseVal").SVGAnimatedNumber = function(value) { return this.baseVa
l = value; }; |
| 3571 $dynamic("get$dartObjectLocalStorage").SVGAnimatedNumber = function() { return t
his.dartObjectLocalStorage; }; |
| 3572 $dynamic("set$dartObjectLocalStorage").SVGAnimatedNumber = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 3573 // ********** Code for SVGAnimatedNumberList ************** |
| 3574 $dynamic("get$baseVal").SVGAnimatedNumberList = function() { return this.baseVal
; }; |
| 3575 $dynamic("set$baseVal").SVGAnimatedNumberList = function(value) { return this.ba
seVal = value; }; |
| 3576 $dynamic("get$dartObjectLocalStorage").SVGAnimatedNumberList = function() { retu
rn this.dartObjectLocalStorage; }; |
| 3577 $dynamic("set$dartObjectLocalStorage").SVGAnimatedNumberList = function(value) {
return this.dartObjectLocalStorage = value; }; |
| 3578 // ********** Code for SVGAnimatedPreserveAspectRatio ************** |
| 3579 $dynamic("get$baseVal").SVGAnimatedPreserveAspectRatio = function() { return thi
s.baseVal; }; |
| 3580 $dynamic("set$baseVal").SVGAnimatedPreserveAspectRatio = function(value) { retur
n this.baseVal = value; }; |
| 3581 $dynamic("get$dartObjectLocalStorage").SVGAnimatedPreserveAspectRatio = function
() { return this.dartObjectLocalStorage; }; |
| 3582 $dynamic("set$dartObjectLocalStorage").SVGAnimatedPreserveAspectRatio = function
(value) { return this.dartObjectLocalStorage = value; }; |
| 3583 // ********** Code for SVGAnimatedRect ************** |
| 3584 $dynamic("get$baseVal").SVGAnimatedRect = function() { return this.baseVal; }; |
| 3585 $dynamic("set$baseVal").SVGAnimatedRect = function(value) { return this.baseVal
= value; }; |
| 3586 $dynamic("get$dartObjectLocalStorage").SVGAnimatedRect = function() { return thi
s.dartObjectLocalStorage; }; |
| 3587 $dynamic("set$dartObjectLocalStorage").SVGAnimatedRect = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 3588 // ********** Code for SVGAnimatedString ************** |
| 3589 $dynamic("get$baseVal").SVGAnimatedString = function() { return this.baseVal; }; |
| 3590 $dynamic("set$baseVal").SVGAnimatedString = function(value) { return this.baseVa
l = value; }; |
| 3591 $dynamic("get$dartObjectLocalStorage").SVGAnimatedString = function() { return t
his.dartObjectLocalStorage; }; |
| 3592 $dynamic("set$dartObjectLocalStorage").SVGAnimatedString = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 3593 // ********** Code for SVGAnimatedTransformList ************** |
| 3594 $dynamic("get$baseVal").SVGAnimatedTransformList = function() { return this.base
Val; }; |
| 3595 $dynamic("set$baseVal").SVGAnimatedTransformList = function(value) { return this
.baseVal = value; }; |
| 3596 $dynamic("get$dartObjectLocalStorage").SVGAnimatedTransformList = function() { r
eturn this.dartObjectLocalStorage; }; |
| 3597 $dynamic("set$dartObjectLocalStorage").SVGAnimatedTransformList = function(value
) { return this.dartObjectLocalStorage = value; }; |
| 3598 // ********** Code for SVGAnimationElement ************** |
| 3599 // ********** Code for SVGCircleElement ************** |
| 3600 $dynamic("get$className").SVGCircleElement = function() { return this.className;
}; |
| 3601 $dynamic("set$className").SVGCircleElement = function(value) { return this.class
Name = value; }; |
| 3602 // ********** Code for SVGClipPathElement ************** |
| 3603 $dynamic("get$className").SVGClipPathElement = function() { return this.classNam
e; }; |
| 3604 $dynamic("set$className").SVGClipPathElement = function(value) { return this.cla
ssName = value; }; |
| 3605 // ********** Code for SVGColor ************** |
| 3606 // ********** Code for SVGComponentTransferFunctionElement ************** |
| 3607 // ********** Code for SVGCursorElement ************** |
| 3608 // ********** Code for SVGDefsElement ************** |
| 3609 $dynamic("get$className").SVGDefsElement = function() { return this.className; }
; |
| 3610 $dynamic("set$className").SVGDefsElement = function(value) { return this.classNa
me = value; }; |
| 3611 // ********** Code for SVGDescElement ************** |
| 3612 $dynamic("get$className").SVGDescElement = function() { return this.className; }
; |
| 3613 $dynamic("set$className").SVGDescElement = function(value) { return this.classNa
me = value; }; |
| 3614 // ********** Code for SVGDocument ************** |
| 3615 // ********** Code for SVGElement ************** |
| 3616 $dynamic("get$id").SVGElement = function() { return this.id; }; |
| 3617 $dynamic("set$id").SVGElement = function(value) { return this.id = value; }; |
| 3618 // ********** Code for SVGElementInstance ************** |
| 3619 $dynamic("get$childNodes").SVGElementInstance = function() { return this.childNo
des; }; |
| 3620 $dynamic("set$childNodes").SVGElementInstance = function(value) { return this.ch
ildNodes = value; }; |
| 3621 $dynamic("get$firstChild").SVGElementInstance = function() { return this.firstCh
ild; }; |
| 3622 $dynamic("set$firstChild").SVGElementInstance = function(value) { return this.fi
rstChild = value; }; |
| 3623 $dynamic("get$lastChild").SVGElementInstance = function() { return this.lastChil
d; }; |
| 3624 $dynamic("set$lastChild").SVGElementInstance = function(value) { return this.las
tChild = value; }; |
| 3625 $dynamic("get$parentNode").SVGElementInstance = function() { return this.parentN
ode; }; |
| 3626 $dynamic("set$parentNode").SVGElementInstance = function(value) { return this.pa
rentNode = value; }; |
| 3627 $dynamic("get$dartObjectLocalStorage").SVGElementInstance = function() { return
this.dartObjectLocalStorage; }; |
| 3628 $dynamic("set$dartObjectLocalStorage").SVGElementInstance = function(value) { re
turn this.dartObjectLocalStorage = value; }; |
| 3629 $dynamic("addEventListener$3").SVGElementInstance = function($0, $1, $2) { |
| 3630 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3631 }; |
| 3632 $dynamic("removeEventListener$3").SVGElementInstance = function($0, $1, $2) { |
| 3633 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 3634 }; |
| 3635 // ********** Code for SVGElementInstanceList ************** |
| 3636 $dynamic("get$length").SVGElementInstanceList = function() { return this.length;
}; |
| 3637 $dynamic("set$length").SVGElementInstanceList = function(value) { return this.le
ngth = value; }; |
| 3638 $dynamic("get$dartObjectLocalStorage").SVGElementInstanceList = function() { ret
urn this.dartObjectLocalStorage; }; |
| 3639 $dynamic("set$dartObjectLocalStorage").SVGElementInstanceList = function(value)
{ return this.dartObjectLocalStorage = value; }; |
| 3640 $dynamic("item$1").SVGElementInstanceList = function($0) { |
| 3641 return this.item($0); |
| 3642 }; |
| 3643 // ********** Code for SVGEllipseElement ************** |
| 3644 $dynamic("get$className").SVGEllipseElement = function() { return this.className
; }; |
| 3645 $dynamic("set$className").SVGEllipseElement = function(value) { return this.clas
sName = value; }; |
| 3646 // ********** Code for SVGException ************** |
| 3647 $dynamic("get$name").SVGException = function() { return this.name; }; |
| 3648 $dynamic("set$name").SVGException = function(value) { return this.name = value;
}; |
| 3649 $dynamic("get$dartObjectLocalStorage").SVGException = function() { return this.d
artObjectLocalStorage; }; |
| 3650 $dynamic("set$dartObjectLocalStorage").SVGException = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3651 $dynamic("toString$0").SVGException = function() { |
| 3652 return this.toString(); |
| 3653 }; |
| 3654 // ********** Code for SVGExternalResourcesRequired ************** |
| 3655 $dynamic("get$dartObjectLocalStorage").SVGExternalResourcesRequired = function()
{ return this.dartObjectLocalStorage; }; |
| 3656 $dynamic("set$dartObjectLocalStorage").SVGExternalResourcesRequired = function(v
alue) { return this.dartObjectLocalStorage = value; }; |
| 3657 // ********** Code for SVGFEBlendElement ************** |
| 3658 $dynamic("get$className").SVGFEBlendElement = function() { return this.className
; }; |
| 3659 $dynamic("set$className").SVGFEBlendElement = function(value) { return this.clas
sName = value; }; |
| 3660 // ********** Code for SVGFEColorMatrixElement ************** |
| 3661 $dynamic("get$className").SVGFEColorMatrixElement = function() { return this.cla
ssName; }; |
| 3662 $dynamic("set$className").SVGFEColorMatrixElement = function(value) { return thi
s.className = value; }; |
| 3663 // ********** Code for SVGFEComponentTransferElement ************** |
| 3664 $dynamic("get$className").SVGFEComponentTransferElement = function() { return th
is.className; }; |
| 3665 $dynamic("set$className").SVGFEComponentTransferElement = function(value) { retu
rn this.className = value; }; |
| 3666 // ********** Code for dom_SVGFECompositeElement ************** |
| 3667 $dynamic("get$className").SVGFECompositeElement = function() { return this.class
Name; }; |
| 3668 $dynamic("set$className").SVGFECompositeElement = function(value) { return this.
className = value; }; |
| 3669 // ********** Code for SVGFEConvolveMatrixElement ************** |
| 3670 $dynamic("get$className").SVGFEConvolveMatrixElement = function() { return this.
className; }; |
| 3671 $dynamic("set$className").SVGFEConvolveMatrixElement = function(value) { return
this.className = value; }; |
| 3672 // ********** Code for SVGFEDiffuseLightingElement ************** |
| 3673 $dynamic("get$className").SVGFEDiffuseLightingElement = function() { return this
.className; }; |
| 3674 $dynamic("set$className").SVGFEDiffuseLightingElement = function(value) { return
this.className = value; }; |
| 3675 // ********** Code for SVGFEDisplacementMapElement ************** |
| 3676 $dynamic("get$className").SVGFEDisplacementMapElement = function() { return this
.className; }; |
| 3677 $dynamic("set$className").SVGFEDisplacementMapElement = function(value) { return
this.className = value; }; |
| 3678 // ********** Code for SVGFEDistantLightElement ************** |
| 3679 // ********** Code for SVGFEDropShadowElement ************** |
| 3680 $dynamic("get$className").SVGFEDropShadowElement = function() { return this.clas
sName; }; |
| 3681 $dynamic("set$className").SVGFEDropShadowElement = function(value) { return this
.className = value; }; |
| 3682 // ********** Code for SVGFEFloodElement ************** |
| 3683 $dynamic("get$className").SVGFEFloodElement = function() { return this.className
; }; |
| 3684 $dynamic("set$className").SVGFEFloodElement = function(value) { return this.clas
sName = value; }; |
| 3685 // ********** Code for SVGFEFuncAElement ************** |
| 3686 // ********** Code for SVGFEFuncBElement ************** |
| 3687 // ********** Code for SVGFEFuncGElement ************** |
| 3688 // ********** Code for SVGFEFuncRElement ************** |
| 3689 // ********** Code for SVGFEGaussianBlurElement ************** |
| 3690 $dynamic("get$className").SVGFEGaussianBlurElement = function() { return this.cl
assName; }; |
| 3691 $dynamic("set$className").SVGFEGaussianBlurElement = function(value) { return th
is.className = value; }; |
| 3692 // ********** Code for SVGFEImageElement ************** |
| 3693 $dynamic("get$className").SVGFEImageElement = function() { return this.className
; }; |
| 3694 $dynamic("set$className").SVGFEImageElement = function(value) { return this.clas
sName = value; }; |
| 3695 // ********** Code for SVGFEMergeElement ************** |
| 3696 $dynamic("get$className").SVGFEMergeElement = function() { return this.className
; }; |
| 3697 $dynamic("set$className").SVGFEMergeElement = function(value) { return this.clas
sName = value; }; |
| 3698 // ********** Code for SVGFEMergeNodeElement ************** |
| 3699 // ********** Code for dom_SVGFEMorphologyElement ************** |
| 3700 $dynamic("get$className").SVGFEMorphologyElement = function() { return this.clas
sName; }; |
| 3701 $dynamic("set$className").SVGFEMorphologyElement = function(value) { return this
.className = value; }; |
| 3702 // ********** Code for SVGFEOffsetElement ************** |
| 3703 $dynamic("get$className").SVGFEOffsetElement = function() { return this.classNam
e; }; |
| 3704 $dynamic("set$className").SVGFEOffsetElement = function(value) { return this.cla
ssName = value; }; |
| 3705 // ********** Code for SVGFEPointLightElement ************** |
| 3706 // ********** Code for SVGFESpecularLightingElement ************** |
| 3707 $dynamic("get$className").SVGFESpecularLightingElement = function() { return thi
s.className; }; |
| 3708 $dynamic("set$className").SVGFESpecularLightingElement = function(value) { retur
n this.className = value; }; |
| 3709 // ********** Code for SVGFESpotLightElement ************** |
| 3710 // ********** Code for SVGFETileElement ************** |
| 3711 $dynamic("get$className").SVGFETileElement = function() { return this.className;
}; |
| 3712 $dynamic("set$className").SVGFETileElement = function(value) { return this.class
Name = value; }; |
| 3713 // ********** Code for SVGFETurbulenceElement ************** |
| 3714 $dynamic("get$className").SVGFETurbulenceElement = function() { return this.clas
sName; }; |
| 3715 $dynamic("set$className").SVGFETurbulenceElement = function(value) { return this
.className = value; }; |
| 3716 // ********** Code for SVGFilterElement ************** |
| 3717 $dynamic("get$className").SVGFilterElement = function() { return this.className;
}; |
| 3718 $dynamic("set$className").SVGFilterElement = function(value) { return this.class
Name = value; }; |
| 3719 // ********** Code for SVGFilterPrimitiveStandardAttributes ************** |
| 3720 // ********** Code for SVGFitToViewBox ************** |
| 3721 $dynamic("get$dartObjectLocalStorage").SVGFitToViewBox = function() { return thi
s.dartObjectLocalStorage; }; |
| 3722 $dynamic("set$dartObjectLocalStorage").SVGFitToViewBox = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 3723 // ********** Code for SVGFontElement ************** |
| 3724 // ********** Code for SVGFontFaceElement ************** |
| 3725 // ********** Code for SVGFontFaceFormatElement ************** |
| 3726 // ********** Code for SVGFontFaceNameElement ************** |
| 3727 // ********** Code for SVGFontFaceSrcElement ************** |
| 3728 // ********** Code for SVGFontFaceUriElement ************** |
| 3729 // ********** Code for SVGForeignObjectElement ************** |
| 3730 $dynamic("get$className").SVGForeignObjectElement = function() { return this.cla
ssName; }; |
| 3731 $dynamic("set$className").SVGForeignObjectElement = function(value) { return thi
s.className = value; }; |
| 3732 // ********** Code for SVGGElement ************** |
| 3733 $dynamic("get$className").SVGGElement = function() { return this.className; }; |
| 3734 $dynamic("set$className").SVGGElement = function(value) { return this.className
= value; }; |
| 3735 // ********** Code for SVGGlyphElement ************** |
| 3736 // ********** Code for SVGGlyphRefElement ************** |
| 3737 $dynamic("get$className").SVGGlyphRefElement = function() { return this.classNam
e; }; |
| 3738 $dynamic("set$className").SVGGlyphRefElement = function(value) { return this.cla
ssName = value; }; |
| 3739 // ********** Code for SVGGradientElement ************** |
| 3740 $dynamic("get$className").SVGGradientElement = function() { return this.classNam
e; }; |
| 3741 $dynamic("set$className").SVGGradientElement = function(value) { return this.cla
ssName = value; }; |
| 3742 // ********** Code for SVGHKernElement ************** |
| 3743 // ********** Code for SVGImageElement ************** |
| 3744 $dynamic("get$className").SVGImageElement = function() { return this.className;
}; |
| 3745 $dynamic("set$className").SVGImageElement = function(value) { return this.classN
ame = value; }; |
| 3746 // ********** Code for SVGLangSpace ************** |
| 3747 $dynamic("get$dartObjectLocalStorage").SVGLangSpace = function() { return this.d
artObjectLocalStorage; }; |
| 3748 $dynamic("set$dartObjectLocalStorage").SVGLangSpace = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3749 // ********** Code for SVGLength ************** |
| 3750 $dynamic("get$value").SVGLength = function() { return this.value; }; |
| 3751 $dynamic("set$value").SVGLength = function(value) { return this.value = value; }
; |
| 3752 $dynamic("get$dartObjectLocalStorage").SVGLength = function() { return this.dart
ObjectLocalStorage; }; |
| 3753 $dynamic("set$dartObjectLocalStorage").SVGLength = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 3754 // ********** Code for SVGLengthList ************** |
| 3755 $dynamic("get$clear").SVGLengthList = function() { |
| 3756 return this.clear.bind(this); |
| 3757 } |
| 3758 $dynamic("get$dartObjectLocalStorage").SVGLengthList = function() { return this.
dartObjectLocalStorage; }; |
| 3759 $dynamic("set$dartObjectLocalStorage").SVGLengthList = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3760 $dynamic("clear$0").SVGLengthList = function() { |
| 3761 return this.clear(); |
| 3762 }; |
| 3763 // ********** Code for SVGLineElement ************** |
| 3764 $dynamic("get$className").SVGLineElement = function() { return this.className; }
; |
| 3765 $dynamic("set$className").SVGLineElement = function(value) { return this.classNa
me = value; }; |
| 3766 // ********** Code for SVGLinearGradientElement ************** |
| 3767 // ********** Code for SVGLocatable ************** |
| 3768 $dynamic("get$dartObjectLocalStorage").SVGLocatable = function() { return this.d
artObjectLocalStorage; }; |
| 3769 $dynamic("set$dartObjectLocalStorage").SVGLocatable = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3770 // ********** Code for SVGMPathElement ************** |
| 3771 // ********** Code for SVGMarkerElement ************** |
| 3772 $dynamic("get$className").SVGMarkerElement = function() { return this.className;
}; |
| 3773 $dynamic("set$className").SVGMarkerElement = function(value) { return this.class
Name = value; }; |
| 3774 // ********** Code for SVGMaskElement ************** |
| 3775 $dynamic("get$className").SVGMaskElement = function() { return this.className; }
; |
| 3776 $dynamic("set$className").SVGMaskElement = function(value) { return this.classNa
me = value; }; |
| 3777 // ********** Code for SVGMatrix ************** |
| 3778 $dynamic("get$dartObjectLocalStorage").SVGMatrix = function() { return this.dart
ObjectLocalStorage; }; |
| 3779 $dynamic("set$dartObjectLocalStorage").SVGMatrix = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 3780 // ********** Code for SVGMetadataElement ************** |
| 3781 // ********** Code for SVGMissingGlyphElement ************** |
| 3782 // ********** Code for SVGNumber ************** |
| 3783 $dynamic("get$value").SVGNumber = function() { return this.value; }; |
| 3784 $dynamic("set$value").SVGNumber = function(value) { return this.value = value; }
; |
| 3785 $dynamic("get$dartObjectLocalStorage").SVGNumber = function() { return this.dart
ObjectLocalStorage; }; |
| 3786 $dynamic("set$dartObjectLocalStorage").SVGNumber = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 3787 // ********** Code for SVGNumberList ************** |
| 3788 $dynamic("get$clear").SVGNumberList = function() { |
| 3789 return this.clear.bind(this); |
| 3790 } |
| 3791 $dynamic("get$dartObjectLocalStorage").SVGNumberList = function() { return this.
dartObjectLocalStorage; }; |
| 3792 $dynamic("set$dartObjectLocalStorage").SVGNumberList = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3793 $dynamic("clear$0").SVGNumberList = function() { |
| 3794 return this.clear(); |
| 3795 }; |
| 3796 // ********** Code for SVGPaint ************** |
| 3797 // ********** Code for SVGPathElement ************** |
| 3798 $dynamic("get$className").SVGPathElement = function() { return this.className; }
; |
| 3799 $dynamic("set$className").SVGPathElement = function(value) { return this.classNa
me = value; }; |
| 3800 // ********** Code for SVGPathSeg ************** |
| 3801 $dynamic("get$dartObjectLocalStorage").SVGPathSeg = function() { return this.dar
tObjectLocalStorage; }; |
| 3802 $dynamic("set$dartObjectLocalStorage").SVGPathSeg = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 3803 // ********** Code for SVGPathSegArcAbs ************** |
| 3804 // ********** Code for SVGPathSegArcRel ************** |
| 3805 // ********** Code for SVGPathSegClosePath ************** |
| 3806 // ********** Code for SVGPathSegCurvetoCubicAbs ************** |
| 3807 // ********** Code for SVGPathSegCurvetoCubicRel ************** |
| 3808 // ********** Code for SVGPathSegCurvetoCubicSmoothAbs ************** |
| 3809 // ********** Code for SVGPathSegCurvetoCubicSmoothRel ************** |
| 3810 // ********** Code for SVGPathSegCurvetoQuadraticAbs ************** |
| 3811 // ********** Code for SVGPathSegCurvetoQuadraticRel ************** |
| 3812 // ********** Code for SVGPathSegCurvetoQuadraticSmoothAbs ************** |
| 3813 // ********** Code for SVGPathSegCurvetoQuadraticSmoothRel ************** |
| 3814 // ********** Code for SVGPathSegLinetoAbs ************** |
| 3815 // ********** Code for SVGPathSegLinetoHorizontalAbs ************** |
| 3816 // ********** Code for SVGPathSegLinetoHorizontalRel ************** |
| 3817 // ********** Code for SVGPathSegLinetoRel ************** |
| 3818 // ********** Code for SVGPathSegLinetoVerticalAbs ************** |
| 3819 // ********** Code for SVGPathSegLinetoVerticalRel ************** |
| 3820 // ********** Code for SVGPathSegList ************** |
| 3821 $dynamic("get$clear").SVGPathSegList = function() { |
| 3822 return this.clear.bind(this); |
| 3823 } |
| 3824 $dynamic("get$dartObjectLocalStorage").SVGPathSegList = function() { return this
.dartObjectLocalStorage; }; |
| 3825 $dynamic("set$dartObjectLocalStorage").SVGPathSegList = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3826 $dynamic("clear$0").SVGPathSegList = function() { |
| 3827 return this.clear(); |
| 3828 }; |
| 3829 // ********** Code for SVGPathSegMovetoAbs ************** |
| 3830 // ********** Code for SVGPathSegMovetoRel ************** |
| 3831 // ********** Code for SVGPatternElement ************** |
| 3832 $dynamic("get$className").SVGPatternElement = function() { return this.className
; }; |
| 3833 $dynamic("set$className").SVGPatternElement = function(value) { return this.clas
sName = value; }; |
| 3834 // ********** Code for SVGPoint ************** |
| 3835 $dynamic("get$dartObjectLocalStorage").SVGPoint = function() { return this.dartO
bjectLocalStorage; }; |
| 3836 $dynamic("set$dartObjectLocalStorage").SVGPoint = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 3837 // ********** Code for SVGPointList ************** |
| 3838 $dynamic("get$clear").SVGPointList = function() { |
| 3839 return this.clear.bind(this); |
| 3840 } |
| 3841 $dynamic("get$dartObjectLocalStorage").SVGPointList = function() { return this.d
artObjectLocalStorage; }; |
| 3842 $dynamic("set$dartObjectLocalStorage").SVGPointList = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3843 $dynamic("clear$0").SVGPointList = function() { |
| 3844 return this.clear(); |
| 3845 }; |
| 3846 // ********** Code for SVGPolygonElement ************** |
| 3847 $dynamic("get$className").SVGPolygonElement = function() { return this.className
; }; |
| 3848 $dynamic("set$className").SVGPolygonElement = function(value) { return this.clas
sName = value; }; |
| 3849 // ********** Code for SVGPolylineElement ************** |
| 3850 $dynamic("get$className").SVGPolylineElement = function() { return this.classNam
e; }; |
| 3851 $dynamic("set$className").SVGPolylineElement = function(value) { return this.cla
ssName = value; }; |
| 3852 // ********** Code for SVGPreserveAspectRatio ************** |
| 3853 $dynamic("get$dartObjectLocalStorage").SVGPreserveAspectRatio = function() { ret
urn this.dartObjectLocalStorage; }; |
| 3854 $dynamic("set$dartObjectLocalStorage").SVGPreserveAspectRatio = function(value)
{ return this.dartObjectLocalStorage = value; }; |
| 3855 // ********** Code for SVGRadialGradientElement ************** |
| 3856 // ********** Code for SVGRect ************** |
| 3857 $dynamic("get$dartObjectLocalStorage").SVGRect = function() { return this.dartOb
jectLocalStorage; }; |
| 3858 $dynamic("set$dartObjectLocalStorage").SVGRect = function(value) { return this.d
artObjectLocalStorage = value; }; |
| 3859 // ********** Code for SVGRectElement ************** |
| 3860 $dynamic("get$className").SVGRectElement = function() { return this.className; }
; |
| 3861 $dynamic("set$className").SVGRectElement = function(value) { return this.classNa
me = value; }; |
| 3862 // ********** Code for SVGRenderingIntent ************** |
| 3863 $dynamic("get$dartObjectLocalStorage").SVGRenderingIntent = function() { return
this.dartObjectLocalStorage; }; |
| 3864 $dynamic("set$dartObjectLocalStorage").SVGRenderingIntent = function(value) { re
turn this.dartObjectLocalStorage = value; }; |
| 3865 // ********** Code for SVGSVGElement ************** |
| 3866 $dynamic("get$className").SVGSVGElement = function() { return this.className; }; |
| 3867 $dynamic("set$className").SVGSVGElement = function(value) { return this.classNam
e = value; }; |
| 3868 // ********** Code for SVGScriptElement ************** |
| 3869 // ********** Code for SVGSetElement ************** |
| 3870 // ********** Code for SVGStopElement ************** |
| 3871 $dynamic("get$className").SVGStopElement = function() { return this.className; }
; |
| 3872 $dynamic("set$className").SVGStopElement = function(value) { return this.classNa
me = value; }; |
| 3873 // ********** Code for SVGStringList ************** |
| 3874 $dynamic("get$clear").SVGStringList = function() { |
| 3875 return this.clear.bind(this); |
| 3876 } |
| 3877 $dynamic("get$dartObjectLocalStorage").SVGStringList = function() { return this.
dartObjectLocalStorage; }; |
| 3878 $dynamic("set$dartObjectLocalStorage").SVGStringList = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3879 $dynamic("clear$0").SVGStringList = function() { |
| 3880 return this.clear(); |
| 3881 }; |
| 3882 // ********** Code for SVGStylable ************** |
| 3883 $dynamic("get$className").SVGStylable = function() { return this.className; }; |
| 3884 $dynamic("set$className").SVGStylable = function(value) { return this.className
= value; }; |
| 3885 $dynamic("get$dartObjectLocalStorage").SVGStylable = function() { return this.da
rtObjectLocalStorage; }; |
| 3886 $dynamic("set$dartObjectLocalStorage").SVGStylable = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 3887 // ********** Code for SVGStyleElement ************** |
| 3888 // ********** Code for SVGSwitchElement ************** |
| 3889 $dynamic("get$className").SVGSwitchElement = function() { return this.className;
}; |
| 3890 $dynamic("set$className").SVGSwitchElement = function(value) { return this.class
Name = value; }; |
| 3891 // ********** Code for SVGSymbolElement ************** |
| 3892 $dynamic("get$className").SVGSymbolElement = function() { return this.className;
}; |
| 3893 $dynamic("set$className").SVGSymbolElement = function(value) { return this.class
Name = value; }; |
| 3894 // ********** Code for SVGTRefElement ************** |
| 3895 // ********** Code for SVGTSpanElement ************** |
| 3896 // ********** Code for SVGTests ************** |
| 3897 $dynamic("get$dartObjectLocalStorage").SVGTests = function() { return this.dartO
bjectLocalStorage; }; |
| 3898 $dynamic("set$dartObjectLocalStorage").SVGTests = function(value) { return this.
dartObjectLocalStorage = value; }; |
| 3899 // ********** Code for SVGTextContentElement ************** |
| 3900 $dynamic("get$className").SVGTextContentElement = function() { return this.class
Name; }; |
| 3901 $dynamic("set$className").SVGTextContentElement = function(value) { return this.
className = value; }; |
| 3902 // ********** Code for SVGTextElement ************** |
| 3903 // ********** Code for SVGTextPathElement ************** |
| 3904 // ********** Code for SVGTextPositioningElement ************** |
| 3905 // ********** Code for SVGTitleElement ************** |
| 3906 $dynamic("get$className").SVGTitleElement = function() { return this.className;
}; |
| 3907 $dynamic("set$className").SVGTitleElement = function(value) { return this.classN
ame = value; }; |
| 3908 // ********** Code for SVGTransform ************** |
| 3909 $dynamic("get$dartObjectLocalStorage").SVGTransform = function() { return this.d
artObjectLocalStorage; }; |
| 3910 $dynamic("set$dartObjectLocalStorage").SVGTransform = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3911 // ********** Code for SVGTransformList ************** |
| 3912 $dynamic("get$clear").SVGTransformList = function() { |
| 3913 return this.clear.bind(this); |
| 3914 } |
| 3915 $dynamic("get$dartObjectLocalStorage").SVGTransformList = function() { return th
is.dartObjectLocalStorage; }; |
| 3916 $dynamic("set$dartObjectLocalStorage").SVGTransformList = function(value) { retu
rn this.dartObjectLocalStorage = value; }; |
| 3917 $dynamic("clear$0").SVGTransformList = function() { |
| 3918 return this.clear(); |
| 3919 }; |
| 3920 // ********** Code for SVGTransformable ************** |
| 3921 // ********** Code for SVGURIReference ************** |
| 3922 $dynamic("get$dartObjectLocalStorage").SVGURIReference = function() { return thi
s.dartObjectLocalStorage; }; |
| 3923 $dynamic("set$dartObjectLocalStorage").SVGURIReference = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 3924 // ********** Code for SVGUnitTypes ************** |
| 3925 $dynamic("get$dartObjectLocalStorage").SVGUnitTypes = function() { return this.d
artObjectLocalStorage; }; |
| 3926 $dynamic("set$dartObjectLocalStorage").SVGUnitTypes = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 3927 // ********** Code for SVGUseElement ************** |
| 3928 $dynamic("get$className").SVGUseElement = function() { return this.className; }; |
| 3929 $dynamic("set$className").SVGUseElement = function(value) { return this.classNam
e = value; }; |
| 3930 // ********** Code for SVGVKernElement ************** |
| 3931 // ********** Code for SVGViewElement ************** |
| 3932 // ********** Code for SVGViewSpec ************** |
| 3933 // ********** Code for SVGZoomAndPan ************** |
| 3934 $dynamic("get$dartObjectLocalStorage").SVGZoomAndPan = function() { return this.
dartObjectLocalStorage; }; |
| 3935 $dynamic("set$dartObjectLocalStorage").SVGZoomAndPan = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3936 // ********** Code for SVGZoomEvent ************** |
| 3937 // ********** Code for Screen ************** |
| 3938 $dynamic("get$dartObjectLocalStorage").Screen = function() { return this.dartObj
ectLocalStorage; }; |
| 3939 $dynamic("set$dartObjectLocalStorage").Screen = function(value) { return this.da
rtObjectLocalStorage = value; }; |
| 3940 // ********** Code for dom_ScriptProfile ************** |
| 3941 $dynamic("get$dartObjectLocalStorage").ScriptProfile = function() { return this.
dartObjectLocalStorage; }; |
| 3942 $dynamic("set$dartObjectLocalStorage").ScriptProfile = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 3943 // ********** Code for dom_ScriptProfileNode ************** |
| 3944 $dynamic("get$children").ScriptProfileNode = function() { return this.children;
}; |
| 3945 $dynamic("set$children").ScriptProfileNode = function(value) { return this.child
ren = value; }; |
| 3946 $dynamic("get$dartObjectLocalStorage").ScriptProfileNode = function() { return t
his.dartObjectLocalStorage; }; |
| 3947 $dynamic("set$dartObjectLocalStorage").ScriptProfileNode = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 3948 // ********** Code for SharedWorker ************** |
| 3949 // ********** Code for dom_SharedWorkercontext ************** |
| 3950 $dynamic("get$name").SharedWorkercontext = function() { return this.name; }; |
| 3951 $dynamic("set$name").SharedWorkercontext = function(value) { return this.name =
value; }; |
| 3952 // ********** Code for SpeechInputEvent ************** |
| 3953 // ********** Code for SpeechInputResult ************** |
| 3954 $dynamic("get$dartObjectLocalStorage").SpeechInputResult = function() { return t
his.dartObjectLocalStorage; }; |
| 3955 $dynamic("set$dartObjectLocalStorage").SpeechInputResult = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 3956 // ********** Code for SpeechInputResultList ************** |
| 3957 $dynamic("get$length").SpeechInputResultList = function() { return this.length;
}; |
| 3958 $dynamic("set$length").SpeechInputResultList = function(value) { return this.len
gth = value; }; |
| 3959 $dynamic("get$dartObjectLocalStorage").SpeechInputResultList = function() { retu
rn this.dartObjectLocalStorage; }; |
| 3960 $dynamic("set$dartObjectLocalStorage").SpeechInputResultList = function(value) {
return this.dartObjectLocalStorage = value; }; |
| 3961 $dynamic("item$1").SpeechInputResultList = function($0) { |
| 3962 return this.item($0); |
| 3963 }; |
| 3964 // ********** Code for Storage ************** |
| 3965 $dynamic("get$length").Storage = function() { return this.length; }; |
| 3966 $dynamic("set$length").Storage = function(value) { return this.length = value; }
; |
| 3967 $dynamic("get$clear").Storage = function() { |
| 3968 return this.clear.bind(this); |
| 3969 } |
| 3970 $dynamic("get$dartObjectLocalStorage").Storage = function() { |
| 3971 |
| 3972 if (this === window.localStorage) |
| 3973 return window._dartLocalStorageLocalStorage; |
| 3974 else if (this === window.sessionStorage) |
| 3975 return window._dartSessionStorageLocalStorage; |
| 3976 else |
| 3977 throw new UnsupportedOperationException('Cannot dartObjectLocalStorage f
or unknown Storage object.'); |
| 3978 |
| 3979 } |
| 3980 $dynamic("set$dartObjectLocalStorage").Storage = function(value) { |
| 3981 |
| 3982 if (this === window.localStorage) |
| 3983 window._dartLocalStorageLocalStorage = value; |
| 3984 else if (this === window.sessionStorage) |
| 3985 window._dartSessionStorageLocalStorage = value; |
| 3986 else |
| 3987 throw new UnsupportedOperationException('Cannot dartObjectLocalStorage f
or unknown Storage object.'); |
| 3988 |
| 3989 } |
| 3990 $dynamic("clear$0").Storage = function() { |
| 3991 return this.clear(); |
| 3992 }; |
| 3993 // ********** Code for StorageEvent ************** |
| 3994 // ********** Code for StorageInfo ************** |
| 3995 $dynamic("get$dartObjectLocalStorage").StorageInfo = function() { return this.da
rtObjectLocalStorage; }; |
| 3996 $dynamic("set$dartObjectLocalStorage").StorageInfo = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 3997 // ********** Code for StyleMedia ************** |
| 3998 $dynamic("get$dartObjectLocalStorage").StyleMedia = function() { return this.dar
tObjectLocalStorage; }; |
| 3999 $dynamic("set$dartObjectLocalStorage").StyleMedia = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 4000 // ********** Code for StyleSheet ************** |
| 4001 $dynamic("get$dartObjectLocalStorage").StyleSheet = function() { return this.dar
tObjectLocalStorage; }; |
| 4002 $dynamic("set$dartObjectLocalStorage").StyleSheet = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 4003 // ********** Code for StyleSheetList ************** |
| 4004 $dynamic("get$length").StyleSheetList = function() { return this.length; }; |
| 4005 $dynamic("set$length").StyleSheetList = function(value) { return this.length = v
alue; }; |
| 4006 $dynamic("$setindex").StyleSheetList = function(index, value) { |
| 4007 $throw(new UnsupportedOperationException("Cannot assign element of immutable L
ist.")); |
| 4008 } |
| 4009 $dynamic("get$dartObjectLocalStorage").StyleSheetList = function() { return this
.dartObjectLocalStorage; }; |
| 4010 $dynamic("set$dartObjectLocalStorage").StyleSheetList = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 4011 $dynamic("item$1").StyleSheetList = function($0) { |
| 4012 return this.item($0); |
| 4013 }; |
| 4014 // ********** Code for Text ************** |
| 4015 // ********** Code for TextEvent ************** |
| 4016 // ********** Code for TextMetrics ************** |
| 4017 $dynamic("get$dartObjectLocalStorage").TextMetrics = function() { return this.da
rtObjectLocalStorage; }; |
| 4018 $dynamic("set$dartObjectLocalStorage").TextMetrics = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 4019 // ********** Code for TextTrack ************** |
| 4020 $dynamic("get$dartObjectLocalStorage").TextTrack = function() { return this.dart
ObjectLocalStorage; }; |
| 4021 $dynamic("set$dartObjectLocalStorage").TextTrack = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 4022 $dynamic("addEventListener$3").TextTrack = function($0, $1, $2) { |
| 4023 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4024 }; |
| 4025 $dynamic("removeEventListener$3").TextTrack = function($0, $1, $2) { |
| 4026 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4027 }; |
| 4028 // ********** Code for TextTrackCue ************** |
| 4029 $dynamic("get$id").TextTrackCue = function() { return this.id; }; |
| 4030 $dynamic("set$id").TextTrackCue = function(value) { return this.id = value; }; |
| 4031 $dynamic("get$text").TextTrackCue = function() { return this.text; }; |
| 4032 $dynamic("set$text").TextTrackCue = function(value) { return this.text = value;
}; |
| 4033 $dynamic("get$dartObjectLocalStorage").TextTrackCue = function() { return this.d
artObjectLocalStorage; }; |
| 4034 $dynamic("set$dartObjectLocalStorage").TextTrackCue = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 4035 $dynamic("addEventListener$3").TextTrackCue = function($0, $1, $2) { |
| 4036 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4037 }; |
| 4038 $dynamic("removeEventListener$3").TextTrackCue = function($0, $1, $2) { |
| 4039 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4040 }; |
| 4041 // ********** Code for TextTrackCueList ************** |
| 4042 $dynamic("get$length").TextTrackCueList = function() { return this.length; }; |
| 4043 $dynamic("set$length").TextTrackCueList = function(value) { return this.length =
value; }; |
| 4044 $dynamic("get$dartObjectLocalStorage").TextTrackCueList = function() { return th
is.dartObjectLocalStorage; }; |
| 4045 $dynamic("set$dartObjectLocalStorage").TextTrackCueList = function(value) { retu
rn this.dartObjectLocalStorage = value; }; |
| 4046 $dynamic("item$1").TextTrackCueList = function($0) { |
| 4047 return this.item($0); |
| 4048 }; |
| 4049 // ********** Code for dom_TextTrackList ************** |
| 4050 $dynamic("get$length").TextTrackList = function() { return this.length; }; |
| 4051 $dynamic("set$length").TextTrackList = function(value) { return this.length = va
lue; }; |
| 4052 $dynamic("get$dartObjectLocalStorage").TextTrackList = function() { return this.
dartObjectLocalStorage; }; |
| 4053 $dynamic("set$dartObjectLocalStorage").TextTrackList = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 4054 $dynamic("addEventListener$3").TextTrackList = function($0, $1, $2) { |
| 4055 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4056 }; |
| 4057 $dynamic("item$1").TextTrackList = function($0) { |
| 4058 return this.item($0); |
| 4059 }; |
| 4060 $dynamic("removeEventListener$3").TextTrackList = function($0, $1, $2) { |
| 4061 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4062 }; |
| 4063 // ********** Code for TimeRanges ************** |
| 4064 $dynamic("get$length").TimeRanges = function() { return this.length; }; |
| 4065 $dynamic("set$length").TimeRanges = function(value) { return this.length = value
; }; |
| 4066 $dynamic("get$dartObjectLocalStorage").TimeRanges = function() { return this.dar
tObjectLocalStorage; }; |
| 4067 $dynamic("set$dartObjectLocalStorage").TimeRanges = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 4068 // ********** Code for Touch ************** |
| 4069 $dynamic("get$dartObjectLocalStorage").Touch = function() { return this.dartObje
ctLocalStorage; }; |
| 4070 $dynamic("set$dartObjectLocalStorage").Touch = function(value) { return this.dar
tObjectLocalStorage = value; }; |
| 4071 // ********** Code for TouchEvent ************** |
| 4072 // ********** Code for TouchList ************** |
| 4073 $dynamic("get$length").TouchList = function() { return this.length; }; |
| 4074 $dynamic("set$length").TouchList = function(value) { return this.length = value;
}; |
| 4075 $dynamic("$setindex").TouchList = function(index, value) { |
| 4076 $throw(new UnsupportedOperationException("Cannot assign element of immutable L
ist.")); |
| 4077 } |
| 4078 $dynamic("get$dartObjectLocalStorage").TouchList = function() { return this.dart
ObjectLocalStorage; }; |
| 4079 $dynamic("set$dartObjectLocalStorage").TouchList = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 4080 $dynamic("item$1").TouchList = function($0) { |
| 4081 return this.item($0); |
| 4082 }; |
| 4083 // ********** Code for dom_TrackEvent ************** |
| 4084 // ********** Code for dom_TreeWalker ************** |
| 4085 $dynamic("get$firstChild").TreeWalker = function() { |
| 4086 return this.firstChild.bind(this); |
| 4087 } |
| 4088 $dynamic("get$lastChild").TreeWalker = function() { |
| 4089 return this.lastChild.bind(this); |
| 4090 } |
| 4091 $dynamic("get$parentNode").TreeWalker = function() { |
| 4092 return this.parentNode.bind(this); |
| 4093 } |
| 4094 $dynamic("get$dartObjectLocalStorage").TreeWalker = function() { return this.dar
tObjectLocalStorage; }; |
| 4095 $dynamic("set$dartObjectLocalStorage").TreeWalker = function(value) { return thi
s.dartObjectLocalStorage = value; }; |
| 4096 $dynamic("filter$1").TreeWalker = function($0) { |
| 4097 return this.filter.call$1($0); |
| 4098 }; |
| 4099 // ********** Code for UIEvent ************** |
| 4100 // ********** Code for Uint16Array ************** |
| 4101 $dynamic("is$List").Uint16Array = function(){return true}; |
| 4102 $dynamic("get$length").Uint16Array = function() { return this.length; }; |
| 4103 $dynamic("set$length").Uint16Array = function(value) { return this.length = valu
e; }; |
| 4104 // ********** Code for Uint32Array ************** |
| 4105 $dynamic("is$List").Uint32Array = function(){return true}; |
| 4106 $dynamic("get$length").Uint32Array = function() { return this.length; }; |
| 4107 $dynamic("set$length").Uint32Array = function(value) { return this.length = valu
e; }; |
| 4108 // ********** Code for Uint8Array ************** |
| 4109 $dynamic("is$List").Uint8Array = function(){return true}; |
| 4110 $dynamic("get$length").Uint8Array = function() { return this.length; }; |
| 4111 $dynamic("set$length").Uint8Array = function(value) { return this.length = value
; }; |
| 4112 // ********** Code for ValidityState ************** |
| 4113 $dynamic("get$dartObjectLocalStorage").ValidityState = function() { return this.
dartObjectLocalStorage; }; |
| 4114 $dynamic("set$dartObjectLocalStorage").ValidityState = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 4115 // ********** Code for WaveShaperNode ************** |
| 4116 // ********** Code for WebGLActiveInfo ************** |
| 4117 $dynamic("get$name").WebGLActiveInfo = function() { return this.name; }; |
| 4118 $dynamic("set$name").WebGLActiveInfo = function(value) { return this.name = valu
e; }; |
| 4119 $dynamic("get$dartObjectLocalStorage").WebGLActiveInfo = function() { return thi
s.dartObjectLocalStorage; }; |
| 4120 $dynamic("set$dartObjectLocalStorage").WebGLActiveInfo = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 4121 // ********** Code for WebGLBuffer ************** |
| 4122 $dynamic("get$dartObjectLocalStorage").WebGLBuffer = function() { return this.da
rtObjectLocalStorage; }; |
| 4123 $dynamic("set$dartObjectLocalStorage").WebGLBuffer = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 4124 // ********** Code for dom_WebGLCompressedTextures ************** |
| 4125 $dynamic("get$dartObjectLocalStorage").WebGLCompressedTextures = function() { re
turn this.dartObjectLocalStorage; }; |
| 4126 $dynamic("set$dartObjectLocalStorage").WebGLCompressedTextures = function(value)
{ return this.dartObjectLocalStorage = value; }; |
| 4127 // ********** Code for WebGLContextAttributes ************** |
| 4128 $dynamic("get$dartObjectLocalStorage").WebGLContextAttributes = function() { ret
urn this.dartObjectLocalStorage; }; |
| 4129 $dynamic("set$dartObjectLocalStorage").WebGLContextAttributes = function(value)
{ return this.dartObjectLocalStorage = value; }; |
| 4130 // ********** Code for WebGLContextEvent ************** |
| 4131 // ********** Code for WebGLDebugRendererInfo ************** |
| 4132 $dynamic("get$dartObjectLocalStorage").WebGLDebugRendererInfo = function() { ret
urn this.dartObjectLocalStorage; }; |
| 4133 $dynamic("set$dartObjectLocalStorage").WebGLDebugRendererInfo = function(value)
{ return this.dartObjectLocalStorage = value; }; |
| 4134 // ********** Code for WebGLDebugShaders ************** |
| 4135 $dynamic("get$dartObjectLocalStorage").WebGLDebugShaders = function() { return t
his.dartObjectLocalStorage; }; |
| 4136 $dynamic("set$dartObjectLocalStorage").WebGLDebugShaders = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 4137 // ********** Code for WebGLFramebuffer ************** |
| 4138 $dynamic("get$dartObjectLocalStorage").WebGLFramebuffer = function() { return th
is.dartObjectLocalStorage; }; |
| 4139 $dynamic("set$dartObjectLocalStorage").WebGLFramebuffer = function(value) { retu
rn this.dartObjectLocalStorage = value; }; |
| 4140 // ********** Code for dom_WebGLLoseContext ************** |
| 4141 $dynamic("get$dartObjectLocalStorage").WebGLLoseContext = function() { return th
is.dartObjectLocalStorage; }; |
| 4142 $dynamic("set$dartObjectLocalStorage").WebGLLoseContext = function(value) { retu
rn this.dartObjectLocalStorage = value; }; |
| 4143 // ********** Code for WebGLProgram ************** |
| 4144 $dynamic("get$dartObjectLocalStorage").WebGLProgram = function() { return this.d
artObjectLocalStorage; }; |
| 4145 $dynamic("set$dartObjectLocalStorage").WebGLProgram = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 4146 // ********** Code for WebGLRenderbuffer ************** |
| 4147 $dynamic("get$dartObjectLocalStorage").WebGLRenderbuffer = function() { return t
his.dartObjectLocalStorage; }; |
| 4148 $dynamic("set$dartObjectLocalStorage").WebGLRenderbuffer = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 4149 // ********** Code for WebGLRenderingContext ************** |
| 4150 $dynamic("get$clear").WebGLRenderingContext = function() { |
| 4151 return this.clear.bind(this); |
| 4152 } |
| 4153 // ********** Code for WebGLShader ************** |
| 4154 $dynamic("get$dartObjectLocalStorage").WebGLShader = function() { return this.da
rtObjectLocalStorage; }; |
| 4155 $dynamic("set$dartObjectLocalStorage").WebGLShader = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 4156 // ********** Code for WebGLTexture ************** |
| 4157 $dynamic("get$dartObjectLocalStorage").WebGLTexture = function() { return this.d
artObjectLocalStorage; }; |
| 4158 $dynamic("set$dartObjectLocalStorage").WebGLTexture = function(value) { return t
his.dartObjectLocalStorage = value; }; |
| 4159 // ********** Code for WebGLUniformLocation ************** |
| 4160 $dynamic("get$dartObjectLocalStorage").WebGLUniformLocation = function() { retur
n this.dartObjectLocalStorage; }; |
| 4161 $dynamic("set$dartObjectLocalStorage").WebGLUniformLocation = function(value) {
return this.dartObjectLocalStorage = value; }; |
| 4162 // ********** Code for WebGLVertexArrayObjectOES ************** |
| 4163 $dynamic("get$dartObjectLocalStorage").WebGLVertexArrayObjectOES = function() {
return this.dartObjectLocalStorage; }; |
| 4164 $dynamic("set$dartObjectLocalStorage").WebGLVertexArrayObjectOES = function(valu
e) { return this.dartObjectLocalStorage = value; }; |
| 4165 // ********** Code for dom_WebKitAnimation ************** |
| 4166 $dynamic("get$name").WebKitAnimation = function() { return this.name; }; |
| 4167 $dynamic("set$name").WebKitAnimation = function(value) { return this.name = valu
e; }; |
| 4168 $dynamic("get$dartObjectLocalStorage").WebKitAnimation = function() { return thi
s.dartObjectLocalStorage; }; |
| 4169 $dynamic("set$dartObjectLocalStorage").WebKitAnimation = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 4170 // ********** Code for dom_WebKitAnimationEvent ************** |
| 4171 // ********** Code for dom_WebKitAnimationList ************** |
| 4172 $dynamic("get$length").WebKitAnimationList = function() { return this.length; }; |
| 4173 $dynamic("set$length").WebKitAnimationList = function(value) { return this.lengt
h = value; }; |
| 4174 $dynamic("get$dartObjectLocalStorage").WebKitAnimationList = function() { return
this.dartObjectLocalStorage; }; |
| 4175 $dynamic("set$dartObjectLocalStorage").WebKitAnimationList = function(value) { r
eturn this.dartObjectLocalStorage = value; }; |
| 4176 $dynamic("item$1").WebKitAnimationList = function($0) { |
| 4177 return this.item($0); |
| 4178 }; |
| 4179 // ********** Code for dom_WebKitBlobBuilder ************** |
| 4180 $dynamic("get$dartObjectLocalStorage").WebKitBlobBuilder = function() { return t
his.dartObjectLocalStorage; }; |
| 4181 $dynamic("set$dartObjectLocalStorage").WebKitBlobBuilder = function(value) { ret
urn this.dartObjectLocalStorage = value; }; |
| 4182 // ********** Code for WebKitCSSFilterValue ************** |
| 4183 // ********** Code for dom_WebKitCSSKeyframeRule ************** |
| 4184 // ********** Code for dom_WebKitCSSKeyframesRule ************** |
| 4185 $dynamic("get$name").WebKitCSSKeyframesRule = function() { return this.name; }; |
| 4186 $dynamic("set$name").WebKitCSSKeyframesRule = function(value) { return this.name
= value; }; |
| 4187 // ********** Code for dom_WebKitCSSMatrix ************** |
| 4188 $dynamic("get$dartObjectLocalStorage").WebKitCSSMatrix = function() { return thi
s.dartObjectLocalStorage; }; |
| 4189 $dynamic("set$dartObjectLocalStorage").WebKitCSSMatrix = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 4190 $dynamic("toString$0").WebKitCSSMatrix = function() { |
| 4191 return this.toString(); |
| 4192 }; |
| 4193 // ********** Code for dom_WebKitCSSTransformValue ************** |
| 4194 // ********** Code for WebKitMutationObserver ************** |
| 4195 $dynamic("get$dartObjectLocalStorage").WebKitMutationObserver = function() { ret
urn this.dartObjectLocalStorage; }; |
| 4196 $dynamic("set$dartObjectLocalStorage").WebKitMutationObserver = function(value)
{ return this.dartObjectLocalStorage = value; }; |
| 4197 // ********** Code for dom_WebKitNamedFlow ************** |
| 4198 $dynamic("get$dartObjectLocalStorage").WebKitNamedFlow = function() { return thi
s.dartObjectLocalStorage; }; |
| 4199 $dynamic("set$dartObjectLocalStorage").WebKitNamedFlow = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 4200 // ********** Code for dom_WebKitPoint ************** |
| 4201 $dynamic("get$dartObjectLocalStorage").WebKitPoint = function() { return this.da
rtObjectLocalStorage; }; |
| 4202 $dynamic("set$dartObjectLocalStorage").WebKitPoint = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 4203 // ********** Code for dom_WebKitTransitionEvent ************** |
| 4204 // ********** Code for WebSocket ************** |
| 4205 $dynamic("get$readyState").WebSocket = function() { return this.readyState; }; |
| 4206 $dynamic("set$readyState").WebSocket = function(value) { return this.readyState
= value; }; |
| 4207 $dynamic("get$dartObjectLocalStorage").WebSocket = function() { return this.dart
ObjectLocalStorage; }; |
| 4208 $dynamic("set$dartObjectLocalStorage").WebSocket = function(value) { return this
.dartObjectLocalStorage = value; }; |
| 4209 $dynamic("addEventListener$3").WebSocket = function($0, $1, $2) { |
| 4210 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4211 }; |
| 4212 $dynamic("removeEventListener$3").WebSocket = function($0, $1, $2) { |
| 4213 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4214 }; |
| 4215 // ********** Code for WheelEvent ************** |
| 4216 // ********** Code for Worker ************** |
| 4217 $dynamic("postMessage$1").Worker = function($0) { |
| 4218 return this.postMessage($0); |
| 4219 }; |
| 4220 $dynamic("postMessage$2").Worker = function($0, $1) { |
| 4221 return this.postMessage($0, $1); |
| 4222 }; |
| 4223 $dynamic("terminate$0").Worker = function() { |
| 4224 return this.terminate(); |
| 4225 }; |
| 4226 // ********** Code for dom_WorkerContext ************** |
| 4227 $dynamic("get$dartObjectLocalStorage").WorkerContext = function() { return this.
dartObjectLocalStorage; }; |
| 4228 $dynamic("set$dartObjectLocalStorage").WorkerContext = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 4229 $dynamic("addEventListener$3").WorkerContext = function($0, $1, $2) { |
| 4230 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4231 }; |
| 4232 $dynamic("removeEventListener$3").WorkerContext = function($0, $1, $2) { |
| 4233 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4234 }; |
| 4235 $dynamic("setTimeout$2").WorkerContext = function($0, $1) { |
| 4236 return this.setTimeout($wrap_call$0(to$call$0($0)), $1); |
| 4237 }; |
| 4238 // ********** Code for dom_WorkerLocation ************** |
| 4239 $dynamic("get$dartObjectLocalStorage").WorkerLocation = function() { return this
.dartObjectLocalStorage; }; |
| 4240 $dynamic("set$dartObjectLocalStorage").WorkerLocation = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 4241 $dynamic("toString$0").WorkerLocation = function() { |
| 4242 return this.toString(); |
| 4243 }; |
| 4244 // ********** Code for dom_WorkerNavigator ************** |
| 4245 $dynamic("get$dartObjectLocalStorage").WorkerNavigator = function() { return thi
s.dartObjectLocalStorage; }; |
| 4246 $dynamic("set$dartObjectLocalStorage").WorkerNavigator = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 4247 // ********** Code for XMLHttpRequest ************** |
| 4248 $dynamic("get$readyState").XMLHttpRequest = function() { return this.readyState;
}; |
| 4249 $dynamic("set$readyState").XMLHttpRequest = function(value) { return this.readyS
tate = value; }; |
| 4250 $dynamic("get$dartObjectLocalStorage").XMLHttpRequest = function() { return this
.dartObjectLocalStorage; }; |
| 4251 $dynamic("set$dartObjectLocalStorage").XMLHttpRequest = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 4252 $dynamic("addEventListener$3").XMLHttpRequest = function($0, $1, $2) { |
| 4253 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4254 }; |
| 4255 $dynamic("removeEventListener$3").XMLHttpRequest = function($0, $1, $2) { |
| 4256 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4257 }; |
| 4258 // ********** Code for XMLHttpRequestException ************** |
| 4259 $dynamic("get$name").XMLHttpRequestException = function() { return this.name; }; |
| 4260 $dynamic("set$name").XMLHttpRequestException = function(value) { return this.nam
e = value; }; |
| 4261 $dynamic("get$dartObjectLocalStorage").XMLHttpRequestException = function() { re
turn this.dartObjectLocalStorage; }; |
| 4262 $dynamic("set$dartObjectLocalStorage").XMLHttpRequestException = function(value)
{ return this.dartObjectLocalStorage = value; }; |
| 4263 $dynamic("toString$0").XMLHttpRequestException = function() { |
| 4264 return this.toString(); |
| 4265 }; |
| 4266 // ********** Code for XMLHttpRequestProgressEvent ************** |
| 4267 // ********** Code for XMLHttpRequestUpload ************** |
| 4268 $dynamic("get$dartObjectLocalStorage").XMLHttpRequestUpload = function() { retur
n this.dartObjectLocalStorage; }; |
| 4269 $dynamic("set$dartObjectLocalStorage").XMLHttpRequestUpload = function(value) {
return this.dartObjectLocalStorage = value; }; |
| 4270 $dynamic("addEventListener$3").XMLHttpRequestUpload = function($0, $1, $2) { |
| 4271 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4272 }; |
| 4273 $dynamic("removeEventListener$3").XMLHttpRequestUpload = function($0, $1, $2) { |
| 4274 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2); |
| 4275 }; |
| 4276 // ********** Code for dom_XMLSerializer ************** |
| 4277 $dynamic("get$dartObjectLocalStorage").XMLSerializer = function() { return this.
dartObjectLocalStorage; }; |
| 4278 $dynamic("set$dartObjectLocalStorage").XMLSerializer = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 4279 // ********** Code for dom_XPathEvaluator ************** |
| 4280 $dynamic("get$dartObjectLocalStorage").XPathEvaluator = function() { return this
.dartObjectLocalStorage; }; |
| 4281 $dynamic("set$dartObjectLocalStorage").XPathEvaluator = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 4282 // ********** Code for dom_XPathException ************** |
| 4283 $dynamic("get$name").XPathException = function() { return this.name; }; |
| 4284 $dynamic("set$name").XPathException = function(value) { return this.name = value
; }; |
| 4285 $dynamic("get$dartObjectLocalStorage").XPathException = function() { return this
.dartObjectLocalStorage; }; |
| 4286 $dynamic("set$dartObjectLocalStorage").XPathException = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 4287 $dynamic("toString$0").XPathException = function() { |
| 4288 return this.toString(); |
| 4289 }; |
| 4290 // ********** Code for dom_XPathExpression ************** |
| 4291 $dynamic("get$dartObjectLocalStorage").XPathExpression = function() { return thi
s.dartObjectLocalStorage; }; |
| 4292 $dynamic("set$dartObjectLocalStorage").XPathExpression = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 4293 // ********** Code for dom_XPathNSResolver ************** |
| 4294 $dynamic("get$dartObjectLocalStorage").XPathNSResolver = function() { return thi
s.dartObjectLocalStorage; }; |
| 4295 $dynamic("set$dartObjectLocalStorage").XPathNSResolver = function(value) { retur
n this.dartObjectLocalStorage = value; }; |
| 4296 // ********** Code for dom_XPathResult ************** |
| 4297 $dynamic("get$dartObjectLocalStorage").XPathResult = function() { return this.da
rtObjectLocalStorage; }; |
| 4298 $dynamic("set$dartObjectLocalStorage").XPathResult = function(value) { return th
is.dartObjectLocalStorage = value; }; |
| 4299 // ********** Code for dom_XSLTProcessor ************** |
| 4300 $dynamic("get$dartObjectLocalStorage").XSLTProcessor = function() { return this.
dartObjectLocalStorage; }; |
| 4301 $dynamic("set$dartObjectLocalStorage").XSLTProcessor = function(value) { return
this.dartObjectLocalStorage = value; }; |
| 4302 // ********** Code for dom__Collections ************** |
| 4303 function dom__Collections() {} |
| 4304 // ********** Code for _VariableSizeListIterator_T ************** |
| 4305 $inherits(_VariableSizeListIterator_T, dom__VariableSizeListIterator); |
| 4306 function _VariableSizeListIterator_T() {} |
| 4307 // ********** Code for dom__FixedSizeListIterator ************** |
| 4308 $inherits(dom__FixedSizeListIterator, _VariableSizeListIterator_T); |
| 4309 function dom__FixedSizeListIterator() {} |
| 4310 dom__FixedSizeListIterator.prototype.hasNext = function() { |
| 4311 return this._dom_length > this._dom_pos; |
| 4312 } |
| 4313 dom__FixedSizeListIterator.prototype.hasNext$0 = dom__FixedSizeListIterator.prot
otype.hasNext; |
| 4314 // ********** Code for dom__VariableSizeListIterator ************** |
| 4315 function dom__VariableSizeListIterator() {} |
| 4316 dom__VariableSizeListIterator.prototype.hasNext = function() { |
| 4317 return this._dom_array.get$length() > this._dom_pos; |
| 4318 } |
| 4319 dom__VariableSizeListIterator.prototype.next = function() { |
| 4320 if (!this.hasNext()) { |
| 4321 $throw(const$0003); |
| 4322 } |
| 4323 return this._dom_array.$index(this._dom_pos++); |
| 4324 } |
| 4325 dom__VariableSizeListIterator.prototype.hasNext$0 = dom__VariableSizeListIterato
r.prototype.hasNext; |
| 4326 dom__VariableSizeListIterator.prototype.next$0 = dom__VariableSizeListIterator.p
rototype.next; |
| 4327 // ********** Code for _Lists ************** |
| 4328 function _Lists() {} |
| 4329 // ********** Code for top level ************** |
| 4330 function get$window() { |
| 4331 return window; |
| 4332 } |
| 4333 function get$document() { |
| 4334 return window.document; |
| 4335 } |
| 4336 // ********** Library htmlimpl ************** |
| 4337 // ********** Code for DOMWrapperBase ************** |
| 4338 function DOMWrapperBase() {} |
| 4339 DOMWrapperBase._wrap$ctor = function(_ptr) { |
| 4340 this._ptr = _ptr; |
| 4341 this._ptr.set$dartObjectLocalStorage(this); |
| 4342 } |
| 4343 DOMWrapperBase._wrap$ctor.prototype = DOMWrapperBase.prototype; |
| 4344 DOMWrapperBase.prototype.get$_ptr = function() { return this._ptr; }; |
| 4345 // ********** Code for EventTargetWrappingImplementation ************** |
| 4346 $inherits(EventTargetWrappingImplementation, DOMWrapperBase); |
| 4347 function EventTargetWrappingImplementation() {} |
| 4348 EventTargetWrappingImplementation._wrap$ctor = function(ptr) { |
| 4349 DOMWrapperBase._wrap$ctor.call(this, ptr); |
| 4350 } |
| 4351 EventTargetWrappingImplementation._wrap$ctor.prototype = EventTargetWrappingImpl
ementation.prototype; |
| 4352 // ********** Code for NodeWrappingImplementation ************** |
| 4353 $inherits(NodeWrappingImplementation, EventTargetWrappingImplementation); |
| 4354 function NodeWrappingImplementation() {} |
| 4355 NodeWrappingImplementation._wrap$ctor = function(ptr) { |
| 4356 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4357 } |
| 4358 NodeWrappingImplementation._wrap$ctor.prototype = NodeWrappingImplementation.pro
totype; |
| 4359 NodeWrappingImplementation.prototype.get$nodes = function() { |
| 4360 if (this._nodes == null) { |
| 4361 this._nodes = new _ChildrenNodeList._wrap$ctor(this._ptr); |
| 4362 } |
| 4363 return this._nodes; |
| 4364 } |
| 4365 NodeWrappingImplementation.prototype.set$text = function(value) { |
| 4366 this._ptr.set$textContent(value); |
| 4367 } |
| 4368 NodeWrappingImplementation.prototype.replaceWith = function(otherNode) { |
| 4369 try { |
| 4370 this._ptr.get$parentNode().replaceChild$2(LevelDom.unwrap(otherNode), this._
ptr); |
| 4371 } catch (e) { |
| 4372 e = _toDartException(e); |
| 4373 } |
| 4374 return this; |
| 4375 } |
| 4376 NodeWrappingImplementation.prototype.remove = function() { |
| 4377 if (this._ptr.get$parentNode() != null) { |
| 4378 this._ptr.get$parentNode().removeChild$1(this._ptr); |
| 4379 } |
| 4380 return this; |
| 4381 } |
| 4382 NodeWrappingImplementation.prototype.clone = function(deep) { |
| 4383 return LevelDom.wrapNode(this._ptr.cloneNode$1(deep)); |
| 4384 } |
| 4385 NodeWrappingImplementation.prototype.remove$0 = NodeWrappingImplementation.proto
type.remove; |
| 4386 // ********** Code for ElementWrappingImplementation ************** |
| 4387 $inherits(ElementWrappingImplementation, NodeWrappingImplementation); |
| 4388 function ElementWrappingImplementation() {} |
| 4389 ElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4390 NodeWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4391 } |
| 4392 ElementWrappingImplementation._wrap$ctor.prototype = ElementWrappingImplementati
on.prototype; |
| 4393 ElementWrappingImplementation.prototype.is$html_html_Element = function(){return
true}; |
| 4394 ElementWrappingImplementation.ElementWrappingImplementation$tag$factory = functi
on(tag) { |
| 4395 return LevelDom.wrapElement(get$document().createElement(tag)); |
| 4396 } |
| 4397 ElementWrappingImplementation.prototype.get$attributes = function() { |
| 4398 if (this._elementAttributeMap == null) { |
| 4399 this._elementAttributeMap = new ElementAttributeMap._wrap$ctor(this._ptr); |
| 4400 } |
| 4401 return this._elementAttributeMap; |
| 4402 } |
| 4403 ElementWrappingImplementation.prototype.get$elements = function() { |
| 4404 if (this._elements == null) { |
| 4405 this._elements = new _ChildrenElementList._wrap$ctor(this._ptr); |
| 4406 } |
| 4407 return this._elements; |
| 4408 } |
| 4409 ElementWrappingImplementation.prototype.get$classes = function() { |
| 4410 if (this._cssClassSet == null) { |
| 4411 this._cssClassSet = new _CssClassSet(this._ptr); |
| 4412 } |
| 4413 return this._cssClassSet; |
| 4414 } |
| 4415 ElementWrappingImplementation.prototype.set$classes = function(value) { |
| 4416 var classSet = this.get$classes(); |
| 4417 classSet.clear(); |
| 4418 classSet.addAll(value); |
| 4419 } |
| 4420 ElementWrappingImplementation.prototype.get$firstElementChild = function() { |
| 4421 return LevelDom.wrapElement(this._ptr.get$firstElementChild()); |
| 4422 } |
| 4423 ElementWrappingImplementation.prototype.get$id = function() { |
| 4424 return this._ptr.get$id(); |
| 4425 } |
| 4426 ElementWrappingImplementation.prototype.set$id = function(value) { |
| 4427 this._ptr.set$id(value); |
| 4428 } |
| 4429 ElementWrappingImplementation.prototype.get$innerHTML = function() { |
| 4430 return this._ptr.get$innerHTML(); |
| 4431 } |
| 4432 ElementWrappingImplementation.prototype.set$innerHTML = function(value) { |
| 4433 this._ptr.set$innerHTML(value); |
| 4434 } |
| 4435 ElementWrappingImplementation.prototype.get$lastElementChild = function() { |
| 4436 return LevelDom.wrapElement(this._ptr.get$lastElementChild()); |
| 4437 } |
| 4438 ElementWrappingImplementation.prototype.query = function(selectors) { |
| 4439 return LevelDom.wrapElement(this._ptr.querySelector$1(selectors)); |
| 4440 } |
| 4441 ElementWrappingImplementation.prototype.queryAll = function(selectors) { |
| 4442 return new FrozenElementList._wrap$ctor(this._ptr.querySelectorAll$1(selectors
)); |
| 4443 } |
| 4444 ElementWrappingImplementation.prototype.get$on = function() { |
| 4445 if (this._on == null) { |
| 4446 this._on = new ElementEventsImplementation._wrap$ctor(this._ptr); |
| 4447 } |
| 4448 return this._on; |
| 4449 } |
| 4450 ElementWrappingImplementation.prototype.clone = function(deep) { |
| 4451 return NodeWrappingImplementation.prototype.clone.call(this, deep); |
| 4452 } |
| 4453 // ********** Code for AnchorElementWrappingImplementation ************** |
| 4454 $inherits(AnchorElementWrappingImplementation, ElementWrappingImplementation); |
| 4455 function AnchorElementWrappingImplementation() {} |
| 4456 AnchorElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4457 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4458 } |
| 4459 AnchorElementWrappingImplementation._wrap$ctor.prototype = AnchorElementWrapping
Implementation.prototype; |
| 4460 AnchorElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 4461 AnchorElementWrappingImplementation.prototype.get$name = function() { |
| 4462 return this._ptr.get$name(); |
| 4463 } |
| 4464 AnchorElementWrappingImplementation.prototype.toString = function() { |
| 4465 return this._ptr.toString$0(); |
| 4466 } |
| 4467 AnchorElementWrappingImplementation.prototype.toString$0 = AnchorElementWrapping
Implementation.prototype.toString; |
| 4468 // ********** Code for AreaElementWrappingImplementation ************** |
| 4469 $inherits(AreaElementWrappingImplementation, ElementWrappingImplementation); |
| 4470 function AreaElementWrappingImplementation() {} |
| 4471 AreaElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4472 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4473 } |
| 4474 AreaElementWrappingImplementation._wrap$ctor.prototype = AreaElementWrappingImpl
ementation.prototype; |
| 4475 AreaElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 4476 // ********** Code for MediaElementWrappingImplementation ************** |
| 4477 $inherits(MediaElementWrappingImplementation, ElementWrappingImplementation); |
| 4478 function MediaElementWrappingImplementation() {} |
| 4479 MediaElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4480 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4481 } |
| 4482 MediaElementWrappingImplementation._wrap$ctor.prototype = MediaElementWrappingIm
plementation.prototype; |
| 4483 MediaElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 4484 MediaElementWrappingImplementation.prototype.get$readyState = function() { |
| 4485 return this._ptr.get$readyState(); |
| 4486 } |
| 4487 // ********** Code for AudioElementWrappingImplementation ************** |
| 4488 $inherits(AudioElementWrappingImplementation, MediaElementWrappingImplementation
); |
| 4489 function AudioElementWrappingImplementation() {} |
| 4490 AudioElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4491 MediaElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4492 } |
| 4493 AudioElementWrappingImplementation._wrap$ctor.prototype = AudioElementWrappingIm
plementation.prototype; |
| 4494 AudioElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 4495 // ********** Code for EventWrappingImplementation ************** |
| 4496 $inherits(EventWrappingImplementation, DOMWrapperBase); |
| 4497 function EventWrappingImplementation() {} |
| 4498 EventWrappingImplementation._wrap$ctor = function(ptr) { |
| 4499 DOMWrapperBase._wrap$ctor.call(this, ptr); |
| 4500 } |
| 4501 EventWrappingImplementation._wrap$ctor.prototype = EventWrappingImplementation.p
rototype; |
| 4502 EventWrappingImplementation.prototype.get$currentTarget = function() { |
| 4503 return LevelDom.wrapEventTarget(this._ptr.get$currentTarget()); |
| 4504 } |
| 4505 // ********** Code for AudioProcessingEventWrappingImplementation ************** |
| 4506 $inherits(AudioProcessingEventWrappingImplementation, EventWrappingImplementatio
n); |
| 4507 function AudioProcessingEventWrappingImplementation() {} |
| 4508 AudioProcessingEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 4509 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4510 } |
| 4511 AudioProcessingEventWrappingImplementation._wrap$ctor.prototype = AudioProcessin
gEventWrappingImplementation.prototype; |
| 4512 // ********** Code for BRElementWrappingImplementation ************** |
| 4513 $inherits(BRElementWrappingImplementation, ElementWrappingImplementation); |
| 4514 function BRElementWrappingImplementation() {} |
| 4515 BRElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4516 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4517 } |
| 4518 BRElementWrappingImplementation._wrap$ctor.prototype = BRElementWrappingImplemen
tation.prototype; |
| 4519 BRElementWrappingImplementation.prototype.is$html_html_Element = function(){retu
rn true}; |
| 4520 BRElementWrappingImplementation.prototype.get$clear = function() { |
| 4521 return this._ptr.get$clear(); |
| 4522 } |
| 4523 BRElementWrappingImplementation.prototype.clear$0 = function() { |
| 4524 return this.get$clear().call$0(); |
| 4525 }; |
| 4526 // ********** Code for BaseElementWrappingImplementation ************** |
| 4527 $inherits(BaseElementWrappingImplementation, ElementWrappingImplementation); |
| 4528 function BaseElementWrappingImplementation() {} |
| 4529 BaseElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4530 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4531 } |
| 4532 BaseElementWrappingImplementation._wrap$ctor.prototype = BaseElementWrappingImpl
ementation.prototype; |
| 4533 BaseElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 4534 // ********** Code for ButtonElementWrappingImplementation ************** |
| 4535 $inherits(ButtonElementWrappingImplementation, ElementWrappingImplementation); |
| 4536 function ButtonElementWrappingImplementation() {} |
| 4537 ButtonElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4538 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4539 } |
| 4540 ButtonElementWrappingImplementation._wrap$ctor.prototype = ButtonElementWrapping
Implementation.prototype; |
| 4541 ButtonElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 4542 ButtonElementWrappingImplementation.prototype.get$name = function() { |
| 4543 return this._ptr.get$name(); |
| 4544 } |
| 4545 ButtonElementWrappingImplementation.prototype.get$value = function() { |
| 4546 return this._ptr.get$value(); |
| 4547 } |
| 4548 ButtonElementWrappingImplementation.prototype.set$value = function(value) { |
| 4549 this._ptr.set$value(value); |
| 4550 } |
| 4551 ButtonElementWrappingImplementation.prototype.click = function() { |
| 4552 this._ptr.click$0(); |
| 4553 return; |
| 4554 } |
| 4555 ButtonElementWrappingImplementation.prototype.get$click = function() { |
| 4556 return this.click.bind(this); |
| 4557 } |
| 4558 ButtonElementWrappingImplementation.prototype.click$0 = ButtonElementWrappingImp
lementation.prototype.click; |
| 4559 // ********** Code for CharacterDataWrappingImplementation ************** |
| 4560 $inherits(CharacterDataWrappingImplementation, NodeWrappingImplementation); |
| 4561 function CharacterDataWrappingImplementation() {} |
| 4562 CharacterDataWrappingImplementation._wrap$ctor = function(ptr) { |
| 4563 NodeWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4564 } |
| 4565 CharacterDataWrappingImplementation._wrap$ctor.prototype = CharacterDataWrapping
Implementation.prototype; |
| 4566 CharacterDataWrappingImplementation.prototype.get$length = function() { |
| 4567 return this._ptr.get$length(); |
| 4568 } |
| 4569 // ********** Code for TextWrappingImplementation ************** |
| 4570 $inherits(TextWrappingImplementation, CharacterDataWrappingImplementation); |
| 4571 function TextWrappingImplementation() {} |
| 4572 TextWrappingImplementation._wrap$ctor = function(ptr) { |
| 4573 CharacterDataWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4574 } |
| 4575 TextWrappingImplementation._wrap$ctor.prototype = TextWrappingImplementation.pro
totype; |
| 4576 // ********** Code for CDATASectionWrappingImplementation ************** |
| 4577 $inherits(CDATASectionWrappingImplementation, TextWrappingImplementation); |
| 4578 function CDATASectionWrappingImplementation() {} |
| 4579 CDATASectionWrappingImplementation._wrap$ctor = function(ptr) { |
| 4580 TextWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4581 } |
| 4582 CDATASectionWrappingImplementation._wrap$ctor.prototype = CDATASectionWrappingIm
plementation.prototype; |
| 4583 // ********** Code for CanvasElementWrappingImplementation ************** |
| 4584 $inherits(CanvasElementWrappingImplementation, ElementWrappingImplementation); |
| 4585 function CanvasElementWrappingImplementation() {} |
| 4586 CanvasElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4587 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4588 } |
| 4589 CanvasElementWrappingImplementation._wrap$ctor.prototype = CanvasElementWrapping
Implementation.prototype; |
| 4590 CanvasElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 4591 // ********** Code for CommentWrappingImplementation ************** |
| 4592 $inherits(CommentWrappingImplementation, CharacterDataWrappingImplementation); |
| 4593 function CommentWrappingImplementation() {} |
| 4594 CommentWrappingImplementation._wrap$ctor = function(ptr) { |
| 4595 CharacterDataWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4596 } |
| 4597 CommentWrappingImplementation._wrap$ctor.prototype = CommentWrappingImplementati
on.prototype; |
| 4598 // ********** Code for DListElementWrappingImplementation ************** |
| 4599 $inherits(DListElementWrappingImplementation, ElementWrappingImplementation); |
| 4600 function DListElementWrappingImplementation() {} |
| 4601 DListElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4602 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4603 } |
| 4604 DListElementWrappingImplementation._wrap$ctor.prototype = DListElementWrappingIm
plementation.prototype; |
| 4605 DListElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 4606 // ********** Code for DataListElementWrappingImplementation ************** |
| 4607 $inherits(DataListElementWrappingImplementation, ElementWrappingImplementation); |
| 4608 function DataListElementWrappingImplementation() {} |
| 4609 DataListElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4610 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4611 } |
| 4612 DataListElementWrappingImplementation._wrap$ctor.prototype = DataListElementWrap
pingImplementation.prototype; |
| 4613 DataListElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 4614 // ********** Code for DetailsElementWrappingImplementation ************** |
| 4615 $inherits(DetailsElementWrappingImplementation, ElementWrappingImplementation); |
| 4616 function DetailsElementWrappingImplementation() {} |
| 4617 DetailsElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4618 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4619 } |
| 4620 DetailsElementWrappingImplementation._wrap$ctor.prototype = DetailsElementWrappi
ngImplementation.prototype; |
| 4621 DetailsElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 4622 // ********** Code for DivElementWrappingImplementation ************** |
| 4623 $inherits(DivElementWrappingImplementation, ElementWrappingImplementation); |
| 4624 function DivElementWrappingImplementation() {} |
| 4625 DivElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4626 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4627 } |
| 4628 DivElementWrappingImplementation._wrap$ctor.prototype = DivElementWrappingImplem
entation.prototype; |
| 4629 DivElementWrappingImplementation.prototype.is$html_html_Element = function(){ret
urn true}; |
| 4630 // ********** Code for EmbedElementWrappingImplementation ************** |
| 4631 $inherits(EmbedElementWrappingImplementation, ElementWrappingImplementation); |
| 4632 function EmbedElementWrappingImplementation() {} |
| 4633 EmbedElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4634 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4635 } |
| 4636 EmbedElementWrappingImplementation._wrap$ctor.prototype = EmbedElementWrappingIm
plementation.prototype; |
| 4637 EmbedElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 4638 EmbedElementWrappingImplementation.prototype.get$name = function() { |
| 4639 return this._ptr.get$name(); |
| 4640 } |
| 4641 // ********** Code for EntityReferenceWrappingImplementation ************** |
| 4642 $inherits(EntityReferenceWrappingImplementation, NodeWrappingImplementation); |
| 4643 function EntityReferenceWrappingImplementation() {} |
| 4644 EntityReferenceWrappingImplementation._wrap$ctor = function(ptr) { |
| 4645 NodeWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4646 } |
| 4647 EntityReferenceWrappingImplementation._wrap$ctor.prototype = EntityReferenceWrap
pingImplementation.prototype; |
| 4648 // ********** Code for EntityWrappingImplementation ************** |
| 4649 $inherits(EntityWrappingImplementation, NodeWrappingImplementation); |
| 4650 function EntityWrappingImplementation() {} |
| 4651 EntityWrappingImplementation._wrap$ctor = function(ptr) { |
| 4652 NodeWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4653 } |
| 4654 EntityWrappingImplementation._wrap$ctor.prototype = EntityWrappingImplementation
.prototype; |
| 4655 // ********** Code for FieldSetElementWrappingImplementation ************** |
| 4656 $inherits(FieldSetElementWrappingImplementation, ElementWrappingImplementation); |
| 4657 function FieldSetElementWrappingImplementation() {} |
| 4658 FieldSetElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4659 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4660 } |
| 4661 FieldSetElementWrappingImplementation._wrap$ctor.prototype = FieldSetElementWrap
pingImplementation.prototype; |
| 4662 FieldSetElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 4663 // ********** Code for FontElementWrappingImplementation ************** |
| 4664 $inherits(FontElementWrappingImplementation, ElementWrappingImplementation); |
| 4665 function FontElementWrappingImplementation() {} |
| 4666 FontElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4667 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4668 } |
| 4669 FontElementWrappingImplementation._wrap$ctor.prototype = FontElementWrappingImpl
ementation.prototype; |
| 4670 FontElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 4671 // ********** Code for FormElementWrappingImplementation ************** |
| 4672 $inherits(FormElementWrappingImplementation, ElementWrappingImplementation); |
| 4673 function FormElementWrappingImplementation() {} |
| 4674 FormElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4675 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4676 } |
| 4677 FormElementWrappingImplementation._wrap$ctor.prototype = FormElementWrappingImpl
ementation.prototype; |
| 4678 FormElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 4679 FormElementWrappingImplementation.prototype.get$length = function() { |
| 4680 return this._ptr.get$length(); |
| 4681 } |
| 4682 FormElementWrappingImplementation.prototype.get$name = function() { |
| 4683 return this._ptr.get$name(); |
| 4684 } |
| 4685 // ********** Code for HRElementWrappingImplementation ************** |
| 4686 $inherits(HRElementWrappingImplementation, ElementWrappingImplementation); |
| 4687 function HRElementWrappingImplementation() {} |
| 4688 HRElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4689 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4690 } |
| 4691 HRElementWrappingImplementation._wrap$ctor.prototype = HRElementWrappingImplemen
tation.prototype; |
| 4692 HRElementWrappingImplementation.prototype.is$html_html_Element = function(){retu
rn true}; |
| 4693 // ********** Code for HeadElementWrappingImplementation ************** |
| 4694 $inherits(HeadElementWrappingImplementation, ElementWrappingImplementation); |
| 4695 function HeadElementWrappingImplementation() {} |
| 4696 HeadElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4697 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4698 } |
| 4699 HeadElementWrappingImplementation._wrap$ctor.prototype = HeadElementWrappingImpl
ementation.prototype; |
| 4700 HeadElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 4701 // ********** Code for HeadingElementWrappingImplementation ************** |
| 4702 $inherits(HeadingElementWrappingImplementation, ElementWrappingImplementation); |
| 4703 function HeadingElementWrappingImplementation() {} |
| 4704 HeadingElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4705 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4706 } |
| 4707 HeadingElementWrappingImplementation._wrap$ctor.prototype = HeadingElementWrappi
ngImplementation.prototype; |
| 4708 HeadingElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 4709 // ********** Code for IDBVersionChangeEventWrappingImplementation *************
* |
| 4710 $inherits(IDBVersionChangeEventWrappingImplementation, EventWrappingImplementati
on); |
| 4711 function IDBVersionChangeEventWrappingImplementation() {} |
| 4712 IDBVersionChangeEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 4713 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4714 } |
| 4715 IDBVersionChangeEventWrappingImplementation._wrap$ctor.prototype = IDBVersionCha
ngeEventWrappingImplementation.prototype; |
| 4716 // ********** Code for IFrameElementWrappingImplementation ************** |
| 4717 $inherits(IFrameElementWrappingImplementation, ElementWrappingImplementation); |
| 4718 function IFrameElementWrappingImplementation() {} |
| 4719 IFrameElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4720 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4721 } |
| 4722 IFrameElementWrappingImplementation._wrap$ctor.prototype = IFrameElementWrapping
Implementation.prototype; |
| 4723 IFrameElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 4724 IFrameElementWrappingImplementation.prototype.get$name = function() { |
| 4725 return this._ptr.get$name(); |
| 4726 } |
| 4727 // ********** Code for ImageElementWrappingImplementation ************** |
| 4728 $inherits(ImageElementWrappingImplementation, ElementWrappingImplementation); |
| 4729 function ImageElementWrappingImplementation() {} |
| 4730 ImageElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4731 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4732 } |
| 4733 ImageElementWrappingImplementation._wrap$ctor.prototype = ImageElementWrappingIm
plementation.prototype; |
| 4734 ImageElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 4735 ImageElementWrappingImplementation.prototype.get$name = function() { |
| 4736 return this._ptr.get$name(); |
| 4737 } |
| 4738 // ********** Code for InputElementWrappingImplementation ************** |
| 4739 $inherits(InputElementWrappingImplementation, ElementWrappingImplementation); |
| 4740 function InputElementWrappingImplementation() {} |
| 4741 InputElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4742 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4743 } |
| 4744 InputElementWrappingImplementation._wrap$ctor.prototype = InputElementWrappingIm
plementation.prototype; |
| 4745 InputElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 4746 InputElementWrappingImplementation.prototype.get$checked = function() { |
| 4747 return this._ptr.get$checked(); |
| 4748 } |
| 4749 InputElementWrappingImplementation.prototype.get$name = function() { |
| 4750 return this._ptr.get$name(); |
| 4751 } |
| 4752 InputElementWrappingImplementation.prototype.get$value = function() { |
| 4753 return this._ptr.get$value(); |
| 4754 } |
| 4755 InputElementWrappingImplementation.prototype.set$value = function(value) { |
| 4756 this._ptr.set$value(value); |
| 4757 } |
| 4758 InputElementWrappingImplementation.prototype.click = function() { |
| 4759 this._ptr.click$0(); |
| 4760 return; |
| 4761 } |
| 4762 InputElementWrappingImplementation.prototype.get$click = function() { |
| 4763 return this.click.bind(this); |
| 4764 } |
| 4765 InputElementWrappingImplementation.prototype.click$0 = InputElementWrappingImple
mentation.prototype.click; |
| 4766 // ********** Code for KeygenElementWrappingImplementation ************** |
| 4767 $inherits(KeygenElementWrappingImplementation, ElementWrappingImplementation); |
| 4768 function KeygenElementWrappingImplementation() {} |
| 4769 KeygenElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4770 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4771 } |
| 4772 KeygenElementWrappingImplementation._wrap$ctor.prototype = KeygenElementWrapping
Implementation.prototype; |
| 4773 KeygenElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 4774 KeygenElementWrappingImplementation.prototype.get$name = function() { |
| 4775 return this._ptr.get$name(); |
| 4776 } |
| 4777 // ********** Code for LIElementWrappingImplementation ************** |
| 4778 $inherits(LIElementWrappingImplementation, ElementWrappingImplementation); |
| 4779 function LIElementWrappingImplementation() {} |
| 4780 LIElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4781 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4782 } |
| 4783 LIElementWrappingImplementation._wrap$ctor.prototype = LIElementWrappingImplemen
tation.prototype; |
| 4784 LIElementWrappingImplementation.prototype.is$html_html_Element = function(){retu
rn true}; |
| 4785 LIElementWrappingImplementation.prototype.get$value = function() { |
| 4786 return this._ptr.get$value(); |
| 4787 } |
| 4788 LIElementWrappingImplementation.prototype.set$value = function(value) { |
| 4789 this._ptr.set$value(value); |
| 4790 } |
| 4791 // ********** Code for LabelElementWrappingImplementation ************** |
| 4792 $inherits(LabelElementWrappingImplementation, ElementWrappingImplementation); |
| 4793 function LabelElementWrappingImplementation() {} |
| 4794 LabelElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4795 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4796 } |
| 4797 LabelElementWrappingImplementation._wrap$ctor.prototype = LabelElementWrappingIm
plementation.prototype; |
| 4798 LabelElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 4799 // ********** Code for LegendElementWrappingImplementation ************** |
| 4800 $inherits(LegendElementWrappingImplementation, ElementWrappingImplementation); |
| 4801 function LegendElementWrappingImplementation() {} |
| 4802 LegendElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4803 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4804 } |
| 4805 LegendElementWrappingImplementation._wrap$ctor.prototype = LegendElementWrapping
Implementation.prototype; |
| 4806 LegendElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 4807 // ********** Code for LinkElementWrappingImplementation ************** |
| 4808 $inherits(LinkElementWrappingImplementation, ElementWrappingImplementation); |
| 4809 function LinkElementWrappingImplementation() {} |
| 4810 LinkElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4811 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4812 } |
| 4813 LinkElementWrappingImplementation._wrap$ctor.prototype = LinkElementWrappingImpl
ementation.prototype; |
| 4814 LinkElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 4815 // ********** Code for MapElementWrappingImplementation ************** |
| 4816 $inherits(MapElementWrappingImplementation, ElementWrappingImplementation); |
| 4817 function MapElementWrappingImplementation() {} |
| 4818 MapElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4819 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4820 } |
| 4821 MapElementWrappingImplementation._wrap$ctor.prototype = MapElementWrappingImplem
entation.prototype; |
| 4822 MapElementWrappingImplementation.prototype.is$html_html_Element = function(){ret
urn true}; |
| 4823 MapElementWrappingImplementation.prototype.get$name = function() { |
| 4824 return this._ptr.get$name(); |
| 4825 } |
| 4826 // ********** Code for MarqueeElementWrappingImplementation ************** |
| 4827 $inherits(MarqueeElementWrappingImplementation, ElementWrappingImplementation); |
| 4828 function MarqueeElementWrappingImplementation() {} |
| 4829 MarqueeElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4830 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4831 } |
| 4832 MarqueeElementWrappingImplementation._wrap$ctor.prototype = MarqueeElementWrappi
ngImplementation.prototype; |
| 4833 MarqueeElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 4834 // ********** Code for MenuElementWrappingImplementation ************** |
| 4835 $inherits(MenuElementWrappingImplementation, ElementWrappingImplementation); |
| 4836 function MenuElementWrappingImplementation() {} |
| 4837 MenuElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4838 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4839 } |
| 4840 MenuElementWrappingImplementation._wrap$ctor.prototype = MenuElementWrappingImpl
ementation.prototype; |
| 4841 MenuElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 4842 // ********** Code for MetaElementWrappingImplementation ************** |
| 4843 $inherits(MetaElementWrappingImplementation, ElementWrappingImplementation); |
| 4844 function MetaElementWrappingImplementation() {} |
| 4845 MetaElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4846 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4847 } |
| 4848 MetaElementWrappingImplementation._wrap$ctor.prototype = MetaElementWrappingImpl
ementation.prototype; |
| 4849 MetaElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 4850 MetaElementWrappingImplementation.prototype.get$name = function() { |
| 4851 return this._ptr.get$name(); |
| 4852 } |
| 4853 // ********** Code for MeterElementWrappingImplementation ************** |
| 4854 $inherits(MeterElementWrappingImplementation, ElementWrappingImplementation); |
| 4855 function MeterElementWrappingImplementation() {} |
| 4856 MeterElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4857 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4858 } |
| 4859 MeterElementWrappingImplementation._wrap$ctor.prototype = MeterElementWrappingIm
plementation.prototype; |
| 4860 MeterElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 4861 MeterElementWrappingImplementation.prototype.get$value = function() { |
| 4862 return this._ptr.get$value(); |
| 4863 } |
| 4864 MeterElementWrappingImplementation.prototype.set$value = function(value) { |
| 4865 this._ptr.set$value(value); |
| 4866 } |
| 4867 // ********** Code for ModElementWrappingImplementation ************** |
| 4868 $inherits(ModElementWrappingImplementation, ElementWrappingImplementation); |
| 4869 function ModElementWrappingImplementation() {} |
| 4870 ModElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4871 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4872 } |
| 4873 ModElementWrappingImplementation._wrap$ctor.prototype = ModElementWrappingImplem
entation.prototype; |
| 4874 ModElementWrappingImplementation.prototype.is$html_html_Element = function(){ret
urn true}; |
| 4875 // ********** Code for NotationWrappingImplementation ************** |
| 4876 $inherits(NotationWrappingImplementation, NodeWrappingImplementation); |
| 4877 function NotationWrappingImplementation() {} |
| 4878 NotationWrappingImplementation._wrap$ctor = function(ptr) { |
| 4879 NodeWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4880 } |
| 4881 NotationWrappingImplementation._wrap$ctor.prototype = NotationWrappingImplementa
tion.prototype; |
| 4882 // ********** Code for OListElementWrappingImplementation ************** |
| 4883 $inherits(OListElementWrappingImplementation, ElementWrappingImplementation); |
| 4884 function OListElementWrappingImplementation() {} |
| 4885 OListElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4886 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4887 } |
| 4888 OListElementWrappingImplementation._wrap$ctor.prototype = OListElementWrappingIm
plementation.prototype; |
| 4889 OListElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 4890 // ********** Code for OfflineAudioCompletionEventWrappingImplementation *******
******* |
| 4891 $inherits(OfflineAudioCompletionEventWrappingImplementation, EventWrappingImplem
entation); |
| 4892 function OfflineAudioCompletionEventWrappingImplementation() {} |
| 4893 OfflineAudioCompletionEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 4894 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4895 } |
| 4896 OfflineAudioCompletionEventWrappingImplementation._wrap$ctor.prototype = Offline
AudioCompletionEventWrappingImplementation.prototype; |
| 4897 // ********** Code for OptGroupElementWrappingImplementation ************** |
| 4898 $inherits(OptGroupElementWrappingImplementation, ElementWrappingImplementation); |
| 4899 function OptGroupElementWrappingImplementation() {} |
| 4900 OptGroupElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4901 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4902 } |
| 4903 OptGroupElementWrappingImplementation._wrap$ctor.prototype = OptGroupElementWrap
pingImplementation.prototype; |
| 4904 OptGroupElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 4905 // ********** Code for OptionElementWrappingImplementation ************** |
| 4906 $inherits(OptionElementWrappingImplementation, ElementWrappingImplementation); |
| 4907 function OptionElementWrappingImplementation() {} |
| 4908 OptionElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4909 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4910 } |
| 4911 OptionElementWrappingImplementation._wrap$ctor.prototype = OptionElementWrapping
Implementation.prototype; |
| 4912 OptionElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 4913 OptionElementWrappingImplementation.prototype.set$text = function(value) { |
| 4914 this._ptr.set$text(value); |
| 4915 } |
| 4916 OptionElementWrappingImplementation.prototype.get$value = function() { |
| 4917 return this._ptr.get$value(); |
| 4918 } |
| 4919 OptionElementWrappingImplementation.prototype.set$value = function(value) { |
| 4920 this._ptr.set$value(value); |
| 4921 } |
| 4922 // ********** Code for OutputElementWrappingImplementation ************** |
| 4923 $inherits(OutputElementWrappingImplementation, ElementWrappingImplementation); |
| 4924 function OutputElementWrappingImplementation() {} |
| 4925 OutputElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4926 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4927 } |
| 4928 OutputElementWrappingImplementation._wrap$ctor.prototype = OutputElementWrapping
Implementation.prototype; |
| 4929 OutputElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 4930 OutputElementWrappingImplementation.prototype.get$name = function() { |
| 4931 return this._ptr.get$name(); |
| 4932 } |
| 4933 OutputElementWrappingImplementation.prototype.get$value = function() { |
| 4934 return this._ptr.get$value(); |
| 4935 } |
| 4936 OutputElementWrappingImplementation.prototype.set$value = function(value) { |
| 4937 this._ptr.set$value(value); |
| 4938 } |
| 4939 // ********** Code for ParagraphElementWrappingImplementation ************** |
| 4940 $inherits(ParagraphElementWrappingImplementation, ElementWrappingImplementation)
; |
| 4941 function ParagraphElementWrappingImplementation() {} |
| 4942 ParagraphElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4943 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4944 } |
| 4945 ParagraphElementWrappingImplementation._wrap$ctor.prototype = ParagraphElementWr
appingImplementation.prototype; |
| 4946 ParagraphElementWrappingImplementation.prototype.is$html_html_Element = function
(){return true}; |
| 4947 // ********** Code for ParamElementWrappingImplementation ************** |
| 4948 $inherits(ParamElementWrappingImplementation, ElementWrappingImplementation); |
| 4949 function ParamElementWrappingImplementation() {} |
| 4950 ParamElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4951 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4952 } |
| 4953 ParamElementWrappingImplementation._wrap$ctor.prototype = ParamElementWrappingIm
plementation.prototype; |
| 4954 ParamElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 4955 ParamElementWrappingImplementation.prototype.get$name = function() { |
| 4956 return this._ptr.get$name(); |
| 4957 } |
| 4958 ParamElementWrappingImplementation.prototype.get$value = function() { |
| 4959 return this._ptr.get$value(); |
| 4960 } |
| 4961 ParamElementWrappingImplementation.prototype.set$value = function(value) { |
| 4962 this._ptr.set$value(value); |
| 4963 } |
| 4964 // ********** Code for PreElementWrappingImplementation ************** |
| 4965 $inherits(PreElementWrappingImplementation, ElementWrappingImplementation); |
| 4966 function PreElementWrappingImplementation() {} |
| 4967 PreElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4968 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4969 } |
| 4970 PreElementWrappingImplementation._wrap$ctor.prototype = PreElementWrappingImplem
entation.prototype; |
| 4971 PreElementWrappingImplementation.prototype.is$html_html_Element = function(){ret
urn true}; |
| 4972 // ********** Code for ProcessingInstructionWrappingImplementation *************
* |
| 4973 $inherits(ProcessingInstructionWrappingImplementation, NodeWrappingImplementatio
n); |
| 4974 function ProcessingInstructionWrappingImplementation() {} |
| 4975 ProcessingInstructionWrappingImplementation._wrap$ctor = function(ptr) { |
| 4976 NodeWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4977 } |
| 4978 ProcessingInstructionWrappingImplementation._wrap$ctor.prototype = ProcessingIns
tructionWrappingImplementation.prototype; |
| 4979 // ********** Code for ProgressElementWrappingImplementation ************** |
| 4980 $inherits(ProgressElementWrappingImplementation, ElementWrappingImplementation); |
| 4981 function ProgressElementWrappingImplementation() {} |
| 4982 ProgressElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4983 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4984 } |
| 4985 ProgressElementWrappingImplementation._wrap$ctor.prototype = ProgressElementWrap
pingImplementation.prototype; |
| 4986 ProgressElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 4987 ProgressElementWrappingImplementation.prototype.get$value = function() { |
| 4988 return this._ptr.get$value(); |
| 4989 } |
| 4990 ProgressElementWrappingImplementation.prototype.set$value = function(value) { |
| 4991 this._ptr.set$value(value); |
| 4992 } |
| 4993 // ********** Code for QuoteElementWrappingImplementation ************** |
| 4994 $inherits(QuoteElementWrappingImplementation, ElementWrappingImplementation); |
| 4995 function QuoteElementWrappingImplementation() {} |
| 4996 QuoteElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 4997 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 4998 } |
| 4999 QuoteElementWrappingImplementation._wrap$ctor.prototype = QuoteElementWrappingIm
plementation.prototype; |
| 5000 QuoteElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 5001 // ********** Code for SVGElementWrappingImplementation ************** |
| 5002 $inherits(SVGElementWrappingImplementation, ElementWrappingImplementation); |
| 5003 function SVGElementWrappingImplementation() {} |
| 5004 SVGElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5005 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5006 } |
| 5007 SVGElementWrappingImplementation._wrap$ctor.prototype = SVGElementWrappingImplem
entation.prototype; |
| 5008 SVGElementWrappingImplementation.prototype.is$html_html_Element = function(){ret
urn true}; |
| 5009 SVGElementWrappingImplementation.prototype.get$classes = function() { |
| 5010 if (this._cssClassSet == null) { |
| 5011 this._cssClassSet = new _SVGClassSet(this._ptr); |
| 5012 } |
| 5013 return this._cssClassSet; |
| 5014 } |
| 5015 ElementWrappingImplementation.prototype.set$classes = function(value) { |
| 5016 var classSet = this.get$classes(); |
| 5017 classSet.clear(); |
| 5018 classSet.addAll(value); |
| 5019 } |
| 5020 SVGElementWrappingImplementation.prototype.get$id = function() { |
| 5021 return this._ptr.get$id(); |
| 5022 } |
| 5023 SVGElementWrappingImplementation.prototype.set$id = function(value) { |
| 5024 this._ptr.set$id(value); |
| 5025 } |
| 5026 SVGElementWrappingImplementation.prototype.get$elements = function() { |
| 5027 if (this._elements == null) { |
| 5028 this._elements = new FilteredElementList(this); |
| 5029 } |
| 5030 return this._elements; |
| 5031 } |
| 5032 SVGElementWrappingImplementation.prototype.set$elements = function(value) { |
| 5033 var elements = this.get$elements(); |
| 5034 elements.clear$0(); |
| 5035 elements.addAll$1(value); |
| 5036 } |
| 5037 SVGElementWrappingImplementation.prototype.get$innerHTML = function() { |
| 5038 var container = ElementWrappingImplementation.ElementWrappingImplementation$ta
g$factory("div"); |
| 5039 container.get$elements().addAll$1(this.clone(true).get$elements()); |
| 5040 return container.get$innerHTML(); |
| 5041 } |
| 5042 SVGElementWrappingImplementation.prototype.set$innerHTML = function(svg) { |
| 5043 var container = ElementWrappingImplementation.ElementWrappingImplementation$ta
g$factory("div"); |
| 5044 container.set$innerHTML(("<svg version=\"1.1\">" + svg + "</svg>")); |
| 5045 this.set$elements(container.get$elements().get$first().get$elements()); |
| 5046 } |
| 5047 SVGElementWrappingImplementation.prototype.clone = function(deep) { |
| 5048 return ElementWrappingImplementation.prototype.clone.call(this, deep); |
| 5049 } |
| 5050 // ********** Code for SVGAElementWrappingImplementation ************** |
| 5051 $inherits(SVGAElementWrappingImplementation, SVGElementWrappingImplementation); |
| 5052 function SVGAElementWrappingImplementation() {} |
| 5053 SVGAElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5054 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5055 } |
| 5056 SVGAElementWrappingImplementation._wrap$ctor.prototype = SVGAElementWrappingImpl
ementation.prototype; |
| 5057 SVGAElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 5058 SVGAElementWrappingImplementation.prototype.get$className = function() { |
| 5059 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5060 } |
| 5061 // ********** Code for SVGAltGlyphDefElementWrappingImplementation *************
* |
| 5062 $inherits(SVGAltGlyphDefElementWrappingImplementation, SVGElementWrappingImpleme
ntation); |
| 5063 function SVGAltGlyphDefElementWrappingImplementation() {} |
| 5064 SVGAltGlyphDefElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5065 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5066 } |
| 5067 SVGAltGlyphDefElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphDe
fElementWrappingImplementation.prototype; |
| 5068 SVGAltGlyphDefElementWrappingImplementation.prototype.is$html_html_Element = fun
ction(){return true}; |
| 5069 // ********** Code for SVGTextContentElementWrappingImplementation *************
* |
| 5070 $inherits(SVGTextContentElementWrappingImplementation, SVGElementWrappingImpleme
ntation); |
| 5071 function SVGTextContentElementWrappingImplementation() {} |
| 5072 SVGTextContentElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5073 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5074 } |
| 5075 SVGTextContentElementWrappingImplementation._wrap$ctor.prototype = SVGTextConten
tElementWrappingImplementation.prototype; |
| 5076 SVGTextContentElementWrappingImplementation.prototype.is$html_html_Element = fun
ction(){return true}; |
| 5077 SVGTextContentElementWrappingImplementation.prototype.get$className = function()
{ |
| 5078 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5079 } |
| 5080 // ********** Code for SVGTextPositioningElementWrappingImplementation *********
***** |
| 5081 $inherits(SVGTextPositioningElementWrappingImplementation, SVGTextContentElement
WrappingImplementation); |
| 5082 function SVGTextPositioningElementWrappingImplementation() {} |
| 5083 SVGTextPositioningElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5084 SVGTextContentElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5085 } |
| 5086 SVGTextPositioningElementWrappingImplementation._wrap$ctor.prototype = SVGTextPo
sitioningElementWrappingImplementation.prototype; |
| 5087 SVGTextPositioningElementWrappingImplementation.prototype.is$html_html_Element =
function(){return true}; |
| 5088 // ********** Code for SVGAltGlyphElementWrappingImplementation ************** |
| 5089 $inherits(SVGAltGlyphElementWrappingImplementation, SVGTextPositioningElementWra
ppingImplementation); |
| 5090 function SVGAltGlyphElementWrappingImplementation() {} |
| 5091 SVGAltGlyphElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5092 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5093 } |
| 5094 SVGAltGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphEleme
ntWrappingImplementation.prototype; |
| 5095 SVGAltGlyphElementWrappingImplementation.prototype.is$html_html_Element = functi
on(){return true}; |
| 5096 // ********** Code for SVGAltGlyphItemElementWrappingImplementation ************
** |
| 5097 $inherits(SVGAltGlyphItemElementWrappingImplementation, SVGElementWrappingImplem
entation); |
| 5098 function SVGAltGlyphItemElementWrappingImplementation() {} |
| 5099 SVGAltGlyphItemElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5100 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5101 } |
| 5102 SVGAltGlyphItemElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphI
temElementWrappingImplementation.prototype; |
| 5103 SVGAltGlyphItemElementWrappingImplementation.prototype.is$html_html_Element = fu
nction(){return true}; |
| 5104 // ********** Code for SVGAnimationElementWrappingImplementation ************** |
| 5105 $inherits(SVGAnimationElementWrappingImplementation, SVGElementWrappingImplement
ation); |
| 5106 function SVGAnimationElementWrappingImplementation() {} |
| 5107 SVGAnimationElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5108 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5109 } |
| 5110 SVGAnimationElementWrappingImplementation._wrap$ctor.prototype = SVGAnimationEle
mentWrappingImplementation.prototype; |
| 5111 SVGAnimationElementWrappingImplementation.prototype.is$html_html_Element = funct
ion(){return true}; |
| 5112 // ********** Code for SVGAnimateColorElementWrappingImplementation ************
** |
| 5113 $inherits(SVGAnimateColorElementWrappingImplementation, SVGAnimationElementWrapp
ingImplementation); |
| 5114 function SVGAnimateColorElementWrappingImplementation() {} |
| 5115 SVGAnimateColorElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5116 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5117 } |
| 5118 SVGAnimateColorElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateCo
lorElementWrappingImplementation.prototype; |
| 5119 SVGAnimateColorElementWrappingImplementation.prototype.is$html_html_Element = fu
nction(){return true}; |
| 5120 // ********** Code for SVGAnimateElementWrappingImplementation ************** |
| 5121 $inherits(SVGAnimateElementWrappingImplementation, SVGAnimationElementWrappingIm
plementation); |
| 5122 function SVGAnimateElementWrappingImplementation() {} |
| 5123 SVGAnimateElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5124 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5125 } |
| 5126 SVGAnimateElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateElement
WrappingImplementation.prototype; |
| 5127 SVGAnimateElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5128 // ********** Code for SVGAnimateMotionElementWrappingImplementation ***********
*** |
| 5129 $inherits(SVGAnimateMotionElementWrappingImplementation, SVGAnimationElementWrap
pingImplementation); |
| 5130 function SVGAnimateMotionElementWrappingImplementation() {} |
| 5131 SVGAnimateMotionElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5132 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5133 } |
| 5134 SVGAnimateMotionElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateM
otionElementWrappingImplementation.prototype; |
| 5135 SVGAnimateMotionElementWrappingImplementation.prototype.is$html_html_Element = f
unction(){return true}; |
| 5136 // ********** Code for SVGAnimateTransformElementWrappingImplementation ********
****** |
| 5137 $inherits(SVGAnimateTransformElementWrappingImplementation, SVGAnimationElementW
rappingImplementation); |
| 5138 function SVGAnimateTransformElementWrappingImplementation() {} |
| 5139 SVGAnimateTransformElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5140 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5141 } |
| 5142 SVGAnimateTransformElementWrappingImplementation._wrap$ctor.prototype = SVGAnima
teTransformElementWrappingImplementation.prototype; |
| 5143 SVGAnimateTransformElementWrappingImplementation.prototype.is$html_html_Element
= function(){return true}; |
| 5144 // ********** Code for SVGAnimatedStringWrappingImplementation ************** |
| 5145 $inherits(SVGAnimatedStringWrappingImplementation, DOMWrapperBase); |
| 5146 function SVGAnimatedStringWrappingImplementation() {} |
| 5147 SVGAnimatedStringWrappingImplementation._wrap$ctor = function(ptr) { |
| 5148 DOMWrapperBase._wrap$ctor.call(this, ptr); |
| 5149 } |
| 5150 SVGAnimatedStringWrappingImplementation._wrap$ctor.prototype = SVGAnimatedString
WrappingImplementation.prototype; |
| 5151 SVGAnimatedStringWrappingImplementation.prototype.get$baseVal = function() { |
| 5152 return this._ptr.get$baseVal(); |
| 5153 } |
| 5154 SVGAnimatedStringWrappingImplementation.prototype.set$baseVal = function(value)
{ |
| 5155 this._ptr.set$baseVal(value); |
| 5156 } |
| 5157 // ********** Code for SVGCircleElementWrappingImplementation ************** |
| 5158 $inherits(SVGCircleElementWrappingImplementation, SVGElementWrappingImplementati
on); |
| 5159 function SVGCircleElementWrappingImplementation() {} |
| 5160 SVGCircleElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5161 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5162 } |
| 5163 SVGCircleElementWrappingImplementation._wrap$ctor.prototype = SVGCircleElementWr
appingImplementation.prototype; |
| 5164 SVGCircleElementWrappingImplementation.prototype.is$html_html_Element = function
(){return true}; |
| 5165 SVGCircleElementWrappingImplementation.prototype.get$className = function() { |
| 5166 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5167 } |
| 5168 // ********** Code for SVGClipPathElementWrappingImplementation ************** |
| 5169 $inherits(SVGClipPathElementWrappingImplementation, SVGElementWrappingImplementa
tion); |
| 5170 function SVGClipPathElementWrappingImplementation() {} |
| 5171 SVGClipPathElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5172 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5173 } |
| 5174 SVGClipPathElementWrappingImplementation._wrap$ctor.prototype = SVGClipPathEleme
ntWrappingImplementation.prototype; |
| 5175 SVGClipPathElementWrappingImplementation.prototype.is$html_html_Element = functi
on(){return true}; |
| 5176 SVGClipPathElementWrappingImplementation.prototype.get$className = function() { |
| 5177 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5178 } |
| 5179 // ********** Code for SVGComponentTransferFunctionElementWrappingImplementation
************** |
| 5180 $inherits(SVGComponentTransferFunctionElementWrappingImplementation, SVGElementW
rappingImplementation); |
| 5181 function SVGComponentTransferFunctionElementWrappingImplementation() {} |
| 5182 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor = function(
ptr) { |
| 5183 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5184 } |
| 5185 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.prototype =
SVGComponentTransferFunctionElementWrappingImplementation.prototype; |
| 5186 SVGComponentTransferFunctionElementWrappingImplementation.prototype.is$html_html
_Element = function(){return true}; |
| 5187 // ********** Code for SVGCursorElementWrappingImplementation ************** |
| 5188 $inherits(SVGCursorElementWrappingImplementation, SVGElementWrappingImplementati
on); |
| 5189 function SVGCursorElementWrappingImplementation() {} |
| 5190 SVGCursorElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5191 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5192 } |
| 5193 SVGCursorElementWrappingImplementation._wrap$ctor.prototype = SVGCursorElementWr
appingImplementation.prototype; |
| 5194 SVGCursorElementWrappingImplementation.prototype.is$html_html_Element = function
(){return true}; |
| 5195 // ********** Code for SVGDefsElementWrappingImplementation ************** |
| 5196 $inherits(SVGDefsElementWrappingImplementation, SVGElementWrappingImplementation
); |
| 5197 function SVGDefsElementWrappingImplementation() {} |
| 5198 SVGDefsElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5199 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5200 } |
| 5201 SVGDefsElementWrappingImplementation._wrap$ctor.prototype = SVGDefsElementWrappi
ngImplementation.prototype; |
| 5202 SVGDefsElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 5203 SVGDefsElementWrappingImplementation.prototype.get$className = function() { |
| 5204 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5205 } |
| 5206 // ********** Code for SVGDescElementWrappingImplementation ************** |
| 5207 $inherits(SVGDescElementWrappingImplementation, SVGElementWrappingImplementation
); |
| 5208 function SVGDescElementWrappingImplementation() {} |
| 5209 SVGDescElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5210 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5211 } |
| 5212 SVGDescElementWrappingImplementation._wrap$ctor.prototype = SVGDescElementWrappi
ngImplementation.prototype; |
| 5213 SVGDescElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 5214 SVGDescElementWrappingImplementation.prototype.get$className = function() { |
| 5215 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5216 } |
| 5217 // ********** Code for SVGElementInstanceListWrappingImplementation ************
** |
| 5218 $inherits(SVGElementInstanceListWrappingImplementation, DOMWrapperBase); |
| 5219 function SVGElementInstanceListWrappingImplementation() {} |
| 5220 SVGElementInstanceListWrappingImplementation._wrap$ctor = function(ptr) { |
| 5221 DOMWrapperBase._wrap$ctor.call(this, ptr); |
| 5222 } |
| 5223 SVGElementInstanceListWrappingImplementation._wrap$ctor.prototype = SVGElementIn
stanceListWrappingImplementation.prototype; |
| 5224 SVGElementInstanceListWrappingImplementation.prototype.get$length = function() { |
| 5225 return this._ptr.get$length(); |
| 5226 } |
| 5227 SVGElementInstanceListWrappingImplementation.prototype.item = function(index) { |
| 5228 return LevelDom.wrapSVGElementInstance(this._ptr.item$1(index)); |
| 5229 } |
| 5230 SVGElementInstanceListWrappingImplementation.prototype.item$1 = SVGElementInstan
ceListWrappingImplementation.prototype.item; |
| 5231 // ********** Code for SVGEllipseElementWrappingImplementation ************** |
| 5232 $inherits(SVGEllipseElementWrappingImplementation, SVGElementWrappingImplementat
ion); |
| 5233 function SVGEllipseElementWrappingImplementation() {} |
| 5234 SVGEllipseElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5235 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5236 } |
| 5237 SVGEllipseElementWrappingImplementation._wrap$ctor.prototype = SVGEllipseElement
WrappingImplementation.prototype; |
| 5238 SVGEllipseElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5239 SVGEllipseElementWrappingImplementation.prototype.get$className = function() { |
| 5240 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5241 } |
| 5242 // ********** Code for SVGFEBlendElementWrappingImplementation ************** |
| 5243 $inherits(SVGFEBlendElementWrappingImplementation, SVGElementWrappingImplementat
ion); |
| 5244 function SVGFEBlendElementWrappingImplementation() {} |
| 5245 SVGFEBlendElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5246 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5247 } |
| 5248 SVGFEBlendElementWrappingImplementation._wrap$ctor.prototype = SVGFEBlendElement
WrappingImplementation.prototype; |
| 5249 SVGFEBlendElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5250 SVGFEBlendElementWrappingImplementation.prototype.get$className = function() { |
| 5251 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5252 } |
| 5253 // ********** Code for SVGFEColorMatrixElementWrappingImplementation ***********
*** |
| 5254 $inherits(SVGFEColorMatrixElementWrappingImplementation, SVGElementWrappingImple
mentation); |
| 5255 function SVGFEColorMatrixElementWrappingImplementation() {} |
| 5256 SVGFEColorMatrixElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5257 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5258 } |
| 5259 SVGFEColorMatrixElementWrappingImplementation._wrap$ctor.prototype = SVGFEColorM
atrixElementWrappingImplementation.prototype; |
| 5260 SVGFEColorMatrixElementWrappingImplementation.prototype.is$html_html_Element = f
unction(){return true}; |
| 5261 SVGFEColorMatrixElementWrappingImplementation.prototype.get$className = function
() { |
| 5262 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5263 } |
| 5264 // ********** Code for SVGFEComponentTransferElementWrappingImplementation *****
********* |
| 5265 $inherits(SVGFEComponentTransferElementWrappingImplementation, SVGElementWrappin
gImplementation); |
| 5266 function SVGFEComponentTransferElementWrappingImplementation() {} |
| 5267 SVGFEComponentTransferElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5268 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5269 } |
| 5270 SVGFEComponentTransferElementWrappingImplementation._wrap$ctor.prototype = SVGFE
ComponentTransferElementWrappingImplementation.prototype; |
| 5271 SVGFEComponentTransferElementWrappingImplementation.prototype.is$html_html_Eleme
nt = function(){return true}; |
| 5272 SVGFEComponentTransferElementWrappingImplementation.prototype.get$className = fu
nction() { |
| 5273 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5274 } |
| 5275 // ********** Code for SVGFEConvolveMatrixElementWrappingImplementation ********
****** |
| 5276 $inherits(SVGFEConvolveMatrixElementWrappingImplementation, SVGElementWrappingIm
plementation); |
| 5277 function SVGFEConvolveMatrixElementWrappingImplementation() {} |
| 5278 SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5279 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5280 } |
| 5281 SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor.prototype = SVGFECon
volveMatrixElementWrappingImplementation.prototype; |
| 5282 SVGFEConvolveMatrixElementWrappingImplementation.prototype.is$html_html_Element
= function(){return true}; |
| 5283 SVGFEConvolveMatrixElementWrappingImplementation.prototype.get$className = funct
ion() { |
| 5284 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5285 } |
| 5286 // ********** Code for SVGFEDiffuseLightingElementWrappingImplementation *******
******* |
| 5287 $inherits(SVGFEDiffuseLightingElementWrappingImplementation, SVGElementWrappingI
mplementation); |
| 5288 function SVGFEDiffuseLightingElementWrappingImplementation() {} |
| 5289 SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5290 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5291 } |
| 5292 SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor.prototype = SVGFEDi
ffuseLightingElementWrappingImplementation.prototype; |
| 5293 SVGFEDiffuseLightingElementWrappingImplementation.prototype.is$html_html_Element
= function(){return true}; |
| 5294 SVGFEDiffuseLightingElementWrappingImplementation.prototype.get$className = func
tion() { |
| 5295 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5296 } |
| 5297 // ********** Code for SVGFEDisplacementMapElementWrappingImplementation *******
******* |
| 5298 $inherits(SVGFEDisplacementMapElementWrappingImplementation, SVGElementWrappingI
mplementation); |
| 5299 function SVGFEDisplacementMapElementWrappingImplementation() {} |
| 5300 SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5301 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5302 } |
| 5303 SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor.prototype = SVGFEDi
splacementMapElementWrappingImplementation.prototype; |
| 5304 SVGFEDisplacementMapElementWrappingImplementation.prototype.is$html_html_Element
= function(){return true}; |
| 5305 SVGFEDisplacementMapElementWrappingImplementation.prototype.get$className = func
tion() { |
| 5306 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5307 } |
| 5308 // ********** Code for SVGFEDistantLightElementWrappingImplementation **********
**** |
| 5309 $inherits(SVGFEDistantLightElementWrappingImplementation, SVGElementWrappingImpl
ementation); |
| 5310 function SVGFEDistantLightElementWrappingImplementation() {} |
| 5311 SVGFEDistantLightElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5312 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5313 } |
| 5314 SVGFEDistantLightElementWrappingImplementation._wrap$ctor.prototype = SVGFEDista
ntLightElementWrappingImplementation.prototype; |
| 5315 SVGFEDistantLightElementWrappingImplementation.prototype.is$html_html_Element =
function(){return true}; |
| 5316 // ********** Code for SVGFEDropShadowElementWrappingImplementation ************
** |
| 5317 $inherits(SVGFEDropShadowElementWrappingImplementation, SVGElementWrappingImplem
entation); |
| 5318 function SVGFEDropShadowElementWrappingImplementation() {} |
| 5319 SVGFEDropShadowElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5320 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5321 } |
| 5322 SVGFEDropShadowElementWrappingImplementation._wrap$ctor.prototype = SVGFEDropSha
dowElementWrappingImplementation.prototype; |
| 5323 SVGFEDropShadowElementWrappingImplementation.prototype.is$html_html_Element = fu
nction(){return true}; |
| 5324 SVGFEDropShadowElementWrappingImplementation.prototype.get$className = function(
) { |
| 5325 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5326 } |
| 5327 // ********** Code for SVGFEFloodElementWrappingImplementation ************** |
| 5328 $inherits(SVGFEFloodElementWrappingImplementation, SVGElementWrappingImplementat
ion); |
| 5329 function SVGFEFloodElementWrappingImplementation() {} |
| 5330 SVGFEFloodElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5331 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5332 } |
| 5333 SVGFEFloodElementWrappingImplementation._wrap$ctor.prototype = SVGFEFloodElement
WrappingImplementation.prototype; |
| 5334 SVGFEFloodElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5335 SVGFEFloodElementWrappingImplementation.prototype.get$className = function() { |
| 5336 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5337 } |
| 5338 // ********** Code for SVGFEFuncAElementWrappingImplementation ************** |
| 5339 $inherits(SVGFEFuncAElementWrappingImplementation, SVGComponentTransferFunctionE
lementWrappingImplementation); |
| 5340 function SVGFEFuncAElementWrappingImplementation() {} |
| 5341 SVGFEFuncAElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5342 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this
, ptr); |
| 5343 } |
| 5344 SVGFEFuncAElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncAElement
WrappingImplementation.prototype; |
| 5345 SVGFEFuncAElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5346 // ********** Code for SVGFEFuncBElementWrappingImplementation ************** |
| 5347 $inherits(SVGFEFuncBElementWrappingImplementation, SVGComponentTransferFunctionE
lementWrappingImplementation); |
| 5348 function SVGFEFuncBElementWrappingImplementation() {} |
| 5349 SVGFEFuncBElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5350 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this
, ptr); |
| 5351 } |
| 5352 SVGFEFuncBElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncBElement
WrappingImplementation.prototype; |
| 5353 SVGFEFuncBElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5354 // ********** Code for SVGFEFuncGElementWrappingImplementation ************** |
| 5355 $inherits(SVGFEFuncGElementWrappingImplementation, SVGComponentTransferFunctionE
lementWrappingImplementation); |
| 5356 function SVGFEFuncGElementWrappingImplementation() {} |
| 5357 SVGFEFuncGElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5358 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this
, ptr); |
| 5359 } |
| 5360 SVGFEFuncGElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncGElement
WrappingImplementation.prototype; |
| 5361 SVGFEFuncGElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5362 // ********** Code for SVGFEFuncRElementWrappingImplementation ************** |
| 5363 $inherits(SVGFEFuncRElementWrappingImplementation, SVGComponentTransferFunctionE
lementWrappingImplementation); |
| 5364 function SVGFEFuncRElementWrappingImplementation() {} |
| 5365 SVGFEFuncRElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5366 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this
, ptr); |
| 5367 } |
| 5368 SVGFEFuncRElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncRElement
WrappingImplementation.prototype; |
| 5369 SVGFEFuncRElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5370 // ********** Code for SVGFEGaussianBlurElementWrappingImplementation **********
**** |
| 5371 $inherits(SVGFEGaussianBlurElementWrappingImplementation, SVGElementWrappingImpl
ementation); |
| 5372 function SVGFEGaussianBlurElementWrappingImplementation() {} |
| 5373 SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5374 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5375 } |
| 5376 SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor.prototype = SVGFEGauss
ianBlurElementWrappingImplementation.prototype; |
| 5377 SVGFEGaussianBlurElementWrappingImplementation.prototype.is$html_html_Element =
function(){return true}; |
| 5378 SVGFEGaussianBlurElementWrappingImplementation.prototype.get$className = functio
n() { |
| 5379 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5380 } |
| 5381 // ********** Code for SVGFEImageElementWrappingImplementation ************** |
| 5382 $inherits(SVGFEImageElementWrappingImplementation, SVGElementWrappingImplementat
ion); |
| 5383 function SVGFEImageElementWrappingImplementation() {} |
| 5384 SVGFEImageElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5385 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5386 } |
| 5387 SVGFEImageElementWrappingImplementation._wrap$ctor.prototype = SVGFEImageElement
WrappingImplementation.prototype; |
| 5388 SVGFEImageElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5389 SVGFEImageElementWrappingImplementation.prototype.get$className = function() { |
| 5390 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5391 } |
| 5392 // ********** Code for SVGFEMergeElementWrappingImplementation ************** |
| 5393 $inherits(SVGFEMergeElementWrappingImplementation, SVGElementWrappingImplementat
ion); |
| 5394 function SVGFEMergeElementWrappingImplementation() {} |
| 5395 SVGFEMergeElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5396 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5397 } |
| 5398 SVGFEMergeElementWrappingImplementation._wrap$ctor.prototype = SVGFEMergeElement
WrappingImplementation.prototype; |
| 5399 SVGFEMergeElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5400 SVGFEMergeElementWrappingImplementation.prototype.get$className = function() { |
| 5401 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5402 } |
| 5403 // ********** Code for SVGFEMergeNodeElementWrappingImplementation *************
* |
| 5404 $inherits(SVGFEMergeNodeElementWrappingImplementation, SVGElementWrappingImpleme
ntation); |
| 5405 function SVGFEMergeNodeElementWrappingImplementation() {} |
| 5406 SVGFEMergeNodeElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5407 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5408 } |
| 5409 SVGFEMergeNodeElementWrappingImplementation._wrap$ctor.prototype = SVGFEMergeNod
eElementWrappingImplementation.prototype; |
| 5410 SVGFEMergeNodeElementWrappingImplementation.prototype.is$html_html_Element = fun
ction(){return true}; |
| 5411 // ********** Code for SVGFEOffsetElementWrappingImplementation ************** |
| 5412 $inherits(SVGFEOffsetElementWrappingImplementation, SVGElementWrappingImplementa
tion); |
| 5413 function SVGFEOffsetElementWrappingImplementation() {} |
| 5414 SVGFEOffsetElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5415 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5416 } |
| 5417 SVGFEOffsetElementWrappingImplementation._wrap$ctor.prototype = SVGFEOffsetEleme
ntWrappingImplementation.prototype; |
| 5418 SVGFEOffsetElementWrappingImplementation.prototype.is$html_html_Element = functi
on(){return true}; |
| 5419 SVGFEOffsetElementWrappingImplementation.prototype.get$className = function() { |
| 5420 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5421 } |
| 5422 // ********** Code for SVGFEPointLightElementWrappingImplementation ************
** |
| 5423 $inherits(SVGFEPointLightElementWrappingImplementation, SVGElementWrappingImplem
entation); |
| 5424 function SVGFEPointLightElementWrappingImplementation() {} |
| 5425 SVGFEPointLightElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5426 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5427 } |
| 5428 SVGFEPointLightElementWrappingImplementation._wrap$ctor.prototype = SVGFEPointLi
ghtElementWrappingImplementation.prototype; |
| 5429 SVGFEPointLightElementWrappingImplementation.prototype.is$html_html_Element = fu
nction(){return true}; |
| 5430 // ********** Code for SVGFESpecularLightingElementWrappingImplementation ******
******** |
| 5431 $inherits(SVGFESpecularLightingElementWrappingImplementation, SVGElementWrapping
Implementation); |
| 5432 function SVGFESpecularLightingElementWrappingImplementation() {} |
| 5433 SVGFESpecularLightingElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5434 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5435 } |
| 5436 SVGFESpecularLightingElementWrappingImplementation._wrap$ctor.prototype = SVGFES
pecularLightingElementWrappingImplementation.prototype; |
| 5437 SVGFESpecularLightingElementWrappingImplementation.prototype.is$html_html_Elemen
t = function(){return true}; |
| 5438 SVGFESpecularLightingElementWrappingImplementation.prototype.get$className = fun
ction() { |
| 5439 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5440 } |
| 5441 // ********** Code for SVGFESpotLightElementWrappingImplementation *************
* |
| 5442 $inherits(SVGFESpotLightElementWrappingImplementation, SVGElementWrappingImpleme
ntation); |
| 5443 function SVGFESpotLightElementWrappingImplementation() {} |
| 5444 SVGFESpotLightElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5445 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5446 } |
| 5447 SVGFESpotLightElementWrappingImplementation._wrap$ctor.prototype = SVGFESpotLigh
tElementWrappingImplementation.prototype; |
| 5448 SVGFESpotLightElementWrappingImplementation.prototype.is$html_html_Element = fun
ction(){return true}; |
| 5449 // ********** Code for SVGFETileElementWrappingImplementation ************** |
| 5450 $inherits(SVGFETileElementWrappingImplementation, SVGElementWrappingImplementati
on); |
| 5451 function SVGFETileElementWrappingImplementation() {} |
| 5452 SVGFETileElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5453 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5454 } |
| 5455 SVGFETileElementWrappingImplementation._wrap$ctor.prototype = SVGFETileElementWr
appingImplementation.prototype; |
| 5456 SVGFETileElementWrappingImplementation.prototype.is$html_html_Element = function
(){return true}; |
| 5457 SVGFETileElementWrappingImplementation.prototype.get$className = function() { |
| 5458 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5459 } |
| 5460 // ********** Code for SVGFETurbulenceElementWrappingImplementation ************
** |
| 5461 $inherits(SVGFETurbulenceElementWrappingImplementation, SVGElementWrappingImplem
entation); |
| 5462 function SVGFETurbulenceElementWrappingImplementation() {} |
| 5463 SVGFETurbulenceElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5464 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5465 } |
| 5466 SVGFETurbulenceElementWrappingImplementation._wrap$ctor.prototype = SVGFETurbule
nceElementWrappingImplementation.prototype; |
| 5467 SVGFETurbulenceElementWrappingImplementation.prototype.is$html_html_Element = fu
nction(){return true}; |
| 5468 SVGFETurbulenceElementWrappingImplementation.prototype.get$className = function(
) { |
| 5469 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5470 } |
| 5471 // ********** Code for SVGFilterElementWrappingImplementation ************** |
| 5472 $inherits(SVGFilterElementWrappingImplementation, SVGElementWrappingImplementati
on); |
| 5473 function SVGFilterElementWrappingImplementation() {} |
| 5474 SVGFilterElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5475 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5476 } |
| 5477 SVGFilterElementWrappingImplementation._wrap$ctor.prototype = SVGFilterElementWr
appingImplementation.prototype; |
| 5478 SVGFilterElementWrappingImplementation.prototype.is$html_html_Element = function
(){return true}; |
| 5479 SVGFilterElementWrappingImplementation.prototype.get$className = function() { |
| 5480 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5481 } |
| 5482 // ********** Code for SVGFontElementWrappingImplementation ************** |
| 5483 $inherits(SVGFontElementWrappingImplementation, SVGElementWrappingImplementation
); |
| 5484 function SVGFontElementWrappingImplementation() {} |
| 5485 SVGFontElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5486 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5487 } |
| 5488 SVGFontElementWrappingImplementation._wrap$ctor.prototype = SVGFontElementWrappi
ngImplementation.prototype; |
| 5489 SVGFontElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 5490 // ********** Code for SVGFontFaceElementWrappingImplementation ************** |
| 5491 $inherits(SVGFontFaceElementWrappingImplementation, SVGElementWrappingImplementa
tion); |
| 5492 function SVGFontFaceElementWrappingImplementation() {} |
| 5493 SVGFontFaceElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5494 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5495 } |
| 5496 SVGFontFaceElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceEleme
ntWrappingImplementation.prototype; |
| 5497 SVGFontFaceElementWrappingImplementation.prototype.is$html_html_Element = functi
on(){return true}; |
| 5498 // ********** Code for SVGFontFaceFormatElementWrappingImplementation **********
**** |
| 5499 $inherits(SVGFontFaceFormatElementWrappingImplementation, SVGElementWrappingImpl
ementation); |
| 5500 function SVGFontFaceFormatElementWrappingImplementation() {} |
| 5501 SVGFontFaceFormatElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5502 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5503 } |
| 5504 SVGFontFaceFormatElementWrappingImplementation._wrap$ctor.prototype = SVGFontFac
eFormatElementWrappingImplementation.prototype; |
| 5505 SVGFontFaceFormatElementWrappingImplementation.prototype.is$html_html_Element =
function(){return true}; |
| 5506 // ********** Code for SVGFontFaceNameElementWrappingImplementation ************
** |
| 5507 $inherits(SVGFontFaceNameElementWrappingImplementation, SVGElementWrappingImplem
entation); |
| 5508 function SVGFontFaceNameElementWrappingImplementation() {} |
| 5509 SVGFontFaceNameElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5510 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5511 } |
| 5512 SVGFontFaceNameElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceN
ameElementWrappingImplementation.prototype; |
| 5513 SVGFontFaceNameElementWrappingImplementation.prototype.is$html_html_Element = fu
nction(){return true}; |
| 5514 // ********** Code for SVGFontFaceSrcElementWrappingImplementation *************
* |
| 5515 $inherits(SVGFontFaceSrcElementWrappingImplementation, SVGElementWrappingImpleme
ntation); |
| 5516 function SVGFontFaceSrcElementWrappingImplementation() {} |
| 5517 SVGFontFaceSrcElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5518 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5519 } |
| 5520 SVGFontFaceSrcElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceSr
cElementWrappingImplementation.prototype; |
| 5521 SVGFontFaceSrcElementWrappingImplementation.prototype.is$html_html_Element = fun
ction(){return true}; |
| 5522 // ********** Code for SVGFontFaceUriElementWrappingImplementation *************
* |
| 5523 $inherits(SVGFontFaceUriElementWrappingImplementation, SVGElementWrappingImpleme
ntation); |
| 5524 function SVGFontFaceUriElementWrappingImplementation() {} |
| 5525 SVGFontFaceUriElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5526 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5527 } |
| 5528 SVGFontFaceUriElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceUr
iElementWrappingImplementation.prototype; |
| 5529 SVGFontFaceUriElementWrappingImplementation.prototype.is$html_html_Element = fun
ction(){return true}; |
| 5530 // ********** Code for SVGForeignObjectElementWrappingImplementation ***********
*** |
| 5531 $inherits(SVGForeignObjectElementWrappingImplementation, SVGElementWrappingImple
mentation); |
| 5532 function SVGForeignObjectElementWrappingImplementation() {} |
| 5533 SVGForeignObjectElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5534 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5535 } |
| 5536 SVGForeignObjectElementWrappingImplementation._wrap$ctor.prototype = SVGForeignO
bjectElementWrappingImplementation.prototype; |
| 5537 SVGForeignObjectElementWrappingImplementation.prototype.is$html_html_Element = f
unction(){return true}; |
| 5538 SVGForeignObjectElementWrappingImplementation.prototype.get$className = function
() { |
| 5539 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5540 } |
| 5541 // ********** Code for SVGGElementWrappingImplementation ************** |
| 5542 $inherits(SVGGElementWrappingImplementation, SVGElementWrappingImplementation); |
| 5543 function SVGGElementWrappingImplementation() {} |
| 5544 SVGGElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5545 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5546 } |
| 5547 SVGGElementWrappingImplementation._wrap$ctor.prototype = SVGGElementWrappingImpl
ementation.prototype; |
| 5548 SVGGElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 5549 SVGGElementWrappingImplementation.prototype.get$className = function() { |
| 5550 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5551 } |
| 5552 // ********** Code for SVGGlyphElementWrappingImplementation ************** |
| 5553 $inherits(SVGGlyphElementWrappingImplementation, SVGElementWrappingImplementatio
n); |
| 5554 function SVGGlyphElementWrappingImplementation() {} |
| 5555 SVGGlyphElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5556 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5557 } |
| 5558 SVGGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGGlyphElementWrap
pingImplementation.prototype; |
| 5559 SVGGlyphElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 5560 // ********** Code for SVGGlyphRefElementWrappingImplementation ************** |
| 5561 $inherits(SVGGlyphRefElementWrappingImplementation, SVGElementWrappingImplementa
tion); |
| 5562 function SVGGlyphRefElementWrappingImplementation() {} |
| 5563 SVGGlyphRefElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5564 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5565 } |
| 5566 SVGGlyphRefElementWrappingImplementation._wrap$ctor.prototype = SVGGlyphRefEleme
ntWrappingImplementation.prototype; |
| 5567 SVGGlyphRefElementWrappingImplementation.prototype.is$html_html_Element = functi
on(){return true}; |
| 5568 SVGGlyphRefElementWrappingImplementation.prototype.get$className = function() { |
| 5569 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5570 } |
| 5571 // ********** Code for SVGGradientElementWrappingImplementation ************** |
| 5572 $inherits(SVGGradientElementWrappingImplementation, SVGElementWrappingImplementa
tion); |
| 5573 function SVGGradientElementWrappingImplementation() {} |
| 5574 SVGGradientElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5575 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5576 } |
| 5577 SVGGradientElementWrappingImplementation._wrap$ctor.prototype = SVGGradientEleme
ntWrappingImplementation.prototype; |
| 5578 SVGGradientElementWrappingImplementation.prototype.is$html_html_Element = functi
on(){return true}; |
| 5579 SVGGradientElementWrappingImplementation.prototype.get$className = function() { |
| 5580 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5581 } |
| 5582 // ********** Code for SVGHKernElementWrappingImplementation ************** |
| 5583 $inherits(SVGHKernElementWrappingImplementation, SVGElementWrappingImplementatio
n); |
| 5584 function SVGHKernElementWrappingImplementation() {} |
| 5585 SVGHKernElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5586 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5587 } |
| 5588 SVGHKernElementWrappingImplementation._wrap$ctor.prototype = SVGHKernElementWrap
pingImplementation.prototype; |
| 5589 SVGHKernElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 5590 // ********** Code for SVGImageElementWrappingImplementation ************** |
| 5591 $inherits(SVGImageElementWrappingImplementation, SVGElementWrappingImplementatio
n); |
| 5592 function SVGImageElementWrappingImplementation() {} |
| 5593 SVGImageElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5594 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5595 } |
| 5596 SVGImageElementWrappingImplementation._wrap$ctor.prototype = SVGImageElementWrap
pingImplementation.prototype; |
| 5597 SVGImageElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 5598 SVGImageElementWrappingImplementation.prototype.get$className = function() { |
| 5599 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5600 } |
| 5601 // ********** Code for SVGLineElementWrappingImplementation ************** |
| 5602 $inherits(SVGLineElementWrappingImplementation, SVGElementWrappingImplementation
); |
| 5603 function SVGLineElementWrappingImplementation() {} |
| 5604 SVGLineElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5605 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5606 } |
| 5607 SVGLineElementWrappingImplementation._wrap$ctor.prototype = SVGLineElementWrappi
ngImplementation.prototype; |
| 5608 SVGLineElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 5609 SVGLineElementWrappingImplementation.prototype.get$className = function() { |
| 5610 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5611 } |
| 5612 // ********** Code for SVGLinearGradientElementWrappingImplementation **********
**** |
| 5613 $inherits(SVGLinearGradientElementWrappingImplementation, SVGGradientElementWrap
pingImplementation); |
| 5614 function SVGLinearGradientElementWrappingImplementation() {} |
| 5615 SVGLinearGradientElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5616 SVGGradientElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5617 } |
| 5618 SVGLinearGradientElementWrappingImplementation._wrap$ctor.prototype = SVGLinearG
radientElementWrappingImplementation.prototype; |
| 5619 SVGLinearGradientElementWrappingImplementation.prototype.is$html_html_Element =
function(){return true}; |
| 5620 // ********** Code for SVGMPathElementWrappingImplementation ************** |
| 5621 $inherits(SVGMPathElementWrappingImplementation, SVGElementWrappingImplementatio
n); |
| 5622 function SVGMPathElementWrappingImplementation() {} |
| 5623 SVGMPathElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5624 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5625 } |
| 5626 SVGMPathElementWrappingImplementation._wrap$ctor.prototype = SVGMPathElementWrap
pingImplementation.prototype; |
| 5627 SVGMPathElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 5628 // ********** Code for SVGMarkerElementWrappingImplementation ************** |
| 5629 $inherits(SVGMarkerElementWrappingImplementation, SVGElementWrappingImplementati
on); |
| 5630 function SVGMarkerElementWrappingImplementation() {} |
| 5631 SVGMarkerElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5632 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5633 } |
| 5634 SVGMarkerElementWrappingImplementation._wrap$ctor.prototype = SVGMarkerElementWr
appingImplementation.prototype; |
| 5635 SVGMarkerElementWrappingImplementation.prototype.is$html_html_Element = function
(){return true}; |
| 5636 SVGMarkerElementWrappingImplementation.prototype.get$className = function() { |
| 5637 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5638 } |
| 5639 // ********** Code for SVGMaskElementWrappingImplementation ************** |
| 5640 $inherits(SVGMaskElementWrappingImplementation, SVGElementWrappingImplementation
); |
| 5641 function SVGMaskElementWrappingImplementation() {} |
| 5642 SVGMaskElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5643 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5644 } |
| 5645 SVGMaskElementWrappingImplementation._wrap$ctor.prototype = SVGMaskElementWrappi
ngImplementation.prototype; |
| 5646 SVGMaskElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 5647 SVGMaskElementWrappingImplementation.prototype.get$className = function() { |
| 5648 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5649 } |
| 5650 // ********** Code for SVGMetadataElementWrappingImplementation ************** |
| 5651 $inherits(SVGMetadataElementWrappingImplementation, SVGElementWrappingImplementa
tion); |
| 5652 function SVGMetadataElementWrappingImplementation() {} |
| 5653 SVGMetadataElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5654 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5655 } |
| 5656 SVGMetadataElementWrappingImplementation._wrap$ctor.prototype = SVGMetadataEleme
ntWrappingImplementation.prototype; |
| 5657 SVGMetadataElementWrappingImplementation.prototype.is$html_html_Element = functi
on(){return true}; |
| 5658 // ********** Code for SVGMissingGlyphElementWrappingImplementation ************
** |
| 5659 $inherits(SVGMissingGlyphElementWrappingImplementation, SVGElementWrappingImplem
entation); |
| 5660 function SVGMissingGlyphElementWrappingImplementation() {} |
| 5661 SVGMissingGlyphElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5662 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5663 } |
| 5664 SVGMissingGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGMissingGl
yphElementWrappingImplementation.prototype; |
| 5665 SVGMissingGlyphElementWrappingImplementation.prototype.is$html_html_Element = fu
nction(){return true}; |
| 5666 // ********** Code for SVGPathElementWrappingImplementation ************** |
| 5667 $inherits(SVGPathElementWrappingImplementation, SVGElementWrappingImplementation
); |
| 5668 function SVGPathElementWrappingImplementation() {} |
| 5669 SVGPathElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5670 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5671 } |
| 5672 SVGPathElementWrappingImplementation._wrap$ctor.prototype = SVGPathElementWrappi
ngImplementation.prototype; |
| 5673 SVGPathElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 5674 SVGPathElementWrappingImplementation.prototype.get$className = function() { |
| 5675 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5676 } |
| 5677 // ********** Code for SVGPatternElementWrappingImplementation ************** |
| 5678 $inherits(SVGPatternElementWrappingImplementation, SVGElementWrappingImplementat
ion); |
| 5679 function SVGPatternElementWrappingImplementation() {} |
| 5680 SVGPatternElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5681 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5682 } |
| 5683 SVGPatternElementWrappingImplementation._wrap$ctor.prototype = SVGPatternElement
WrappingImplementation.prototype; |
| 5684 SVGPatternElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5685 SVGPatternElementWrappingImplementation.prototype.get$className = function() { |
| 5686 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5687 } |
| 5688 // ********** Code for SVGPolygonElementWrappingImplementation ************** |
| 5689 $inherits(SVGPolygonElementWrappingImplementation, SVGElementWrappingImplementat
ion); |
| 5690 function SVGPolygonElementWrappingImplementation() {} |
| 5691 SVGPolygonElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5692 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5693 } |
| 5694 SVGPolygonElementWrappingImplementation._wrap$ctor.prototype = SVGPolygonElement
WrappingImplementation.prototype; |
| 5695 SVGPolygonElementWrappingImplementation.prototype.is$html_html_Element = functio
n(){return true}; |
| 5696 SVGPolygonElementWrappingImplementation.prototype.get$className = function() { |
| 5697 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5698 } |
| 5699 // ********** Code for SVGPolylineElementWrappingImplementation ************** |
| 5700 $inherits(SVGPolylineElementWrappingImplementation, SVGElementWrappingImplementa
tion); |
| 5701 function SVGPolylineElementWrappingImplementation() {} |
| 5702 SVGPolylineElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5703 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5704 } |
| 5705 SVGPolylineElementWrappingImplementation._wrap$ctor.prototype = SVGPolylineEleme
ntWrappingImplementation.prototype; |
| 5706 SVGPolylineElementWrappingImplementation.prototype.is$html_html_Element = functi
on(){return true}; |
| 5707 SVGPolylineElementWrappingImplementation.prototype.get$className = function() { |
| 5708 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5709 } |
| 5710 // ********** Code for SVGRadialGradientElementWrappingImplementation **********
**** |
| 5711 $inherits(SVGRadialGradientElementWrappingImplementation, SVGGradientElementWrap
pingImplementation); |
| 5712 function SVGRadialGradientElementWrappingImplementation() {} |
| 5713 SVGRadialGradientElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5714 SVGGradientElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5715 } |
| 5716 SVGRadialGradientElementWrappingImplementation._wrap$ctor.prototype = SVGRadialG
radientElementWrappingImplementation.prototype; |
| 5717 SVGRadialGradientElementWrappingImplementation.prototype.is$html_html_Element =
function(){return true}; |
| 5718 // ********** Code for SVGRectElementWrappingImplementation ************** |
| 5719 $inherits(SVGRectElementWrappingImplementation, SVGElementWrappingImplementation
); |
| 5720 function SVGRectElementWrappingImplementation() {} |
| 5721 SVGRectElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5722 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5723 } |
| 5724 SVGRectElementWrappingImplementation._wrap$ctor.prototype = SVGRectElementWrappi
ngImplementation.prototype; |
| 5725 SVGRectElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 5726 SVGRectElementWrappingImplementation.prototype.get$className = function() { |
| 5727 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5728 } |
| 5729 // ********** Code for SVGScriptElementWrappingImplementation ************** |
| 5730 $inherits(SVGScriptElementWrappingImplementation, SVGElementWrappingImplementati
on); |
| 5731 function SVGScriptElementWrappingImplementation() {} |
| 5732 SVGScriptElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5733 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5734 } |
| 5735 SVGScriptElementWrappingImplementation._wrap$ctor.prototype = SVGScriptElementWr
appingImplementation.prototype; |
| 5736 SVGScriptElementWrappingImplementation.prototype.is$html_html_Element = function
(){return true}; |
| 5737 // ********** Code for SVGSetElementWrappingImplementation ************** |
| 5738 $inherits(SVGSetElementWrappingImplementation, SVGAnimationElementWrappingImplem
entation); |
| 5739 function SVGSetElementWrappingImplementation() {} |
| 5740 SVGSetElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5741 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5742 } |
| 5743 SVGSetElementWrappingImplementation._wrap$ctor.prototype = SVGSetElementWrapping
Implementation.prototype; |
| 5744 SVGSetElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 5745 // ********** Code for SVGStopElementWrappingImplementation ************** |
| 5746 $inherits(SVGStopElementWrappingImplementation, SVGElementWrappingImplementation
); |
| 5747 function SVGStopElementWrappingImplementation() {} |
| 5748 SVGStopElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5749 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5750 } |
| 5751 SVGStopElementWrappingImplementation._wrap$ctor.prototype = SVGStopElementWrappi
ngImplementation.prototype; |
| 5752 SVGStopElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 5753 SVGStopElementWrappingImplementation.prototype.get$className = function() { |
| 5754 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5755 } |
| 5756 // ********** Code for SVGStyleElementWrappingImplementation ************** |
| 5757 $inherits(SVGStyleElementWrappingImplementation, SVGElementWrappingImplementatio
n); |
| 5758 function SVGStyleElementWrappingImplementation() {} |
| 5759 SVGStyleElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5760 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5761 } |
| 5762 SVGStyleElementWrappingImplementation._wrap$ctor.prototype = SVGStyleElementWrap
pingImplementation.prototype; |
| 5763 SVGStyleElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 5764 // ********** Code for SVGSwitchElementWrappingImplementation ************** |
| 5765 $inherits(SVGSwitchElementWrappingImplementation, SVGElementWrappingImplementati
on); |
| 5766 function SVGSwitchElementWrappingImplementation() {} |
| 5767 SVGSwitchElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5768 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5769 } |
| 5770 SVGSwitchElementWrappingImplementation._wrap$ctor.prototype = SVGSwitchElementWr
appingImplementation.prototype; |
| 5771 SVGSwitchElementWrappingImplementation.prototype.is$html_html_Element = function
(){return true}; |
| 5772 SVGSwitchElementWrappingImplementation.prototype.get$className = function() { |
| 5773 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5774 } |
| 5775 // ********** Code for SVGSymbolElementWrappingImplementation ************** |
| 5776 $inherits(SVGSymbolElementWrappingImplementation, SVGElementWrappingImplementati
on); |
| 5777 function SVGSymbolElementWrappingImplementation() {} |
| 5778 SVGSymbolElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5779 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5780 } |
| 5781 SVGSymbolElementWrappingImplementation._wrap$ctor.prototype = SVGSymbolElementWr
appingImplementation.prototype; |
| 5782 SVGSymbolElementWrappingImplementation.prototype.is$html_html_Element = function
(){return true}; |
| 5783 SVGSymbolElementWrappingImplementation.prototype.get$className = function() { |
| 5784 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5785 } |
| 5786 // ********** Code for SVGTRefElementWrappingImplementation ************** |
| 5787 $inherits(SVGTRefElementWrappingImplementation, SVGTextPositioningElementWrappin
gImplementation); |
| 5788 function SVGTRefElementWrappingImplementation() {} |
| 5789 SVGTRefElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5790 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5791 } |
| 5792 SVGTRefElementWrappingImplementation._wrap$ctor.prototype = SVGTRefElementWrappi
ngImplementation.prototype; |
| 5793 SVGTRefElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 5794 // ********** Code for SVGTSpanElementWrappingImplementation ************** |
| 5795 $inherits(SVGTSpanElementWrappingImplementation, SVGTextPositioningElementWrappi
ngImplementation); |
| 5796 function SVGTSpanElementWrappingImplementation() {} |
| 5797 SVGTSpanElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5798 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5799 } |
| 5800 SVGTSpanElementWrappingImplementation._wrap$ctor.prototype = SVGTSpanElementWrap
pingImplementation.prototype; |
| 5801 SVGTSpanElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 5802 // ********** Code for SVGTextElementWrappingImplementation ************** |
| 5803 $inherits(SVGTextElementWrappingImplementation, SVGTextPositioningElementWrappin
gImplementation); |
| 5804 function SVGTextElementWrappingImplementation() {} |
| 5805 SVGTextElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5806 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5807 } |
| 5808 SVGTextElementWrappingImplementation._wrap$ctor.prototype = SVGTextElementWrappi
ngImplementation.prototype; |
| 5809 SVGTextElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 5810 // ********** Code for SVGTextPathElementWrappingImplementation ************** |
| 5811 $inherits(SVGTextPathElementWrappingImplementation, SVGTextContentElementWrappin
gImplementation); |
| 5812 function SVGTextPathElementWrappingImplementation() {} |
| 5813 SVGTextPathElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5814 SVGTextContentElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5815 } |
| 5816 SVGTextPathElementWrappingImplementation._wrap$ctor.prototype = SVGTextPathEleme
ntWrappingImplementation.prototype; |
| 5817 SVGTextPathElementWrappingImplementation.prototype.is$html_html_Element = functi
on(){return true}; |
| 5818 // ********** Code for SVGTitleElementWrappingImplementation ************** |
| 5819 $inherits(SVGTitleElementWrappingImplementation, SVGElementWrappingImplementatio
n); |
| 5820 function SVGTitleElementWrappingImplementation() {} |
| 5821 SVGTitleElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5822 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5823 } |
| 5824 SVGTitleElementWrappingImplementation._wrap$ctor.prototype = SVGTitleElementWrap
pingImplementation.prototype; |
| 5825 SVGTitleElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 5826 SVGTitleElementWrappingImplementation.prototype.get$className = function() { |
| 5827 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5828 } |
| 5829 // ********** Code for SVGUseElementWrappingImplementation ************** |
| 5830 $inherits(SVGUseElementWrappingImplementation, SVGElementWrappingImplementation)
; |
| 5831 function SVGUseElementWrappingImplementation() {} |
| 5832 SVGUseElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5833 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5834 } |
| 5835 SVGUseElementWrappingImplementation._wrap$ctor.prototype = SVGUseElementWrapping
Implementation.prototype; |
| 5836 SVGUseElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 5837 SVGUseElementWrappingImplementation.prototype.get$className = function() { |
| 5838 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 5839 } |
| 5840 // ********** Code for SVGVKernElementWrappingImplementation ************** |
| 5841 $inherits(SVGVKernElementWrappingImplementation, SVGElementWrappingImplementatio
n); |
| 5842 function SVGVKernElementWrappingImplementation() {} |
| 5843 SVGVKernElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5844 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5845 } |
| 5846 SVGVKernElementWrappingImplementation._wrap$ctor.prototype = SVGVKernElementWrap
pingImplementation.prototype; |
| 5847 SVGVKernElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 5848 // ********** Code for SVGViewElementWrappingImplementation ************** |
| 5849 $inherits(SVGViewElementWrappingImplementation, SVGElementWrappingImplementation
); |
| 5850 function SVGViewElementWrappingImplementation() {} |
| 5851 SVGViewElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5852 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5853 } |
| 5854 SVGViewElementWrappingImplementation._wrap$ctor.prototype = SVGViewElementWrappi
ngImplementation.prototype; |
| 5855 SVGViewElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 5856 // ********** Code for UIEventWrappingImplementation ************** |
| 5857 $inherits(UIEventWrappingImplementation, EventWrappingImplementation); |
| 5858 function UIEventWrappingImplementation() {} |
| 5859 UIEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 5860 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5861 } |
| 5862 UIEventWrappingImplementation._wrap$ctor.prototype = UIEventWrappingImplementati
on.prototype; |
| 5863 // ********** Code for SVGZoomEventWrappingImplementation ************** |
| 5864 $inherits(SVGZoomEventWrappingImplementation, UIEventWrappingImplementation); |
| 5865 function SVGZoomEventWrappingImplementation() {} |
| 5866 SVGZoomEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 5867 UIEventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5868 } |
| 5869 SVGZoomEventWrappingImplementation._wrap$ctor.prototype = SVGZoomEventWrappingIm
plementation.prototype; |
| 5870 // ********** Code for ScriptElementWrappingImplementation ************** |
| 5871 $inherits(ScriptElementWrappingImplementation, ElementWrappingImplementation); |
| 5872 function ScriptElementWrappingImplementation() {} |
| 5873 ScriptElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5874 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5875 } |
| 5876 ScriptElementWrappingImplementation._wrap$ctor.prototype = ScriptElementWrapping
Implementation.prototype; |
| 5877 ScriptElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 5878 ScriptElementWrappingImplementation.prototype.set$text = function(value) { |
| 5879 this._ptr.set$text(value); |
| 5880 } |
| 5881 // ********** Code for SelectElementWrappingImplementation ************** |
| 5882 $inherits(SelectElementWrappingImplementation, ElementWrappingImplementation); |
| 5883 function SelectElementWrappingImplementation() {} |
| 5884 SelectElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5885 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5886 } |
| 5887 SelectElementWrappingImplementation._wrap$ctor.prototype = SelectElementWrapping
Implementation.prototype; |
| 5888 SelectElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 5889 SelectElementWrappingImplementation.prototype.get$length = function() { |
| 5890 return this._ptr.get$length(); |
| 5891 } |
| 5892 SelectElementWrappingImplementation.prototype.get$name = function() { |
| 5893 return this._ptr.get$name(); |
| 5894 } |
| 5895 SelectElementWrappingImplementation.prototype.get$value = function() { |
| 5896 return this._ptr.get$value(); |
| 5897 } |
| 5898 SelectElementWrappingImplementation.prototype.set$value = function(value) { |
| 5899 this._ptr.set$value(value); |
| 5900 } |
| 5901 SelectElementWrappingImplementation.prototype.add = function(element, before) { |
| 5902 this._ptr.add$2(LevelDom.unwrap(element), LevelDom.unwrap(before)); |
| 5903 return; |
| 5904 } |
| 5905 SelectElementWrappingImplementation.prototype.item = function(index) { |
| 5906 return LevelDom.wrapNode(this._ptr.item$1(index)); |
| 5907 } |
| 5908 SelectElementWrappingImplementation.prototype.add$2 = SelectElementWrappingImple
mentation.prototype.add; |
| 5909 SelectElementWrappingImplementation.prototype.item$1 = SelectElementWrappingImpl
ementation.prototype.item; |
| 5910 // ********** Code for SourceElementWrappingImplementation ************** |
| 5911 $inherits(SourceElementWrappingImplementation, ElementWrappingImplementation); |
| 5912 function SourceElementWrappingImplementation() {} |
| 5913 SourceElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5914 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5915 } |
| 5916 SourceElementWrappingImplementation._wrap$ctor.prototype = SourceElementWrapping
Implementation.prototype; |
| 5917 SourceElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 5918 // ********** Code for SpanElementWrappingImplementation ************** |
| 5919 $inherits(SpanElementWrappingImplementation, ElementWrappingImplementation); |
| 5920 function SpanElementWrappingImplementation() {} |
| 5921 SpanElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5922 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5923 } |
| 5924 SpanElementWrappingImplementation._wrap$ctor.prototype = SpanElementWrappingImpl
ementation.prototype; |
| 5925 SpanElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 5926 // ********** Code for SpeechInputEventWrappingImplementation ************** |
| 5927 $inherits(SpeechInputEventWrappingImplementation, EventWrappingImplementation); |
| 5928 function SpeechInputEventWrappingImplementation() {} |
| 5929 SpeechInputEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 5930 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5931 } |
| 5932 SpeechInputEventWrappingImplementation._wrap$ctor.prototype = SpeechInputEventWr
appingImplementation.prototype; |
| 5933 // ********** Code for StyleElementWrappingImplementation ************** |
| 5934 $inherits(StyleElementWrappingImplementation, ElementWrappingImplementation); |
| 5935 function StyleElementWrappingImplementation() {} |
| 5936 StyleElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5937 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5938 } |
| 5939 StyleElementWrappingImplementation._wrap$ctor.prototype = StyleElementWrappingIm
plementation.prototype; |
| 5940 StyleElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 5941 // ********** Code for TableCaptionElementWrappingImplementation ************** |
| 5942 $inherits(TableCaptionElementWrappingImplementation, ElementWrappingImplementati
on); |
| 5943 function TableCaptionElementWrappingImplementation() {} |
| 5944 TableCaptionElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5945 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5946 } |
| 5947 TableCaptionElementWrappingImplementation._wrap$ctor.prototype = TableCaptionEle
mentWrappingImplementation.prototype; |
| 5948 TableCaptionElementWrappingImplementation.prototype.is$html_html_Element = funct
ion(){return true}; |
| 5949 // ********** Code for TableCellElementWrappingImplementation ************** |
| 5950 $inherits(TableCellElementWrappingImplementation, ElementWrappingImplementation)
; |
| 5951 function TableCellElementWrappingImplementation() {} |
| 5952 TableCellElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5953 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5954 } |
| 5955 TableCellElementWrappingImplementation._wrap$ctor.prototype = TableCellElementWr
appingImplementation.prototype; |
| 5956 TableCellElementWrappingImplementation.prototype.is$html_html_Element = function
(){return true}; |
| 5957 // ********** Code for TableColElementWrappingImplementation ************** |
| 5958 $inherits(TableColElementWrappingImplementation, ElementWrappingImplementation); |
| 5959 function TableColElementWrappingImplementation() {} |
| 5960 TableColElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5961 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5962 } |
| 5963 TableColElementWrappingImplementation._wrap$ctor.prototype = TableColElementWrap
pingImplementation.prototype; |
| 5964 TableColElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 5965 // ********** Code for TableElementWrappingImplementation ************** |
| 5966 $inherits(TableElementWrappingImplementation, ElementWrappingImplementation); |
| 5967 function TableElementWrappingImplementation() {} |
| 5968 TableElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5969 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5970 } |
| 5971 TableElementWrappingImplementation._wrap$ctor.prototype = TableElementWrappingIm
plementation.prototype; |
| 5972 TableElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 5973 // ********** Code for TableRowElementWrappingImplementation ************** |
| 5974 $inherits(TableRowElementWrappingImplementation, ElementWrappingImplementation); |
| 5975 function TableRowElementWrappingImplementation() {} |
| 5976 TableRowElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5977 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5978 } |
| 5979 TableRowElementWrappingImplementation._wrap$ctor.prototype = TableRowElementWrap
pingImplementation.prototype; |
| 5980 TableRowElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 5981 // ********** Code for TableSectionElementWrappingImplementation ************** |
| 5982 $inherits(TableSectionElementWrappingImplementation, ElementWrappingImplementati
on); |
| 5983 function TableSectionElementWrappingImplementation() {} |
| 5984 TableSectionElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5985 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5986 } |
| 5987 TableSectionElementWrappingImplementation._wrap$ctor.prototype = TableSectionEle
mentWrappingImplementation.prototype; |
| 5988 TableSectionElementWrappingImplementation.prototype.is$html_html_Element = funct
ion(){return true}; |
| 5989 // ********** Code for TextAreaElementWrappingImplementation ************** |
| 5990 $inherits(TextAreaElementWrappingImplementation, ElementWrappingImplementation); |
| 5991 function TextAreaElementWrappingImplementation() {} |
| 5992 TextAreaElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 5993 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 5994 } |
| 5995 TextAreaElementWrappingImplementation._wrap$ctor.prototype = TextAreaElementWrap
pingImplementation.prototype; |
| 5996 TextAreaElementWrappingImplementation.prototype.is$html_html_Element = function(
){return true}; |
| 5997 TextAreaElementWrappingImplementation.prototype.get$name = function() { |
| 5998 return this._ptr.get$name(); |
| 5999 } |
| 6000 TextAreaElementWrappingImplementation.prototype.get$value = function() { |
| 6001 return this._ptr.get$value(); |
| 6002 } |
| 6003 TextAreaElementWrappingImplementation.prototype.set$value = function(value) { |
| 6004 this._ptr.set$value(value); |
| 6005 } |
| 6006 // ********** Code for TitleElementWrappingImplementation ************** |
| 6007 $inherits(TitleElementWrappingImplementation, ElementWrappingImplementation); |
| 6008 function TitleElementWrappingImplementation() {} |
| 6009 TitleElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 6010 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 6011 } |
| 6012 TitleElementWrappingImplementation._wrap$ctor.prototype = TitleElementWrappingIm
plementation.prototype; |
| 6013 TitleElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 6014 TitleElementWrappingImplementation.prototype.set$text = function(value) { |
| 6015 this._ptr.set$text(value); |
| 6016 } |
| 6017 // ********** Code for TrackElementWrappingImplementation ************** |
| 6018 $inherits(TrackElementWrappingImplementation, ElementWrappingImplementation); |
| 6019 function TrackElementWrappingImplementation() {} |
| 6020 TrackElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 6021 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 6022 } |
| 6023 TrackElementWrappingImplementation._wrap$ctor.prototype = TrackElementWrappingIm
plementation.prototype; |
| 6024 TrackElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 6025 // ********** Code for UListElementWrappingImplementation ************** |
| 6026 $inherits(UListElementWrappingImplementation, ElementWrappingImplementation); |
| 6027 function UListElementWrappingImplementation() {} |
| 6028 UListElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 6029 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 6030 } |
| 6031 UListElementWrappingImplementation._wrap$ctor.prototype = UListElementWrappingIm
plementation.prototype; |
| 6032 UListElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 6033 // ********** Code for UnknownElementWrappingImplementation ************** |
| 6034 $inherits(UnknownElementWrappingImplementation, ElementWrappingImplementation); |
| 6035 function UnknownElementWrappingImplementation() {} |
| 6036 UnknownElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 6037 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 6038 } |
| 6039 UnknownElementWrappingImplementation._wrap$ctor.prototype = UnknownElementWrappi
ngImplementation.prototype; |
| 6040 UnknownElementWrappingImplementation.prototype.is$html_html_Element = function()
{return true}; |
| 6041 // ********** Code for VideoElementWrappingImplementation ************** |
| 6042 $inherits(VideoElementWrappingImplementation, MediaElementWrappingImplementation
); |
| 6043 function VideoElementWrappingImplementation() {} |
| 6044 VideoElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 6045 MediaElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 6046 } |
| 6047 VideoElementWrappingImplementation._wrap$ctor.prototype = VideoElementWrappingIm
plementation.prototype; |
| 6048 VideoElementWrappingImplementation.prototype.is$html_html_Element = function(){r
eturn true}; |
| 6049 // ********** Code for WebGLContextEventWrappingImplementation ************** |
| 6050 $inherits(WebGLContextEventWrappingImplementation, EventWrappingImplementation); |
| 6051 function WebGLContextEventWrappingImplementation() {} |
| 6052 WebGLContextEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 6053 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 6054 } |
| 6055 WebGLContextEventWrappingImplementation._wrap$ctor.prototype = WebGLContextEvent
WrappingImplementation.prototype; |
| 6056 // ********** Code for LevelDom ************** |
| 6057 function LevelDom() {} |
| 6058 LevelDom.wrapDocument = function(raw) { |
| 6059 if (raw == null) { |
| 6060 return null; |
| 6061 } |
| 6062 if (raw.get$dartObjectLocalStorage() != null) { |
| 6063 return raw.get$dartObjectLocalStorage(); |
| 6064 } |
| 6065 switch (raw.get$typeName()) { |
| 6066 case "HTMLDocument": |
| 6067 |
| 6068 return new DocumentWrappingImplementation._wrap$ctor(raw, raw.get$document
Element()); |
| 6069 |
| 6070 case "SVGDocument": |
| 6071 |
| 6072 return new SVGDocumentWrappingImplementation._wrap$ctor(raw); |
| 6073 |
| 6074 default: |
| 6075 |
| 6076 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0(
))); |
| 6077 |
| 6078 } |
| 6079 } |
| 6080 LevelDom.wrapElement = function(raw) { |
| 6081 if (raw == null) { |
| 6082 return null; |
| 6083 } |
| 6084 if (raw.get$dartObjectLocalStorage() != null) { |
| 6085 return raw.get$dartObjectLocalStorage(); |
| 6086 } |
| 6087 switch (raw.get$typeName()) { |
| 6088 case "HTMLAnchorElement": |
| 6089 |
| 6090 return new AnchorElementWrappingImplementation._wrap$ctor(raw); |
| 6091 |
| 6092 case "HTMLAreaElement": |
| 6093 |
| 6094 return new AreaElementWrappingImplementation._wrap$ctor(raw); |
| 6095 |
| 6096 case "HTMLAudioElement": |
| 6097 |
| 6098 return new AudioElementWrappingImplementation._wrap$ctor(raw); |
| 6099 |
| 6100 case "HTMLBRElement": |
| 6101 |
| 6102 return new BRElementWrappingImplementation._wrap$ctor(raw); |
| 6103 |
| 6104 case "HTMLBaseElement": |
| 6105 |
| 6106 return new BaseElementWrappingImplementation._wrap$ctor(raw); |
| 6107 |
| 6108 case "HTMLBodyElement": |
| 6109 |
| 6110 return new BodyElementWrappingImplementation._wrap$ctor(raw); |
| 6111 |
| 6112 case "HTMLButtonElement": |
| 6113 |
| 6114 return new ButtonElementWrappingImplementation._wrap$ctor(raw); |
| 6115 |
| 6116 case "HTMLCanvasElement": |
| 6117 |
| 6118 return new CanvasElementWrappingImplementation._wrap$ctor(raw); |
| 6119 |
| 6120 case "HTMLDListElement": |
| 6121 |
| 6122 return new DListElementWrappingImplementation._wrap$ctor(raw); |
| 6123 |
| 6124 case "HTMLDataListElement": |
| 6125 |
| 6126 return new DataListElementWrappingImplementation._wrap$ctor(raw); |
| 6127 |
| 6128 case "HTMLDetailsElement": |
| 6129 |
| 6130 return new DetailsElementWrappingImplementation._wrap$ctor(raw); |
| 6131 |
| 6132 case "HTMLDivElement": |
| 6133 |
| 6134 return new DivElementWrappingImplementation._wrap$ctor(raw); |
| 6135 |
| 6136 case "HTMLElement": |
| 6137 |
| 6138 return new ElementWrappingImplementation._wrap$ctor(raw); |
| 6139 |
| 6140 case "HTMLEmbedElement": |
| 6141 |
| 6142 return new EmbedElementWrappingImplementation._wrap$ctor(raw); |
| 6143 |
| 6144 case "HTMLFieldSetElement": |
| 6145 |
| 6146 return new FieldSetElementWrappingImplementation._wrap$ctor(raw); |
| 6147 |
| 6148 case "HTMLFontElement": |
| 6149 |
| 6150 return new FontElementWrappingImplementation._wrap$ctor(raw); |
| 6151 |
| 6152 case "HTMLFormElement": |
| 6153 |
| 6154 return new FormElementWrappingImplementation._wrap$ctor(raw); |
| 6155 |
| 6156 case "HTMLHRElement": |
| 6157 |
| 6158 return new HRElementWrappingImplementation._wrap$ctor(raw); |
| 6159 |
| 6160 case "HTMLHeadElement": |
| 6161 |
| 6162 return new HeadElementWrappingImplementation._wrap$ctor(raw); |
| 6163 |
| 6164 case "HTMLHeadingElement": |
| 6165 |
| 6166 return new HeadingElementWrappingImplementation._wrap$ctor(raw); |
| 6167 |
| 6168 case "HTMLHtmlElement": |
| 6169 |
| 6170 return new DocumentWrappingImplementation._wrap$ctor(raw.get$parentNode(),
raw); |
| 6171 |
| 6172 case "HTMLIFrameElement": |
| 6173 |
| 6174 return new IFrameElementWrappingImplementation._wrap$ctor(raw); |
| 6175 |
| 6176 case "HTMLImageElement": |
| 6177 |
| 6178 return new ImageElementWrappingImplementation._wrap$ctor(raw); |
| 6179 |
| 6180 case "HTMLInputElement": |
| 6181 |
| 6182 return new InputElementWrappingImplementation._wrap$ctor(raw); |
| 6183 |
| 6184 case "HTMLKeygenElement": |
| 6185 |
| 6186 return new KeygenElementWrappingImplementation._wrap$ctor(raw); |
| 6187 |
| 6188 case "HTMLLIElement": |
| 6189 |
| 6190 return new LIElementWrappingImplementation._wrap$ctor(raw); |
| 6191 |
| 6192 case "HTMLLabelElement": |
| 6193 |
| 6194 return new LabelElementWrappingImplementation._wrap$ctor(raw); |
| 6195 |
| 6196 case "HTMLLegendElement": |
| 6197 |
| 6198 return new LegendElementWrappingImplementation._wrap$ctor(raw); |
| 6199 |
| 6200 case "HTMLLinkElement": |
| 6201 |
| 6202 return new LinkElementWrappingImplementation._wrap$ctor(raw); |
| 6203 |
| 6204 case "HTMLMapElement": |
| 6205 |
| 6206 return new MapElementWrappingImplementation._wrap$ctor(raw); |
| 6207 |
| 6208 case "HTMLMarqueeElement": |
| 6209 |
| 6210 return new MarqueeElementWrappingImplementation._wrap$ctor(raw); |
| 6211 |
| 6212 case "HTMLMediaElement": |
| 6213 |
| 6214 return new MediaElementWrappingImplementation._wrap$ctor(raw); |
| 6215 |
| 6216 case "HTMLMenuElement": |
| 6217 |
| 6218 return new MenuElementWrappingImplementation._wrap$ctor(raw); |
| 6219 |
| 6220 case "HTMLMetaElement": |
| 6221 |
| 6222 return new MetaElementWrappingImplementation._wrap$ctor(raw); |
| 6223 |
| 6224 case "HTMLMeterElement": |
| 6225 |
| 6226 return new MeterElementWrappingImplementation._wrap$ctor(raw); |
| 6227 |
| 6228 case "HTMLModElement": |
| 6229 |
| 6230 return new ModElementWrappingImplementation._wrap$ctor(raw); |
| 6231 |
| 6232 case "HTMLOListElement": |
| 6233 |
| 6234 return new OListElementWrappingImplementation._wrap$ctor(raw); |
| 6235 |
| 6236 case "HTMLObjectElement": |
| 6237 |
| 6238 return new ObjectElementWrappingImplementation._wrap$ctor(raw); |
| 6239 |
| 6240 case "HTMLOptGroupElement": |
| 6241 |
| 6242 return new OptGroupElementWrappingImplementation._wrap$ctor(raw); |
| 6243 |
| 6244 case "HTMLOptionElement": |
| 6245 |
| 6246 return new OptionElementWrappingImplementation._wrap$ctor(raw); |
| 6247 |
| 6248 case "HTMLOutputElement": |
| 6249 |
| 6250 return new OutputElementWrappingImplementation._wrap$ctor(raw); |
| 6251 |
| 6252 case "HTMLParagraphElement": |
| 6253 |
| 6254 return new ParagraphElementWrappingImplementation._wrap$ctor(raw); |
| 6255 |
| 6256 case "HTMLParamElement": |
| 6257 |
| 6258 return new ParamElementWrappingImplementation._wrap$ctor(raw); |
| 6259 |
| 6260 case "HTMLPreElement": |
| 6261 |
| 6262 return new PreElementWrappingImplementation._wrap$ctor(raw); |
| 6263 |
| 6264 case "HTMLProgressElement": |
| 6265 |
| 6266 return new ProgressElementWrappingImplementation._wrap$ctor(raw); |
| 6267 |
| 6268 case "HTMLQuoteElement": |
| 6269 |
| 6270 return new QuoteElementWrappingImplementation._wrap$ctor(raw); |
| 6271 |
| 6272 case "SVGAElement": |
| 6273 |
| 6274 return new SVGAElementWrappingImplementation._wrap$ctor(raw); |
| 6275 |
| 6276 case "SVGAltGlyphDefElement": |
| 6277 |
| 6278 return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw); |
| 6279 |
| 6280 case "SVGAltGlyphElement": |
| 6281 |
| 6282 return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw); |
| 6283 |
| 6284 case "SVGAltGlyphItemElement": |
| 6285 |
| 6286 return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw); |
| 6287 |
| 6288 case "SVGAnimateColorElement": |
| 6289 |
| 6290 return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw); |
| 6291 |
| 6292 case "SVGAnimateElement": |
| 6293 |
| 6294 return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw); |
| 6295 |
| 6296 case "SVGAnimateMotionElement": |
| 6297 |
| 6298 return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw); |
| 6299 |
| 6300 case "SVGAnimateTransformElement": |
| 6301 |
| 6302 return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw
); |
| 6303 |
| 6304 case "SVGAnimationElement": |
| 6305 |
| 6306 return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw); |
| 6307 |
| 6308 case "SVGCircleElement": |
| 6309 |
| 6310 return new SVGCircleElementWrappingImplementation._wrap$ctor(raw); |
| 6311 |
| 6312 case "SVGClipPathElement": |
| 6313 |
| 6314 return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw); |
| 6315 |
| 6316 case "SVGComponentTransferFunctionElement": |
| 6317 |
| 6318 return new SVGComponentTransferFunctionElementWrappingImplementation._wrap
$ctor(raw); |
| 6319 |
| 6320 case "SVGCursorElement": |
| 6321 |
| 6322 return new SVGCursorElementWrappingImplementation._wrap$ctor(raw); |
| 6323 |
| 6324 case "SVGDefsElement": |
| 6325 |
| 6326 return new SVGDefsElementWrappingImplementation._wrap$ctor(raw); |
| 6327 |
| 6328 case "SVGDescElement": |
| 6329 |
| 6330 return new SVGDescElementWrappingImplementation._wrap$ctor(raw); |
| 6331 |
| 6332 case "SVGElement": |
| 6333 |
| 6334 return new SVGElementWrappingImplementation._wrap$ctor(raw); |
| 6335 |
| 6336 case "SVGEllipseElement": |
| 6337 |
| 6338 return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw); |
| 6339 |
| 6340 case "SVGFEBlendElement": |
| 6341 |
| 6342 return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw); |
| 6343 |
| 6344 case "SVGFEColorMatrixElement": |
| 6345 |
| 6346 return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw); |
| 6347 |
| 6348 case "SVGFEComponentTransferElement": |
| 6349 |
| 6350 return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor(
raw); |
| 6351 |
| 6352 case "SVGFEConvolveMatrixElement": |
| 6353 |
| 6354 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw
); |
| 6355 |
| 6356 case "SVGFEDiffuseLightingElement": |
| 6357 |
| 6358 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(ra
w); |
| 6359 |
| 6360 case "SVGFEDisplacementMapElement": |
| 6361 |
| 6362 return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(ra
w); |
| 6363 |
| 6364 case "SVGFEDistantLightElement": |
| 6365 |
| 6366 return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw); |
| 6367 |
| 6368 case "SVGFEDropShadowElement": |
| 6369 |
| 6370 return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw); |
| 6371 |
| 6372 case "SVGFEFloodElement": |
| 6373 |
| 6374 return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw); |
| 6375 |
| 6376 case "SVGFEFuncAElement": |
| 6377 |
| 6378 return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw); |
| 6379 |
| 6380 case "SVGFEFuncBElement": |
| 6381 |
| 6382 return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw); |
| 6383 |
| 6384 case "SVGFEFuncGElement": |
| 6385 |
| 6386 return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw); |
| 6387 |
| 6388 case "SVGFEFuncRElement": |
| 6389 |
| 6390 return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw); |
| 6391 |
| 6392 case "SVGFEGaussianBlurElement": |
| 6393 |
| 6394 return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw); |
| 6395 |
| 6396 case "SVGFEImageElement": |
| 6397 |
| 6398 return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw); |
| 6399 |
| 6400 case "SVGFEMergeElement": |
| 6401 |
| 6402 return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw); |
| 6403 |
| 6404 case "SVGFEMergeNodeElement": |
| 6405 |
| 6406 return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw); |
| 6407 |
| 6408 case "SVGFEOffsetElement": |
| 6409 |
| 6410 return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw); |
| 6411 |
| 6412 case "SVGFEPointLightElement": |
| 6413 |
| 6414 return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw); |
| 6415 |
| 6416 case "SVGFESpecularLightingElement": |
| 6417 |
| 6418 return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(r
aw); |
| 6419 |
| 6420 case "SVGFESpotLightElement": |
| 6421 |
| 6422 return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw); |
| 6423 |
| 6424 case "SVGFETileElement": |
| 6425 |
| 6426 return new SVGFETileElementWrappingImplementation._wrap$ctor(raw); |
| 6427 |
| 6428 case "SVGFETurbulenceElement": |
| 6429 |
| 6430 return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw); |
| 6431 |
| 6432 case "SVGFilterElement": |
| 6433 |
| 6434 return new SVGFilterElementWrappingImplementation._wrap$ctor(raw); |
| 6435 |
| 6436 case "SVGFontElement": |
| 6437 |
| 6438 return new SVGFontElementWrappingImplementation._wrap$ctor(raw); |
| 6439 |
| 6440 case "SVGFontFaceElement": |
| 6441 |
| 6442 return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw); |
| 6443 |
| 6444 case "SVGFontFaceFormatElement": |
| 6445 |
| 6446 return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw); |
| 6447 |
| 6448 case "SVGFontFaceNameElement": |
| 6449 |
| 6450 return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw); |
| 6451 |
| 6452 case "SVGFontFaceSrcElement": |
| 6453 |
| 6454 return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw); |
| 6455 |
| 6456 case "SVGFontFaceUriElement": |
| 6457 |
| 6458 return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw); |
| 6459 |
| 6460 case "SVGForeignObjectElement": |
| 6461 |
| 6462 return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw); |
| 6463 |
| 6464 case "SVGGElement": |
| 6465 |
| 6466 return new SVGGElementWrappingImplementation._wrap$ctor(raw); |
| 6467 |
| 6468 case "SVGGlyphElement": |
| 6469 |
| 6470 return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw); |
| 6471 |
| 6472 case "SVGGlyphRefElement": |
| 6473 |
| 6474 return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw); |
| 6475 |
| 6476 case "SVGGradientElement": |
| 6477 |
| 6478 return new SVGGradientElementWrappingImplementation._wrap$ctor(raw); |
| 6479 |
| 6480 case "SVGHKernElement": |
| 6481 |
| 6482 return new SVGHKernElementWrappingImplementation._wrap$ctor(raw); |
| 6483 |
| 6484 case "SVGImageElement": |
| 6485 |
| 6486 return new SVGImageElementWrappingImplementation._wrap$ctor(raw); |
| 6487 |
| 6488 case "SVGLineElement": |
| 6489 |
| 6490 return new SVGLineElementWrappingImplementation._wrap$ctor(raw); |
| 6491 |
| 6492 case "SVGLinearGradientElement": |
| 6493 |
| 6494 return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw); |
| 6495 |
| 6496 case "SVGMPathElement": |
| 6497 |
| 6498 return new SVGMPathElementWrappingImplementation._wrap$ctor(raw); |
| 6499 |
| 6500 case "SVGMarkerElement": |
| 6501 |
| 6502 return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw); |
| 6503 |
| 6504 case "SVGMaskElement": |
| 6505 |
| 6506 return new SVGMaskElementWrappingImplementation._wrap$ctor(raw); |
| 6507 |
| 6508 case "SVGMetadataElement": |
| 6509 |
| 6510 return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw); |
| 6511 |
| 6512 case "SVGMissingGlyphElement": |
| 6513 |
| 6514 return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw); |
| 6515 |
| 6516 case "SVGPathElement": |
| 6517 |
| 6518 return new SVGPathElementWrappingImplementation._wrap$ctor(raw); |
| 6519 |
| 6520 case "SVGPatternElement": |
| 6521 |
| 6522 return new SVGPatternElementWrappingImplementation._wrap$ctor(raw); |
| 6523 |
| 6524 case "SVGPolygonElement": |
| 6525 |
| 6526 return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw); |
| 6527 |
| 6528 case "SVGPolylineElement": |
| 6529 |
| 6530 return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw); |
| 6531 |
| 6532 case "SVGRadialGradientElement": |
| 6533 |
| 6534 return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw); |
| 6535 |
| 6536 case "SVGRectElement": |
| 6537 |
| 6538 return new SVGRectElementWrappingImplementation._wrap$ctor(raw); |
| 6539 |
| 6540 case "SVGSVGElement": |
| 6541 |
| 6542 return new SVGSVGElementWrappingImplementation._wrap$ctor(raw); |
| 6543 |
| 6544 case "SVGScriptElement": |
| 6545 |
| 6546 return new SVGScriptElementWrappingImplementation._wrap$ctor(raw); |
| 6547 |
| 6548 case "SVGSetElement": |
| 6549 |
| 6550 return new SVGSetElementWrappingImplementation._wrap$ctor(raw); |
| 6551 |
| 6552 case "SVGStopElement": |
| 6553 |
| 6554 return new SVGStopElementWrappingImplementation._wrap$ctor(raw); |
| 6555 |
| 6556 case "SVGStyleElement": |
| 6557 |
| 6558 return new SVGStyleElementWrappingImplementation._wrap$ctor(raw); |
| 6559 |
| 6560 case "SVGSwitchElement": |
| 6561 |
| 6562 return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw); |
| 6563 |
| 6564 case "SVGSymbolElement": |
| 6565 |
| 6566 return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw); |
| 6567 |
| 6568 case "SVGTRefElement": |
| 6569 |
| 6570 return new SVGTRefElementWrappingImplementation._wrap$ctor(raw); |
| 6571 |
| 6572 case "SVGTSpanElement": |
| 6573 |
| 6574 return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw); |
| 6575 |
| 6576 case "SVGTextContentElement": |
| 6577 |
| 6578 return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw); |
| 6579 |
| 6580 case "SVGTextElement": |
| 6581 |
| 6582 return new SVGTextElementWrappingImplementation._wrap$ctor(raw); |
| 6583 |
| 6584 case "SVGTextPathElement": |
| 6585 |
| 6586 return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw); |
| 6587 |
| 6588 case "SVGTextPositioningElement": |
| 6589 |
| 6590 return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw)
; |
| 6591 |
| 6592 case "SVGTitleElement": |
| 6593 |
| 6594 return new SVGTitleElementWrappingImplementation._wrap$ctor(raw); |
| 6595 |
| 6596 case "SVGUseElement": |
| 6597 |
| 6598 return new SVGUseElementWrappingImplementation._wrap$ctor(raw); |
| 6599 |
| 6600 case "SVGVKernElement": |
| 6601 |
| 6602 return new SVGVKernElementWrappingImplementation._wrap$ctor(raw); |
| 6603 |
| 6604 case "SVGViewElement": |
| 6605 |
| 6606 return new SVGViewElementWrappingImplementation._wrap$ctor(raw); |
| 6607 |
| 6608 case "HTMLScriptElement": |
| 6609 |
| 6610 return new ScriptElementWrappingImplementation._wrap$ctor(raw); |
| 6611 |
| 6612 case "HTMLSelectElement": |
| 6613 |
| 6614 return new SelectElementWrappingImplementation._wrap$ctor(raw); |
| 6615 |
| 6616 case "HTMLSourceElement": |
| 6617 |
| 6618 return new SourceElementWrappingImplementation._wrap$ctor(raw); |
| 6619 |
| 6620 case "HTMLSpanElement": |
| 6621 |
| 6622 return new SpanElementWrappingImplementation._wrap$ctor(raw); |
| 6623 |
| 6624 case "HTMLStyleElement": |
| 6625 |
| 6626 return new StyleElementWrappingImplementation._wrap$ctor(raw); |
| 6627 |
| 6628 case "HTMLTableCaptionElement": |
| 6629 |
| 6630 return new TableCaptionElementWrappingImplementation._wrap$ctor(raw); |
| 6631 |
| 6632 case "HTMLTableCellElement": |
| 6633 |
| 6634 return new TableCellElementWrappingImplementation._wrap$ctor(raw); |
| 6635 |
| 6636 case "HTMLTableColElement": |
| 6637 |
| 6638 return new TableColElementWrappingImplementation._wrap$ctor(raw); |
| 6639 |
| 6640 case "HTMLTableElement": |
| 6641 |
| 6642 return new TableElementWrappingImplementation._wrap$ctor(raw); |
| 6643 |
| 6644 case "HTMLTableRowElement": |
| 6645 |
| 6646 return new TableRowElementWrappingImplementation._wrap$ctor(raw); |
| 6647 |
| 6648 case "HTMLTableSectionElement": |
| 6649 |
| 6650 return new TableSectionElementWrappingImplementation._wrap$ctor(raw); |
| 6651 |
| 6652 case "HTMLTextAreaElement": |
| 6653 |
| 6654 return new TextAreaElementWrappingImplementation._wrap$ctor(raw); |
| 6655 |
| 6656 case "HTMLTitleElement": |
| 6657 |
| 6658 return new TitleElementWrappingImplementation._wrap$ctor(raw); |
| 6659 |
| 6660 case "HTMLTrackElement": |
| 6661 |
| 6662 return new TrackElementWrappingImplementation._wrap$ctor(raw); |
| 6663 |
| 6664 case "HTMLUListElement": |
| 6665 |
| 6666 return new UListElementWrappingImplementation._wrap$ctor(raw); |
| 6667 |
| 6668 case "HTMLUnknownElement": |
| 6669 |
| 6670 return new UnknownElementWrappingImplementation._wrap$ctor(raw); |
| 6671 |
| 6672 case "HTMLVideoElement": |
| 6673 |
| 6674 return new VideoElementWrappingImplementation._wrap$ctor(raw); |
| 6675 |
| 6676 default: |
| 6677 |
| 6678 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0(
))); |
| 6679 |
| 6680 } |
| 6681 } |
| 6682 LevelDom.wrapElementList = function(raw) { |
| 6683 return raw == null ? null : new FrozenElementList._wrap$ctor(raw); |
| 6684 } |
| 6685 LevelDom.wrapEvent = function(raw) { |
| 6686 if (raw == null) { |
| 6687 return null; |
| 6688 } |
| 6689 if (raw.get$dartObjectLocalStorage() != null) { |
| 6690 return raw.get$dartObjectLocalStorage(); |
| 6691 } |
| 6692 switch (raw.get$typeName()) { |
| 6693 case "WebKitAnimationEvent": |
| 6694 |
| 6695 return new AnimationEventWrappingImplementation._wrap$ctor(raw); |
| 6696 |
| 6697 case "AudioProcessingEvent": |
| 6698 |
| 6699 return new AudioProcessingEventWrappingImplementation._wrap$ctor(raw); |
| 6700 |
| 6701 case "BeforeLoadEvent": |
| 6702 |
| 6703 return new BeforeLoadEventWrappingImplementation._wrap$ctor(raw); |
| 6704 |
| 6705 case "CloseEvent": |
| 6706 |
| 6707 return new CloseEventWrappingImplementation._wrap$ctor(raw); |
| 6708 |
| 6709 case "CompositionEvent": |
| 6710 |
| 6711 return new CompositionEventWrappingImplementation._wrap$ctor(raw); |
| 6712 |
| 6713 case "CustomEvent": |
| 6714 |
| 6715 return new CustomEventWrappingImplementation._wrap$ctor(raw); |
| 6716 |
| 6717 case "DeviceMotionEvent": |
| 6718 |
| 6719 return new DeviceMotionEventWrappingImplementation._wrap$ctor(raw); |
| 6720 |
| 6721 case "DeviceOrientationEvent": |
| 6722 |
| 6723 return new DeviceOrientationEventWrappingImplementation._wrap$ctor(raw); |
| 6724 |
| 6725 case "ErrorEvent": |
| 6726 |
| 6727 return new ErrorEventWrappingImplementation._wrap$ctor(raw); |
| 6728 |
| 6729 case "Event": |
| 6730 |
| 6731 return new EventWrappingImplementation._wrap$ctor(raw); |
| 6732 |
| 6733 case "HashChangeEvent": |
| 6734 |
| 6735 return new HashChangeEventWrappingImplementation._wrap$ctor(raw); |
| 6736 |
| 6737 case "IDBVersionChangeEvent": |
| 6738 |
| 6739 return new IDBVersionChangeEventWrappingImplementation._wrap$ctor(raw); |
| 6740 |
| 6741 case "KeyboardEvent": |
| 6742 |
| 6743 return new KeyboardEventWrappingImplementation._wrap$ctor(raw); |
| 6744 |
| 6745 case "MessageEvent": |
| 6746 |
| 6747 return new MessageEventWrappingImplementation._wrap$ctor(raw); |
| 6748 |
| 6749 case "MouseEvent": |
| 6750 |
| 6751 return new MouseEventWrappingImplementation._wrap$ctor(raw); |
| 6752 |
| 6753 case "MutationEvent": |
| 6754 |
| 6755 return new MutationEventWrappingImplementation._wrap$ctor(raw); |
| 6756 |
| 6757 case "OfflineAudioCompletionEvent": |
| 6758 |
| 6759 return new OfflineAudioCompletionEventWrappingImplementation._wrap$ctor(ra
w); |
| 6760 |
| 6761 case "OverflowEvent": |
| 6762 |
| 6763 return new OverflowEventWrappingImplementation._wrap$ctor(raw); |
| 6764 |
| 6765 case "PageTransitionEvent": |
| 6766 |
| 6767 return new PageTransitionEventWrappingImplementation._wrap$ctor(raw); |
| 6768 |
| 6769 case "PopStateEvent": |
| 6770 |
| 6771 return new PopStateEventWrappingImplementation._wrap$ctor(raw); |
| 6772 |
| 6773 case "ProgressEvent": |
| 6774 |
| 6775 return new ProgressEventWrappingImplementation._wrap$ctor(raw); |
| 6776 |
| 6777 case "SVGZoomEvent": |
| 6778 |
| 6779 return new SVGZoomEventWrappingImplementation._wrap$ctor(raw); |
| 6780 |
| 6781 case "SpeechInputEvent": |
| 6782 |
| 6783 return new SpeechInputEventWrappingImplementation._wrap$ctor(raw); |
| 6784 |
| 6785 case "StorageEvent": |
| 6786 |
| 6787 return new StorageEventWrappingImplementation._wrap$ctor(raw); |
| 6788 |
| 6789 case "TextEvent": |
| 6790 |
| 6791 return new TextEventWrappingImplementation._wrap$ctor(raw); |
| 6792 |
| 6793 case "TouchEvent": |
| 6794 |
| 6795 return new TouchEventWrappingImplementation._wrap$ctor(raw); |
| 6796 |
| 6797 case "WebKitTransitionEvent": |
| 6798 |
| 6799 return new TransitionEventWrappingImplementation._wrap$ctor(raw); |
| 6800 |
| 6801 case "UIEvent": |
| 6802 |
| 6803 return new UIEventWrappingImplementation._wrap$ctor(raw); |
| 6804 |
| 6805 case "WebGLContextEvent": |
| 6806 |
| 6807 return new WebGLContextEventWrappingImplementation._wrap$ctor(raw); |
| 6808 |
| 6809 case "WheelEvent": |
| 6810 |
| 6811 return new WheelEventWrappingImplementation._wrap$ctor(raw); |
| 6812 |
| 6813 case "XMLHttpRequestProgressEvent": |
| 6814 |
| 6815 return new XMLHttpRequestProgressEventWrappingImplementation._wrap$ctor(ra
w); |
| 6816 |
| 6817 default: |
| 6818 |
| 6819 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0(
))); |
| 6820 |
| 6821 } |
| 6822 } |
| 6823 LevelDom.wrapEventTarget = function(raw) { |
| 6824 if (raw == null) { |
| 6825 return null; |
| 6826 } |
| 6827 if (raw.get$dartObjectLocalStorage() != null) { |
| 6828 return raw.get$dartObjectLocalStorage(); |
| 6829 } |
| 6830 switch (raw.get$typeName()) { |
| 6831 case "HTMLAnchorElement": |
| 6832 |
| 6833 return new AnchorElementWrappingImplementation._wrap$ctor(raw); |
| 6834 |
| 6835 case "HTMLAreaElement": |
| 6836 |
| 6837 return new AreaElementWrappingImplementation._wrap$ctor(raw); |
| 6838 |
| 6839 case "HTMLAudioElement": |
| 6840 |
| 6841 return new AudioElementWrappingImplementation._wrap$ctor(raw); |
| 6842 |
| 6843 case "HTMLBRElement": |
| 6844 |
| 6845 return new BRElementWrappingImplementation._wrap$ctor(raw); |
| 6846 |
| 6847 case "HTMLBaseElement": |
| 6848 |
| 6849 return new BaseElementWrappingImplementation._wrap$ctor(raw); |
| 6850 |
| 6851 case "HTMLBodyElement": |
| 6852 |
| 6853 return new BodyElementWrappingImplementation._wrap$ctor(raw); |
| 6854 |
| 6855 case "HTMLButtonElement": |
| 6856 |
| 6857 return new ButtonElementWrappingImplementation._wrap$ctor(raw); |
| 6858 |
| 6859 case "CDATASection": |
| 6860 |
| 6861 return new CDATASectionWrappingImplementation._wrap$ctor(raw); |
| 6862 |
| 6863 case "HTMLCanvasElement": |
| 6864 |
| 6865 return new CanvasElementWrappingImplementation._wrap$ctor(raw); |
| 6866 |
| 6867 case "CharacterData": |
| 6868 |
| 6869 return new CharacterDataWrappingImplementation._wrap$ctor(raw); |
| 6870 |
| 6871 case "Comment": |
| 6872 |
| 6873 return new CommentWrappingImplementation._wrap$ctor(raw); |
| 6874 |
| 6875 case "HTMLDListElement": |
| 6876 |
| 6877 return new DListElementWrappingImplementation._wrap$ctor(raw); |
| 6878 |
| 6879 case "DOMApplicationCache": |
| 6880 |
| 6881 return new DOMApplicationCacheWrappingImplementation._wrap$ctor(raw); |
| 6882 |
| 6883 case "HTMLDataListElement": |
| 6884 |
| 6885 return new DataListElementWrappingImplementation._wrap$ctor(raw); |
| 6886 |
| 6887 case "HTMLDetailsElement": |
| 6888 |
| 6889 return new DetailsElementWrappingImplementation._wrap$ctor(raw); |
| 6890 |
| 6891 case "HTMLDivElement": |
| 6892 |
| 6893 return new DivElementWrappingImplementation._wrap$ctor(raw); |
| 6894 |
| 6895 case "HTMLDocument": |
| 6896 |
| 6897 return new DocumentWrappingImplementation._wrap$ctor(raw, raw.get$document
Element()); |
| 6898 |
| 6899 case "DocumentFragment": |
| 6900 |
| 6901 return new DocumentFragmentWrappingImplementation._wrap$ctor(raw); |
| 6902 |
| 6903 case "HTMLElement": |
| 6904 |
| 6905 return new ElementWrappingImplementation._wrap$ctor(raw); |
| 6906 |
| 6907 case "HTMLEmbedElement": |
| 6908 |
| 6909 return new EmbedElementWrappingImplementation._wrap$ctor(raw); |
| 6910 |
| 6911 case "Entity": |
| 6912 |
| 6913 return new EntityWrappingImplementation._wrap$ctor(raw); |
| 6914 |
| 6915 case "EntityReference": |
| 6916 |
| 6917 return new EntityReferenceWrappingImplementation._wrap$ctor(raw); |
| 6918 |
| 6919 case "EventSource": |
| 6920 |
| 6921 return new EventSourceWrappingImplementation._wrap$ctor(raw); |
| 6922 |
| 6923 case "EventTarget": |
| 6924 |
| 6925 return new EventTargetWrappingImplementation._wrap$ctor(raw); |
| 6926 |
| 6927 case "HTMLFieldSetElement": |
| 6928 |
| 6929 return new FieldSetElementWrappingImplementation._wrap$ctor(raw); |
| 6930 |
| 6931 case "HTMLFontElement": |
| 6932 |
| 6933 return new FontElementWrappingImplementation._wrap$ctor(raw); |
| 6934 |
| 6935 case "HTMLFormElement": |
| 6936 |
| 6937 return new FormElementWrappingImplementation._wrap$ctor(raw); |
| 6938 |
| 6939 case "HTMLHRElement": |
| 6940 |
| 6941 return new HRElementWrappingImplementation._wrap$ctor(raw); |
| 6942 |
| 6943 case "HTMLHeadElement": |
| 6944 |
| 6945 return new HeadElementWrappingImplementation._wrap$ctor(raw); |
| 6946 |
| 6947 case "HTMLHeadingElement": |
| 6948 |
| 6949 return new HeadingElementWrappingImplementation._wrap$ctor(raw); |
| 6950 |
| 6951 case "HTMLHtmlElement": |
| 6952 |
| 6953 return new DocumentWrappingImplementation._wrap$ctor(raw.get$parentNode(),
raw); |
| 6954 |
| 6955 case "HTMLIFrameElement": |
| 6956 |
| 6957 return new IFrameElementWrappingImplementation._wrap$ctor(raw); |
| 6958 |
| 6959 case "HTMLImageElement": |
| 6960 |
| 6961 return new ImageElementWrappingImplementation._wrap$ctor(raw); |
| 6962 |
| 6963 case "HTMLInputElement": |
| 6964 |
| 6965 return new InputElementWrappingImplementation._wrap$ctor(raw); |
| 6966 |
| 6967 case "HTMLKeygenElement": |
| 6968 |
| 6969 return new KeygenElementWrappingImplementation._wrap$ctor(raw); |
| 6970 |
| 6971 case "HTMLLIElement": |
| 6972 |
| 6973 return new LIElementWrappingImplementation._wrap$ctor(raw); |
| 6974 |
| 6975 case "HTMLLabelElement": |
| 6976 |
| 6977 return new LabelElementWrappingImplementation._wrap$ctor(raw); |
| 6978 |
| 6979 case "HTMLLegendElement": |
| 6980 |
| 6981 return new LegendElementWrappingImplementation._wrap$ctor(raw); |
| 6982 |
| 6983 case "HTMLLinkElement": |
| 6984 |
| 6985 return new LinkElementWrappingImplementation._wrap$ctor(raw); |
| 6986 |
| 6987 case "HTMLMapElement": |
| 6988 |
| 6989 return new MapElementWrappingImplementation._wrap$ctor(raw); |
| 6990 |
| 6991 case "HTMLMarqueeElement": |
| 6992 |
| 6993 return new MarqueeElementWrappingImplementation._wrap$ctor(raw); |
| 6994 |
| 6995 case "HTMLMediaElement": |
| 6996 |
| 6997 return new MediaElementWrappingImplementation._wrap$ctor(raw); |
| 6998 |
| 6999 case "HTMLMenuElement": |
| 7000 |
| 7001 return new MenuElementWrappingImplementation._wrap$ctor(raw); |
| 7002 |
| 7003 case "MessagePort": |
| 7004 |
| 7005 return new MessagePortWrappingImplementation._wrap$ctor(raw); |
| 7006 |
| 7007 case "HTMLMetaElement": |
| 7008 |
| 7009 return new MetaElementWrappingImplementation._wrap$ctor(raw); |
| 7010 |
| 7011 case "HTMLMeterElement": |
| 7012 |
| 7013 return new MeterElementWrappingImplementation._wrap$ctor(raw); |
| 7014 |
| 7015 case "HTMLModElement": |
| 7016 |
| 7017 return new ModElementWrappingImplementation._wrap$ctor(raw); |
| 7018 |
| 7019 case "Node": |
| 7020 |
| 7021 return new NodeWrappingImplementation._wrap$ctor(raw); |
| 7022 |
| 7023 case "Notation": |
| 7024 |
| 7025 return new NotationWrappingImplementation._wrap$ctor(raw); |
| 7026 |
| 7027 case "Notification": |
| 7028 |
| 7029 return new NotificationWrappingImplementation._wrap$ctor(raw); |
| 7030 |
| 7031 case "HTMLOListElement": |
| 7032 |
| 7033 return new OListElementWrappingImplementation._wrap$ctor(raw); |
| 7034 |
| 7035 case "HTMLObjectElement": |
| 7036 |
| 7037 return new ObjectElementWrappingImplementation._wrap$ctor(raw); |
| 7038 |
| 7039 case "HTMLOptGroupElement": |
| 7040 |
| 7041 return new OptGroupElementWrappingImplementation._wrap$ctor(raw); |
| 7042 |
| 7043 case "HTMLOptionElement": |
| 7044 |
| 7045 return new OptionElementWrappingImplementation._wrap$ctor(raw); |
| 7046 |
| 7047 case "HTMLOutputElement": |
| 7048 |
| 7049 return new OutputElementWrappingImplementation._wrap$ctor(raw); |
| 7050 |
| 7051 case "HTMLParagraphElement": |
| 7052 |
| 7053 return new ParagraphElementWrappingImplementation._wrap$ctor(raw); |
| 7054 |
| 7055 case "HTMLParamElement": |
| 7056 |
| 7057 return new ParamElementWrappingImplementation._wrap$ctor(raw); |
| 7058 |
| 7059 case "HTMLPreElement": |
| 7060 |
| 7061 return new PreElementWrappingImplementation._wrap$ctor(raw); |
| 7062 |
| 7063 case "ProcessingInstruction": |
| 7064 |
| 7065 return new ProcessingInstructionWrappingImplementation._wrap$ctor(raw); |
| 7066 |
| 7067 case "HTMLProgressElement": |
| 7068 |
| 7069 return new ProgressElementWrappingImplementation._wrap$ctor(raw); |
| 7070 |
| 7071 case "HTMLQuoteElement": |
| 7072 |
| 7073 return new QuoteElementWrappingImplementation._wrap$ctor(raw); |
| 7074 |
| 7075 case "SVGAElement": |
| 7076 |
| 7077 return new SVGAElementWrappingImplementation._wrap$ctor(raw); |
| 7078 |
| 7079 case "SVGAltGlyphDefElement": |
| 7080 |
| 7081 return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw); |
| 7082 |
| 7083 case "SVGAltGlyphElement": |
| 7084 |
| 7085 return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw); |
| 7086 |
| 7087 case "SVGAltGlyphItemElement": |
| 7088 |
| 7089 return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw); |
| 7090 |
| 7091 case "SVGAnimateColorElement": |
| 7092 |
| 7093 return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw); |
| 7094 |
| 7095 case "SVGAnimateElement": |
| 7096 |
| 7097 return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw); |
| 7098 |
| 7099 case "SVGAnimateMotionElement": |
| 7100 |
| 7101 return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw); |
| 7102 |
| 7103 case "SVGAnimateTransformElement": |
| 7104 |
| 7105 return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw
); |
| 7106 |
| 7107 case "SVGAnimationElement": |
| 7108 |
| 7109 return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw); |
| 7110 |
| 7111 case "SVGCircleElement": |
| 7112 |
| 7113 return new SVGCircleElementWrappingImplementation._wrap$ctor(raw); |
| 7114 |
| 7115 case "SVGClipPathElement": |
| 7116 |
| 7117 return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw); |
| 7118 |
| 7119 case "SVGComponentTransferFunctionElement": |
| 7120 |
| 7121 return new SVGComponentTransferFunctionElementWrappingImplementation._wrap
$ctor(raw); |
| 7122 |
| 7123 case "SVGCursorElement": |
| 7124 |
| 7125 return new SVGCursorElementWrappingImplementation._wrap$ctor(raw); |
| 7126 |
| 7127 case "SVGDefsElement": |
| 7128 |
| 7129 return new SVGDefsElementWrappingImplementation._wrap$ctor(raw); |
| 7130 |
| 7131 case "SVGDescElement": |
| 7132 |
| 7133 return new SVGDescElementWrappingImplementation._wrap$ctor(raw); |
| 7134 |
| 7135 case "SVGDocument": |
| 7136 |
| 7137 return new SVGDocumentWrappingImplementation._wrap$ctor(raw); |
| 7138 |
| 7139 case "SVGElement": |
| 7140 |
| 7141 return new SVGElementWrappingImplementation._wrap$ctor(raw); |
| 7142 |
| 7143 case "SVGElementInstance": |
| 7144 |
| 7145 return new SVGElementInstanceWrappingImplementation._wrap$ctor(raw); |
| 7146 |
| 7147 case "SVGEllipseElement": |
| 7148 |
| 7149 return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw); |
| 7150 |
| 7151 case "SVGFEBlendElement": |
| 7152 |
| 7153 return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw); |
| 7154 |
| 7155 case "SVGFEColorMatrixElement": |
| 7156 |
| 7157 return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw); |
| 7158 |
| 7159 case "SVGFEComponentTransferElement": |
| 7160 |
| 7161 return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor(
raw); |
| 7162 |
| 7163 case "SVGFEConvolveMatrixElement": |
| 7164 |
| 7165 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw
); |
| 7166 |
| 7167 case "SVGFEDiffuseLightingElement": |
| 7168 |
| 7169 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(ra
w); |
| 7170 |
| 7171 case "SVGFEDisplacementMapElement": |
| 7172 |
| 7173 return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(ra
w); |
| 7174 |
| 7175 case "SVGFEDistantLightElement": |
| 7176 |
| 7177 return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw); |
| 7178 |
| 7179 case "SVGFEDropShadowElement": |
| 7180 |
| 7181 return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw); |
| 7182 |
| 7183 case "SVGFEFloodElement": |
| 7184 |
| 7185 return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw); |
| 7186 |
| 7187 case "SVGFEFuncAElement": |
| 7188 |
| 7189 return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw); |
| 7190 |
| 7191 case "SVGFEFuncBElement": |
| 7192 |
| 7193 return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw); |
| 7194 |
| 7195 case "SVGFEFuncGElement": |
| 7196 |
| 7197 return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw); |
| 7198 |
| 7199 case "SVGFEFuncRElement": |
| 7200 |
| 7201 return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw); |
| 7202 |
| 7203 case "SVGFEGaussianBlurElement": |
| 7204 |
| 7205 return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw); |
| 7206 |
| 7207 case "SVGFEImageElement": |
| 7208 |
| 7209 return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw); |
| 7210 |
| 7211 case "SVGFEMergeElement": |
| 7212 |
| 7213 return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw); |
| 7214 |
| 7215 case "SVGFEMergeNodeElement": |
| 7216 |
| 7217 return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw); |
| 7218 |
| 7219 case "SVGFEOffsetElement": |
| 7220 |
| 7221 return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw); |
| 7222 |
| 7223 case "SVGFEPointLightElement": |
| 7224 |
| 7225 return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw); |
| 7226 |
| 7227 case "SVGFESpecularLightingElement": |
| 7228 |
| 7229 return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(r
aw); |
| 7230 |
| 7231 case "SVGFESpotLightElement": |
| 7232 |
| 7233 return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw); |
| 7234 |
| 7235 case "SVGFETileElement": |
| 7236 |
| 7237 return new SVGFETileElementWrappingImplementation._wrap$ctor(raw); |
| 7238 |
| 7239 case "SVGFETurbulenceElement": |
| 7240 |
| 7241 return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw); |
| 7242 |
| 7243 case "SVGFilterElement": |
| 7244 |
| 7245 return new SVGFilterElementWrappingImplementation._wrap$ctor(raw); |
| 7246 |
| 7247 case "SVGFontElement": |
| 7248 |
| 7249 return new SVGFontElementWrappingImplementation._wrap$ctor(raw); |
| 7250 |
| 7251 case "SVGFontFaceElement": |
| 7252 |
| 7253 return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw); |
| 7254 |
| 7255 case "SVGFontFaceFormatElement": |
| 7256 |
| 7257 return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw); |
| 7258 |
| 7259 case "SVGFontFaceNameElement": |
| 7260 |
| 7261 return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw); |
| 7262 |
| 7263 case "SVGFontFaceSrcElement": |
| 7264 |
| 7265 return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw); |
| 7266 |
| 7267 case "SVGFontFaceUriElement": |
| 7268 |
| 7269 return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw); |
| 7270 |
| 7271 case "SVGForeignObjectElement": |
| 7272 |
| 7273 return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw); |
| 7274 |
| 7275 case "SVGGElement": |
| 7276 |
| 7277 return new SVGGElementWrappingImplementation._wrap$ctor(raw); |
| 7278 |
| 7279 case "SVGGlyphElement": |
| 7280 |
| 7281 return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw); |
| 7282 |
| 7283 case "SVGGlyphRefElement": |
| 7284 |
| 7285 return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw); |
| 7286 |
| 7287 case "SVGGradientElement": |
| 7288 |
| 7289 return new SVGGradientElementWrappingImplementation._wrap$ctor(raw); |
| 7290 |
| 7291 case "SVGHKernElement": |
| 7292 |
| 7293 return new SVGHKernElementWrappingImplementation._wrap$ctor(raw); |
| 7294 |
| 7295 case "SVGImageElement": |
| 7296 |
| 7297 return new SVGImageElementWrappingImplementation._wrap$ctor(raw); |
| 7298 |
| 7299 case "SVGLineElement": |
| 7300 |
| 7301 return new SVGLineElementWrappingImplementation._wrap$ctor(raw); |
| 7302 |
| 7303 case "SVGLinearGradientElement": |
| 7304 |
| 7305 return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw); |
| 7306 |
| 7307 case "SVGMPathElement": |
| 7308 |
| 7309 return new SVGMPathElementWrappingImplementation._wrap$ctor(raw); |
| 7310 |
| 7311 case "SVGMarkerElement": |
| 7312 |
| 7313 return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw); |
| 7314 |
| 7315 case "SVGMaskElement": |
| 7316 |
| 7317 return new SVGMaskElementWrappingImplementation._wrap$ctor(raw); |
| 7318 |
| 7319 case "SVGMetadataElement": |
| 7320 |
| 7321 return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw); |
| 7322 |
| 7323 case "SVGMissingGlyphElement": |
| 7324 |
| 7325 return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw); |
| 7326 |
| 7327 case "SVGPathElement": |
| 7328 |
| 7329 return new SVGPathElementWrappingImplementation._wrap$ctor(raw); |
| 7330 |
| 7331 case "SVGPatternElement": |
| 7332 |
| 7333 return new SVGPatternElementWrappingImplementation._wrap$ctor(raw); |
| 7334 |
| 7335 case "SVGPolygonElement": |
| 7336 |
| 7337 return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw); |
| 7338 |
| 7339 case "SVGPolylineElement": |
| 7340 |
| 7341 return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw); |
| 7342 |
| 7343 case "SVGRadialGradientElement": |
| 7344 |
| 7345 return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw); |
| 7346 |
| 7347 case "SVGRectElement": |
| 7348 |
| 7349 return new SVGRectElementWrappingImplementation._wrap$ctor(raw); |
| 7350 |
| 7351 case "SVGSVGElement": |
| 7352 |
| 7353 return new SVGSVGElementWrappingImplementation._wrap$ctor(raw); |
| 7354 |
| 7355 case "SVGScriptElement": |
| 7356 |
| 7357 return new SVGScriptElementWrappingImplementation._wrap$ctor(raw); |
| 7358 |
| 7359 case "SVGSetElement": |
| 7360 |
| 7361 return new SVGSetElementWrappingImplementation._wrap$ctor(raw); |
| 7362 |
| 7363 case "SVGStopElement": |
| 7364 |
| 7365 return new SVGStopElementWrappingImplementation._wrap$ctor(raw); |
| 7366 |
| 7367 case "SVGStyleElement": |
| 7368 |
| 7369 return new SVGStyleElementWrappingImplementation._wrap$ctor(raw); |
| 7370 |
| 7371 case "SVGSwitchElement": |
| 7372 |
| 7373 return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw); |
| 7374 |
| 7375 case "SVGSymbolElement": |
| 7376 |
| 7377 return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw); |
| 7378 |
| 7379 case "SVGTRefElement": |
| 7380 |
| 7381 return new SVGTRefElementWrappingImplementation._wrap$ctor(raw); |
| 7382 |
| 7383 case "SVGTSpanElement": |
| 7384 |
| 7385 return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw); |
| 7386 |
| 7387 case "SVGTextContentElement": |
| 7388 |
| 7389 return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw); |
| 7390 |
| 7391 case "SVGTextElement": |
| 7392 |
| 7393 return new SVGTextElementWrappingImplementation._wrap$ctor(raw); |
| 7394 |
| 7395 case "SVGTextPathElement": |
| 7396 |
| 7397 return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw); |
| 7398 |
| 7399 case "SVGTextPositioningElement": |
| 7400 |
| 7401 return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw)
; |
| 7402 |
| 7403 case "SVGTitleElement": |
| 7404 |
| 7405 return new SVGTitleElementWrappingImplementation._wrap$ctor(raw); |
| 7406 |
| 7407 case "SVGUseElement": |
| 7408 |
| 7409 return new SVGUseElementWrappingImplementation._wrap$ctor(raw); |
| 7410 |
| 7411 case "SVGVKernElement": |
| 7412 |
| 7413 return new SVGVKernElementWrappingImplementation._wrap$ctor(raw); |
| 7414 |
| 7415 case "SVGViewElement": |
| 7416 |
| 7417 return new SVGViewElementWrappingImplementation._wrap$ctor(raw); |
| 7418 |
| 7419 case "HTMLScriptElement": |
| 7420 |
| 7421 return new ScriptElementWrappingImplementation._wrap$ctor(raw); |
| 7422 |
| 7423 case "HTMLSelectElement": |
| 7424 |
| 7425 return new SelectElementWrappingImplementation._wrap$ctor(raw); |
| 7426 |
| 7427 case "SharedWorker": |
| 7428 |
| 7429 return new SharedWorkerWrappingImplementation._wrap$ctor(raw); |
| 7430 |
| 7431 case "HTMLSourceElement": |
| 7432 |
| 7433 return new SourceElementWrappingImplementation._wrap$ctor(raw); |
| 7434 |
| 7435 case "HTMLSpanElement": |
| 7436 |
| 7437 return new SpanElementWrappingImplementation._wrap$ctor(raw); |
| 7438 |
| 7439 case "HTMLStyleElement": |
| 7440 |
| 7441 return new StyleElementWrappingImplementation._wrap$ctor(raw); |
| 7442 |
| 7443 case "HTMLTableCaptionElement": |
| 7444 |
| 7445 return new TableCaptionElementWrappingImplementation._wrap$ctor(raw); |
| 7446 |
| 7447 case "HTMLTableCellElement": |
| 7448 |
| 7449 return new TableCellElementWrappingImplementation._wrap$ctor(raw); |
| 7450 |
| 7451 case "HTMLTableColElement": |
| 7452 |
| 7453 return new TableColElementWrappingImplementation._wrap$ctor(raw); |
| 7454 |
| 7455 case "HTMLTableElement": |
| 7456 |
| 7457 return new TableElementWrappingImplementation._wrap$ctor(raw); |
| 7458 |
| 7459 case "HTMLTableRowElement": |
| 7460 |
| 7461 return new TableRowElementWrappingImplementation._wrap$ctor(raw); |
| 7462 |
| 7463 case "HTMLTableSectionElement": |
| 7464 |
| 7465 return new TableSectionElementWrappingImplementation._wrap$ctor(raw); |
| 7466 |
| 7467 case "Text": |
| 7468 |
| 7469 return new TextWrappingImplementation._wrap$ctor(raw); |
| 7470 |
| 7471 case "HTMLTextAreaElement": |
| 7472 |
| 7473 return new TextAreaElementWrappingImplementation._wrap$ctor(raw); |
| 7474 |
| 7475 case "HTMLTitleElement": |
| 7476 |
| 7477 return new TitleElementWrappingImplementation._wrap$ctor(raw); |
| 7478 |
| 7479 case "HTMLTrackElement": |
| 7480 |
| 7481 return new TrackElementWrappingImplementation._wrap$ctor(raw); |
| 7482 |
| 7483 case "HTMLUListElement": |
| 7484 |
| 7485 return new UListElementWrappingImplementation._wrap$ctor(raw); |
| 7486 |
| 7487 case "HTMLUnknownElement": |
| 7488 |
| 7489 return new UnknownElementWrappingImplementation._wrap$ctor(raw); |
| 7490 |
| 7491 case "HTMLVideoElement": |
| 7492 |
| 7493 return new VideoElementWrappingImplementation._wrap$ctor(raw); |
| 7494 |
| 7495 case "WebSocket": |
| 7496 |
| 7497 return new WebSocketWrappingImplementation._wrap$ctor(raw); |
| 7498 |
| 7499 case "Window": |
| 7500 |
| 7501 return new WindowWrappingImplementation._wrap$ctor(raw); |
| 7502 |
| 7503 case "Worker": |
| 7504 |
| 7505 return new WorkerWrappingImplementation._wrap$ctor(raw); |
| 7506 |
| 7507 case "XMLHttpRequest": |
| 7508 |
| 7509 return new XMLHttpRequestWrappingImplementation._wrap$ctor(raw); |
| 7510 |
| 7511 case "XMLHttpRequestUpload": |
| 7512 |
| 7513 return new XMLHttpRequestUploadWrappingImplementation._wrap$ctor(raw); |
| 7514 |
| 7515 default: |
| 7516 |
| 7517 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0(
))); |
| 7518 |
| 7519 } |
| 7520 } |
| 7521 LevelDom.wrapNode = function(raw) { |
| 7522 if (raw == null) { |
| 7523 return null; |
| 7524 } |
| 7525 if (raw.get$dartObjectLocalStorage() != null) { |
| 7526 return raw.get$dartObjectLocalStorage(); |
| 7527 } |
| 7528 switch (raw.get$typeName()) { |
| 7529 case "HTMLAnchorElement": |
| 7530 |
| 7531 return new AnchorElementWrappingImplementation._wrap$ctor(raw); |
| 7532 |
| 7533 case "HTMLAreaElement": |
| 7534 |
| 7535 return new AreaElementWrappingImplementation._wrap$ctor(raw); |
| 7536 |
| 7537 case "HTMLAudioElement": |
| 7538 |
| 7539 return new AudioElementWrappingImplementation._wrap$ctor(raw); |
| 7540 |
| 7541 case "HTMLBRElement": |
| 7542 |
| 7543 return new BRElementWrappingImplementation._wrap$ctor(raw); |
| 7544 |
| 7545 case "HTMLBaseElement": |
| 7546 |
| 7547 return new BaseElementWrappingImplementation._wrap$ctor(raw); |
| 7548 |
| 7549 case "HTMLBodyElement": |
| 7550 |
| 7551 return new BodyElementWrappingImplementation._wrap$ctor(raw); |
| 7552 |
| 7553 case "HTMLButtonElement": |
| 7554 |
| 7555 return new ButtonElementWrappingImplementation._wrap$ctor(raw); |
| 7556 |
| 7557 case "CDATASection": |
| 7558 |
| 7559 return new CDATASectionWrappingImplementation._wrap$ctor(raw); |
| 7560 |
| 7561 case "HTMLCanvasElement": |
| 7562 |
| 7563 return new CanvasElementWrappingImplementation._wrap$ctor(raw); |
| 7564 |
| 7565 case "CharacterData": |
| 7566 |
| 7567 return new CharacterDataWrappingImplementation._wrap$ctor(raw); |
| 7568 |
| 7569 case "Comment": |
| 7570 |
| 7571 return new CommentWrappingImplementation._wrap$ctor(raw); |
| 7572 |
| 7573 case "HTMLDListElement": |
| 7574 |
| 7575 return new DListElementWrappingImplementation._wrap$ctor(raw); |
| 7576 |
| 7577 case "HTMLDataListElement": |
| 7578 |
| 7579 return new DataListElementWrappingImplementation._wrap$ctor(raw); |
| 7580 |
| 7581 case "HTMLDetailsElement": |
| 7582 |
| 7583 return new DetailsElementWrappingImplementation._wrap$ctor(raw); |
| 7584 |
| 7585 case "HTMLDivElement": |
| 7586 |
| 7587 return new DivElementWrappingImplementation._wrap$ctor(raw); |
| 7588 |
| 7589 case "HTMLDocument": |
| 7590 |
| 7591 return new DocumentWrappingImplementation._wrap$ctor(raw, raw.get$document
Element()); |
| 7592 |
| 7593 case "DocumentFragment": |
| 7594 |
| 7595 return new DocumentFragmentWrappingImplementation._wrap$ctor(raw); |
| 7596 |
| 7597 case "HTMLElement": |
| 7598 |
| 7599 return new ElementWrappingImplementation._wrap$ctor(raw); |
| 7600 |
| 7601 case "HTMLEmbedElement": |
| 7602 |
| 7603 return new EmbedElementWrappingImplementation._wrap$ctor(raw); |
| 7604 |
| 7605 case "Entity": |
| 7606 |
| 7607 return new EntityWrappingImplementation._wrap$ctor(raw); |
| 7608 |
| 7609 case "EntityReference": |
| 7610 |
| 7611 return new EntityReferenceWrappingImplementation._wrap$ctor(raw); |
| 7612 |
| 7613 case "HTMLFieldSetElement": |
| 7614 |
| 7615 return new FieldSetElementWrappingImplementation._wrap$ctor(raw); |
| 7616 |
| 7617 case "HTMLFontElement": |
| 7618 |
| 7619 return new FontElementWrappingImplementation._wrap$ctor(raw); |
| 7620 |
| 7621 case "HTMLFormElement": |
| 7622 |
| 7623 return new FormElementWrappingImplementation._wrap$ctor(raw); |
| 7624 |
| 7625 case "HTMLHRElement": |
| 7626 |
| 7627 return new HRElementWrappingImplementation._wrap$ctor(raw); |
| 7628 |
| 7629 case "HTMLHeadElement": |
| 7630 |
| 7631 return new HeadElementWrappingImplementation._wrap$ctor(raw); |
| 7632 |
| 7633 case "HTMLHeadingElement": |
| 7634 |
| 7635 return new HeadingElementWrappingImplementation._wrap$ctor(raw); |
| 7636 |
| 7637 case "HTMLHtmlElement": |
| 7638 |
| 7639 return new DocumentWrappingImplementation._wrap$ctor(raw.get$parentNode(),
raw); |
| 7640 |
| 7641 case "HTMLIFrameElement": |
| 7642 |
| 7643 return new IFrameElementWrappingImplementation._wrap$ctor(raw); |
| 7644 |
| 7645 case "HTMLImageElement": |
| 7646 |
| 7647 return new ImageElementWrappingImplementation._wrap$ctor(raw); |
| 7648 |
| 7649 case "HTMLInputElement": |
| 7650 |
| 7651 return new InputElementWrappingImplementation._wrap$ctor(raw); |
| 7652 |
| 7653 case "HTMLKeygenElement": |
| 7654 |
| 7655 return new KeygenElementWrappingImplementation._wrap$ctor(raw); |
| 7656 |
| 7657 case "HTMLLIElement": |
| 7658 |
| 7659 return new LIElementWrappingImplementation._wrap$ctor(raw); |
| 7660 |
| 7661 case "HTMLLabelElement": |
| 7662 |
| 7663 return new LabelElementWrappingImplementation._wrap$ctor(raw); |
| 7664 |
| 7665 case "HTMLLegendElement": |
| 7666 |
| 7667 return new LegendElementWrappingImplementation._wrap$ctor(raw); |
| 7668 |
| 7669 case "HTMLLinkElement": |
| 7670 |
| 7671 return new LinkElementWrappingImplementation._wrap$ctor(raw); |
| 7672 |
| 7673 case "HTMLMapElement": |
| 7674 |
| 7675 return new MapElementWrappingImplementation._wrap$ctor(raw); |
| 7676 |
| 7677 case "HTMLMarqueeElement": |
| 7678 |
| 7679 return new MarqueeElementWrappingImplementation._wrap$ctor(raw); |
| 7680 |
| 7681 case "HTMLMediaElement": |
| 7682 |
| 7683 return new MediaElementWrappingImplementation._wrap$ctor(raw); |
| 7684 |
| 7685 case "HTMLMenuElement": |
| 7686 |
| 7687 return new MenuElementWrappingImplementation._wrap$ctor(raw); |
| 7688 |
| 7689 case "HTMLMetaElement": |
| 7690 |
| 7691 return new MetaElementWrappingImplementation._wrap$ctor(raw); |
| 7692 |
| 7693 case "HTMLMeterElement": |
| 7694 |
| 7695 return new MeterElementWrappingImplementation._wrap$ctor(raw); |
| 7696 |
| 7697 case "HTMLModElement": |
| 7698 |
| 7699 return new ModElementWrappingImplementation._wrap$ctor(raw); |
| 7700 |
| 7701 case "Node": |
| 7702 |
| 7703 return new NodeWrappingImplementation._wrap$ctor(raw); |
| 7704 |
| 7705 case "Notation": |
| 7706 |
| 7707 return new NotationWrappingImplementation._wrap$ctor(raw); |
| 7708 |
| 7709 case "HTMLOListElement": |
| 7710 |
| 7711 return new OListElementWrappingImplementation._wrap$ctor(raw); |
| 7712 |
| 7713 case "HTMLObjectElement": |
| 7714 |
| 7715 return new ObjectElementWrappingImplementation._wrap$ctor(raw); |
| 7716 |
| 7717 case "HTMLOptGroupElement": |
| 7718 |
| 7719 return new OptGroupElementWrappingImplementation._wrap$ctor(raw); |
| 7720 |
| 7721 case "HTMLOptionElement": |
| 7722 |
| 7723 return new OptionElementWrappingImplementation._wrap$ctor(raw); |
| 7724 |
| 7725 case "HTMLOutputElement": |
| 7726 |
| 7727 return new OutputElementWrappingImplementation._wrap$ctor(raw); |
| 7728 |
| 7729 case "HTMLParagraphElement": |
| 7730 |
| 7731 return new ParagraphElementWrappingImplementation._wrap$ctor(raw); |
| 7732 |
| 7733 case "HTMLParamElement": |
| 7734 |
| 7735 return new ParamElementWrappingImplementation._wrap$ctor(raw); |
| 7736 |
| 7737 case "HTMLPreElement": |
| 7738 |
| 7739 return new PreElementWrappingImplementation._wrap$ctor(raw); |
| 7740 |
| 7741 case "ProcessingInstruction": |
| 7742 |
| 7743 return new ProcessingInstructionWrappingImplementation._wrap$ctor(raw); |
| 7744 |
| 7745 case "HTMLProgressElement": |
| 7746 |
| 7747 return new ProgressElementWrappingImplementation._wrap$ctor(raw); |
| 7748 |
| 7749 case "HTMLQuoteElement": |
| 7750 |
| 7751 return new QuoteElementWrappingImplementation._wrap$ctor(raw); |
| 7752 |
| 7753 case "SVGAElement": |
| 7754 |
| 7755 return new SVGAElementWrappingImplementation._wrap$ctor(raw); |
| 7756 |
| 7757 case "SVGAltGlyphDefElement": |
| 7758 |
| 7759 return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw); |
| 7760 |
| 7761 case "SVGAltGlyphElement": |
| 7762 |
| 7763 return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw); |
| 7764 |
| 7765 case "SVGAltGlyphItemElement": |
| 7766 |
| 7767 return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw); |
| 7768 |
| 7769 case "SVGAnimateColorElement": |
| 7770 |
| 7771 return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw); |
| 7772 |
| 7773 case "SVGAnimateElement": |
| 7774 |
| 7775 return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw); |
| 7776 |
| 7777 case "SVGAnimateMotionElement": |
| 7778 |
| 7779 return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw); |
| 7780 |
| 7781 case "SVGAnimateTransformElement": |
| 7782 |
| 7783 return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw
); |
| 7784 |
| 7785 case "SVGAnimationElement": |
| 7786 |
| 7787 return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw); |
| 7788 |
| 7789 case "SVGCircleElement": |
| 7790 |
| 7791 return new SVGCircleElementWrappingImplementation._wrap$ctor(raw); |
| 7792 |
| 7793 case "SVGClipPathElement": |
| 7794 |
| 7795 return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw); |
| 7796 |
| 7797 case "SVGComponentTransferFunctionElement": |
| 7798 |
| 7799 return new SVGComponentTransferFunctionElementWrappingImplementation._wrap
$ctor(raw); |
| 7800 |
| 7801 case "SVGCursorElement": |
| 7802 |
| 7803 return new SVGCursorElementWrappingImplementation._wrap$ctor(raw); |
| 7804 |
| 7805 case "SVGDefsElement": |
| 7806 |
| 7807 return new SVGDefsElementWrappingImplementation._wrap$ctor(raw); |
| 7808 |
| 7809 case "SVGDescElement": |
| 7810 |
| 7811 return new SVGDescElementWrappingImplementation._wrap$ctor(raw); |
| 7812 |
| 7813 case "SVGDocument": |
| 7814 |
| 7815 return new SVGDocumentWrappingImplementation._wrap$ctor(raw); |
| 7816 |
| 7817 case "SVGElement": |
| 7818 |
| 7819 return new SVGElementWrappingImplementation._wrap$ctor(raw); |
| 7820 |
| 7821 case "SVGEllipseElement": |
| 7822 |
| 7823 return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw); |
| 7824 |
| 7825 case "SVGFEBlendElement": |
| 7826 |
| 7827 return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw); |
| 7828 |
| 7829 case "SVGFEColorMatrixElement": |
| 7830 |
| 7831 return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw); |
| 7832 |
| 7833 case "SVGFEComponentTransferElement": |
| 7834 |
| 7835 return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor(
raw); |
| 7836 |
| 7837 case "SVGFEConvolveMatrixElement": |
| 7838 |
| 7839 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw
); |
| 7840 |
| 7841 case "SVGFEDiffuseLightingElement": |
| 7842 |
| 7843 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(ra
w); |
| 7844 |
| 7845 case "SVGFEDisplacementMapElement": |
| 7846 |
| 7847 return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(ra
w); |
| 7848 |
| 7849 case "SVGFEDistantLightElement": |
| 7850 |
| 7851 return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw); |
| 7852 |
| 7853 case "SVGFEDropShadowElement": |
| 7854 |
| 7855 return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw); |
| 7856 |
| 7857 case "SVGFEFloodElement": |
| 7858 |
| 7859 return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw); |
| 7860 |
| 7861 case "SVGFEFuncAElement": |
| 7862 |
| 7863 return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw); |
| 7864 |
| 7865 case "SVGFEFuncBElement": |
| 7866 |
| 7867 return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw); |
| 7868 |
| 7869 case "SVGFEFuncGElement": |
| 7870 |
| 7871 return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw); |
| 7872 |
| 7873 case "SVGFEFuncRElement": |
| 7874 |
| 7875 return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw); |
| 7876 |
| 7877 case "SVGFEGaussianBlurElement": |
| 7878 |
| 7879 return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw); |
| 7880 |
| 7881 case "SVGFEImageElement": |
| 7882 |
| 7883 return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw); |
| 7884 |
| 7885 case "SVGFEMergeElement": |
| 7886 |
| 7887 return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw); |
| 7888 |
| 7889 case "SVGFEMergeNodeElement": |
| 7890 |
| 7891 return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw); |
| 7892 |
| 7893 case "SVGFEOffsetElement": |
| 7894 |
| 7895 return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw); |
| 7896 |
| 7897 case "SVGFEPointLightElement": |
| 7898 |
| 7899 return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw); |
| 7900 |
| 7901 case "SVGFESpecularLightingElement": |
| 7902 |
| 7903 return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(r
aw); |
| 7904 |
| 7905 case "SVGFESpotLightElement": |
| 7906 |
| 7907 return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw); |
| 7908 |
| 7909 case "SVGFETileElement": |
| 7910 |
| 7911 return new SVGFETileElementWrappingImplementation._wrap$ctor(raw); |
| 7912 |
| 7913 case "SVGFETurbulenceElement": |
| 7914 |
| 7915 return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw); |
| 7916 |
| 7917 case "SVGFilterElement": |
| 7918 |
| 7919 return new SVGFilterElementWrappingImplementation._wrap$ctor(raw); |
| 7920 |
| 7921 case "SVGFontElement": |
| 7922 |
| 7923 return new SVGFontElementWrappingImplementation._wrap$ctor(raw); |
| 7924 |
| 7925 case "SVGFontFaceElement": |
| 7926 |
| 7927 return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw); |
| 7928 |
| 7929 case "SVGFontFaceFormatElement": |
| 7930 |
| 7931 return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw); |
| 7932 |
| 7933 case "SVGFontFaceNameElement": |
| 7934 |
| 7935 return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw); |
| 7936 |
| 7937 case "SVGFontFaceSrcElement": |
| 7938 |
| 7939 return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw); |
| 7940 |
| 7941 case "SVGFontFaceUriElement": |
| 7942 |
| 7943 return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw); |
| 7944 |
| 7945 case "SVGForeignObjectElement": |
| 7946 |
| 7947 return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw); |
| 7948 |
| 7949 case "SVGGElement": |
| 7950 |
| 7951 return new SVGGElementWrappingImplementation._wrap$ctor(raw); |
| 7952 |
| 7953 case "SVGGlyphElement": |
| 7954 |
| 7955 return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw); |
| 7956 |
| 7957 case "SVGGlyphRefElement": |
| 7958 |
| 7959 return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw); |
| 7960 |
| 7961 case "SVGGradientElement": |
| 7962 |
| 7963 return new SVGGradientElementWrappingImplementation._wrap$ctor(raw); |
| 7964 |
| 7965 case "SVGHKernElement": |
| 7966 |
| 7967 return new SVGHKernElementWrappingImplementation._wrap$ctor(raw); |
| 7968 |
| 7969 case "SVGImageElement": |
| 7970 |
| 7971 return new SVGImageElementWrappingImplementation._wrap$ctor(raw); |
| 7972 |
| 7973 case "SVGLineElement": |
| 7974 |
| 7975 return new SVGLineElementWrappingImplementation._wrap$ctor(raw); |
| 7976 |
| 7977 case "SVGLinearGradientElement": |
| 7978 |
| 7979 return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw); |
| 7980 |
| 7981 case "SVGMPathElement": |
| 7982 |
| 7983 return new SVGMPathElementWrappingImplementation._wrap$ctor(raw); |
| 7984 |
| 7985 case "SVGMarkerElement": |
| 7986 |
| 7987 return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw); |
| 7988 |
| 7989 case "SVGMaskElement": |
| 7990 |
| 7991 return new SVGMaskElementWrappingImplementation._wrap$ctor(raw); |
| 7992 |
| 7993 case "SVGMetadataElement": |
| 7994 |
| 7995 return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw); |
| 7996 |
| 7997 case "SVGMissingGlyphElement": |
| 7998 |
| 7999 return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw); |
| 8000 |
| 8001 case "SVGPathElement": |
| 8002 |
| 8003 return new SVGPathElementWrappingImplementation._wrap$ctor(raw); |
| 8004 |
| 8005 case "SVGPatternElement": |
| 8006 |
| 8007 return new SVGPatternElementWrappingImplementation._wrap$ctor(raw); |
| 8008 |
| 8009 case "SVGPolygonElement": |
| 8010 |
| 8011 return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw); |
| 8012 |
| 8013 case "SVGPolylineElement": |
| 8014 |
| 8015 return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw); |
| 8016 |
| 8017 case "SVGRadialGradientElement": |
| 8018 |
| 8019 return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw); |
| 8020 |
| 8021 case "SVGRectElement": |
| 8022 |
| 8023 return new SVGRectElementWrappingImplementation._wrap$ctor(raw); |
| 8024 |
| 8025 case "SVGSVGElement": |
| 8026 |
| 8027 return new SVGSVGElementWrappingImplementation._wrap$ctor(raw); |
| 8028 |
| 8029 case "SVGScriptElement": |
| 8030 |
| 8031 return new SVGScriptElementWrappingImplementation._wrap$ctor(raw); |
| 8032 |
| 8033 case "SVGSetElement": |
| 8034 |
| 8035 return new SVGSetElementWrappingImplementation._wrap$ctor(raw); |
| 8036 |
| 8037 case "SVGStopElement": |
| 8038 |
| 8039 return new SVGStopElementWrappingImplementation._wrap$ctor(raw); |
| 8040 |
| 8041 case "SVGStyleElement": |
| 8042 |
| 8043 return new SVGStyleElementWrappingImplementation._wrap$ctor(raw); |
| 8044 |
| 8045 case "SVGSwitchElement": |
| 8046 |
| 8047 return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw); |
| 8048 |
| 8049 case "SVGSymbolElement": |
| 8050 |
| 8051 return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw); |
| 8052 |
| 8053 case "SVGTRefElement": |
| 8054 |
| 8055 return new SVGTRefElementWrappingImplementation._wrap$ctor(raw); |
| 8056 |
| 8057 case "SVGTSpanElement": |
| 8058 |
| 8059 return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw); |
| 8060 |
| 8061 case "SVGTextContentElement": |
| 8062 |
| 8063 return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw); |
| 8064 |
| 8065 case "SVGTextElement": |
| 8066 |
| 8067 return new SVGTextElementWrappingImplementation._wrap$ctor(raw); |
| 8068 |
| 8069 case "SVGTextPathElement": |
| 8070 |
| 8071 return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw); |
| 8072 |
| 8073 case "SVGTextPositioningElement": |
| 8074 |
| 8075 return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw)
; |
| 8076 |
| 8077 case "SVGTitleElement": |
| 8078 |
| 8079 return new SVGTitleElementWrappingImplementation._wrap$ctor(raw); |
| 8080 |
| 8081 case "SVGUseElement": |
| 8082 |
| 8083 return new SVGUseElementWrappingImplementation._wrap$ctor(raw); |
| 8084 |
| 8085 case "SVGVKernElement": |
| 8086 |
| 8087 return new SVGVKernElementWrappingImplementation._wrap$ctor(raw); |
| 8088 |
| 8089 case "SVGViewElement": |
| 8090 |
| 8091 return new SVGViewElementWrappingImplementation._wrap$ctor(raw); |
| 8092 |
| 8093 case "HTMLScriptElement": |
| 8094 |
| 8095 return new ScriptElementWrappingImplementation._wrap$ctor(raw); |
| 8096 |
| 8097 case "HTMLSelectElement": |
| 8098 |
| 8099 return new SelectElementWrappingImplementation._wrap$ctor(raw); |
| 8100 |
| 8101 case "HTMLSourceElement": |
| 8102 |
| 8103 return new SourceElementWrappingImplementation._wrap$ctor(raw); |
| 8104 |
| 8105 case "HTMLSpanElement": |
| 8106 |
| 8107 return new SpanElementWrappingImplementation._wrap$ctor(raw); |
| 8108 |
| 8109 case "HTMLStyleElement": |
| 8110 |
| 8111 return new StyleElementWrappingImplementation._wrap$ctor(raw); |
| 8112 |
| 8113 case "HTMLTableCaptionElement": |
| 8114 |
| 8115 return new TableCaptionElementWrappingImplementation._wrap$ctor(raw); |
| 8116 |
| 8117 case "HTMLTableCellElement": |
| 8118 |
| 8119 return new TableCellElementWrappingImplementation._wrap$ctor(raw); |
| 8120 |
| 8121 case "HTMLTableColElement": |
| 8122 |
| 8123 return new TableColElementWrappingImplementation._wrap$ctor(raw); |
| 8124 |
| 8125 case "HTMLTableElement": |
| 8126 |
| 8127 return new TableElementWrappingImplementation._wrap$ctor(raw); |
| 8128 |
| 8129 case "HTMLTableRowElement": |
| 8130 |
| 8131 return new TableRowElementWrappingImplementation._wrap$ctor(raw); |
| 8132 |
| 8133 case "HTMLTableSectionElement": |
| 8134 |
| 8135 return new TableSectionElementWrappingImplementation._wrap$ctor(raw); |
| 8136 |
| 8137 case "Text": |
| 8138 |
| 8139 return new TextWrappingImplementation._wrap$ctor(raw); |
| 8140 |
| 8141 case "HTMLTextAreaElement": |
| 8142 |
| 8143 return new TextAreaElementWrappingImplementation._wrap$ctor(raw); |
| 8144 |
| 8145 case "HTMLTitleElement": |
| 8146 |
| 8147 return new TitleElementWrappingImplementation._wrap$ctor(raw); |
| 8148 |
| 8149 case "HTMLTrackElement": |
| 8150 |
| 8151 return new TrackElementWrappingImplementation._wrap$ctor(raw); |
| 8152 |
| 8153 case "HTMLUListElement": |
| 8154 |
| 8155 return new UListElementWrappingImplementation._wrap$ctor(raw); |
| 8156 |
| 8157 case "HTMLUnknownElement": |
| 8158 |
| 8159 return new UnknownElementWrappingImplementation._wrap$ctor(raw); |
| 8160 |
| 8161 case "HTMLVideoElement": |
| 8162 |
| 8163 return new VideoElementWrappingImplementation._wrap$ctor(raw); |
| 8164 |
| 8165 default: |
| 8166 |
| 8167 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0(
))); |
| 8168 |
| 8169 } |
| 8170 } |
| 8171 LevelDom.wrapSVGAnimatedString = function(raw) { |
| 8172 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get
$dartObjectLocalStorage() : new SVGAnimatedStringWrappingImplementation._wrap$ct
or(raw); |
| 8173 } |
| 8174 LevelDom.wrapSVGElementInstance = function(raw) { |
| 8175 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get
$dartObjectLocalStorage() : new SVGElementInstanceWrappingImplementation._wrap$c
tor(raw); |
| 8176 } |
| 8177 LevelDom.wrapSVGElementInstanceList = function(raw) { |
| 8178 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get
$dartObjectLocalStorage() : new SVGElementInstanceListWrappingImplementation._wr
ap$ctor(raw); |
| 8179 } |
| 8180 LevelDom.wrapWindow = function(raw) { |
| 8181 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get
$dartObjectLocalStorage() : new WindowWrappingImplementation._wrap$ctor(raw); |
| 8182 } |
| 8183 LevelDom.unwrap = function(raw) { |
| 8184 return raw == null ? null : raw.get$_ptr(); |
| 8185 } |
| 8186 LevelDom.initialize = function() { |
| 8187 $globals.secretWindow = LevelDom.wrapWindow(get$window()); |
| 8188 $globals.secretDocument = LevelDom.wrapDocument(get$document()); |
| 8189 } |
| 8190 // ********** Code for AbstractWorkerWrappingImplementation ************** |
| 8191 $inherits(AbstractWorkerWrappingImplementation, EventTargetWrappingImplementatio
n); |
| 8192 function AbstractWorkerWrappingImplementation() {} |
| 8193 AbstractWorkerWrappingImplementation._wrap$ctor = function(ptr) { |
| 8194 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8195 } |
| 8196 AbstractWorkerWrappingImplementation._wrap$ctor.prototype = AbstractWorkerWrappi
ngImplementation.prototype; |
| 8197 // ********** Code for AnimationEventWrappingImplementation ************** |
| 8198 $inherits(AnimationEventWrappingImplementation, EventWrappingImplementation); |
| 8199 function AnimationEventWrappingImplementation() {} |
| 8200 AnimationEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8201 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8202 } |
| 8203 AnimationEventWrappingImplementation._wrap$ctor.prototype = AnimationEventWrappi
ngImplementation.prototype; |
| 8204 // ********** Code for BeforeLoadEventWrappingImplementation ************** |
| 8205 $inherits(BeforeLoadEventWrappingImplementation, EventWrappingImplementation); |
| 8206 function BeforeLoadEventWrappingImplementation() {} |
| 8207 BeforeLoadEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8208 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8209 } |
| 8210 BeforeLoadEventWrappingImplementation._wrap$ctor.prototype = BeforeLoadEventWrap
pingImplementation.prototype; |
| 8211 // ********** Code for EventsImplementation ************** |
| 8212 function EventsImplementation() {} |
| 8213 EventsImplementation._wrap$ctor = function(_ptr) { |
| 8214 this._ptr = _ptr; |
| 8215 this._listenerMap = new HashMapImplementation(); |
| 8216 } |
| 8217 EventsImplementation._wrap$ctor.prototype = EventsImplementation.prototype; |
| 8218 EventsImplementation.prototype.get$_ptr = function() { return this._ptr; }; |
| 8219 EventsImplementation.prototype.set$_ptr = function(value) { return this._ptr = v
alue; }; |
| 8220 EventsImplementation.prototype.$index = function(type) { |
| 8221 return this._get(type.toLowerCase()); |
| 8222 } |
| 8223 EventsImplementation.prototype._get = function(type) { |
| 8224 var $this = this; // closure support |
| 8225 return this._listenerMap.putIfAbsent$2(type, (function () { |
| 8226 return new EventListenerListImplementation($this._ptr, type); |
| 8227 }) |
| 8228 ); |
| 8229 } |
| 8230 // ********** Code for ElementEventsImplementation ************** |
| 8231 $inherits(ElementEventsImplementation, EventsImplementation); |
| 8232 function ElementEventsImplementation() {} |
| 8233 ElementEventsImplementation._wrap$ctor = function(_ptr) { |
| 8234 EventsImplementation._wrap$ctor.call(this, _ptr); |
| 8235 } |
| 8236 ElementEventsImplementation._wrap$ctor.prototype = ElementEventsImplementation.p
rototype; |
| 8237 ElementEventsImplementation.prototype.get$click = function() { |
| 8238 return this._get("click"); |
| 8239 } |
| 8240 ElementEventsImplementation.prototype.click$0 = function() { |
| 8241 return this.get$click().call$0(); |
| 8242 }; |
| 8243 // ********** Code for BodyElementEventsImplementation ************** |
| 8244 $inherits(BodyElementEventsImplementation, ElementEventsImplementation); |
| 8245 function BodyElementEventsImplementation() {} |
| 8246 BodyElementEventsImplementation._wrap$ctor = function(_ptr) { |
| 8247 ElementEventsImplementation._wrap$ctor.call(this, _ptr); |
| 8248 } |
| 8249 BodyElementEventsImplementation._wrap$ctor.prototype = BodyElementEventsImplemen
tation.prototype; |
| 8250 // ********** Code for BodyElementWrappingImplementation ************** |
| 8251 $inherits(BodyElementWrappingImplementation, ElementWrappingImplementation); |
| 8252 function BodyElementWrappingImplementation() {} |
| 8253 BodyElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 8254 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8255 } |
| 8256 BodyElementWrappingImplementation._wrap$ctor.prototype = BodyElementWrappingImpl
ementation.prototype; |
| 8257 BodyElementWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 8258 BodyElementWrappingImplementation.prototype.get$on = function() { |
| 8259 if (this._on == null) { |
| 8260 this._on = new BodyElementEventsImplementation._wrap$ctor(this._ptr); |
| 8261 } |
| 8262 return this._on; |
| 8263 } |
| 8264 // ********** Code for CloseEventWrappingImplementation ************** |
| 8265 $inherits(CloseEventWrappingImplementation, EventWrappingImplementation); |
| 8266 function CloseEventWrappingImplementation() {} |
| 8267 CloseEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8268 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8269 } |
| 8270 CloseEventWrappingImplementation._wrap$ctor.prototype = CloseEventWrappingImplem
entation.prototype; |
| 8271 // ********** Code for CompositionEventWrappingImplementation ************** |
| 8272 $inherits(CompositionEventWrappingImplementation, UIEventWrappingImplementation)
; |
| 8273 function CompositionEventWrappingImplementation() {} |
| 8274 CompositionEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8275 UIEventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8276 } |
| 8277 CompositionEventWrappingImplementation._wrap$ctor.prototype = CompositionEventWr
appingImplementation.prototype; |
| 8278 // ********** Code for _CssClassSet ************** |
| 8279 function _CssClassSet(_element) { |
| 8280 this._htmlimpl_element = _element; |
| 8281 } |
| 8282 _CssClassSet.prototype.toString = function() { |
| 8283 return this._formatSet(this._read()); |
| 8284 } |
| 8285 _CssClassSet.prototype.iterator = function() { |
| 8286 return this._read().iterator$0(); |
| 8287 } |
| 8288 _CssClassSet.prototype.forEach = function(f) { |
| 8289 this._read().forEach(f); |
| 8290 } |
| 8291 _CssClassSet.prototype.filter = function(f) { |
| 8292 return this._read().filter$1(f); |
| 8293 } |
| 8294 _CssClassSet.prototype.isEmpty = function() { |
| 8295 return this._read().isEmpty(); |
| 8296 } |
| 8297 _CssClassSet.prototype.get$length = function() { |
| 8298 return this._read().get$length(); |
| 8299 } |
| 8300 _CssClassSet.prototype.add = function(value) { |
| 8301 this._modify((function (s) { |
| 8302 return s.add$1(value); |
| 8303 }) |
| 8304 ); |
| 8305 } |
| 8306 _CssClassSet.prototype.remove = function(value) { |
| 8307 var s = this._read(); |
| 8308 var result = s.remove(value); |
| 8309 this._write(s); |
| 8310 return result; |
| 8311 } |
| 8312 _CssClassSet.prototype.addAll = function(collection) { |
| 8313 this._modify((function (s) { |
| 8314 return s.addAll$1(collection); |
| 8315 }) |
| 8316 ); |
| 8317 } |
| 8318 _CssClassSet.prototype.clear = function() { |
| 8319 this._modify((function (s) { |
| 8320 return s.clear$0(); |
| 8321 }) |
| 8322 ); |
| 8323 } |
| 8324 _CssClassSet.prototype.get$clear = function() { |
| 8325 return this.clear.bind(this); |
| 8326 } |
| 8327 _CssClassSet.prototype._modify = function(f) { |
| 8328 var s = this._read(); |
| 8329 f.call$1(s); |
| 8330 this._write(s); |
| 8331 } |
| 8332 _CssClassSet.prototype._read = function() { |
| 8333 var s = new HashSetImplementation(); |
| 8334 var $$list = this._className().split(" "); |
| 8335 for (var $$i = 0;$$i < $$list.get$length(); $$i++) { |
| 8336 var name = $$list.$index($$i); |
| 8337 var trimmed = name.trim(); |
| 8338 if (!trimmed.isEmpty()) { |
| 8339 s.add(trimmed); |
| 8340 } |
| 8341 } |
| 8342 return s; |
| 8343 } |
| 8344 _CssClassSet.prototype._className = function() { |
| 8345 return this._htmlimpl_element.get$className(); |
| 8346 } |
| 8347 _CssClassSet.prototype._write = function(s) { |
| 8348 this._htmlimpl_element.set$className(this._formatSet(s)); |
| 8349 } |
| 8350 _CssClassSet.prototype._formatSet = function(s) { |
| 8351 var list = ListFactory.ListFactory$from$factory(s); |
| 8352 return Strings.join(list, " "); |
| 8353 } |
| 8354 _CssClassSet.prototype.add$1 = _CssClassSet.prototype.add; |
| 8355 _CssClassSet.prototype.addAll$1 = _CssClassSet.prototype.addAll; |
| 8356 _CssClassSet.prototype.clear$0 = _CssClassSet.prototype.clear; |
| 8357 _CssClassSet.prototype.filter$1 = function($0) { |
| 8358 return this.filter(to$call$1($0)); |
| 8359 }; |
| 8360 _CssClassSet.prototype.iterator$0 = _CssClassSet.prototype.iterator; |
| 8361 _CssClassSet.prototype.remove$1 = _CssClassSet.prototype.remove; |
| 8362 _CssClassSet.prototype.toString$0 = _CssClassSet.prototype.toString; |
| 8363 // ********** Code for CustomEventWrappingImplementation ************** |
| 8364 $inherits(CustomEventWrappingImplementation, EventWrappingImplementation); |
| 8365 function CustomEventWrappingImplementation() {} |
| 8366 CustomEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8367 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8368 } |
| 8369 CustomEventWrappingImplementation._wrap$ctor.prototype = CustomEventWrappingImpl
ementation.prototype; |
| 8370 // ********** Code for DeviceMotionEventWrappingImplementation ************** |
| 8371 $inherits(DeviceMotionEventWrappingImplementation, EventWrappingImplementation); |
| 8372 function DeviceMotionEventWrappingImplementation() {} |
| 8373 DeviceMotionEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8374 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8375 } |
| 8376 DeviceMotionEventWrappingImplementation._wrap$ctor.prototype = DeviceMotionEvent
WrappingImplementation.prototype; |
| 8377 // ********** Code for DeviceOrientationEventWrappingImplementation ************
** |
| 8378 $inherits(DeviceOrientationEventWrappingImplementation, EventWrappingImplementat
ion); |
| 8379 function DeviceOrientationEventWrappingImplementation() {} |
| 8380 DeviceOrientationEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8381 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8382 } |
| 8383 DeviceOrientationEventWrappingImplementation._wrap$ctor.prototype = DeviceOrient
ationEventWrappingImplementation.prototype; |
| 8384 // ********** Code for FilteredElementList ************** |
| 8385 function FilteredElementList(node) { |
| 8386 this._node = node; |
| 8387 this._childNodes = node.get$nodes(); |
| 8388 } |
| 8389 FilteredElementList.prototype.is$List = function(){return true}; |
| 8390 FilteredElementList.prototype.get$_filtered = function() { |
| 8391 return ListFactory.ListFactory$from$factory(this._childNodes.filter$1((functio
n (n) { |
| 8392 return !!(n && n.is$html_html_Element()); |
| 8393 }) |
| 8394 )); |
| 8395 } |
| 8396 FilteredElementList.prototype.get$first = function() { |
| 8397 var $$list = this._childNodes; |
| 8398 for (var $$i = $$list.iterator$0(); $$i.hasNext$0(); ) { |
| 8399 var node = $$i.next$0(); |
| 8400 if (!!(node && node.is$html_html_Element())) { |
| 8401 return node; |
| 8402 } |
| 8403 } |
| 8404 return null; |
| 8405 } |
| 8406 FilteredElementList.prototype.forEach = function(f) { |
| 8407 this.get$_filtered().forEach(f); |
| 8408 } |
| 8409 FilteredElementList.prototype.$setindex = function(index, value) { |
| 8410 this.$index(index).replaceWith(value); |
| 8411 } |
| 8412 FilteredElementList.prototype.add = function(value) { |
| 8413 this._childNodes.add$1(value); |
| 8414 } |
| 8415 FilteredElementList.prototype.get$add = function() { |
| 8416 return this.add.bind(this); |
| 8417 } |
| 8418 FilteredElementList.prototype.addAll = function(collection) { |
| 8419 collection.forEach(this.get$add()); |
| 8420 } |
| 8421 FilteredElementList.prototype.clear = function() { |
| 8422 this._childNodes.clear$0(); |
| 8423 } |
| 8424 FilteredElementList.prototype.get$clear = function() { |
| 8425 return this.clear.bind(this); |
| 8426 } |
| 8427 FilteredElementList.prototype.removeLast = function() { |
| 8428 var last = this.last(); |
| 8429 if (last != null) { |
| 8430 last.remove$0(); |
| 8431 } |
| 8432 return last; |
| 8433 } |
| 8434 FilteredElementList.prototype.filter = function(f) { |
| 8435 return this.get$_filtered().filter$1(f); |
| 8436 } |
| 8437 FilteredElementList.prototype.isEmpty = function() { |
| 8438 return this.get$_filtered().isEmpty(); |
| 8439 } |
| 8440 FilteredElementList.prototype.get$length = function() { |
| 8441 return this.get$_filtered().get$length(); |
| 8442 } |
| 8443 FilteredElementList.prototype.$index = function(index) { |
| 8444 return this.get$_filtered().$index(index); |
| 8445 } |
| 8446 FilteredElementList.prototype.iterator = function() { |
| 8447 return this.get$_filtered().iterator$0(); |
| 8448 } |
| 8449 FilteredElementList.prototype.last = function() { |
| 8450 return this.get$_filtered().last$0(); |
| 8451 } |
| 8452 FilteredElementList.prototype.add$1 = FilteredElementList.prototype.add; |
| 8453 FilteredElementList.prototype.addAll$1 = FilteredElementList.prototype.addAll; |
| 8454 FilteredElementList.prototype.clear$0 = FilteredElementList.prototype.clear; |
| 8455 FilteredElementList.prototype.filter$1 = function($0) { |
| 8456 return this.filter(to$call$1($0)); |
| 8457 }; |
| 8458 FilteredElementList.prototype.iterator$0 = FilteredElementList.prototype.iterato
r; |
| 8459 FilteredElementList.prototype.last$0 = FilteredElementList.prototype.last; |
| 8460 FilteredElementList.prototype.removeLast$0 = FilteredElementList.prototype.remov
eLast; |
| 8461 // ********** Code for DocumentFragmentWrappingImplementation ************** |
| 8462 $inherits(DocumentFragmentWrappingImplementation, NodeWrappingImplementation); |
| 8463 function DocumentFragmentWrappingImplementation() {} |
| 8464 DocumentFragmentWrappingImplementation._wrap$ctor = function(ptr) { |
| 8465 NodeWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8466 } |
| 8467 DocumentFragmentWrappingImplementation._wrap$ctor.prototype = DocumentFragmentWr
appingImplementation.prototype; |
| 8468 DocumentFragmentWrappingImplementation.prototype.is$html_html_Element = function
(){return true}; |
| 8469 DocumentFragmentWrappingImplementation.prototype.get$elements = function() { |
| 8470 if (this._elements == null) { |
| 8471 this._elements = new FilteredElementList(this); |
| 8472 } |
| 8473 return this._elements; |
| 8474 } |
| 8475 DocumentFragmentWrappingImplementation.prototype.get$innerHTML = function() { |
| 8476 var e = ElementWrappingImplementation.ElementWrappingImplementation$tag$factor
y("div"); |
| 8477 e.get$nodes().add$1(this.clone(true)); |
| 8478 return e.get$innerHTML(); |
| 8479 } |
| 8480 DocumentFragmentWrappingImplementation.prototype.set$innerHTML = function(value)
{ |
| 8481 this.get$nodes().clear$0(); |
| 8482 var e = ElementWrappingImplementation.ElementWrappingImplementation$tag$factor
y("div"); |
| 8483 e.set$innerHTML(value); |
| 8484 var nodes = ListFactory.ListFactory$from$factory(e.get$nodes()); |
| 8485 this.get$nodes().addAll(nodes); |
| 8486 } |
| 8487 DocumentFragmentWrappingImplementation.prototype.get$on = function() { |
| 8488 if (this._on == null) { |
| 8489 this._on = new ElementEventsImplementation._wrap$ctor(this._ptr); |
| 8490 } |
| 8491 return this._on; |
| 8492 } |
| 8493 DocumentFragmentWrappingImplementation.prototype.query = function(selectors) { |
| 8494 return LevelDom.wrapElement(this._ptr.querySelector$1(selectors)); |
| 8495 } |
| 8496 DocumentFragmentWrappingImplementation.prototype.queryAll = function(selectors)
{ |
| 8497 return LevelDom.wrapElementList(this._ptr.querySelectorAll$1(selectors)); |
| 8498 } |
| 8499 DocumentFragmentWrappingImplementation.prototype.get$id = function() { |
| 8500 return ""; |
| 8501 } |
| 8502 DocumentFragmentWrappingImplementation.prototype.set$id = function(value) { |
| 8503 $throw(new UnsupportedOperationException("ID can't be set for document fragmen
ts.")); |
| 8504 } |
| 8505 DocumentFragmentWrappingImplementation.prototype.get$firstElementChild = functio
n() { |
| 8506 return this.get$elements().get$first().call$0(); |
| 8507 } |
| 8508 DocumentFragmentWrappingImplementation.prototype.get$lastElementChild = function
() { |
| 8509 return this.get$elements().last$0(); |
| 8510 } |
| 8511 DocumentFragmentWrappingImplementation.prototype.get$attributes = function() { |
| 8512 return const$0006; |
| 8513 } |
| 8514 DocumentFragmentWrappingImplementation.prototype.set$classes = function(value) { |
| 8515 $throw(new UnsupportedOperationException("Classes can't be set for document fr
agments.")); |
| 8516 } |
| 8517 DocumentFragmentWrappingImplementation.prototype.clone = function(deep) { |
| 8518 return NodeWrappingImplementation.prototype.clone.call(this, deep); |
| 8519 } |
| 8520 // ********** Code for DocumentEventsImplementation ************** |
| 8521 $inherits(DocumentEventsImplementation, ElementEventsImplementation); |
| 8522 function DocumentEventsImplementation() {} |
| 8523 DocumentEventsImplementation._wrap$ctor = function(_ptr) { |
| 8524 ElementEventsImplementation._wrap$ctor.call(this, _ptr); |
| 8525 } |
| 8526 DocumentEventsImplementation._wrap$ctor.prototype = DocumentEventsImplementation
.prototype; |
| 8527 // ********** Code for DocumentWrappingImplementation ************** |
| 8528 $inherits(DocumentWrappingImplementation, ElementWrappingImplementation); |
| 8529 function DocumentWrappingImplementation() {} |
| 8530 DocumentWrappingImplementation._wrap$ctor = function(_documentPtr, ptr) { |
| 8531 this._documentPtr = _documentPtr; |
| 8532 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8533 this._documentPtr.get$dynamic().set$dartObjectLocalStorage(this); |
| 8534 } |
| 8535 DocumentWrappingImplementation._wrap$ctor.prototype = DocumentWrappingImplementa
tion.prototype; |
| 8536 DocumentWrappingImplementation.prototype.is$html_html_Element = function(){retur
n true}; |
| 8537 DocumentWrappingImplementation.prototype.get$readyState = function() { |
| 8538 return this._documentPtr.get$readyState(); |
| 8539 } |
| 8540 DocumentWrappingImplementation.prototype.get$on = function() { |
| 8541 if (this._on == null) { |
| 8542 this._on = new DocumentEventsImplementation._wrap$ctor(this._documentPtr); |
| 8543 } |
| 8544 return this._on; |
| 8545 } |
| 8546 // ********** Code for DOMApplicationCacheWrappingImplementation ************** |
| 8547 $inherits(DOMApplicationCacheWrappingImplementation, EventTargetWrappingImplemen
tation); |
| 8548 function DOMApplicationCacheWrappingImplementation() {} |
| 8549 DOMApplicationCacheWrappingImplementation._wrap$ctor = function(ptr) { |
| 8550 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8551 } |
| 8552 DOMApplicationCacheWrappingImplementation._wrap$ctor.prototype = DOMApplicationC
acheWrappingImplementation.prototype; |
| 8553 // ********** Code for _ChildrenElementList ************** |
| 8554 function _ChildrenElementList() {} |
| 8555 _ChildrenElementList._wrap$ctor = function(element) { |
| 8556 this._childElements = element.get$children(); |
| 8557 this._element = element; |
| 8558 } |
| 8559 _ChildrenElementList._wrap$ctor.prototype = _ChildrenElementList.prototype; |
| 8560 _ChildrenElementList.prototype.is$List = function(){return true}; |
| 8561 _ChildrenElementList.prototype._toList = function() { |
| 8562 var output = new Array(this._childElements.get$length()); |
| 8563 for (var i = (0), len = this._childElements.get$length(); |
| 8564 i < len; i++) { |
| 8565 output.$setindex(i, LevelDom.wrapElement(this._childElements.$index(i))); |
| 8566 } |
| 8567 return output; |
| 8568 } |
| 8569 _ChildrenElementList.prototype.get$first = function() { |
| 8570 return LevelDom.wrapElement(this._element.get$firstElementChild()); |
| 8571 } |
| 8572 _ChildrenElementList.prototype.forEach = function(f) { |
| 8573 return this._toList().forEach(f); |
| 8574 } |
| 8575 _ChildrenElementList.prototype.filter = function(f) { |
| 8576 return this._toList().filter$1(f); |
| 8577 } |
| 8578 _ChildrenElementList.prototype.isEmpty = function() { |
| 8579 return this._element.get$firstElementChild() == null; |
| 8580 } |
| 8581 _ChildrenElementList.prototype.get$length = function() { |
| 8582 return this._childElements.get$length(); |
| 8583 } |
| 8584 _ChildrenElementList.prototype.$index = function(index) { |
| 8585 return LevelDom.wrapElement(this._childElements.$index(index)); |
| 8586 } |
| 8587 _ChildrenElementList.prototype.$setindex = function(index, value) { |
| 8588 this._element.replaceChild$2(LevelDom.unwrap(value), this._childElements.item$
1(index)); |
| 8589 } |
| 8590 _ChildrenElementList.prototype.add = function(value) { |
| 8591 this._element.appendChild$1(LevelDom.unwrap(value)); |
| 8592 return value; |
| 8593 } |
| 8594 _ChildrenElementList.prototype.iterator = function() { |
| 8595 return this._toList().iterator$0(); |
| 8596 } |
| 8597 _ChildrenElementList.prototype.addAll = function(collection) { |
| 8598 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) { |
| 8599 var element = $$i.next$0(); |
| 8600 this._element.appendChild$1(LevelDom.unwrap(element)); |
| 8601 } |
| 8602 } |
| 8603 _ChildrenElementList.prototype.clear = function() { |
| 8604 this._element.set$textContent(""); |
| 8605 } |
| 8606 _ChildrenElementList.prototype.get$clear = function() { |
| 8607 return this.clear.bind(this); |
| 8608 } |
| 8609 _ChildrenElementList.prototype.removeLast = function() { |
| 8610 var last = this.last(); |
| 8611 if (last != null) { |
| 8612 this._element.removeChild$1(LevelDom.unwrap(last)); |
| 8613 } |
| 8614 return last; |
| 8615 } |
| 8616 _ChildrenElementList.prototype.last = function() { |
| 8617 return LevelDom.wrapElement(this._element.get$lastElementChild()); |
| 8618 } |
| 8619 _ChildrenElementList.prototype.add$1 = _ChildrenElementList.prototype.add; |
| 8620 _ChildrenElementList.prototype.addAll$1 = _ChildrenElementList.prototype.addAll; |
| 8621 _ChildrenElementList.prototype.clear$0 = _ChildrenElementList.prototype.clear; |
| 8622 _ChildrenElementList.prototype.filter$1 = function($0) { |
| 8623 return this.filter(to$call$1($0)); |
| 8624 }; |
| 8625 _ChildrenElementList.prototype.iterator$0 = _ChildrenElementList.prototype.itera
tor; |
| 8626 _ChildrenElementList.prototype.last$0 = _ChildrenElementList.prototype.last; |
| 8627 _ChildrenElementList.prototype.removeLast$0 = _ChildrenElementList.prototype.rem
oveLast; |
| 8628 // ********** Code for FrozenElementList ************** |
| 8629 function FrozenElementList() {} |
| 8630 FrozenElementList._wrap$ctor = function(_ptr) { |
| 8631 this._ptr = _ptr; |
| 8632 } |
| 8633 FrozenElementList._wrap$ctor.prototype = FrozenElementList.prototype; |
| 8634 FrozenElementList.prototype.is$List = function(){return true}; |
| 8635 FrozenElementList.prototype.get$_ptr = function() { return this._ptr; }; |
| 8636 FrozenElementList.prototype.get$first = function() { |
| 8637 return this.$index((0)); |
| 8638 } |
| 8639 FrozenElementList.prototype.forEach = function(f) { |
| 8640 var length = this._ptr.get$length(); |
| 8641 for (var i = (0); |
| 8642 i < length; i = $add(i, (1))) { |
| 8643 f.call$1(LevelDom.wrapElement(this._ptr.$index(i))); |
| 8644 } |
| 8645 } |
| 8646 FrozenElementList.prototype.filter = function(f) { |
| 8647 $throw("Not implemented yet."); |
| 8648 } |
| 8649 FrozenElementList.prototype.isEmpty = function() { |
| 8650 return $eq(this._ptr.get$length(), (0)); |
| 8651 } |
| 8652 FrozenElementList.prototype.get$length = function() { |
| 8653 return this._ptr.get$length(); |
| 8654 } |
| 8655 FrozenElementList.prototype.$index = function(index) { |
| 8656 return LevelDom.wrapElement(this._ptr.$index(index)); |
| 8657 } |
| 8658 FrozenElementList.prototype.$setindex = function(index, value) { |
| 8659 $throw(const$0004); |
| 8660 } |
| 8661 FrozenElementList.prototype.add = function(value) { |
| 8662 $throw(const$0004); |
| 8663 } |
| 8664 FrozenElementList.prototype.iterator = function() { |
| 8665 return new FrozenElementListIterator(this); |
| 8666 } |
| 8667 FrozenElementList.prototype.addAll = function(collection) { |
| 8668 $throw(const$0004); |
| 8669 } |
| 8670 FrozenElementList.prototype.clear = function() { |
| 8671 $throw("Not impl yet. todo(jacobr)"); |
| 8672 } |
| 8673 FrozenElementList.prototype.get$clear = function() { |
| 8674 return this.clear.bind(this); |
| 8675 } |
| 8676 FrozenElementList.prototype.removeLast = function() { |
| 8677 $throw("Not impl yet. todo(jacobr)"); |
| 8678 } |
| 8679 FrozenElementList.prototype.last = function() { |
| 8680 return this.$index(this.get$length() - (1)); |
| 8681 } |
| 8682 FrozenElementList.prototype.add$1 = FrozenElementList.prototype.add; |
| 8683 FrozenElementList.prototype.addAll$1 = FrozenElementList.prototype.addAll; |
| 8684 FrozenElementList.prototype.clear$0 = FrozenElementList.prototype.clear; |
| 8685 FrozenElementList.prototype.filter$1 = function($0) { |
| 8686 return this.filter(to$call$1($0)); |
| 8687 }; |
| 8688 FrozenElementList.prototype.iterator$0 = FrozenElementList.prototype.iterator; |
| 8689 FrozenElementList.prototype.last$0 = FrozenElementList.prototype.last; |
| 8690 FrozenElementList.prototype.removeLast$0 = FrozenElementList.prototype.removeLas
t; |
| 8691 // ********** Code for FrozenElementListIterator ************** |
| 8692 function FrozenElementListIterator(_list) { |
| 8693 this._htmlimpl_index = (0); |
| 8694 this._list = _list; |
| 8695 } |
| 8696 FrozenElementListIterator.prototype.next = function() { |
| 8697 if (!this.hasNext()) { |
| 8698 $throw(const$0003); |
| 8699 } |
| 8700 return this._list.$index(this._htmlimpl_index++); |
| 8701 } |
| 8702 FrozenElementListIterator.prototype.hasNext = function() { |
| 8703 return this._htmlimpl_index < this._list.get$length(); |
| 8704 } |
| 8705 FrozenElementListIterator.prototype.hasNext$0 = FrozenElementListIterator.protot
ype.hasNext; |
| 8706 FrozenElementListIterator.prototype.next$0 = FrozenElementListIterator.prototype
.next; |
| 8707 // ********** Code for ElementAttributeMap ************** |
| 8708 function ElementAttributeMap() {} |
| 8709 ElementAttributeMap._wrap$ctor = function(_element) { |
| 8710 this._element = _element; |
| 8711 } |
| 8712 ElementAttributeMap._wrap$ctor.prototype = ElementAttributeMap.prototype; |
| 8713 ElementAttributeMap.prototype.is$Map = function(){return true}; |
| 8714 ElementAttributeMap.prototype.containsKey = function(key) { |
| 8715 return this._element.hasAttribute$1(key); |
| 8716 } |
| 8717 ElementAttributeMap.prototype.$index = function(key) { |
| 8718 return this._element.getAttribute$1(key); |
| 8719 } |
| 8720 ElementAttributeMap.prototype.$setindex = function(key, value) { |
| 8721 this._element.setAttribute$2(key, value); |
| 8722 } |
| 8723 ElementAttributeMap.prototype.putIfAbsent = function(key, ifAbsent) { |
| 8724 if (!this.containsKey(key)) { |
| 8725 this.$setindex(key, ifAbsent.call$0()); |
| 8726 } |
| 8727 } |
| 8728 ElementAttributeMap.prototype.remove = function(key) { |
| 8729 this._element.removeAttribute$1(key); |
| 8730 } |
| 8731 ElementAttributeMap.prototype.clear = function() { |
| 8732 var attributes = this._element.get$attributes(); |
| 8733 for (var i = attributes.get$length() - (1); |
| 8734 i >= (0); i--) { |
| 8735 this._element.removeAttribute$1(attributes.item$1(i).get$name()); |
| 8736 } |
| 8737 } |
| 8738 ElementAttributeMap.prototype.get$clear = function() { |
| 8739 return this.clear.bind(this); |
| 8740 } |
| 8741 ElementAttributeMap.prototype.forEach = function(f) { |
| 8742 var attributes = this._element.get$attributes(); |
| 8743 for (var i = (0), len = attributes.get$length(); |
| 8744 i < len; i++) { |
| 8745 var item = attributes.item$1(i); |
| 8746 f.call$2(item.get$name(), item.get$value()); |
| 8747 } |
| 8748 } |
| 8749 ElementAttributeMap.prototype.getKeys = function() { |
| 8750 var attributes = this._element.get$attributes(); |
| 8751 var keys = new Array(attributes.get$length()); |
| 8752 for (var i = (0), len = attributes.get$length(); |
| 8753 i < len; i++) { |
| 8754 keys.$setindex(i, attributes.item$1(i).get$name()); |
| 8755 } |
| 8756 return keys; |
| 8757 } |
| 8758 ElementAttributeMap.prototype.getValues = function() { |
| 8759 var attributes = this._element.get$attributes(); |
| 8760 var values = new Array(attributes.get$length()); |
| 8761 for (var i = (0), len = attributes.get$length(); |
| 8762 i < len; i++) { |
| 8763 values.$setindex(i, attributes.item$1(i).get$value()); |
| 8764 } |
| 8765 return values; |
| 8766 } |
| 8767 ElementAttributeMap.prototype.get$length = function() { |
| 8768 return this._element.get$attributes().get$length(); |
| 8769 } |
| 8770 ElementAttributeMap.prototype.isEmpty = function() { |
| 8771 return !this._element.hasAttributes$0(); |
| 8772 } |
| 8773 ElementAttributeMap.prototype.clear$0 = ElementAttributeMap.prototype.clear; |
| 8774 ElementAttributeMap.prototype.getKeys$0 = ElementAttributeMap.prototype.getKeys; |
| 8775 ElementAttributeMap.prototype.getValues$0 = ElementAttributeMap.prototype.getVal
ues; |
| 8776 ElementAttributeMap.prototype.putIfAbsent$2 = function($0, $1) { |
| 8777 return this.putIfAbsent($0, to$call$0($1)); |
| 8778 }; |
| 8779 ElementAttributeMap.prototype.remove$1 = ElementAttributeMap.prototype.remove; |
| 8780 // ********** Code for ErrorEventWrappingImplementation ************** |
| 8781 $inherits(ErrorEventWrappingImplementation, EventWrappingImplementation); |
| 8782 function ErrorEventWrappingImplementation() {} |
| 8783 ErrorEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8784 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8785 } |
| 8786 ErrorEventWrappingImplementation._wrap$ctor.prototype = ErrorEventWrappingImplem
entation.prototype; |
| 8787 // ********** Code for EventSourceWrappingImplementation ************** |
| 8788 $inherits(EventSourceWrappingImplementation, EventTargetWrappingImplementation); |
| 8789 function EventSourceWrappingImplementation() {} |
| 8790 EventSourceWrappingImplementation._wrap$ctor = function(ptr) { |
| 8791 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8792 } |
| 8793 EventSourceWrappingImplementation._wrap$ctor.prototype = EventSourceWrappingImpl
ementation.prototype; |
| 8794 EventSourceWrappingImplementation.prototype.get$readyState = function() { |
| 8795 return this._ptr.get$readyState(); |
| 8796 } |
| 8797 // ********** Code for _EventListenerWrapper ************** |
| 8798 function _EventListenerWrapper(raw, wrapped, useCapture) { |
| 8799 this.wrapped = wrapped; |
| 8800 this.useCapture = useCapture; |
| 8801 this.raw = raw; |
| 8802 } |
| 8803 // ********** Code for EventListenerListImplementation ************** |
| 8804 function EventListenerListImplementation(_ptr, _type) { |
| 8805 this._ptr = _ptr; |
| 8806 this._type = _type; |
| 8807 this._wrappers = new Array(); |
| 8808 } |
| 8809 EventListenerListImplementation.prototype.get$_ptr = function() { return this._p
tr; }; |
| 8810 EventListenerListImplementation.prototype.add = function(listener, useCapture) { |
| 8811 this._add(listener, useCapture); |
| 8812 return this; |
| 8813 } |
| 8814 EventListenerListImplementation.prototype.remove = function(listener, useCapture
) { |
| 8815 this._remove(listener, useCapture); |
| 8816 return this; |
| 8817 } |
| 8818 EventListenerListImplementation.prototype._add = function(listener, useCapture)
{ |
| 8819 this._ptr.addEventListener$3(this._type, this._findOrAddWrapper(listener, useC
apture), useCapture); |
| 8820 } |
| 8821 EventListenerListImplementation.prototype._remove = function(listener, useCaptur
e) { |
| 8822 var wrapper = this._removeWrapper(listener, useCapture); |
| 8823 if (wrapper != null) { |
| 8824 this._ptr.removeEventListener$3(this._type, wrapper, useCapture); |
| 8825 } |
| 8826 } |
| 8827 EventListenerListImplementation.prototype._removeWrapper = function(listener, us
eCapture) { |
| 8828 if (this._wrappers == null) { |
| 8829 return null; |
| 8830 } |
| 8831 for (var i = (0); |
| 8832 i < this._wrappers.get$length(); i++) { |
| 8833 var wrapper = this._wrappers.$index(i); |
| 8834 if (wrapper.raw == listener && $eq(wrapper.useCapture, useCapture)) { |
| 8835 if (i + (1) != this._wrappers.get$length()) { |
| 8836 this._wrappers.$setindex(i, this._wrappers.removeLast$0()); |
| 8837 } |
| 8838 else { |
| 8839 this._wrappers.removeLast$0(); |
| 8840 } |
| 8841 return wrapper.wrapped; |
| 8842 } |
| 8843 } |
| 8844 return null; |
| 8845 } |
| 8846 EventListenerListImplementation.prototype._findOrAddWrapper = function(listener,
useCapture) { |
| 8847 if (this._wrappers == null) { |
| 8848 this._wrappers = []; |
| 8849 } |
| 8850 else { |
| 8851 var $$list = this._wrappers; |
| 8852 for (var $$i = 0;$$i < $$list.get$length(); $$i++) { |
| 8853 var wrapper = $$list.$index($$i); |
| 8854 if (wrapper.raw == listener && $eq(wrapper.useCapture, useCapture)) { |
| 8855 return wrapper.wrapped; |
| 8856 } |
| 8857 } |
| 8858 } |
| 8859 var wrapped = (function (e) { |
| 8860 listener.call$1(LevelDom.wrapEvent(e)); |
| 8861 }) |
| 8862 ; |
| 8863 this._wrappers.add$1(new _EventListenerWrapper(listener, wrapped, useCapture))
; |
| 8864 return wrapped; |
| 8865 } |
| 8866 EventListenerListImplementation.prototype.add$1 = function($0) { |
| 8867 return this.add(to$call$1($0), false); |
| 8868 }; |
| 8869 EventListenerListImplementation.prototype.add$2 = function($0, $1) { |
| 8870 return this.add(to$call$1($0), $1); |
| 8871 }; |
| 8872 EventListenerListImplementation.prototype.remove$1 = function($0) { |
| 8873 return this.remove(to$call$1($0), false); |
| 8874 }; |
| 8875 // ********** Code for HashChangeEventWrappingImplementation ************** |
| 8876 $inherits(HashChangeEventWrappingImplementation, EventWrappingImplementation); |
| 8877 function HashChangeEventWrappingImplementation() {} |
| 8878 HashChangeEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8879 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8880 } |
| 8881 HashChangeEventWrappingImplementation._wrap$ctor.prototype = HashChangeEventWrap
pingImplementation.prototype; |
| 8882 // ********** Code for KeyboardEventWrappingImplementation ************** |
| 8883 $inherits(KeyboardEventWrappingImplementation, UIEventWrappingImplementation); |
| 8884 function KeyboardEventWrappingImplementation() {} |
| 8885 KeyboardEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8886 UIEventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8887 } |
| 8888 KeyboardEventWrappingImplementation._wrap$ctor.prototype = KeyboardEventWrapping
Implementation.prototype; |
| 8889 // ********** Code for MessageEventWrappingImplementation ************** |
| 8890 $inherits(MessageEventWrappingImplementation, EventWrappingImplementation); |
| 8891 function MessageEventWrappingImplementation() {} |
| 8892 MessageEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8893 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8894 } |
| 8895 MessageEventWrappingImplementation._wrap$ctor.prototype = MessageEventWrappingIm
plementation.prototype; |
| 8896 // ********** Code for MessagePortWrappingImplementation ************** |
| 8897 $inherits(MessagePortWrappingImplementation, EventTargetWrappingImplementation); |
| 8898 function MessagePortWrappingImplementation() {} |
| 8899 MessagePortWrappingImplementation._wrap$ctor = function(ptr) { |
| 8900 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8901 } |
| 8902 MessagePortWrappingImplementation._wrap$ctor.prototype = MessagePortWrappingImpl
ementation.prototype; |
| 8903 // ********** Code for MouseEventWrappingImplementation ************** |
| 8904 $inherits(MouseEventWrappingImplementation, UIEventWrappingImplementation); |
| 8905 function MouseEventWrappingImplementation() {} |
| 8906 MouseEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8907 UIEventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8908 } |
| 8909 MouseEventWrappingImplementation._wrap$ctor.prototype = MouseEventWrappingImplem
entation.prototype; |
| 8910 // ********** Code for MutationEventWrappingImplementation ************** |
| 8911 $inherits(MutationEventWrappingImplementation, EventWrappingImplementation); |
| 8912 function MutationEventWrappingImplementation() {} |
| 8913 MutationEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 8914 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8915 } |
| 8916 MutationEventWrappingImplementation._wrap$ctor.prototype = MutationEventWrapping
Implementation.prototype; |
| 8917 // ********** Code for _ChildrenNodeList ************** |
| 8918 function _ChildrenNodeList() {} |
| 8919 _ChildrenNodeList._wrap$ctor = function(node) { |
| 8920 this._node = node; |
| 8921 this._childNodes = node.get$childNodes(); |
| 8922 } |
| 8923 _ChildrenNodeList._wrap$ctor.prototype = _ChildrenNodeList.prototype; |
| 8924 _ChildrenNodeList.prototype.is$List = function(){return true}; |
| 8925 _ChildrenNodeList.prototype._toList = function() { |
| 8926 var output = new Array(this._childNodes.get$length()); |
| 8927 for (var i = (0), len = this._childNodes.get$length(); |
| 8928 i < len; i++) { |
| 8929 output.$setindex(i, LevelDom.wrapNode(this._childNodes.$index(i))); |
| 8930 } |
| 8931 return output; |
| 8932 } |
| 8933 _ChildrenNodeList.prototype.get$first = function() { |
| 8934 return LevelDom.wrapNode(this._node.get$firstChild()); |
| 8935 } |
| 8936 _ChildrenNodeList.prototype.forEach = function(f) { |
| 8937 return this._toList().forEach(f); |
| 8938 } |
| 8939 _ChildrenNodeList.prototype.filter = function(f) { |
| 8940 return this._toList().filter$1(f); |
| 8941 } |
| 8942 _ChildrenNodeList.prototype.isEmpty = function() { |
| 8943 return !this._node.hasChildNodes$0(); |
| 8944 } |
| 8945 _ChildrenNodeList.prototype.get$length = function() { |
| 8946 return this._childNodes.get$length(); |
| 8947 } |
| 8948 _ChildrenNodeList.prototype.$index = function(index) { |
| 8949 return LevelDom.wrapNode(this._childNodes.$index(index)); |
| 8950 } |
| 8951 _ChildrenNodeList.prototype.$setindex = function(index, value) { |
| 8952 this._node.replaceChild$2(LevelDom.unwrap(value), this._childNodes.$index(inde
x)); |
| 8953 } |
| 8954 _ChildrenNodeList.prototype.add = function(value) { |
| 8955 this._node.appendChild$1(LevelDom.unwrap(value)); |
| 8956 return value; |
| 8957 } |
| 8958 _ChildrenNodeList.prototype.iterator = function() { |
| 8959 return this._toList().iterator$0(); |
| 8960 } |
| 8961 _ChildrenNodeList.prototype.addAll = function(collection) { |
| 8962 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) { |
| 8963 var node = $$i.next$0(); |
| 8964 this._node.appendChild$1(LevelDom.unwrap(node)); |
| 8965 } |
| 8966 } |
| 8967 _ChildrenNodeList.prototype.clear = function() { |
| 8968 this._node.set$textContent(""); |
| 8969 } |
| 8970 _ChildrenNodeList.prototype.get$clear = function() { |
| 8971 return this.clear.bind(this); |
| 8972 } |
| 8973 _ChildrenNodeList.prototype.removeLast = function() { |
| 8974 var last = this.last(); |
| 8975 if (last != null) { |
| 8976 this._node.removeChild$1(LevelDom.unwrap(last)); |
| 8977 } |
| 8978 return last; |
| 8979 } |
| 8980 _ChildrenNodeList.prototype.last = function() { |
| 8981 return LevelDom.wrapNode(this._node.get$lastChild()); |
| 8982 } |
| 8983 _ChildrenNodeList.prototype.add$1 = _ChildrenNodeList.prototype.add; |
| 8984 _ChildrenNodeList.prototype.addAll$1 = _ChildrenNodeList.prototype.addAll; |
| 8985 _ChildrenNodeList.prototype.clear$0 = _ChildrenNodeList.prototype.clear; |
| 8986 _ChildrenNodeList.prototype.filter$1 = function($0) { |
| 8987 return this.filter(to$call$1($0)); |
| 8988 }; |
| 8989 _ChildrenNodeList.prototype.iterator$0 = _ChildrenNodeList.prototype.iterator; |
| 8990 _ChildrenNodeList.prototype.last$0 = _ChildrenNodeList.prototype.last; |
| 8991 _ChildrenNodeList.prototype.removeLast$0 = _ChildrenNodeList.prototype.removeLas
t; |
| 8992 // ********** Code for NotificationWrappingImplementation ************** |
| 8993 $inherits(NotificationWrappingImplementation, EventTargetWrappingImplementation)
; |
| 8994 function NotificationWrappingImplementation() {} |
| 8995 NotificationWrappingImplementation._wrap$ctor = function(ptr) { |
| 8996 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 8997 } |
| 8998 NotificationWrappingImplementation._wrap$ctor.prototype = NotificationWrappingIm
plementation.prototype; |
| 8999 NotificationWrappingImplementation.prototype.get$typeName = function() { |
| 9000 return "Notification"; |
| 9001 } |
| 9002 // ********** Code for ObjectElementWrappingImplementation ************** |
| 9003 $inherits(ObjectElementWrappingImplementation, ElementWrappingImplementation); |
| 9004 function ObjectElementWrappingImplementation() {} |
| 9005 ObjectElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 9006 ElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9007 } |
| 9008 ObjectElementWrappingImplementation._wrap$ctor.prototype = ObjectElementWrapping
Implementation.prototype; |
| 9009 ObjectElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 9010 ObjectElementWrappingImplementation.prototype.get$name = function() { |
| 9011 return this._ptr.get$name(); |
| 9012 } |
| 9013 // ********** Code for OverflowEventWrappingImplementation ************** |
| 9014 $inherits(OverflowEventWrappingImplementation, EventWrappingImplementation); |
| 9015 function OverflowEventWrappingImplementation() {} |
| 9016 OverflowEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 9017 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9018 } |
| 9019 OverflowEventWrappingImplementation._wrap$ctor.prototype = OverflowEventWrapping
Implementation.prototype; |
| 9020 // ********** Code for PageTransitionEventWrappingImplementation ************** |
| 9021 $inherits(PageTransitionEventWrappingImplementation, EventWrappingImplementation
); |
| 9022 function PageTransitionEventWrappingImplementation() {} |
| 9023 PageTransitionEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 9024 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9025 } |
| 9026 PageTransitionEventWrappingImplementation._wrap$ctor.prototype = PageTransitionE
ventWrappingImplementation.prototype; |
| 9027 // ********** Code for PopStateEventWrappingImplementation ************** |
| 9028 $inherits(PopStateEventWrappingImplementation, EventWrappingImplementation); |
| 9029 function PopStateEventWrappingImplementation() {} |
| 9030 PopStateEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 9031 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9032 } |
| 9033 PopStateEventWrappingImplementation._wrap$ctor.prototype = PopStateEventWrapping
Implementation.prototype; |
| 9034 // ********** Code for ProgressEventWrappingImplementation ************** |
| 9035 $inherits(ProgressEventWrappingImplementation, EventWrappingImplementation); |
| 9036 function ProgressEventWrappingImplementation() {} |
| 9037 ProgressEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 9038 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9039 } |
| 9040 ProgressEventWrappingImplementation._wrap$ctor.prototype = ProgressEventWrapping
Implementation.prototype; |
| 9041 // ********** Code for SharedWorkerWrappingImplementation ************** |
| 9042 $inherits(SharedWorkerWrappingImplementation, AbstractWorkerWrappingImplementati
on); |
| 9043 function SharedWorkerWrappingImplementation() {} |
| 9044 SharedWorkerWrappingImplementation._wrap$ctor = function(ptr) { |
| 9045 AbstractWorkerWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9046 } |
| 9047 SharedWorkerWrappingImplementation._wrap$ctor.prototype = SharedWorkerWrappingIm
plementation.prototype; |
| 9048 // ********** Code for StorageEventWrappingImplementation ************** |
| 9049 $inherits(StorageEventWrappingImplementation, EventWrappingImplementation); |
| 9050 function StorageEventWrappingImplementation() {} |
| 9051 StorageEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 9052 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9053 } |
| 9054 StorageEventWrappingImplementation._wrap$ctor.prototype = StorageEventWrappingIm
plementation.prototype; |
| 9055 // ********** Code for SVGDocumentWrappingImplementation ************** |
| 9056 $inherits(SVGDocumentWrappingImplementation, DocumentWrappingImplementation); |
| 9057 function SVGDocumentWrappingImplementation() {} |
| 9058 SVGDocumentWrappingImplementation._wrap$ctor = function(ptr) { |
| 9059 DocumentWrappingImplementation._wrap$ctor.call(this, ptr, ptr.rootElement); |
| 9060 } |
| 9061 SVGDocumentWrappingImplementation._wrap$ctor.prototype = SVGDocumentWrappingImpl
ementation.prototype; |
| 9062 SVGDocumentWrappingImplementation.prototype.is$html_html_Element = function(){re
turn true}; |
| 9063 // ********** Code for _SVGClassSet ************** |
| 9064 $inherits(_SVGClassSet, _CssClassSet); |
| 9065 function _SVGClassSet(element) { |
| 9066 _CssClassSet.call(this, element); |
| 9067 } |
| 9068 _SVGClassSet.prototype._className = function() { |
| 9069 return this._htmlimpl_element.get$className().get$baseVal(); |
| 9070 } |
| 9071 _SVGClassSet.prototype._write = function(s) { |
| 9072 this._htmlimpl_element.get$className().set$baseVal(this._formatSet(s)); |
| 9073 } |
| 9074 // ********** Code for SVGElementInstanceWrappingImplementation ************** |
| 9075 $inherits(SVGElementInstanceWrappingImplementation, EventTargetWrappingImplement
ation); |
| 9076 function SVGElementInstanceWrappingImplementation() {} |
| 9077 SVGElementInstanceWrappingImplementation._wrap$ctor = function(ptr) { |
| 9078 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9079 } |
| 9080 SVGElementInstanceWrappingImplementation._wrap$ctor.prototype = SVGElementInstan
ceWrappingImplementation.prototype; |
| 9081 SVGElementInstanceWrappingImplementation.prototype.get$childNodes = function() { |
| 9082 return LevelDom.wrapSVGElementInstanceList(this._ptr.get$childNodes()); |
| 9083 } |
| 9084 SVGElementInstanceWrappingImplementation.prototype.get$firstChild = function() { |
| 9085 return LevelDom.wrapSVGElementInstance(this._ptr.get$firstChild()); |
| 9086 } |
| 9087 SVGElementInstanceWrappingImplementation.prototype.get$lastChild = function() { |
| 9088 return LevelDom.wrapSVGElementInstance(this._ptr.get$lastChild()); |
| 9089 } |
| 9090 SVGElementInstanceWrappingImplementation.prototype.get$parentNode = function() { |
| 9091 return LevelDom.wrapSVGElementInstance(this._ptr.get$parentNode()); |
| 9092 } |
| 9093 // ********** Code for SVGSVGElementWrappingImplementation ************** |
| 9094 $inherits(SVGSVGElementWrappingImplementation, SVGElementWrappingImplementation)
; |
| 9095 function SVGSVGElementWrappingImplementation() {} |
| 9096 SVGSVGElementWrappingImplementation._wrap$ctor = function(ptr) { |
| 9097 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9098 } |
| 9099 SVGSVGElementWrappingImplementation._wrap$ctor.prototype = SVGSVGElementWrapping
Implementation.prototype; |
| 9100 SVGSVGElementWrappingImplementation.prototype.is$html_html_Element = function(){
return true}; |
| 9101 SVGSVGElementWrappingImplementation.prototype.get$className = function() { |
| 9102 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className()); |
| 9103 } |
| 9104 // ********** Code for TextEventWrappingImplementation ************** |
| 9105 $inherits(TextEventWrappingImplementation, UIEventWrappingImplementation); |
| 9106 function TextEventWrappingImplementation() {} |
| 9107 TextEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 9108 UIEventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9109 } |
| 9110 TextEventWrappingImplementation._wrap$ctor.prototype = TextEventWrappingImplemen
tation.prototype; |
| 9111 // ********** Code for TouchEventWrappingImplementation ************** |
| 9112 $inherits(TouchEventWrappingImplementation, UIEventWrappingImplementation); |
| 9113 function TouchEventWrappingImplementation() {} |
| 9114 TouchEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 9115 UIEventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9116 } |
| 9117 TouchEventWrappingImplementation._wrap$ctor.prototype = TouchEventWrappingImplem
entation.prototype; |
| 9118 // ********** Code for TransitionEventWrappingImplementation ************** |
| 9119 $inherits(TransitionEventWrappingImplementation, EventWrappingImplementation); |
| 9120 function TransitionEventWrappingImplementation() {} |
| 9121 TransitionEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 9122 EventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9123 } |
| 9124 TransitionEventWrappingImplementation._wrap$ctor.prototype = TransitionEventWrap
pingImplementation.prototype; |
| 9125 // ********** Code for WebSocketWrappingImplementation ************** |
| 9126 $inherits(WebSocketWrappingImplementation, EventTargetWrappingImplementation); |
| 9127 function WebSocketWrappingImplementation() {} |
| 9128 WebSocketWrappingImplementation._wrap$ctor = function(ptr) { |
| 9129 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9130 } |
| 9131 WebSocketWrappingImplementation._wrap$ctor.prototype = WebSocketWrappingImplemen
tation.prototype; |
| 9132 WebSocketWrappingImplementation.prototype.set$onmessage = function(value) { |
| 9133 this._ptr.set$onmessage(LevelDom.unwrap(value)); |
| 9134 } |
| 9135 WebSocketWrappingImplementation.prototype.get$readyState = function() { |
| 9136 return this._ptr.get$readyState(); |
| 9137 } |
| 9138 WebSocketWrappingImplementation.prototype.get$typeName = function() { |
| 9139 return "WebSocket"; |
| 9140 } |
| 9141 // ********** Code for WheelEventWrappingImplementation ************** |
| 9142 $inherits(WheelEventWrappingImplementation, UIEventWrappingImplementation); |
| 9143 function WheelEventWrappingImplementation() {} |
| 9144 WheelEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 9145 UIEventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9146 } |
| 9147 WheelEventWrappingImplementation._wrap$ctor.prototype = WheelEventWrappingImplem
entation.prototype; |
| 9148 // ********** Code for WindowEventsImplementation ************** |
| 9149 $inherits(WindowEventsImplementation, EventsImplementation); |
| 9150 function WindowEventsImplementation() {} |
| 9151 WindowEventsImplementation._wrap$ctor = function(_ptr) { |
| 9152 EventsImplementation._wrap$ctor.call(this, _ptr); |
| 9153 } |
| 9154 WindowEventsImplementation._wrap$ctor.prototype = WindowEventsImplementation.pro
totype; |
| 9155 WindowEventsImplementation.prototype.get$click = function() { |
| 9156 return this._get("click"); |
| 9157 } |
| 9158 WindowEventsImplementation.prototype.get$contentLoaded = function() { |
| 9159 return this._get("DOMContentLoaded"); |
| 9160 } |
| 9161 WindowEventsImplementation.prototype.click$0 = function() { |
| 9162 return this.get$click().call$0(); |
| 9163 }; |
| 9164 // ********** Code for WindowWrappingImplementation ************** |
| 9165 $inherits(WindowWrappingImplementation, EventTargetWrappingImplementation); |
| 9166 function WindowWrappingImplementation() {} |
| 9167 WindowWrappingImplementation._wrap$ctor = function(ptr) { |
| 9168 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9169 } |
| 9170 WindowWrappingImplementation._wrap$ctor.prototype = WindowWrappingImplementation
.prototype; |
| 9171 WindowWrappingImplementation.prototype.get$length = function() { |
| 9172 return this._ptr.get$length(); |
| 9173 } |
| 9174 WindowWrappingImplementation.prototype.get$name = function() { |
| 9175 return this._ptr.get$name(); |
| 9176 } |
| 9177 WindowWrappingImplementation.prototype.set$onmessage = function(value) { |
| 9178 this._ptr.set$onmessage(LevelDom.unwrap(value)); |
| 9179 } |
| 9180 WindowWrappingImplementation.prototype.postMessage = function(message, messagePo
rt, targetOrigin) { |
| 9181 if (targetOrigin == null) { |
| 9182 if (messagePort == null) { |
| 9183 this._ptr.postMessage$1(message); |
| 9184 return; |
| 9185 } |
| 9186 else { |
| 9187 this._ptr.postMessage$2(message, messagePort); |
| 9188 return; |
| 9189 } |
| 9190 } |
| 9191 else { |
| 9192 this._ptr.postMessage$3(message, LevelDom.unwrap(messagePort), targetOrigin)
; |
| 9193 return; |
| 9194 } |
| 9195 $throw("Incorrect number or type of arguments"); |
| 9196 } |
| 9197 WindowWrappingImplementation.prototype.setTimeout = function(handler, timeout) { |
| 9198 return this._ptr.setTimeout$2(handler, timeout); |
| 9199 } |
| 9200 WindowWrappingImplementation.prototype.get$on = function() { |
| 9201 if (this._on == null) { |
| 9202 this._on = new WindowEventsImplementation._wrap$ctor(this._ptr); |
| 9203 } |
| 9204 return this._on; |
| 9205 } |
| 9206 WindowWrappingImplementation.prototype.postMessage$1 = WindowWrappingImplementat
ion.prototype.postMessage; |
| 9207 WindowWrappingImplementation.prototype.postMessage$2 = WindowWrappingImplementat
ion.prototype.postMessage; |
| 9208 WindowWrappingImplementation.prototype.postMessage$3 = WindowWrappingImplementat
ion.prototype.postMessage; |
| 9209 WindowWrappingImplementation.prototype.setTimeout$2 = function($0, $1) { |
| 9210 return this.setTimeout(to$call$0($0), $1); |
| 9211 }; |
| 9212 // ********** Code for WorkerWrappingImplementation ************** |
| 9213 $inherits(WorkerWrappingImplementation, EventTargetWrappingImplementation); |
| 9214 function WorkerWrappingImplementation() {} |
| 9215 WorkerWrappingImplementation._wrap$ctor = function(ptr) { |
| 9216 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9217 } |
| 9218 WorkerWrappingImplementation._wrap$ctor.prototype = WorkerWrappingImplementation
.prototype; |
| 9219 WorkerWrappingImplementation.prototype.postMessage = function(message, messagePo
rt) { |
| 9220 if (messagePort == null) { |
| 9221 this._ptr.postMessage$1(message); |
| 9222 return; |
| 9223 } |
| 9224 else { |
| 9225 this._ptr.postMessage$2(message, LevelDom.unwrap(messagePort)); |
| 9226 return; |
| 9227 } |
| 9228 } |
| 9229 WorkerWrappingImplementation.prototype.terminate = function() { |
| 9230 this._ptr.terminate$0(); |
| 9231 return; |
| 9232 } |
| 9233 WorkerWrappingImplementation.prototype.postMessage$1 = WorkerWrappingImplementat
ion.prototype.postMessage; |
| 9234 WorkerWrappingImplementation.prototype.postMessage$2 = WorkerWrappingImplementat
ion.prototype.postMessage; |
| 9235 WorkerWrappingImplementation.prototype.terminate$0 = WorkerWrappingImplementatio
n.prototype.terminate; |
| 9236 // ********** Code for XMLHttpRequestProgressEventWrappingImplementation *******
******* |
| 9237 $inherits(XMLHttpRequestProgressEventWrappingImplementation, ProgressEventWrappi
ngImplementation); |
| 9238 function XMLHttpRequestProgressEventWrappingImplementation() {} |
| 9239 XMLHttpRequestProgressEventWrappingImplementation._wrap$ctor = function(ptr) { |
| 9240 ProgressEventWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9241 } |
| 9242 XMLHttpRequestProgressEventWrappingImplementation._wrap$ctor.prototype = XMLHttp
RequestProgressEventWrappingImplementation.prototype; |
| 9243 // ********** Code for XMLHttpRequestUploadWrappingImplementation ************** |
| 9244 $inherits(XMLHttpRequestUploadWrappingImplementation, EventTargetWrappingImpleme
ntation); |
| 9245 function XMLHttpRequestUploadWrappingImplementation() {} |
| 9246 XMLHttpRequestUploadWrappingImplementation._wrap$ctor = function(ptr) { |
| 9247 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9248 } |
| 9249 XMLHttpRequestUploadWrappingImplementation._wrap$ctor.prototype = XMLHttpRequest
UploadWrappingImplementation.prototype; |
| 9250 // ********** Code for XMLHttpRequestWrappingImplementation ************** |
| 9251 $inherits(XMLHttpRequestWrappingImplementation, EventTargetWrappingImplementatio
n); |
| 9252 function XMLHttpRequestWrappingImplementation() {} |
| 9253 XMLHttpRequestWrappingImplementation._wrap$ctor = function(ptr) { |
| 9254 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr); |
| 9255 } |
| 9256 XMLHttpRequestWrappingImplementation._wrap$ctor.prototype = XMLHttpRequestWrappi
ngImplementation.prototype; |
| 9257 XMLHttpRequestWrappingImplementation.prototype.get$readyState = function() { |
| 9258 return this._ptr.get$readyState(); |
| 9259 } |
| 9260 // ********** Code for top level ************** |
| 9261 var _pendingRequests; |
| 9262 var _pendingMeasurementFrameCallbacks; |
| 9263 // ********** Library html ************** |
| 9264 // ********** Code for top level ************** |
| 9265 var secretWindow; |
| 9266 var secretDocument; |
| 9267 function html_get$window() { |
| 9268 if ($globals.secretWindow == null) { |
| 9269 LevelDom.initialize(); |
| 9270 } |
| 9271 return $globals.secretWindow; |
| 9272 } |
| 9273 function html_get$document() { |
| 9274 if ($globals.secretWindow == null) { |
| 9275 LevelDom.initialize(); |
| 9276 } |
| 9277 return $globals.secretDocument; |
| 9278 } |
| 9279 // ********** Library observable ************** |
| 9280 // ********** Code for top level ************** |
| 9281 // ********** Library utilslib ************** |
| 9282 // ********** Code for top level ************** |
| 9283 // ********** Library base ************** |
| 9284 // ********** Code for Dom ************** |
| 9285 function Dom() {} |
| 9286 Dom.ready = function(f) { |
| 9287 if (html_get$document().get$readyState() == "interactive" || html_get$document
().get$readyState() == "complete") { |
| 9288 html_get$window().setTimeout(f, (0)); |
| 9289 } |
| 9290 else { |
| 9291 html_get$window().get$on().get$contentLoaded().add((function (e) { |
| 9292 f.call$0(); |
| 9293 }) |
| 9294 , false); |
| 9295 } |
| 9296 } |
| 9297 // ********** Code for top level ************** |
| 9298 // ********** Library isolate_sample ************** |
| 9299 // ********** Code for MessageId ************** |
| 9300 function MessageId() {} |
| 9301 // ********** Code for IsolateSample ************** |
| 9302 function IsolateSample() { |
| 9303 this.chirpPort = ReceivePortFactory.ReceivePort$factory(); |
| 9304 this.ports = new HashMapImplementation(); |
| 9305 } |
| 9306 IsolateSample.prototype.createIsolate = function(name) { |
| 9307 var $this = this; // closure support |
| 9308 new DemoIsolate().spawn().then((function (port) { |
| 9309 var message = _map(["id", "init", "args", [name, $this.chirpPort]]); |
| 9310 port.call(message); |
| 9311 $this.ports.$setindex(name, port); |
| 9312 }) |
| 9313 ); |
| 9314 } |
| 9315 IsolateSample.prototype.ready = function() { |
| 9316 var $this = this; // closure support |
| 9317 html_get$document().query("#appTitle").set$text("Hello, isolates."); |
| 9318 html_get$document().query("#vmStatus").set$text(IsolateSample.isVm().toString$
0()); |
| 9319 var replyElement = html_get$document().query(".isolateMain .replyText"); |
| 9320 this.createIsolate("A"); |
| 9321 this.createIsolate("B"); |
| 9322 var $$list = html_get$document().queryAll(".sendButton"); |
| 9323 for (var $$i = $$list.iterator$0(); $$i.hasNext$0(); ) { |
| 9324 var element = $$i.next$0(); |
| 9325 element.get$on().get$click().add$1((function (e) { |
| 9326 replyElement.set$text("waiting for reply..."); |
| 9327 var buttonText = e.get$currentTarget().get$dynamic().get$attributes().$ind
ex("value"); |
| 9328 var isolateName = buttonText[buttonText.length - (1)]; |
| 9329 var greeting = html_get$document().query("#greetingText").get$dynamic().ge
t$value(); |
| 9330 var message = _map(["id", "greeting", "args", [greeting]]); |
| 9331 $this.ports.$index(isolateName).call$1(message).receive$1((function (msg,
replyTo) { |
| 9332 replyElement.set$text(msg); |
| 9333 }) |
| 9334 ); |
| 9335 }) |
| 9336 ); |
| 9337 } |
| 9338 this.chirpPort.receive((function (message, replyTo) { |
| 9339 replyElement.set$text(message); |
| 9340 }) |
| 9341 ); |
| 9342 } |
| 9343 IsolateSample.main = function() { |
| 9344 Dom.ready(function _() { |
| 9345 new IsolateSample().ready(); |
| 9346 } |
| 9347 ); |
| 9348 } |
| 9349 IsolateSample.isVm = function() { |
| 9350 return false; |
| 9351 } |
| 9352 // ********** Code for DemoIsolate ************** |
| 9353 $inherits(DemoIsolate, Isolate); |
| 9354 function DemoIsolate() { |
| 9355 Isolate.light$ctor.call(this); |
| 9356 } |
| 9357 DemoIsolate.prototype.main = function() { |
| 9358 var $this = this; // closure support |
| 9359 this.get$port().receive((function (message, replyTo) { |
| 9360 switch (message.$index("id")) { |
| 9361 case "init": |
| 9362 |
| 9363 $this.init(message.$index("args").$index((0)), message.$index("args").$i
ndex((1))); |
| 9364 break; |
| 9365 |
| 9366 case "greeting": |
| 9367 |
| 9368 $this.greeting(message.$index("args").$index((0)), replyTo); |
| 9369 break; |
| 9370 |
| 9371 } |
| 9372 }) |
| 9373 ); |
| 9374 } |
| 9375 DemoIsolate.prototype.init = function(isolateName_, chirpPort_) { |
| 9376 var $this = this; // closure support |
| 9377 this.isolateName = isolateName_; |
| 9378 this.chirpPort = chirpPort_; |
| 9379 this.div = ElementWrappingImplementation.ElementWrappingImplementation$tag$fac
tory("div"); |
| 9380 this.div.set$classes(["isolate", ("isolate" + this.isolateName)]); |
| 9381 this.div.set$innerHTML(html_get$document().query("#isolateTemplate").get$first
ElementChild().get$dynamic().get$innerHTML()); |
| 9382 this.div.query(".isolateName").set$text(this.isolateName); |
| 9383 html_get$document().query("#isolateParent").get$nodes().add$1(this.div); |
| 9384 this.div.query(".chirpButton").get$on().get$click().add$2(function _(event) { |
| 9385 $this.chirpPort.call("this is a chirp message from isolate " + $this.isolate
Name); |
| 9386 } |
| 9387 , false); |
| 9388 } |
| 9389 DemoIsolate.prototype.greeting = function(message, replyTo) { |
| 9390 var $this = this; // closure support |
| 9391 this.div.query(".messageBox").get$dynamic().set$innerHTML(("received message:
<span class='messageText'>'" + message + "'</span>")); |
| 9392 if (this.div.query(".replyCheckbox").get$dynamic().get$checked()) { |
| 9393 var element = this.div.query(".delayTextbox"); |
| 9394 var millis = Math.parseInt(element.get$value()); |
| 9395 html_get$window().setTimeout((function () { |
| 9396 replyTo.send(("this is a reply from isolate '" + $this.isolateName + "'"),
null); |
| 9397 }) |
| 9398 , millis); |
| 9399 } |
| 9400 } |
| 9401 // ********** Code for top level ************** |
| 9402 function main() { |
| 9403 IsolateSample.main(); |
| 9404 } |
| 9405 // ********** Generic Type Inheritance ************** |
| 9406 /** Implements extends for generic types. */ |
| 9407 function $inheritsMembers(child, parent) { |
| 9408 child = child.prototype; |
| 9409 parent = parent.prototype; |
| 9410 Object.getOwnPropertyNames(parent).forEach(function(name) { |
| 9411 if (typeof(child[name]) == 'undefined') child[name] = parent[name]; |
| 9412 }); |
| 9413 } |
| 9414 $inheritsMembers(_DoubleLinkedQueueEntrySentinel_E, DoubleLinkedQueueEntry_E); |
| 9415 $inheritsMembers(_DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V, DoubleLinkedQ
ueueEntry_KeyValuePair_K$V); |
| 9416 // 318 dynamic types. |
| 9417 // 502 types |
| 9418 // 41 !leaf |
| 9419 (function(){ |
| 9420 var v0/*CSSValueList*/ = 'CSSValueList|WebKitCSSFilterValue|WebKitCSSTransform
Value'; |
| 9421 var v1/*HTMLInputElement*/ = 'HTMLInputElement|HTMLIsIndexElement'; |
| 9422 var v2/*HTMLMediaElement*/ = 'HTMLMediaElement|HTMLAudioElement|HTMLVideoEleme
nt'; |
| 9423 var v3/*SVGGradientElement*/ = 'SVGGradientElement|SVGLinearGradientElement|SV
GRadialGradientElement'; |
| 9424 var v4/*SVGTextContentElement*/ = 'SVGTextContentElement|SVGTextPathElement|SV
GTextPositioningElement|SVGAltGlyphElement|SVGTRefElement|SVGTSpanElement|SVGTex
tElement'; |
| 9425 var v5/*HTMLElement*/ = [v1/*HTMLInputElement*/,v2/*HTMLMediaElement*/,'HTMLEl
ement|HTMLAnchorElement|HTMLAppletElement|HTMLAreaElement|HTMLBRElement|HTMLBase
Element|HTMLBaseFontElement|HTMLBodyElement|HTMLButtonElement|HTMLCanvasElement|
HTMLDListElement|HTMLDataListElement|HTMLDetailsElement|HTMLDirectoryElement|HTM
LDivElement|HTMLEmbedElement|HTMLFieldSetElement|HTMLFontElement|HTMLFormElement
|HTMLFrameElement|HTMLFrameSetElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingE
lement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLKeygenElement|HTML
LIElement|HTMLLabelElement|HTMLLegendElement|HTMLLinkElement|HTMLMapElement|HTML
MarqueeElement|HTMLMenuElement|HTMLMetaElement|HTMLMeterElement|HTMLModElement|H
TMLOListElement|HTMLObjectElement|HTMLOptGroupElement|HTMLOptionElement|HTMLOutp
utElement|HTMLParagraphElement|HTMLParamElement|HTMLPreElement|HTMLProgressEleme
nt|HTMLQuoteElement|HTMLScriptElement|HTMLSelectElement|HTMLSourceElement|HTMLSp
anElement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTabl
eColElement|HTMLTableElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTex
tAreaElement|HTMLTitleElement|HTMLTrackElement|HTMLUListElement|HTMLUnknownEleme
nt'].join('|'); |
| 9426 var v6/*SVGElement*/ = [v3/*SVGGradientElement*/,v4/*SVGTextContentElement*/,'
SVGElement|SVGAElement|SVGAltGlyphDefElement|SVGAltGlyphItemElement|SVGAnimation
Element|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElement|SVGAnim
ateTransformElement|SVGSetElement|SVGCircleElement|SVGClipPathElement|SVGCompone
ntTransferFunctionElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement|
SVGFEFuncRElement|SVGCursorElement|SVGDefsElement|SVGDescElement|SVGEllipseEleme
nt|SVGFEBlendElement|SVGFEColorMatrixElement|SVGFEComponentTransferElement|SVGFE
CompositeElement|SVGFEConvolveMatrixElement|SVGFEDiffuseLightingElement|SVGFEDis
placementMapElement|SVGFEDistantLightElement|SVGFEDropShadowElement|SVGFEFloodEl
ement|SVGFEGaussianBlurElement|SVGFEImageElement|SVGFEMergeElement|SVGFEMergeNod
eElement|SVGFEMorphologyElement|SVGFEOffsetElement|SVGFEPointLightElement|SVGFES
pecularLightingElement|SVGFESpotLightElement|SVGFETileElement|SVGFETurbulenceEle
ment|SVGFilterElement|SVGFontElement|SVGFontFaceElement|SVGFontFaceFormatElement
|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement|SVGForeignOb
jectElement|SVGGElement|SVGGlyphElement|SVGGlyphRefElement|SVGHKernElement|SVGIm
ageElement|SVGLineElement|SVGMPathElement|SVGMarkerElement|SVGMaskElement|SVGMet
adataElement|SVGMissingGlyphElement|SVGPathElement|SVGPatternElement|SVGPolygonE
lement|SVGPolylineElement|SVGRectElement|SVGSVGElement|SVGScriptElement|SVGStopE
lement|SVGStyleElement|SVGSwitchElement|SVGSymbolElement|SVGTitleElement|SVGUseE
lement|SVGVKernElement|SVGViewElement'].join('|'); |
| 9427 var v7/*CharacterData*/ = 'CharacterData|Comment|Text|CDATASection'; |
| 9428 var v8/*Document*/ = 'Document|HTMLDocument|SVGDocument'; |
| 9429 var v9/*Element*/ = [v5/*HTMLElement*/,v6/*SVGElement*/,'Element'].join('|'); |
| 9430 var table = [ |
| 9431 // [dynamic-dispatch-tag, tags of classes implementing dynamic-dispatch-tag] |
| 9432 ['AbstractWorker', 'AbstractWorker|SharedWorker|Worker'], |
| 9433 ['ArrayBufferView', 'ArrayBufferView|DataView|Float32Array|Float64Array|Int1
6Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array'], |
| 9434 ['AudioNode', 'AudioNode|AudioChannelMerger|AudioChannelSplitter|AudioDestin
ationNode|AudioGainNode|AudioPannerNode|AudioSourceNode|AudioBufferSourceNode|Me
diaElementAudioSourceNode|BiquadFilterNode|ConvolverNode|DelayNode|DynamicsCompr
essorNode|HighPass2FilterNode|JavaScriptAudioNode|LowPass2FilterNode|RealtimeAna
lyserNode|WaveShaperNode'], |
| 9435 ['AudioParam', 'AudioParam|AudioGain'], |
| 9436 ['Blob', 'Blob|File'], |
| 9437 ['CSSRule', 'CSSRule|CSSCharsetRule|CSSFontFaceRule|CSSImportRule|CSSMediaRu
le|CSSPageRule|CSSStyleRule|CSSUnknownRule|WebKitCSSKeyframeRule|WebKitCSSKeyfra
mesRule'], |
| 9438 ['CSSValueList', v0/*CSSValueList*/], |
| 9439 ['CSSValue', [v0/*CSSValueList*/,'CSSValue|CSSPrimitiveValue|SVGColor|SVGPai
nt'].join('|')], |
| 9440 ['CanvasRenderingContext', 'CanvasRenderingContext|CanvasRenderingContext2D|
WebGLRenderingContext'], |
| 9441 ['CharacterData', v7/*CharacterData*/], |
| 9442 ['DOMTokenList', 'DOMTokenList|DOMSettableTokenList'], |
| 9443 ['DOMWindow', 'DOMWindow|Window'], |
| 9444 ['Document', v8/*Document*/], |
| 9445 ['HTMLInputElement', v1/*HTMLInputElement*/], |
| 9446 ['HTMLMediaElement', v2/*HTMLMediaElement*/], |
| 9447 ['HTMLElement', v5/*HTMLElement*/], |
| 9448 ['SVGGradientElement', v3/*SVGGradientElement*/], |
| 9449 ['SVGTextContentElement', v4/*SVGTextContentElement*/], |
| 9450 ['SVGElement', v6/*SVGElement*/], |
| 9451 ['Element', v9/*Element*/], |
| 9452 ['Entry', 'Entry|DirectoryEntry|FileEntry'], |
| 9453 ['EntrySync', 'EntrySync|DirectoryEntrySync|FileEntrySync'], |
| 9454 ['Event', 'Event|AudioProcessingEvent|BeforeLoadEvent|CloseEvent|CustomEvent
|DeviceMotionEvent|DeviceOrientationEvent|ErrorEvent|HashChangeEvent|IDBVersionC
hangeEvent|MessageEvent|MutationEvent|OfflineAudioCompletionEvent|OverflowEvent|
PageTransitionEvent|PopStateEvent|ProgressEvent|XMLHttpRequestProgressEvent|Spee
chInputEvent|StorageEvent|TrackEvent|UIEvent|CompositionEvent|KeyboardEvent|Mous
eEvent|SVGZoomEvent|TextEvent|TouchEvent|WheelEvent|WebGLContextEvent|WebKitAnim
ationEvent|WebKitTransitionEvent'], |
| 9455 ['HTMLCollection', 'HTMLCollection|HTMLOptionsCollection|HTMLPropertiesColle
ction'], |
| 9456 ['IDBCursor', 'IDBCursor|IDBCursorWithValue'], |
| 9457 ['IDBRequest', 'IDBRequest|IDBVersionChangeRequest'], |
| 9458 ['Node', [v7/*CharacterData*/,v8/*Document*/,v9/*Element*/,'Node|Attr|Docume
ntFragment|DocumentType|Entity|EntityReference|Notation|ProcessingInstruction'].
join('|')], |
| 9459 ['SVGLocatable', 'SVGLocatable|SVGTransformable'], |
| 9460 ['SVGPathSeg', 'SVGPathSeg|SVGPathSegArcAbs|SVGPathSegArcRel|SVGPathSegClose
Path|SVGPathSegCurvetoCubicAbs|SVGPathSegCurvetoCubicRel|SVGPathSegCurvetoCubicS
moothAbs|SVGPathSegCurvetoCubicSmoothRel|SVGPathSegCurvetoQuadraticAbs|SVGPathSe
gCurvetoQuadraticRel|SVGPathSegCurvetoQuadraticSmoothAbs|SVGPathSegCurvetoQuadra
ticSmoothRel|SVGPathSegLinetoAbs|SVGPathSegLinetoHorizontalAbs|SVGPathSegLinetoH
orizontalRel|SVGPathSegLinetoRel|SVGPathSegLinetoVerticalAbs|SVGPathSegLinetoVer
ticalRel|SVGPathSegMovetoAbs|SVGPathSegMovetoRel'], |
| 9461 ['SVGStylable', 'SVGStylable|SVGFilterPrimitiveStandardAttributes'], |
| 9462 ['SVGZoomAndPan', 'SVGZoomAndPan|SVGViewSpec'], |
| 9463 ['StyleSheet', 'StyleSheet|CSSStyleSheet'], |
| 9464 ['WorkerContext', 'WorkerContext|DedicatedWorkerContext|SharedWorkercontext'
], |
| 9465 ]; |
| 9466 $dynamicSetMetadata(table); |
| 9467 })(); |
| 9468 // ********** Globals ************** |
| 9469 function $static_init(){ |
| 9470 $globals.ReceivePortImpl__nextFreeId = (1); |
| 9471 } |
| 9472 var const$0001 = Object.create(_DeletedKeySentinel.prototype, {}); |
| 9473 var const$0002 = Object.create(EmptyQueueException.prototype, {}); |
| 9474 var const$0003 = Object.create(NoMoreElementsException.prototype, {}); |
| 9475 var const$0004 = Object.create(UnsupportedOperationException.prototype, {_messag
e: {"value": "", writeable: false}, }); |
| 9476 var const$0005 = Object.create(IllegalAccessException.prototype, {}); |
| 9477 var const$0006 = _constMap([]); |
| 9478 startRootIsolate(main); |
OLD | NEW |