Skip to content

Instantly share code, notes, and snippets.

@adam-singer
Forked from ltackmann/SVGSamples.dart
Created February 27, 2012 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adam-singer/1925967 to your computer and use it in GitHub Desktop.
Save adam-singer/1925967 to your computer and use it in GitHub Desktop.
SVG in Dart
FROGC=/dart/dart-sdk/bin/frogc
$FROGC --compile-only --out=SVGSamples.dart.js SVGSamples.dart
#import('dart:html');
class SVGSamples {
void run() {
drawlines();
}
void drawlines() {
final int maxY = 250;
final int maxX = 500;
final int step = 10;
var svgGroup = new SVGElement.tag("g");
svgGroup.attributes["transform"] = "translate(0,$maxY) scale(1,-1)";
for(int i=0; i<(maxX/step); i++) {
var xAxis = new SVGElement.tag("line");
xAxis.attributes = {
"x1": i*step,
"y1": 0,
"x2": i*step,
"y2": (i%10 == 0 ? 16 : 8),
"stroke": (i%10 == 0 ? "#8cf" : "blue"),
"stroke-width": "1"
};
svgGroup.nodes.add(xAxis);
}
for(int i=0; i<(maxY/step); i++) {
var yAxis = new SVGElement.tag("line");
yAxis.attributes = {
"x1": 0,
"y1": i*step,
"x2": (i%10 == 0 ? 16 : 8),
"y2": i*step,
"stroke": (i%10 == 0 ? "#8cf" : "blue"),
"stroke-width": "1"
};
svgGroup.nodes.add(yAxis);
}
var svg = new SVGElement.tag("svg");
svg.nodes.add(svgGroup);
svg.attributes = {
"height": maxY,
"width": maxX,
"version": "1.1"
};
document.query("#container").nodes.add(svg);
}
}
void main() {
new SVGSamples().run();
}
// ********** Library dart:core **************
// ********** Natives dart:core **************
function $defProp(obj, prop, value) {
Object.defineProperty(obj, prop,
{value: value, enumerable: false, writable: true, configurable: true});
}
$defProp(Object.prototype, '$typeNameOf', function() {
var constructor = this.constructor;
if (typeof(constructor) == 'function') {
// The constructor isn't null or undefined at this point. Try
// to grab hold of its name.
var name = constructor.name;
// If the name is a non-empty string, we use that as the type
// name of this object. On Firefox, we often get 'Object' as
// the constructor name even for more specialized objects so
// we have to fall through to the toString() based implementation
// below in that case.
if (name && typeof(name) == 'string' && name != 'Object') return name;
}
var string = Object.prototype.toString.call(this);
var name = string.substring(8, string.length - 1);
if (name == 'Window') {
name = 'DOMWindow';
} else if (name == 'Document') {
name = 'HTMLDocument';
}
return name;
});
function $throw(e) {
// If e is not a value, we can use V8's captureStackTrace utility method.
// TODO(jmesserly): capture the stack trace on other JS engines.
if (e && (typeof e == 'object') && Error.captureStackTrace) {
// TODO(jmesserly): this will clobber the e.stack property
Error.captureStackTrace(e, $throw);
}
throw e;
}
$defProp(Object.prototype, '$index', function(i) {
$throw(new NoSuchMethodException(this, "operator []", [i]));
});
$defProp(Array.prototype, '$index', function(index) {
var i = index | 0;
if (i !== index) {
throw new IllegalArgumentException('index is not int');
} else if (i < 0 || i >= this.length) {
throw new IndexOutOfRangeException(index);
}
return this[i];
});
$defProp(String.prototype, '$index', function(i) {
return this[i];
});
$defProp(Object.prototype, '$setindex', function(i, value) {
$throw(new NoSuchMethodException(this, "operator []=", [i, value]));
});
$defProp(Array.prototype, '$setindex', function(index, value) {
var i = index | 0;
if (i !== index) {
throw new IllegalArgumentException('index is not int');
} else if (i < 0 || i >= this.length) {
throw new IndexOutOfRangeException(index);
}
return this[i] = value;
});
function $$add$complex(x, y) {
if (typeof(x) == 'number') {
$throw(new IllegalArgumentException(y));
} else if (typeof(x) == 'string') {
var str = (y == null) ? 'null' : y.toString();
if (typeof(str) != 'string') {
throw new Error("calling toString() on right hand operand of operator " +
"+ did not return a String");
}
return x + str;
} else if (typeof(x) == 'object') {
return x.$add(y);
} else {
$throw(new NoSuchMethodException(x, "operator +", [y]));
}
}
function $$add(x, y) {
if (typeof(x) == 'number' && typeof(y) == 'number') return x + y;
return $$add$complex(x, y);
}
function $$eq(x, y) {
if (x == null) return y == null;
return (typeof(x) != 'object') ? x === y : x.$eq(y);
}
// TODO(jimhug): Should this or should it not match equals?
$defProp(Object.prototype, '$eq', function(other) {
return this === other;
});
function $$mod(x, y) {
if (typeof(x) == 'number') {
if (typeof(y) == 'number') {
var result = x % y;
if (result == 0) {
return 0; // Make sure we don't return -0.0.
} else if (result < 0) {
if (y < 0) {
return result - y;
} else {
return result + y;
}
}
return result;
} else {
$throw(new IllegalArgumentException(y));
}
} else if (typeof(x) == 'object') {
return x.$mod(y);
} else {
$throw(new NoSuchMethodException(x, "operator %", [y]));
}
}
function $$ne(x, y) {
if (x == null) return y != null;
return (typeof(x) != 'object') ? x !== y : !x.$eq(y);
}
function $$truncdiv(x, y) {
if (typeof(x) == 'number') {
if (typeof(y) == 'number') {
if (y == 0) $throw(new IntegerDivisionByZeroException());
var tmp = x / y;
return (tmp < 0) ? Math.ceil(tmp) : Math.floor(tmp);
} else {
$throw(new IllegalArgumentException(y));
}
} else if (typeof(x) == 'object') {
return x.$truncdiv(y);
} else {
$throw(new NoSuchMethodException(x, "operator ~/", [y]));
}
}
$defProp(Object.prototype, "get$typeName", Object.prototype.$typeNameOf);
// ********** Code for Object **************
$defProp(Object.prototype, "get$dynamic", function() {
"use strict"; return this;
});
$defProp(Object.prototype, "is$Collection", function() {
return false;
});
$defProp(Object.prototype, "is$List", function() {
return false;
});
$defProp(Object.prototype, "is$Map", function() {
return false;
});
// ********** Code for IndexOutOfRangeException **************
function IndexOutOfRangeException(_index) {
this._index = _index;
}
IndexOutOfRangeException.prototype.is$IndexOutOfRangeException = function(){return true};
IndexOutOfRangeException.prototype.toString = function() {
return ("IndexOutOfRangeException: " + this._index);
}
// ********** Code for IllegalAccessException **************
function IllegalAccessException() {
}
IllegalAccessException.prototype.toString = function() {
return "Attempt to modify an immutable object";
}
// ********** Code for NoSuchMethodException **************
function NoSuchMethodException(_receiver, _functionName, _arguments, _existingArgumentNames) {
this._receiver = _receiver;
this._functionName = _functionName;
this._arguments = _arguments;
this._existingArgumentNames = _existingArgumentNames;
}
NoSuchMethodException.prototype.is$NoSuchMethodException = function(){return true};
NoSuchMethodException.prototype.toString = function() {
var sb = new StringBufferImpl("");
for (var i = (0);
i < this._arguments.get$length(); i++) {
if (i > (0)) {
sb.add(", ");
}
sb.add(this._arguments.$index(i));
}
if (null == this._existingArgumentNames) {
return $$add($$add(("NoSuchMethodException : method not found: '" + this._functionName + "'\n"), ("Receiver: " + this._receiver + "\n")), ("Arguments: [" + sb + "]"));
}
else {
var actualParameters = sb.toString();
sb = new StringBufferImpl("");
for (var i = (0);
i < this._existingArgumentNames.get$length(); i++) {
if (i > (0)) {
sb.add(", ");
}
sb.add(this._existingArgumentNames.$index(i));
}
var formalParameters = sb.toString();
return $$add($$add($$add("NoSuchMethodException: incorrect number of arguments passed to ", ("method named '" + this._functionName + "'\nReceiver: " + this._receiver + "\n")), ("Tried calling: " + this._functionName + "(" + actualParameters + ")\n")), ("Found: " + this._functionName + "(" + formalParameters + ")"));
}
}
// ********** Code for ClosureArgumentMismatchException **************
function ClosureArgumentMismatchException() {
}
ClosureArgumentMismatchException.prototype.toString = function() {
return "Closure argument mismatch";
}
// ********** Code for IllegalArgumentException **************
function IllegalArgumentException(arg) {
this._arg = arg;
}
IllegalArgumentException.prototype.is$IllegalArgumentException = function(){return true};
IllegalArgumentException.prototype.toString = function() {
return ("Illegal argument(s): " + this._arg);
}
// ********** Code for NoMoreElementsException **************
function NoMoreElementsException() {
}
NoMoreElementsException.prototype.toString = function() {
return "NoMoreElementsException";
}
// ********** Code for EmptyQueueException **************
function EmptyQueueException() {
}
EmptyQueueException.prototype.toString = function() {
return "EmptyQueueException";
}
// ********** Code for UnsupportedOperationException **************
function UnsupportedOperationException(_message) {
this._message = _message;
}
UnsupportedOperationException.prototype.toString = function() {
return ("UnsupportedOperationException: " + this._message);
}
// ********** Code for IntegerDivisionByZeroException **************
function IntegerDivisionByZeroException() {
}
IntegerDivisionByZeroException.prototype.is$IntegerDivisionByZeroException = function(){return true};
IntegerDivisionByZeroException.prototype.toString = function() {
return "IntegerDivisionByZeroException";
}
// ********** Code for dart_core_Function **************
Function.prototype.to$call$0 = function() {
this.call$0 = this._genStub(0);
this.to$call$0 = function() { return this.call$0; };
return this.call$0;
};
Function.prototype.call$0 = function() {
return this.to$call$0()();
};
function to$call$0(f) { return f && f.to$call$0(); }
Function.prototype.to$call$1 = function() {
this.call$1 = this._genStub(1);
this.to$call$1 = function() { return this.call$1; };
return this.call$1;
};
Function.prototype.call$1 = function($0) {
return this.to$call$1()($0);
};
function to$call$1(f) { return f && f.to$call$1(); }
Function.prototype.to$call$2 = function() {
this.call$2 = this._genStub(2);
this.to$call$2 = function() { return this.call$2; };
return this.call$2;
};
Function.prototype.call$2 = function($0, $1) {
return this.to$call$2()($0, $1);
};
function to$call$2(f) { return f && f.to$call$2(); }
// ********** Code for top level **************
// ********** Library dart:coreimpl **************
// ********** Code for ListFactory **************
ListFactory = Array;
$defProp(ListFactory.prototype, "is$List", function(){return true});
$defProp(ListFactory.prototype, "is$Collection", function(){return true});
$defProp(ListFactory.prototype, "get$length", function() { return this.length; });
$defProp(ListFactory.prototype, "set$length", function(value) { return this.length = value; });
$defProp(ListFactory.prototype, "add", function(value) {
this.push(value);
});
$defProp(ListFactory.prototype, "clear", function() {
this.set$length((0));
});
$defProp(ListFactory.prototype, "removeLast", function() {
return this.pop();
});
$defProp(ListFactory.prototype, "iterator", function() {
return new ListIterator(this);
});
$defProp(ListFactory.prototype, "toString", function() {
return Collections.collectionToString(this);
});
// ********** Code for ListIterator **************
function ListIterator(array) {
this._array = array;
this._pos = (0);
}
ListIterator.prototype.hasNext = function() {
return this._array.get$length() > this._pos;
}
ListIterator.prototype.next = function() {
if (!this.hasNext()) {
$throw(const$0001);
}
return this._array.$index(this._pos++);
}
// ********** Code for ImmutableMap **************
function ImmutableMap(keyValuePairs) {
this._internal = _map(keyValuePairs);
}
ImmutableMap.prototype.is$Map = function(){return true};
ImmutableMap.prototype.$index = function(key) {
return this._internal.$index(key);
}
ImmutableMap.prototype.get$length = function() {
return this._internal.get$length();
}
ImmutableMap.prototype.forEach = function(f) {
this._internal.forEach(f);
}
ImmutableMap.prototype.getKeys = function() {
return this._internal.getKeys();
}
ImmutableMap.prototype.containsKey = function(key) {
return this._internal.containsKey(key);
}
ImmutableMap.prototype.$setindex = function(key, value) {
$throw(const$0003);
}
ImmutableMap.prototype.clear = function() {
$throw(const$0003);
}
ImmutableMap.prototype.toString = function() {
return Maps.mapToString(this);
}
// ********** Code for NumImplementation **************
NumImplementation = Number;
NumImplementation.prototype.hashCode = function() {
'use strict'; return this & 0x1FFFFFFF;
}
// ********** Code for Collections **************
function Collections() {}
Collections.collectionToString = function(c) {
var result = new StringBufferImpl("");
Collections._emitCollection(c, result, new Array());
return result.toString();
}
Collections._emitCollection = function(c, result, visiting) {
visiting.add(c);
var isList = !!(c && c.is$List());
result.add(isList ? "[" : "{");
var first = true;
for (var $$i = c.iterator(); $$i.hasNext(); ) {
var e = $$i.next();
if (!first) {
result.add(", ");
}
first = false;
Collections._emitObject(e, result, visiting);
}
result.add(isList ? "]" : "}");
visiting.removeLast();
}
Collections._emitObject = function(o, result, visiting) {
if (!!(o && o.is$Collection())) {
if (Collections._containsRef(visiting, o)) {
result.add(!!(o && o.is$List()) ? "[...]" : "{...}");
}
else {
Collections._emitCollection(o, result, visiting);
}
}
else if (!!(o && o.is$Map())) {
if (Collections._containsRef(visiting, o)) {
result.add("{...}");
}
else {
Maps._emitMap(o, result, visiting);
}
}
else {
result.add($$eq(o) ? "null" : o);
}
}
Collections._containsRef = function(c, ref) {
for (var $$i = c.iterator(); $$i.hasNext(); ) {
var e = $$i.next();
if ((null == e ? null == (ref) : e === ref)) return true;
}
return false;
}
// ********** Code for HashMapImplementation **************
function HashMapImplementation() {}
HashMapImplementation.prototype.is$Map = function(){return true};
HashMapImplementation._computeLoadLimit = function(capacity) {
return $$truncdiv((capacity * (3)), (4));
}
HashMapImplementation._firstProbe = function(hashCode, length) {
return hashCode & (length - (1));
}
HashMapImplementation._nextProbe = function(currentProbe, numberOfProbes, length) {
return (currentProbe + numberOfProbes) & (length - (1));
}
HashMapImplementation.prototype._probeForAdding = function(key) {
var hash = HashMapImplementation._firstProbe(key.hashCode(), this._keys.get$length());
var numberOfProbes = (1);
var initialHash = hash;
var insertionIndex = (-1);
while (true) {
var existingKey = this._keys.$index(hash);
if (null == existingKey) {
if (insertionIndex < (0)) return hash;
return insertionIndex;
}
else if ($$eq(existingKey, key)) {
return hash;
}
else if ((insertionIndex < (0)) && ((null == const$0000 ? null == (existingKey) : const$0000 === existingKey))) {
insertionIndex = hash;
}
hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.get$length());
}
}
HashMapImplementation.prototype._probeForLookup = function(key) {
var hash = HashMapImplementation._firstProbe(key.hashCode(), this._keys.get$length());
var numberOfProbes = (1);
var initialHash = hash;
while (true) {
var existingKey = this._keys.$index(hash);
if (null == existingKey) return (-1);
if ($$eq(existingKey, key)) return hash;
hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.get$length());
}
}
HashMapImplementation.prototype._ensureCapacity = function() {
var newNumberOfEntries = this._numberOfEntries + (1);
if (newNumberOfEntries >= this._loadLimit) {
this._grow(this._keys.get$length() * (2));
return;
}
var capacity = this._keys.get$length();
var numberOfFreeOrDeleted = capacity - newNumberOfEntries;
var numberOfFree = numberOfFreeOrDeleted - this._numberOfDeleted;
if (this._numberOfDeleted > numberOfFree) {
this._grow(this._keys.get$length());
}
}
HashMapImplementation._isPowerOfTwo = function(x) {
return ((x & (x - (1))) == (0));
}
HashMapImplementation.prototype._grow = function(newCapacity) {
var capacity = this._keys.get$length();
this._loadLimit = HashMapImplementation._computeLoadLimit(newCapacity);
var oldKeys = this._keys;
var oldValues = this._values;
this._keys = new Array(newCapacity);
this._values = new Array(newCapacity);
for (var i = (0);
i < capacity; i++) {
var key = oldKeys.$index(i);
if (null == key || (null == key ? null == (const$0000) : key === const$0000)) {
continue;
}
var value = oldValues.$index(i);
var newIndex = this._probeForAdding(key);
this._keys.$setindex(newIndex, key);
this._values.$setindex(newIndex, value);
}
this._numberOfDeleted = (0);
}
HashMapImplementation.prototype.clear = function() {
this._numberOfEntries = (0);
this._numberOfDeleted = (0);
var length = this._keys.get$length();
for (var i = (0);
i < length; i++) {
this._keys.$setindex(i);
this._values.$setindex(i);
}
}
HashMapImplementation.prototype.$setindex = function(key, value) {
var $0;
this._ensureCapacity();
var index = this._probeForAdding(key);
if ((null == this._keys.$index(index)) || ((($0 = this._keys.$index(index)) == null ? null == (const$0000) : $0 === const$0000))) {
this._numberOfEntries++;
}
this._keys.$setindex(index, key);
this._values.$setindex(index, value);
}
HashMapImplementation.prototype.$index = function(key) {
var index = this._probeForLookup(key);
if (index < (0)) return null;
return this._values.$index(index);
}
HashMapImplementation.prototype.get$length = function() {
return this._numberOfEntries;
}
HashMapImplementation.prototype.forEach = function(f) {
var length = this._keys.get$length();
for (var i = (0);
i < length; i++) {
var key = this._keys.$index(i);
if ((null != key) && ((null == key ? null != (const$0000) : key !== const$0000))) {
f(key, this._values.$index(i));
}
}
}
HashMapImplementation.prototype.getKeys = function() {
var list = new Array(this.get$length());
var i = (0);
this.forEach(function _(key, value) {
list.$setindex(i++, key);
}
);
return list;
}
HashMapImplementation.prototype.containsKey = function(key) {
return (this._probeForLookup(key) != (-1));
}
HashMapImplementation.prototype.toString = function() {
return Maps.mapToString(this);
}
// ********** Code for HashMapImplementation_Dynamic$DoubleLinkedQueueEntry_KeyValuePair **************
/** Implements extends for Dart classes on JavaScript prototypes. */
function $inherits(child, parent) {
if (child.prototype.__proto__) {
child.prototype.__proto__ = parent.prototype;
} else {
function tmp() {};
tmp.prototype = parent.prototype;
child.prototype = new tmp();
child.prototype.constructor = child;
}
}
$inherits(HashMapImplementation_Dynamic$DoubleLinkedQueueEntry_KeyValuePair, HashMapImplementation);
function HashMapImplementation_Dynamic$DoubleLinkedQueueEntry_KeyValuePair() {
this._numberOfEntries = (0);
this._numberOfDeleted = (0);
this._loadLimit = HashMapImplementation._computeLoadLimit((8));
this._keys = new Array((8));
this._values = new Array((8));
}
HashMapImplementation_Dynamic$DoubleLinkedQueueEntry_KeyValuePair.prototype.is$Map = function(){return true};
// ********** Code for HashSetImplementation **************
function HashSetImplementation() {}
HashSetImplementation.prototype.is$Collection = function(){return true};
HashSetImplementation.prototype.get$length = function() {
return this._backingMap.get$length();
}
HashSetImplementation.prototype.iterator = function() {
return new HashSetIterator(this);
}
HashSetImplementation.prototype.toString = function() {
return Collections.collectionToString(this);
}
// ********** Code for HashSetIterator **************
function HashSetIterator(set_) {
this._entries = set_._backingMap._keys;
this._nextValidIndex = (-1);
this._advance();
}
HashSetIterator.prototype.hasNext = function() {
var $0;
if (this._nextValidIndex >= this._entries.get$length()) return false;
if ((($0 = this._entries.$index(this._nextValidIndex)) == null ? null == (const$0000) : $0 === const$0000)) {
this._advance();
}
return this._nextValidIndex < this._entries.get$length();
}
HashSetIterator.prototype.next = function() {
if (!this.hasNext()) {
$throw(const$0001);
}
var res = this._entries.$index(this._nextValidIndex);
this._advance();
return res;
}
HashSetIterator.prototype._advance = function() {
var length = this._entries.get$length();
var entry;
var deletedKey = const$0000;
do {
if (++this._nextValidIndex >= length) break;
entry = this._entries.$index(this._nextValidIndex);
}
while ((null == entry) || ((null == entry ? null == (deletedKey) : entry === deletedKey)))
}
// ********** Code for _DeletedKeySentinel **************
function _DeletedKeySentinel() {
}
// ********** Code for KeyValuePair **************
function KeyValuePair(key, value) {
this.key = key;
this.value = value;
}
KeyValuePair.prototype.get$value = function() { return this.value; };
KeyValuePair.prototype.set$value = function(value) { return this.value = value; };
// ********** Code for LinkedHashMapImplementation **************
function LinkedHashMapImplementation() {
this._map = new HashMapImplementation_Dynamic$DoubleLinkedQueueEntry_KeyValuePair();
this._list = new DoubleLinkedQueue_KeyValuePair();
}
LinkedHashMapImplementation.prototype.is$Map = function(){return true};
LinkedHashMapImplementation.prototype.$setindex = function(key, value) {
if (this._map.containsKey(key)) {
this._map.$index(key).get$element().set$value(value);
}
else {
this._list.addLast(new KeyValuePair(key, value));
this._map.$setindex(key, this._list.lastEntry());
}
}
LinkedHashMapImplementation.prototype.$index = function(key) {
var entry = this._map.$index(key);
if (null == entry) return null;
return entry.get$element().get$value();
}
LinkedHashMapImplementation.prototype.getKeys = function() {
var list = new Array(this.get$length());
var index = (0);
this._list.forEach(function _(entry) {
list.$setindex(index++, entry.key);
}
);
return list;
}
LinkedHashMapImplementation.prototype.forEach = function(f) {
this._list.forEach(function _(entry) {
f(entry.key, entry.value);
}
);
}
LinkedHashMapImplementation.prototype.containsKey = function(key) {
return this._map.containsKey(key);
}
LinkedHashMapImplementation.prototype.get$length = function() {
return this._map.get$length();
}
LinkedHashMapImplementation.prototype.clear = function() {
this._map.clear();
this._list.clear();
}
LinkedHashMapImplementation.prototype.toString = function() {
return Maps.mapToString(this);
}
// ********** Code for Maps **************
function Maps() {}
Maps.mapToString = function(m) {
var result = new StringBufferImpl("");
Maps._emitMap(m, result, new Array());
return result.toString();
}
Maps._emitMap = function(m, result, visiting) {
visiting.add(m);
result.add("{");
var first = true;
m.forEach((function (k, v) {
if (!first) {
result.add(", ");
}
first = false;
Collections._emitObject(k, result, visiting);
result.add(": ");
Collections._emitObject(v, result, visiting);
})
);
result.add("}");
visiting.removeLast();
}
// ********** Code for DoubleLinkedQueueEntry **************
function DoubleLinkedQueueEntry(e) {
this._element = e;
}
DoubleLinkedQueueEntry.prototype._link = function(p, n) {
this._next = n;
this._previous = p;
p._next = this;
n._previous = this;
}
DoubleLinkedQueueEntry.prototype.prepend = function(e) {
new DoubleLinkedQueueEntry(e)._link(this._previous, this);
}
DoubleLinkedQueueEntry.prototype._asNonSentinelEntry = function() {
return this;
}
DoubleLinkedQueueEntry.prototype.previousEntry = function() {
return this._previous._asNonSentinelEntry();
}
DoubleLinkedQueueEntry.prototype.get$element = function() {
return this._element;
}
// ********** Code for DoubleLinkedQueueEntry_KeyValuePair **************
$inherits(DoubleLinkedQueueEntry_KeyValuePair, DoubleLinkedQueueEntry);
function DoubleLinkedQueueEntry_KeyValuePair(e) {
this._element = e;
}
// ********** Code for _DoubleLinkedQueueEntrySentinel **************
$inherits(_DoubleLinkedQueueEntrySentinel, DoubleLinkedQueueEntry);
function _DoubleLinkedQueueEntrySentinel() {}
_DoubleLinkedQueueEntrySentinel.prototype._asNonSentinelEntry = function() {
return null;
}
_DoubleLinkedQueueEntrySentinel.prototype.get$element = function() {
$throw(const$0002);
}
// ********** Code for _DoubleLinkedQueueEntrySentinel_KeyValuePair **************
$inherits(_DoubleLinkedQueueEntrySentinel_KeyValuePair, _DoubleLinkedQueueEntrySentinel);
function _DoubleLinkedQueueEntrySentinel_KeyValuePair() {
DoubleLinkedQueueEntry_KeyValuePair.call(this, null);
this._link(this, this);
}
// ********** Code for DoubleLinkedQueue **************
function DoubleLinkedQueue() {}
DoubleLinkedQueue.prototype.is$Collection = function(){return true};
DoubleLinkedQueue.prototype.addLast = function(value) {
this._sentinel.prepend(value);
}
DoubleLinkedQueue.prototype.lastEntry = function() {
return this._sentinel.previousEntry();
}
DoubleLinkedQueue.prototype.get$length = function() {
var counter = (0);
this.forEach(function _(element) {
counter++;
}
);
return counter;
}
DoubleLinkedQueue.prototype.clear = function() {
this._sentinel._next = this._sentinel;
this._sentinel._previous = this._sentinel;
}
DoubleLinkedQueue.prototype.forEach = function(f) {
var entry = this._sentinel._next;
while ((null == entry ? null != (this._sentinel) : entry !== this._sentinel)) {
var nextEntry = entry._next;
f(entry._element);
entry = nextEntry;
}
}
DoubleLinkedQueue.prototype.iterator = function() {
return new _DoubleLinkedQueueIterator(this._sentinel);
}
DoubleLinkedQueue.prototype.toString = function() {
return Collections.collectionToString(this);
}
// ********** Code for DoubleLinkedQueue_KeyValuePair **************
$inherits(DoubleLinkedQueue_KeyValuePair, DoubleLinkedQueue);
function DoubleLinkedQueue_KeyValuePair() {
this._sentinel = new _DoubleLinkedQueueEntrySentinel_KeyValuePair();
}
DoubleLinkedQueue_KeyValuePair.prototype.is$Collection = function(){return true};
// ********** Code for _DoubleLinkedQueueIterator **************
function _DoubleLinkedQueueIterator(_sentinel) {
this._sentinel = _sentinel;
this._currentEntry = this._sentinel;
}
_DoubleLinkedQueueIterator.prototype.hasNext = function() {
var $0;
return (($0 = this._currentEntry._next) == null ? null != (this._sentinel) : $0 !== this._sentinel);
}
_DoubleLinkedQueueIterator.prototype.next = function() {
if (!this.hasNext()) {
$throw(const$0001);
}
this._currentEntry = this._currentEntry._next;
return this._currentEntry.get$element();
}
// ********** Code for StringBufferImpl **************
function StringBufferImpl(content) {
this.clear();
this.add(content);
}
StringBufferImpl.prototype.get$length = function() {
return this._length;
}
StringBufferImpl.prototype.add = function(obj) {
var str = obj.toString();
if (null == str || str.isEmpty()) return this;
this._buffer.add(str);
this._length = this._length + str.length;
return this;
}
StringBufferImpl.prototype.clear = function() {
this._buffer = new Array();
this._length = (0);
return this;
}
StringBufferImpl.prototype.toString = function() {
if (this._buffer.get$length() == (0)) return "";
if (this._buffer.get$length() == (1)) return this._buffer.$index((0));
var result = StringBase.concatAll(this._buffer);
this._buffer.clear();
this._buffer.add(result);
return result;
}
// ********** Code for StringBase **************
function StringBase() {}
StringBase.join = function(strings, separator) {
if (strings.get$length() == (0)) return "";
var s = strings.$index((0));
for (var i = (1);
i < strings.get$length(); i++) {
s = $$add($$add(s, separator), strings.$index(i));
}
return s;
}
StringBase.concatAll = function(strings) {
return StringBase.join(strings, "");
}
// ********** Code for StringImplementation **************
StringImplementation = String;
StringImplementation.prototype.get$length = function() { return this.length; };
StringImplementation.prototype.isEmpty = function() {
return this.length == (0);
}
StringImplementation.prototype.hashCode = function() {
'use strict';
var hash = 0;
for (var i = 0; i < this.length; i++) {
hash = 0x1fffffff & (hash + this.charCodeAt(i));
hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
hash ^= hash >> 6;
}
hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3));
hash ^= hash >> 11;
return 0x1fffffff & (hash + ((0x00003fff & hash) << 15));
}
// ********** Code for _Worker **************
// ********** Code for _ArgumentMismatchException **************
$inherits(_ArgumentMismatchException, ClosureArgumentMismatchException);
function _ArgumentMismatchException(_message) {
this._dart_coreimpl_message = _message;
ClosureArgumentMismatchException.call(this);
}
_ArgumentMismatchException.prototype.toString = function() {
return ("Closure argument mismatch: " + this._dart_coreimpl_message);
}
// ********** Code for _FunctionImplementation **************
_FunctionImplementation = Function;
_FunctionImplementation.prototype._genStub = function(argsLength, names) {
// Fast path #1: if no named arguments and arg count matches
if (this.length == argsLength && !names) {
return this;
}
var paramsNamed = this.$optional ? (this.$optional.length / 2) : 0;
var paramsBare = this.length - paramsNamed;
var argsNamed = names ? names.length : 0;
var argsBare = argsLength - argsNamed;
// Check we got the right number of arguments
if (argsBare < paramsBare || argsLength > this.length ||
argsNamed > paramsNamed) {
return function() {
$throw(new _ArgumentMismatchException(
'Wrong number of arguments to function. Expected ' + paramsBare +
' positional arguments and at most ' + paramsNamed +
' named arguments, but got ' + argsBare +
' positional arguments and ' + argsNamed + ' named arguments.'));
};
}
// First, fill in all of the default values
var p = new Array(paramsBare);
if (paramsNamed) {
p = p.concat(this.$optional.slice(paramsNamed));
}
// Fill in positional args
var a = new Array(argsLength);
for (var i = 0; i < argsBare; i++) {
p[i] = a[i] = '$' + i;
}
// Then overwrite with supplied values for optional args
var lastParameterIndex;
var namesInOrder = true;
for (var i = 0; i < argsNamed; i++) {
var name = names[i];
a[i + argsBare] = name;
var j = this.$optional.indexOf(name);
if (j < 0 || j >= paramsNamed) {
return function() {
$throw(new _ArgumentMismatchException(
'Named argument "' + name + '" was not expected by function.' +
' Did you forget to mark the function parameter [optional]?'));
};
} else if (lastParameterIndex && lastParameterIndex > j) {
namesInOrder = false;
}
p[j + paramsBare] = name;
lastParameterIndex = j;
}
if (this.length == argsLength && namesInOrder) {
// Fast path #2: named arguments, but they're in order and all supplied.
return this;
}
// Note: using Function instead of 'eval' to get a clean scope.
// TODO(jmesserly): evaluate the performance of these stubs.
var f = 'function(' + a.join(',') + '){return $f(' + p.join(',') + ');}';
return new Function('$f', 'return ' + f + '').call(null, this);
}
// ********** Code for top level **************
function _map(itemsAndKeys) {
var ret = new LinkedHashMapImplementation();
for (var i = (0);
i < itemsAndKeys.get$length(); ) {
ret.$setindex(itemsAndKeys.$index(i++), itemsAndKeys.$index(i++));
}
return ret;
}
function _constMap(itemsAndKeys) {
return new ImmutableMap(itemsAndKeys);
}
// ********** Library dom **************
// ********** Code for _DOMTypeJs **************
function $dynamic(name) {
var f = Object.prototype[name];
if (f && f.methods) return f.methods;
var methods = {};
if (f) methods.Object = f;
function $dynamicBind() {
// Find the target method
var obj = this;
var tag = obj.$typeNameOf();
var method = methods[tag];
if (!method) {
var table = $dynamicMetadata;
for (var i = 0; i < table.length; i++) {
var entry = table[i];
if (entry.map.hasOwnProperty(tag)) {
method = methods[entry.tag];
if (method) break;
}
}
}
method = method || methods.Object;
var proto = Object.getPrototypeOf(obj);
if (!proto.hasOwnProperty(name)) {
$defProp(proto, name, method);
}
return method.apply(this, Array.prototype.slice.call(arguments));
};
$dynamicBind.methods = methods;
$defProp(Object.prototype, name, $dynamicBind);
return methods;
}
if (typeof $dynamicMetadata == 'undefined') $dynamicMetadata = [];
$dynamic("get$dartObjectLocalStorage").DOMType = function() { return this.dartObjectLocalStorage; };
$dynamic("set$dartObjectLocalStorage").DOMType = function(value) { return this.dartObjectLocalStorage = value; };
// ********** Code for _EventTargetJs **************
// ********** Code for _AbstractWorkerJs **************
// ********** Code for _ArrayBufferJs **************
// ********** Code for _ArrayBufferViewJs **************
// ********** Code for _NodeJs **************
$dynamic("get$attributes").Node = function() { return this.attributes; };
$dynamic("get$childNodes").Node = function() { return this.childNodes; };
$dynamic("get$lastChild").Node = function() { return this.lastChild; };
$dynamic("get$parentNode").Node = function() { return this.parentNode; };
$dynamic("set$textContent").Node = function(value) { return this.textContent = value; };
// ********** Code for _AttrJs **************
$dynamic("get$name").Attr = function() { return this.name; };
$dynamic("get$value").Attr = function() { return this.value; };
$dynamic("set$value").Attr = function(value) { return this.value = value; };
// ********** Code for _AudioBufferJs **************
$dynamic("get$length").AudioBuffer = function() { return this.length; };
// ********** Code for _AudioNodeJs **************
// ********** Code for _AudioSourceNodeJs **************
// ********** Code for _AudioBufferSourceNodeJs **************
// ********** Code for _AudioChannelMergerJs **************
// ********** Code for _AudioChannelSplitterJs **************
// ********** Code for _AudioContextJs **************
// ********** Code for _AudioDestinationNodeJs **************
// ********** Code for _AudioParamJs **************
$dynamic("get$name").AudioParam = function() { return this.name; };
$dynamic("get$value").AudioParam = function() { return this.value; };
$dynamic("set$value").AudioParam = function(value) { return this.value = value; };
// ********** Code for _AudioGainJs **************
// ********** Code for _AudioGainNodeJs **************
// ********** Code for _AudioListenerJs **************
// ********** Code for _AudioPannerNodeJs **************
// ********** Code for _EventJs **************
// ********** Code for _AudioProcessingEventJs **************
// ********** Code for _BarInfoJs **************
// ********** Code for _BeforeLoadEventJs **************
// ********** Code for _BiquadFilterNodeJs **************
// ********** Code for _BlobJs **************
// ********** Code for _CharacterDataJs **************
$dynamic("get$length").CharacterData = function() { return this.length; };
// ********** Code for _TextJs **************
// ********** Code for _CDATASectionJs **************
// ********** Code for _CSSRuleJs **************
// ********** Code for _CSSCharsetRuleJs **************
// ********** Code for _CSSFontFaceRuleJs **************
// ********** Code for _CSSImportRuleJs **************
// ********** Code for _CSSMediaRuleJs **************
// ********** Code for _CSSPageRuleJs **************
// ********** Code for _CSSValueJs **************
// ********** Code for _CSSPrimitiveValueJs **************
// ********** Code for _CSSRuleListJs **************
$dynamic("get$length").CSSRuleList = function() { return this.length; };
// ********** Code for _CSSStyleDeclarationJs **************
$dynamic("get$length").CSSStyleDeclaration = function() { return this.length; };
// ********** Code for _CSSStyleRuleJs **************
// ********** Code for _StyleSheetJs **************
// ********** Code for _CSSStyleSheetJs **************
// ********** Code for _CSSUnknownRuleJs **************
// ********** Code for _CSSValueListJs **************
$dynamic("get$length").CSSValueList = function() { return this.length; };
// ********** Code for _CanvasGradientJs **************
// ********** Code for _CanvasPatternJs **************
// ********** Code for _CanvasPixelArrayJs **************
$dynamic("is$List").CanvasPixelArray = function(){return true};
$dynamic("is$Collection").CanvasPixelArray = function(){return true};
$dynamic("get$length").CanvasPixelArray = function() { return this.length; };
$dynamic("$index").CanvasPixelArray = function(index) {
return this[index];
}
$dynamic("$setindex").CanvasPixelArray = function(index, value) {
this[index] = value
}
$dynamic("iterator").CanvasPixelArray = function() {
return new _FixedSizeListIterator_int(this);
}
$dynamic("add").CanvasPixelArray = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _CanvasRenderingContextJs **************
// ********** Code for _CanvasRenderingContext2DJs **************
// ********** Code for _ClientRectJs **************
// ********** Code for _ClientRectListJs **************
$dynamic("get$length").ClientRectList = function() { return this.length; };
// ********** Code for _ClipboardJs **************
// ********** Code for _CloseEventJs **************
// ********** Code for _CommentJs **************
// ********** Code for _UIEventJs **************
// ********** Code for _CompositionEventJs **************
// ********** Code for _ConsoleJs **************
_ConsoleJs = (typeof console == 'undefined' ? {} : console);
_ConsoleJs.get$dartObjectLocalStorage = function() { return this.dartObjectLocalStorage; };
_ConsoleJs.set$dartObjectLocalStorage = function(value) { return this.dartObjectLocalStorage = value; };
// ********** Code for _ConvolverNodeJs **************
// ********** Code for _CoordinatesJs **************
// ********** Code for _CounterJs **************
// ********** Code for _CryptoJs **************
// ********** Code for _CustomEventJs **************
// ********** Code for _DOMApplicationCacheJs **************
// ********** Code for _DOMExceptionJs **************
$dynamic("get$name").DOMException = function() { return this.name; };
// ********** Code for _DOMFileSystemJs **************
$dynamic("get$name").DOMFileSystem = function() { return this.name; };
// ********** Code for _DOMFileSystemSyncJs **************
$dynamic("get$name").DOMFileSystemSync = function() { return this.name; };
// ********** Code for _DOMFormDataJs **************
// ********** Code for _DOMImplementationJs **************
// ********** Code for _DOMMimeTypeJs **************
// ********** Code for _DOMMimeTypeArrayJs **************
$dynamic("get$length").DOMMimeTypeArray = function() { return this.length; };
// ********** Code for _DOMParserJs **************
// ********** Code for _DOMPluginJs **************
$dynamic("get$length").DOMPlugin = function() { return this.length; };
$dynamic("get$name").DOMPlugin = function() { return this.name; };
// ********** Code for _DOMPluginArrayJs **************
$dynamic("get$length").DOMPluginArray = function() { return this.length; };
// ********** Code for _DOMSelectionJs **************
// ********** Code for _DOMTokenListJs **************
$dynamic("get$length").DOMTokenList = function() { return this.length; };
// ********** Code for _DOMSettableTokenListJs **************
$dynamic("get$value").DOMSettableTokenList = function() { return this.value; };
$dynamic("set$value").DOMSettableTokenList = function(value) { return this.value = value; };
// ********** Code for _DOMURLJs **************
// ********** Code for _DOMWindowJs **************
$dynamic("get$length").DOMWindow = function() { return this.length; };
$dynamic("get$name").DOMWindow = function() { return this.name; };
// ********** Code for _DataTransferItemJs **************
// ********** Code for _DataTransferItemListJs **************
$dynamic("get$length").DataTransferItemList = function() { return this.length; };
// ********** Code for _DataViewJs **************
// ********** Code for _DatabaseJs **************
// ********** Code for _DatabaseSyncJs **************
// ********** Code for _WorkerContextJs **************
// ********** Code for _DedicatedWorkerContextJs **************
// ********** Code for _DelayNodeJs **************
// ********** Code for _DeviceMotionEventJs **************
// ********** Code for _DeviceOrientationEventJs **************
// ********** Code for _EntryJs **************
$dynamic("get$name").Entry = function() { return this.name; };
// ********** Code for _DirectoryEntryJs **************
// ********** Code for _EntrySyncJs **************
$dynamic("get$name").EntrySync = function() { return this.name; };
// ********** Code for _DirectoryEntrySyncJs **************
// ********** Code for _DirectoryReaderJs **************
// ********** Code for _DirectoryReaderSyncJs **************
// ********** Code for _DocumentJs **************
$dynamic("get$documentElement").Document = function() { return this.documentElement; };
// ********** Code for _DocumentFragmentJs **************
// ********** Code for _DocumentTypeJs **************
$dynamic("get$name").DocumentType = function() { return this.name; };
// ********** Code for _DynamicsCompressorNodeJs **************
// ********** Code for _ElementJs **************
// ********** Code for _ElementTimeControlJs **************
// ********** Code for _ElementTraversalJs **************
// ********** Code for _EntityJs **************
// ********** Code for _EntityReferenceJs **************
// ********** Code for _EntryArrayJs **************
$dynamic("get$length").EntryArray = function() { return this.length; };
// ********** Code for _EntryArraySyncJs **************
$dynamic("get$length").EntryArraySync = function() { return this.length; };
// ********** Code for _ErrorEventJs **************
// ********** Code for _EventExceptionJs **************
$dynamic("get$name").EventException = function() { return this.name; };
// ********** Code for _EventSourceJs **************
// ********** Code for _FileJs **************
$dynamic("get$name").File = function() { return this.name; };
// ********** Code for _FileEntryJs **************
// ********** Code for _FileEntrySyncJs **************
// ********** Code for _FileErrorJs **************
// ********** Code for _FileExceptionJs **************
$dynamic("get$name").FileException = function() { return this.name; };
// ********** Code for _FileListJs **************
$dynamic("get$length").FileList = function() { return this.length; };
// ********** Code for _FileReaderJs **************
// ********** Code for _FileReaderSyncJs **************
// ********** Code for _FileWriterJs **************
$dynamic("get$length").FileWriter = function() { return this.length; };
// ********** Code for _FileWriterSyncJs **************
$dynamic("get$length").FileWriterSync = function() { return this.length; };
// ********** Code for _Float32ArrayJs **************
var _Float32ArrayJs = {};
$dynamic("is$List").Float32Array = function(){return true};
$dynamic("is$Collection").Float32Array = function(){return true};
$dynamic("get$length").Float32Array = function() { return this.length; };
$dynamic("$index").Float32Array = function(index) {
return this[index];
}
$dynamic("$setindex").Float32Array = function(index, value) {
this[index] = value
}
$dynamic("iterator").Float32Array = function() {
return new _FixedSizeListIterator_num(this);
}
$dynamic("add").Float32Array = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _Float64ArrayJs **************
var _Float64ArrayJs = {};
$dynamic("is$List").Float64Array = function(){return true};
$dynamic("is$Collection").Float64Array = function(){return true};
$dynamic("get$length").Float64Array = function() { return this.length; };
$dynamic("$index").Float64Array = function(index) {
return this[index];
}
$dynamic("$setindex").Float64Array = function(index, value) {
this[index] = value
}
$dynamic("iterator").Float64Array = function() {
return new _FixedSizeListIterator_num(this);
}
$dynamic("add").Float64Array = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _GeolocationJs **************
// ********** Code for _GeopositionJs **************
// ********** Code for _HTMLAllCollectionJs **************
$dynamic("get$length").HTMLAllCollection = function() { return this.length; };
// ********** Code for _HTMLElementJs **************
// ********** Code for _HTMLAnchorElementJs **************
$dynamic("get$name").HTMLAnchorElement = function() { return this.name; };
// ********** Code for _HTMLAppletElementJs **************
$dynamic("get$name").HTMLAppletElement = function() { return this.name; };
// ********** Code for _HTMLAreaElementJs **************
// ********** Code for _HTMLMediaElementJs **************
// ********** Code for _HTMLAudioElementJs **************
// ********** Code for _HTMLBRElementJs **************
// ********** Code for _HTMLBaseElementJs **************
// ********** Code for _HTMLBaseFontElementJs **************
// ********** Code for _HTMLBodyElementJs **************
// ********** Code for _HTMLButtonElementJs **************
$dynamic("get$name").HTMLButtonElement = function() { return this.name; };
$dynamic("get$value").HTMLButtonElement = function() { return this.value; };
$dynamic("set$value").HTMLButtonElement = function(value) { return this.value = value; };
// ********** Code for _HTMLCanvasElementJs **************
// ********** Code for _HTMLCollectionJs **************
$dynamic("is$List").HTMLCollection = function(){return true};
$dynamic("is$Collection").HTMLCollection = function(){return true};
$dynamic("get$length").HTMLCollection = function() { return this.length; };
$dynamic("$index").HTMLCollection = function(index) {
return this[index];
}
$dynamic("$setindex").HTMLCollection = function(index, value) {
$throw(new UnsupportedOperationException("Cannot assign element of immutable List."));
}
$dynamic("iterator").HTMLCollection = function() {
return new _FixedSizeListIterator_dom_Node(this);
}
$dynamic("add").HTMLCollection = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _HTMLContentElementJs **************
// ********** Code for _HTMLDListElementJs **************
// ********** Code for _HTMLDetailsElementJs **************
// ********** Code for _HTMLDirectoryElementJs **************
// ********** Code for _HTMLDivElementJs **************
// ********** Code for _HTMLDocumentJs **************
// ********** Code for _HTMLEmbedElementJs **************
$dynamic("get$name").HTMLEmbedElement = function() { return this.name; };
// ********** Code for _HTMLFieldSetElementJs **************
// ********** Code for _HTMLFontElementJs **************
// ********** Code for _HTMLFormElementJs **************
$dynamic("get$length").HTMLFormElement = function() { return this.length; };
$dynamic("get$name").HTMLFormElement = function() { return this.name; };
// ********** Code for _HTMLFrameElementJs **************
$dynamic("get$name").HTMLFrameElement = function() { return this.name; };
// ********** Code for _HTMLFrameSetElementJs **************
// ********** Code for _HTMLHRElementJs **************
// ********** Code for _HTMLHeadElementJs **************
// ********** Code for _HTMLHeadingElementJs **************
// ********** Code for _HTMLHtmlElementJs **************
// ********** Code for _HTMLIFrameElementJs **************
$dynamic("get$name").HTMLIFrameElement = function() { return this.name; };
// ********** Code for _HTMLImageElementJs **************
$dynamic("get$name").HTMLImageElement = function() { return this.name; };
// ********** Code for _HTMLInputElementJs **************
$dynamic("get$name").HTMLInputElement = function() { return this.name; };
$dynamic("get$value").HTMLInputElement = function() { return this.value; };
$dynamic("set$value").HTMLInputElement = function(value) { return this.value = value; };
// ********** Code for _HTMLKeygenElementJs **************
$dynamic("get$name").HTMLKeygenElement = function() { return this.name; };
// ********** Code for _HTMLLIElementJs **************
$dynamic("get$value").HTMLLIElement = function() { return this.value; };
$dynamic("set$value").HTMLLIElement = function(value) { return this.value = value; };
// ********** Code for _HTMLLabelElementJs **************
// ********** Code for _HTMLLegendElementJs **************
// ********** Code for _HTMLLinkElementJs **************
// ********** Code for _HTMLMapElementJs **************
$dynamic("get$name").HTMLMapElement = function() { return this.name; };
// ********** Code for _HTMLMarqueeElementJs **************
// ********** Code for _HTMLMenuElementJs **************
// ********** Code for _HTMLMetaElementJs **************
$dynamic("get$name").HTMLMetaElement = function() { return this.name; };
// ********** Code for _HTMLMeterElementJs **************
$dynamic("get$value").HTMLMeterElement = function() { return this.value; };
$dynamic("set$value").HTMLMeterElement = function(value) { return this.value = value; };
// ********** Code for _HTMLModElementJs **************
// ********** Code for _HTMLOListElementJs **************
// ********** Code for _HTMLObjectElementJs **************
$dynamic("get$name").HTMLObjectElement = function() { return this.name; };
// ********** Code for _HTMLOptGroupElementJs **************
// ********** Code for _HTMLOptionElementJs **************
$dynamic("get$value").HTMLOptionElement = function() { return this.value; };
$dynamic("set$value").HTMLOptionElement = function(value) { return this.value = value; };
// ********** Code for _HTMLOptionsCollectionJs **************
$dynamic("is$List").HTMLOptionsCollection = function(){return true};
$dynamic("is$Collection").HTMLOptionsCollection = function(){return true};
$dynamic("get$length").HTMLOptionsCollection = function() {
return this.length;
}
// ********** Code for _HTMLOutputElementJs **************
$dynamic("get$name").HTMLOutputElement = function() { return this.name; };
$dynamic("get$value").HTMLOutputElement = function() { return this.value; };
$dynamic("set$value").HTMLOutputElement = function(value) { return this.value = value; };
// ********** Code for _HTMLParagraphElementJs **************
// ********** Code for _HTMLParamElementJs **************
$dynamic("get$name").HTMLParamElement = function() { return this.name; };
$dynamic("get$value").HTMLParamElement = function() { return this.value; };
$dynamic("set$value").HTMLParamElement = function(value) { return this.value = value; };
// ********** Code for _HTMLPreElementJs **************
// ********** Code for _HTMLProgressElementJs **************
$dynamic("get$value").HTMLProgressElement = function() { return this.value; };
$dynamic("set$value").HTMLProgressElement = function(value) { return this.value = value; };
// ********** Code for _HTMLQuoteElementJs **************
// ********** Code for _HTMLScriptElementJs **************
// ********** Code for _HTMLSelectElementJs **************
$dynamic("get$length").HTMLSelectElement = function() { return this.length; };
$dynamic("get$name").HTMLSelectElement = function() { return this.name; };
$dynamic("get$value").HTMLSelectElement = function() { return this.value; };
$dynamic("set$value").HTMLSelectElement = function(value) { return this.value = value; };
// ********** Code for _HTMLShadowElementJs **************
// ********** Code for _HTMLSourceElementJs **************
// ********** Code for _HTMLSpanElementJs **************
// ********** Code for _HTMLStyleElementJs **************
// ********** Code for _HTMLTableCaptionElementJs **************
// ********** Code for _HTMLTableCellElementJs **************
// ********** Code for _HTMLTableColElementJs **************
// ********** Code for _HTMLTableElementJs **************
// ********** Code for _HTMLTableRowElementJs **************
// ********** Code for _HTMLTableSectionElementJs **************
// ********** Code for _HTMLTextAreaElementJs **************
$dynamic("get$name").HTMLTextAreaElement = function() { return this.name; };
$dynamic("get$value").HTMLTextAreaElement = function() { return this.value; };
$dynamic("set$value").HTMLTextAreaElement = function(value) { return this.value = value; };
// ********** Code for _HTMLTitleElementJs **************
// ********** Code for _HTMLTrackElementJs **************
// ********** Code for _HTMLUListElementJs **************
// ********** Code for _HTMLUnknownElementJs **************
// ********** Code for _HTMLVideoElementJs **************
// ********** Code for _HashChangeEventJs **************
// ********** Code for _HighPass2FilterNodeJs **************
// ********** Code for _HistoryJs **************
$dynamic("get$length").History = function() { return this.length; };
// ********** Code for _IDBAnyJs **************
// ********** Code for _IDBCursorJs **************
// ********** Code for _IDBCursorWithValueJs **************
$dynamic("get$value").IDBCursorWithValue = function() { return this.value; };
// ********** Code for _IDBDatabaseJs **************
$dynamic("get$name").IDBDatabase = function() { return this.name; };
// ********** Code for _IDBDatabaseErrorJs **************
// ********** Code for _IDBDatabaseExceptionJs **************
$dynamic("get$name").IDBDatabaseException = function() { return this.name; };
// ********** Code for _IDBFactoryJs **************
// ********** Code for _IDBIndexJs **************
$dynamic("get$name").IDBIndex = function() { return this.name; };
// ********** Code for _IDBKeyJs **************
// ********** Code for _IDBKeyRangeJs **************
// ********** Code for _IDBObjectStoreJs **************
$dynamic("get$name").IDBObjectStore = function() { return this.name; };
// ********** Code for _IDBRequestJs **************
// ********** Code for _IDBTransactionJs **************
// ********** Code for _IDBVersionChangeEventJs **************
// ********** Code for _IDBVersionChangeRequestJs **************
// ********** Code for _ImageDataJs **************
// ********** Code for _Int16ArrayJs **************
var _Int16ArrayJs = {};
$dynamic("is$List").Int16Array = function(){return true};
$dynamic("is$Collection").Int16Array = function(){return true};
$dynamic("get$length").Int16Array = function() { return this.length; };
$dynamic("$index").Int16Array = function(index) {
return this[index];
}
$dynamic("$setindex").Int16Array = function(index, value) {
this[index] = value
}
$dynamic("iterator").Int16Array = function() {
return new _FixedSizeListIterator_int(this);
}
$dynamic("add").Int16Array = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _Int32ArrayJs **************
var _Int32ArrayJs = {};
$dynamic("is$List").Int32Array = function(){return true};
$dynamic("is$Collection").Int32Array = function(){return true};
$dynamic("get$length").Int32Array = function() { return this.length; };
$dynamic("$index").Int32Array = function(index) {
return this[index];
}
$dynamic("$setindex").Int32Array = function(index, value) {
this[index] = value
}
$dynamic("iterator").Int32Array = function() {
return new _FixedSizeListIterator_int(this);
}
$dynamic("add").Int32Array = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _Int8ArrayJs **************
var _Int8ArrayJs = {};
$dynamic("is$List").Int8Array = function(){return true};
$dynamic("is$Collection").Int8Array = function(){return true};
$dynamic("get$length").Int8Array = function() { return this.length; };
$dynamic("$index").Int8Array = function(index) {
return this[index];
}
$dynamic("$setindex").Int8Array = function(index, value) {
this[index] = value
}
$dynamic("iterator").Int8Array = function() {
return new _FixedSizeListIterator_int(this);
}
$dynamic("add").Int8Array = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _JavaScriptAudioNodeJs **************
// ********** Code for _JavaScriptCallFrameJs **************
// ********** Code for _KeyboardEventJs **************
// ********** Code for _MediaStreamJs **************
// ********** Code for _LocalMediaStreamJs **************
// ********** Code for _LocationJs **************
// ********** Code for _LowPass2FilterNodeJs **************
// ********** Code for _MediaControllerJs **************
// ********** Code for _MediaElementAudioSourceNodeJs **************
// ********** Code for _MediaErrorJs **************
// ********** Code for _MediaListJs **************
$dynamic("is$List").MediaList = function(){return true};
$dynamic("is$Collection").MediaList = function(){return true};
$dynamic("get$length").MediaList = function() { return this.length; };
$dynamic("$index").MediaList = function(index) {
return this[index];
}
$dynamic("$setindex").MediaList = function(index, value) {
$throw(new UnsupportedOperationException("Cannot assign element of immutable List."));
}
$dynamic("iterator").MediaList = function() {
return new _FixedSizeListIterator_dart_core_String(this);
}
$dynamic("add").MediaList = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _MediaQueryListJs **************
// ********** Code for _MediaQueryListListenerJs **************
// ********** Code for _MediaStreamEventJs **************
// ********** Code for _MediaStreamListJs **************
$dynamic("get$length").MediaStreamList = function() { return this.length; };
// ********** Code for _MediaStreamTrackJs **************
// ********** Code for _MediaStreamTrackListJs **************
$dynamic("get$length").MediaStreamTrackList = function() { return this.length; };
// ********** Code for _MemoryInfoJs **************
// ********** Code for _MessageChannelJs **************
// ********** Code for _MessageEventJs **************
// ********** Code for _MessagePortJs **************
// ********** Code for _MetadataJs **************
// ********** Code for _MouseEventJs **************
// ********** Code for _MutationEventJs **************
// ********** Code for _NamedNodeMapJs **************
$dynamic("is$List").NamedNodeMap = function(){return true};
$dynamic("is$Collection").NamedNodeMap = function(){return true};
$dynamic("get$length").NamedNodeMap = function() { return this.length; };
$dynamic("$index").NamedNodeMap = function(index) {
return this[index];
}
$dynamic("$setindex").NamedNodeMap = function(index, value) {
$throw(new UnsupportedOperationException("Cannot assign element of immutable List."));
}
$dynamic("iterator").NamedNodeMap = function() {
return new _FixedSizeListIterator_dom_Node(this);
}
$dynamic("add").NamedNodeMap = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _NavigatorJs **************
// ********** Code for _NavigatorUserMediaErrorJs **************
// ********** Code for _NodeFilterJs **************
// ********** Code for _NodeIteratorJs **************
// ********** Code for _NodeListJs **************
$dynamic("is$List").NodeList = function(){return true};
$dynamic("is$Collection").NodeList = function(){return true};
$dynamic("get$length").NodeList = function() { return this.length; };
$dynamic("$index").NodeList = function(index) {
return this[index];
}
$dynamic("$setindex").NodeList = function(index, value) {
$throw(new UnsupportedOperationException("Cannot assign element of immutable List."));
}
$dynamic("iterator").NodeList = function() {
return new _FixedSizeListIterator_dom_Node(this);
}
$dynamic("add").NodeList = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _NodeSelectorJs **************
// ********** Code for _NotationJs **************
// ********** Code for _NotificationJs **************
// ********** Code for _NotificationCenterJs **************
// ********** Code for _OESStandardDerivativesJs **************
// ********** Code for _OESTextureFloatJs **************
// ********** Code for _OESVertexArrayObjectJs **************
// ********** Code for _OfflineAudioCompletionEventJs **************
// ********** Code for _OperationNotAllowedExceptionJs **************
$dynamic("get$name").OperationNotAllowedException = function() { return this.name; };
// ********** Code for _OverflowEventJs **************
// ********** Code for _PageTransitionEventJs **************
// ********** Code for _PeerConnectionJs **************
// ********** Code for _PerformanceJs **************
// ********** Code for _PerformanceNavigationJs **************
// ********** Code for _PerformanceTimingJs **************
// ********** Code for _PopStateEventJs **************
// ********** Code for _PositionErrorJs **************
// ********** Code for _ProcessingInstructionJs **************
// ********** Code for _ProgressEventJs **************
// ********** Code for _RGBColorJs **************
// ********** Code for _RangeJs **************
// ********** Code for _RangeExceptionJs **************
$dynamic("get$name").RangeException = function() { return this.name; };
// ********** Code for _RealtimeAnalyserNodeJs **************
// ********** Code for _RectJs **************
// ********** Code for _SQLErrorJs **************
// ********** Code for _SQLExceptionJs **************
// ********** Code for _SQLResultSetJs **************
// ********** Code for _SQLResultSetRowListJs **************
$dynamic("get$length").SQLResultSetRowList = function() { return this.length; };
// ********** Code for _SQLTransactionJs **************
// ********** Code for _SQLTransactionSyncJs **************
// ********** Code for _SVGElementJs **************
// ********** Code for _SVGAElementJs **************
// ********** Code for _SVGAltGlyphDefElementJs **************
// ********** Code for _SVGTextContentElementJs **************
// ********** Code for _SVGTextPositioningElementJs **************
// ********** Code for _SVGAltGlyphElementJs **************
// ********** Code for _SVGAltGlyphItemElementJs **************
// ********** Code for _SVGAngleJs **************
$dynamic("get$value").SVGAngle = function() { return this.value; };
$dynamic("set$value").SVGAngle = function(value) { return this.value = value; };
// ********** Code for _SVGAnimationElementJs **************
// ********** Code for _SVGAnimateColorElementJs **************
// ********** Code for _SVGAnimateElementJs **************
// ********** Code for _SVGAnimateMotionElementJs **************
// ********** Code for _SVGAnimateTransformElementJs **************
// ********** Code for _SVGAnimatedAngleJs **************
// ********** Code for _SVGAnimatedBooleanJs **************
// ********** Code for _SVGAnimatedEnumerationJs **************
// ********** Code for _SVGAnimatedIntegerJs **************
// ********** Code for _SVGAnimatedLengthJs **************
// ********** Code for _SVGAnimatedLengthListJs **************
// ********** Code for _SVGAnimatedNumberJs **************
// ********** Code for _SVGAnimatedNumberListJs **************
// ********** Code for _SVGAnimatedPreserveAspectRatioJs **************
// ********** Code for _SVGAnimatedRectJs **************
// ********** Code for _SVGAnimatedStringJs **************
// ********** Code for _SVGAnimatedTransformListJs **************
// ********** Code for _SVGCircleElementJs **************
// ********** Code for _SVGClipPathElementJs **************
// ********** Code for _SVGColorJs **************
// ********** Code for _SVGComponentTransferFunctionElementJs **************
// ********** Code for _SVGCursorElementJs **************
// ********** Code for _SVGDefsElementJs **************
// ********** Code for _SVGDescElementJs **************
// ********** Code for _SVGDocumentJs **************
// ********** Code for _SVGElementInstanceJs **************
$dynamic("get$childNodes").SVGElementInstance = function() { return this.childNodes; };
$dynamic("get$lastChild").SVGElementInstance = function() { return this.lastChild; };
$dynamic("get$parentNode").SVGElementInstance = function() { return this.parentNode; };
// ********** Code for _SVGElementInstanceListJs **************
$dynamic("get$length").SVGElementInstanceList = function() { return this.length; };
// ********** Code for _SVGEllipseElementJs **************
// ********** Code for _SVGExceptionJs **************
$dynamic("get$name").SVGException = function() { return this.name; };
// ********** Code for _SVGExternalResourcesRequiredJs **************
// ********** Code for _SVGFEBlendElementJs **************
// ********** Code for _SVGFEColorMatrixElementJs **************
// ********** Code for _SVGFEComponentTransferElementJs **************
// ********** Code for _SVGFECompositeElementJs **************
// ********** Code for _SVGFEConvolveMatrixElementJs **************
// ********** Code for _SVGFEDiffuseLightingElementJs **************
// ********** Code for _SVGFEDisplacementMapElementJs **************
// ********** Code for _SVGFEDistantLightElementJs **************
// ********** Code for _SVGFEDropShadowElementJs **************
// ********** Code for _SVGFEFloodElementJs **************
// ********** Code for _SVGFEFuncAElementJs **************
// ********** Code for _SVGFEFuncBElementJs **************
// ********** Code for _SVGFEFuncGElementJs **************
// ********** Code for _SVGFEFuncRElementJs **************
// ********** Code for _SVGFEGaussianBlurElementJs **************
// ********** Code for _SVGFEImageElementJs **************
// ********** Code for _SVGFEMergeElementJs **************
// ********** Code for _SVGFEMergeNodeElementJs **************
// ********** Code for _SVGFEMorphologyElementJs **************
// ********** Code for _SVGFEOffsetElementJs **************
// ********** Code for _SVGFEPointLightElementJs **************
// ********** Code for _SVGFESpecularLightingElementJs **************
// ********** Code for _SVGFESpotLightElementJs **************
// ********** Code for _SVGFETileElementJs **************
// ********** Code for _SVGFETurbulenceElementJs **************
// ********** Code for _SVGFilterElementJs **************
// ********** Code for _SVGStylableJs **************
// ********** Code for _SVGFilterPrimitiveStandardAttributesJs **************
// ********** Code for _SVGFitToViewBoxJs **************
// ********** Code for _SVGFontElementJs **************
// ********** Code for _SVGFontFaceElementJs **************
// ********** Code for _SVGFontFaceFormatElementJs **************
// ********** Code for _SVGFontFaceNameElementJs **************
// ********** Code for _SVGFontFaceSrcElementJs **************
// ********** Code for _SVGFontFaceUriElementJs **************
// ********** Code for _SVGForeignObjectElementJs **************
// ********** Code for _SVGGElementJs **************
// ********** Code for _SVGGlyphElementJs **************
// ********** Code for _SVGGlyphRefElementJs **************
// ********** Code for _SVGGradientElementJs **************
// ********** Code for _SVGHKernElementJs **************
// ********** Code for _SVGImageElementJs **************
// ********** Code for _SVGLangSpaceJs **************
// ********** Code for _SVGLengthJs **************
$dynamic("get$value").SVGLength = function() { return this.value; };
$dynamic("set$value").SVGLength = function(value) { return this.value = value; };
// ********** Code for _SVGLengthListJs **************
// ********** Code for _SVGLineElementJs **************
// ********** Code for _SVGLinearGradientElementJs **************
// ********** Code for _SVGLocatableJs **************
// ********** Code for _SVGMPathElementJs **************
// ********** Code for _SVGMarkerElementJs **************
// ********** Code for _SVGMaskElementJs **************
// ********** Code for _SVGMatrixJs **************
// ********** Code for _SVGMetadataElementJs **************
// ********** Code for _SVGMissingGlyphElementJs **************
// ********** Code for _SVGNumberJs **************
$dynamic("get$value").SVGNumber = function() { return this.value; };
$dynamic("set$value").SVGNumber = function(value) { return this.value = value; };
// ********** Code for _SVGNumberListJs **************
// ********** Code for _SVGPaintJs **************
// ********** Code for _SVGPathElementJs **************
// ********** Code for _SVGPathSegJs **************
// ********** Code for _SVGPathSegArcAbsJs **************
// ********** Code for _SVGPathSegArcRelJs **************
// ********** Code for _SVGPathSegClosePathJs **************
// ********** Code for _SVGPathSegCurvetoCubicAbsJs **************
// ********** Code for _SVGPathSegCurvetoCubicRelJs **************
// ********** Code for _SVGPathSegCurvetoCubicSmoothAbsJs **************
// ********** Code for _SVGPathSegCurvetoCubicSmoothRelJs **************
// ********** Code for _SVGPathSegCurvetoQuadraticAbsJs **************
// ********** Code for _SVGPathSegCurvetoQuadraticRelJs **************
// ********** Code for _SVGPathSegCurvetoQuadraticSmoothAbsJs **************
// ********** Code for _SVGPathSegCurvetoQuadraticSmoothRelJs **************
// ********** Code for _SVGPathSegLinetoAbsJs **************
// ********** Code for _SVGPathSegLinetoHorizontalAbsJs **************
// ********** Code for _SVGPathSegLinetoHorizontalRelJs **************
// ********** Code for _SVGPathSegLinetoRelJs **************
// ********** Code for _SVGPathSegLinetoVerticalAbsJs **************
// ********** Code for _SVGPathSegLinetoVerticalRelJs **************
// ********** Code for _SVGPathSegListJs **************
// ********** Code for _SVGPathSegMovetoAbsJs **************
// ********** Code for _SVGPathSegMovetoRelJs **************
// ********** Code for _SVGPatternElementJs **************
// ********** Code for _SVGPointJs **************
// ********** Code for _SVGPointListJs **************
// ********** Code for _SVGPolygonElementJs **************
// ********** Code for _SVGPolylineElementJs **************
// ********** Code for _SVGPreserveAspectRatioJs **************
// ********** Code for _SVGRadialGradientElementJs **************
// ********** Code for _SVGRectJs **************
// ********** Code for _SVGRectElementJs **************
// ********** Code for _SVGRenderingIntentJs **************
// ********** Code for _SVGSVGElementJs **************
// ********** Code for _SVGScriptElementJs **************
// ********** Code for _SVGSetElementJs **************
// ********** Code for _SVGStopElementJs **************
// ********** Code for _SVGStringListJs **************
// ********** Code for _SVGStyleElementJs **************
// ********** Code for _SVGSwitchElementJs **************
// ********** Code for _SVGSymbolElementJs **************
// ********** Code for _SVGTRefElementJs **************
// ********** Code for _SVGTSpanElementJs **************
// ********** Code for _SVGTestsJs **************
// ********** Code for _SVGTextElementJs **************
// ********** Code for _SVGTextPathElementJs **************
// ********** Code for _SVGTitleElementJs **************
// ********** Code for _SVGTransformJs **************
// ********** Code for _SVGTransformListJs **************
// ********** Code for _SVGTransformableJs **************
// ********** Code for _SVGURIReferenceJs **************
// ********** Code for _SVGUnitTypesJs **************
// ********** Code for _SVGUseElementJs **************
// ********** Code for _SVGVKernElementJs **************
// ********** Code for _SVGViewElementJs **************
// ********** Code for _SVGZoomAndPanJs **************
// ********** Code for _SVGViewSpecJs **************
// ********** Code for _SVGZoomEventJs **************
// ********** Code for _ScreenJs **************
// ********** Code for _ScriptProfileJs **************
// ********** Code for _ScriptProfileNodeJs **************
// ********** Code for _ShadowRootJs **************
// ********** Code for _SharedWorkerJs **************
// ********** Code for _SharedWorkerContextJs **************
$dynamic("get$name").SharedWorkerContext = function() { return this.name; };
// ********** Code for _SpeechInputEventJs **************
// ********** Code for _SpeechInputResultJs **************
// ********** Code for _SpeechInputResultListJs **************
$dynamic("get$length").SpeechInputResultList = function() { return this.length; };
// ********** Code for _StorageJs **************
$dynamic("get$length").Storage = function() { return this.length; };
$dynamic("get$dartObjectLocalStorage").Storage = function() {
if (this === window.localStorage)
return window._dartLocalStorageLocalStorage;
else if (this === window.sessionStorage)
return window._dartSessionStorageLocalStorage;
else
throw new UnsupportedOperationException('Cannot dartObjectLocalStorage for unknown Storage object.');
}
$dynamic("set$dartObjectLocalStorage").Storage = function(value) {
if (this === window.localStorage)
window._dartLocalStorageLocalStorage = value;
else if (this === window.sessionStorage)
window._dartSessionStorageLocalStorage = value;
else
throw new UnsupportedOperationException('Cannot dartObjectLocalStorage for unknown Storage object.');
}
// ********** Code for _StorageEventJs **************
// ********** Code for _StorageInfoJs **************
// ********** Code for _StyleMediaJs **************
// ********** Code for _StyleSheetListJs **************
$dynamic("is$List").StyleSheetList = function(){return true};
$dynamic("is$Collection").StyleSheetList = function(){return true};
$dynamic("get$length").StyleSheetList = function() { return this.length; };
$dynamic("$index").StyleSheetList = function(index) {
return this[index];
}
$dynamic("$setindex").StyleSheetList = function(index, value) {
$throw(new UnsupportedOperationException("Cannot assign element of immutable List."));
}
$dynamic("iterator").StyleSheetList = function() {
return new _FixedSizeListIterator_dom_StyleSheet(this);
}
$dynamic("add").StyleSheetList = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _TextEventJs **************
// ********** Code for _TextMetricsJs **************
// ********** Code for _TextTrackJs **************
// ********** Code for _TextTrackCueJs **************
// ********** Code for _TextTrackCueListJs **************
$dynamic("get$length").TextTrackCueList = function() { return this.length; };
// ********** Code for _TextTrackListJs **************
$dynamic("get$length").TextTrackList = function() { return this.length; };
// ********** Code for _TimeRangesJs **************
$dynamic("get$length").TimeRanges = function() { return this.length; };
// ********** Code for _TouchJs **************
// ********** Code for _TouchEventJs **************
// ********** Code for _TouchListJs **************
$dynamic("is$List").TouchList = function(){return true};
$dynamic("is$Collection").TouchList = function(){return true};
$dynamic("get$length").TouchList = function() { return this.length; };
$dynamic("$index").TouchList = function(index) {
return this[index];
}
$dynamic("$setindex").TouchList = function(index, value) {
$throw(new UnsupportedOperationException("Cannot assign element of immutable List."));
}
$dynamic("iterator").TouchList = function() {
return new _FixedSizeListIterator_dom_Touch(this);
}
$dynamic("add").TouchList = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _TrackEventJs **************
// ********** Code for _TreeWalkerJs **************
$dynamic("get$lastChild").TreeWalker = function() {
return this.lastChild.bind(this);
}
Function.prototype.bind = Function.prototype.bind ||
function(thisObj) {
var func = this;
if (arguments.length > 1) {
var boundArgs = Array.prototype.slice.call(arguments, 1);
return function() {
// Prepend the bound arguments to the current arguments.
var newArgs = Array.prototype.slice.call(arguments);
Array.prototype.unshift.apply(newArgs, boundArgs);
return func.apply(thisObj, newArgs);
};
} else {
return function() {
return func.apply(thisObj, arguments);
};
}
};
$dynamic("get$parentNode").TreeWalker = function() {
return this.parentNode.bind(this);
}
// ********** Code for _Uint16ArrayJs **************
var _Uint16ArrayJs = {};
$dynamic("is$List").Uint16Array = function(){return true};
$dynamic("is$Collection").Uint16Array = function(){return true};
$dynamic("get$length").Uint16Array = function() { return this.length; };
$dynamic("$index").Uint16Array = function(index) {
return this[index];
}
$dynamic("$setindex").Uint16Array = function(index, value) {
this[index] = value
}
$dynamic("iterator").Uint16Array = function() {
return new _FixedSizeListIterator_int(this);
}
$dynamic("add").Uint16Array = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _Uint32ArrayJs **************
var _Uint32ArrayJs = {};
$dynamic("is$List").Uint32Array = function(){return true};
$dynamic("is$Collection").Uint32Array = function(){return true};
$dynamic("get$length").Uint32Array = function() { return this.length; };
$dynamic("$index").Uint32Array = function(index) {
return this[index];
}
$dynamic("$setindex").Uint32Array = function(index, value) {
this[index] = value
}
$dynamic("iterator").Uint32Array = function() {
return new _FixedSizeListIterator_int(this);
}
$dynamic("add").Uint32Array = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _Uint8ArrayJs **************
var _Uint8ArrayJs = {};
$dynamic("is$List").Uint8Array = function(){return true};
$dynamic("is$Collection").Uint8Array = function(){return true};
$dynamic("get$length").Uint8Array = function() { return this.length; };
$dynamic("$index").Uint8Array = function(index) {
return this[index];
}
$dynamic("$setindex").Uint8Array = function(index, value) {
this[index] = value
}
$dynamic("iterator").Uint8Array = function() {
return new _FixedSizeListIterator_int(this);
}
$dynamic("add").Uint8Array = function(value) {
$throw(new UnsupportedOperationException("Cannot add to immutable List."));
}
// ********** Code for _Uint8ClampedArrayJs **************
var _Uint8ClampedArrayJs = {};
$dynamic("is$List").Uint8ClampedArray = function(){return true};
$dynamic("is$Collection").Uint8ClampedArray = function(){return true};
// ********** Code for _ValidityStateJs **************
// ********** Code for _WaveShaperNodeJs **************
// ********** Code for _WebGLActiveInfoJs **************
$dynamic("get$name").WebGLActiveInfo = function() { return this.name; };
// ********** Code for _WebGLBufferJs **************
// ********** Code for _WebGLCompressedTextureS3TCJs **************
// ********** Code for _WebGLContextAttributesJs **************
// ********** Code for _WebGLContextEventJs **************
// ********** Code for _WebGLDebugRendererInfoJs **************
// ********** Code for _WebGLDebugShadersJs **************
// ********** Code for _WebGLFramebufferJs **************
// ********** Code for _WebGLLoseContextJs **************
// ********** Code for _WebGLProgramJs **************
// ********** Code for _WebGLRenderbufferJs **************
// ********** Code for _WebGLRenderingContextJs **************
// ********** Code for _WebGLShaderJs **************
// ********** Code for _WebGLTextureJs **************
// ********** Code for _WebGLUniformLocationJs **************
// ********** Code for _WebGLVertexArrayObjectOESJs **************
// ********** Code for _WebKitAnimationJs **************
$dynamic("get$name").WebKitAnimation = function() { return this.name; };
// ********** Code for _WebKitAnimationEventJs **************
// ********** Code for _WebKitAnimationListJs **************
$dynamic("get$length").WebKitAnimationList = function() { return this.length; };
// ********** Code for _WebKitBlobBuilderJs **************
// ********** Code for _WebKitCSSKeyframeRuleJs **************
// ********** Code for _WebKitCSSKeyframesRuleJs **************
$dynamic("get$name").WebKitCSSKeyframesRule = function() { return this.name; };
// ********** Code for _WebKitCSSMatrixJs **************
// ********** Code for _WebKitCSSRegionRuleJs **************
// ********** Code for _WebKitCSSTransformValueJs **************
// ********** Code for _WebKitNamedFlowJs **************
// ********** Code for _WebKitPointJs **************
// ********** Code for _WebKitTransitionEventJs **************
// ********** Code for _WebSocketJs **************
// ********** Code for _WheelEventJs **************
// ********** Code for _WorkerJs **************
// ********** Code for _WorkerLocationJs **************
// ********** Code for _WorkerNavigatorJs **************
// ********** Code for _XMLHttpRequestJs **************
// ********** Code for _XMLHttpRequestExceptionJs **************
$dynamic("get$name").XMLHttpRequestException = function() { return this.name; };
// ********** Code for _XMLHttpRequestProgressEventJs **************
// ********** Code for _XMLHttpRequestUploadJs **************
// ********** Code for _XMLSerializerJs **************
// ********** Code for _XPathEvaluatorJs **************
// ********** Code for _XPathExceptionJs **************
$dynamic("get$name").XPathException = function() { return this.name; };
// ********** Code for _XPathExpressionJs **************
// ********** Code for _XPathNSResolverJs **************
// ********** Code for _XPathResultJs **************
// ********** Code for _XSLTProcessorJs **************
// ********** Code for _DOMParserFactoryProvider **************
function _DOMParserFactoryProvider() {}
// ********** Code for _DOMURLFactoryProvider **************
function _DOMURLFactoryProvider() {}
// ********** Code for _EventSourceFactoryProvider **************
function _EventSourceFactoryProvider() {}
// ********** Code for _FileReaderFactoryProvider **************
function _FileReaderFactoryProvider() {}
// ********** Code for _FileReaderSyncFactoryProvider **************
function _FileReaderSyncFactoryProvider() {}
// ********** Code for _HTMLAudioElementFactoryProvider **************
function _HTMLAudioElementFactoryProvider() {}
// ********** Code for _HTMLOptionElementFactoryProvider **************
function _HTMLOptionElementFactoryProvider() {}
// ********** Code for _MediaControllerFactoryProvider **************
function _MediaControllerFactoryProvider() {}
// ********** Code for _MediaStreamFactoryProvider **************
function _MediaStreamFactoryProvider() {}
// ********** Code for _MessageChannelFactoryProvider **************
function _MessageChannelFactoryProvider() {}
// ********** Code for _PeerConnectionFactoryProvider **************
function _PeerConnectionFactoryProvider() {}
// ********** Code for _ShadowRootFactoryProvider **************
function _ShadowRootFactoryProvider() {}
// ********** Code for _SharedWorkerFactoryProvider **************
function _SharedWorkerFactoryProvider() {}
// ********** Code for _TextTrackCueFactoryProvider **************
function _TextTrackCueFactoryProvider() {}
// ********** Code for _WebKitBlobBuilderFactoryProvider **************
function _WebKitBlobBuilderFactoryProvider() {}
// ********** Code for _WebKitCSSMatrixFactoryProvider **************
function _WebKitCSSMatrixFactoryProvider() {}
// ********** Code for _WorkerFactoryProvider **************
function _WorkerFactoryProvider() {}
// ********** Code for _XMLHttpRequestFactoryProvider **************
function _XMLHttpRequestFactoryProvider() {}
// ********** Code for _XMLSerializerFactoryProvider **************
function _XMLSerializerFactoryProvider() {}
// ********** Code for _XPathEvaluatorFactoryProvider **************
function _XPathEvaluatorFactoryProvider() {}
// ********** Code for _XSLTProcessorFactoryProvider **************
function _XSLTProcessorFactoryProvider() {}
// ********** Code for _Collections **************
function _Collections() {}
// ********** Code for _AudioContextFactoryProvider **************
function _AudioContextFactoryProvider() {}
// ********** Code for _TypedArrayFactoryProvider **************
function _TypedArrayFactoryProvider() {}
// ********** Code for _WebKitPointFactoryProvider **************
function _WebKitPointFactoryProvider() {}
// ********** Code for _WebSocketFactoryProvider **************
function _WebSocketFactoryProvider() {}
// ********** Code for _VariableSizeListIterator **************
function _VariableSizeListIterator() {}
_VariableSizeListIterator.prototype.hasNext = function() {
return this._dom_array.get$length() > this._dom_pos;
}
_VariableSizeListIterator.prototype.next = function() {
if (!this.hasNext()) {
$throw(const$0001);
}
return this._dom_array.$index(this._dom_pos++);
}
// ********** Code for _FixedSizeListIterator **************
$inherits(_FixedSizeListIterator, _VariableSizeListIterator);
function _FixedSizeListIterator() {}
_FixedSizeListIterator.prototype.hasNext = function() {
return this._dom_length > this._dom_pos;
}
// ********** Code for _VariableSizeListIterator_dart_core_String **************
$inherits(_VariableSizeListIterator_dart_core_String, _VariableSizeListIterator);
function _VariableSizeListIterator_dart_core_String(array) {
this._dom_array = array;
this._dom_pos = (0);
}
// ********** Code for _FixedSizeListIterator_dart_core_String **************
$inherits(_FixedSizeListIterator_dart_core_String, _FixedSizeListIterator);
function _FixedSizeListIterator_dart_core_String(array) {
this._dom_length = array.get$length();
_VariableSizeListIterator_dart_core_String.call(this, array);
}
// ********** Code for _VariableSizeListIterator_int **************
$inherits(_VariableSizeListIterator_int, _VariableSizeListIterator);
function _VariableSizeListIterator_int(array) {
this._dom_array = array;
this._dom_pos = (0);
}
// ********** Code for _FixedSizeListIterator_int **************
$inherits(_FixedSizeListIterator_int, _FixedSizeListIterator);
function _FixedSizeListIterator_int(array) {
this._dom_length = array.get$length();
_VariableSizeListIterator_int.call(this, array);
}
// ********** Code for _VariableSizeListIterator_num **************
$inherits(_VariableSizeListIterator_num, _VariableSizeListIterator);
function _VariableSizeListIterator_num(array) {
this._dom_array = array;
this._dom_pos = (0);
}
// ********** Code for _FixedSizeListIterator_num **************
$inherits(_FixedSizeListIterator_num, _FixedSizeListIterator);
function _FixedSizeListIterator_num(array) {
this._dom_length = array.get$length();
_VariableSizeListIterator_num.call(this, array);
}
// ********** Code for _VariableSizeListIterator_dom_Node **************
$inherits(_VariableSizeListIterator_dom_Node, _VariableSizeListIterator);
function _VariableSizeListIterator_dom_Node(array) {
this._dom_array = array;
this._dom_pos = (0);
}
// ********** Code for _FixedSizeListIterator_dom_Node **************
$inherits(_FixedSizeListIterator_dom_Node, _FixedSizeListIterator);
function _FixedSizeListIterator_dom_Node(array) {
this._dom_length = array.get$length();
_VariableSizeListIterator_dom_Node.call(this, array);
}
// ********** Code for _VariableSizeListIterator_dom_StyleSheet **************
$inherits(_VariableSizeListIterator_dom_StyleSheet, _VariableSizeListIterator);
function _VariableSizeListIterator_dom_StyleSheet(array) {
this._dom_array = array;
this._dom_pos = (0);
}
// ********** Code for _FixedSizeListIterator_dom_StyleSheet **************
$inherits(_FixedSizeListIterator_dom_StyleSheet, _FixedSizeListIterator);
function _FixedSizeListIterator_dom_StyleSheet(array) {
this._dom_length = array.get$length();
_VariableSizeListIterator_dom_StyleSheet.call(this, array);
}
// ********** Code for _VariableSizeListIterator_dom_Touch **************
$inherits(_VariableSizeListIterator_dom_Touch, _VariableSizeListIterator);
function _VariableSizeListIterator_dom_Touch(array) {
this._dom_array = array;
this._dom_pos = (0);
}
// ********** Code for _FixedSizeListIterator_dom_Touch **************
$inherits(_FixedSizeListIterator_dom_Touch, _FixedSizeListIterator);
function _FixedSizeListIterator_dom_Touch(array) {
this._dom_length = array.get$length();
_VariableSizeListIterator_dom_Touch.call(this, array);
}
// ********** Code for _Lists **************
function _Lists() {}
// ********** Code for top level **************
function get$window() {
return window;
}
function get$document() {
return window.document;
}
// ********** Library htmlimpl **************
// ********** Code for DOMWrapperBase **************
DOMWrapperBase._wrap$ctor = function(_ptr) {
this._ptr = _ptr;
var hasExistingWrapper = null == this._ptr.get$dartObjectLocalStorage();
this._ptr.set$dartObjectLocalStorage(this);
}
DOMWrapperBase._wrap$ctor.prototype = DOMWrapperBase.prototype;
function DOMWrapperBase() {}
DOMWrapperBase.prototype.get$_ptr = function() { return this._ptr; };
// ********** Code for EventTargetWrappingImplementation **************
$inherits(EventTargetWrappingImplementation, DOMWrapperBase);
EventTargetWrappingImplementation._wrap$ctor = function(ptr) {
DOMWrapperBase._wrap$ctor.call(this, ptr);
}
EventTargetWrappingImplementation._wrap$ctor.prototype = EventTargetWrappingImplementation.prototype;
function EventTargetWrappingImplementation() {}
// ********** Code for NodeWrappingImplementation **************
$inherits(NodeWrappingImplementation, EventTargetWrappingImplementation);
NodeWrappingImplementation._wrap$ctor = function(ptr) {
EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
}
NodeWrappingImplementation._wrap$ctor.prototype = NodeWrappingImplementation.prototype;
function NodeWrappingImplementation() {}
NodeWrappingImplementation.prototype.get$nodes = function() {
if (null == this._nodes) {
this._nodes = new _ChildrenNodeList._wrap$ctor(this._ptr);
}
return this._nodes;
}
// ********** Code for ElementWrappingImplementation **************
$inherits(ElementWrappingImplementation, NodeWrappingImplementation);
ElementWrappingImplementation._wrap$ctor = function(ptr) {
NodeWrappingImplementation._wrap$ctor.call(this, ptr);
}
ElementWrappingImplementation._wrap$ctor.prototype = ElementWrappingImplementation.prototype;
function ElementWrappingImplementation() {}
ElementWrappingImplementation.prototype.get$attributes = function() {
if (null == this._elementAttributeMap) {
this._elementAttributeMap = new ElementAttributeMap._wrap$ctor(this._ptr);
}
return this._elementAttributeMap;
}
ElementWrappingImplementation.prototype.set$attributes = function(value) {
var attributes = this.get$attributes();
attributes.clear();
var $$list = value.getKeys();
for (var $$i = $$list.iterator(); $$i.hasNext(); ) {
var key = $$i.next();
attributes.$setindex(key, value.$index(key));
}
}
ElementWrappingImplementation.prototype.query = function(selectors) {
return LevelDom.wrapElement(this._ptr.querySelector(selectors));
}
// ********** Code for AnchorElementWrappingImplementation **************
$inherits(AnchorElementWrappingImplementation, ElementWrappingImplementation);
AnchorElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
AnchorElementWrappingImplementation._wrap$ctor.prototype = AnchorElementWrappingImplementation.prototype;
function AnchorElementWrappingImplementation() {}
AnchorElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
AnchorElementWrappingImplementation.prototype.toString = function() {
return this._ptr.toString();
}
// ********** Code for AreaElementWrappingImplementation **************
$inherits(AreaElementWrappingImplementation, ElementWrappingImplementation);
AreaElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
AreaElementWrappingImplementation._wrap$ctor.prototype = AreaElementWrappingImplementation.prototype;
function AreaElementWrappingImplementation() {}
// ********** Code for MediaElementWrappingImplementation **************
$inherits(MediaElementWrappingImplementation, ElementWrappingImplementation);
MediaElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
MediaElementWrappingImplementation._wrap$ctor.prototype = MediaElementWrappingImplementation.prototype;
function MediaElementWrappingImplementation() {}
// ********** Code for AudioElementWrappingImplementation **************
$inherits(AudioElementWrappingImplementation, MediaElementWrappingImplementation);
AudioElementWrappingImplementation._wrap$ctor = function(ptr) {
MediaElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
AudioElementWrappingImplementation._wrap$ctor.prototype = AudioElementWrappingImplementation.prototype;
function AudioElementWrappingImplementation() {}
// ********** Code for BRElementWrappingImplementation **************
$inherits(BRElementWrappingImplementation, ElementWrappingImplementation);
BRElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
BRElementWrappingImplementation._wrap$ctor.prototype = BRElementWrappingImplementation.prototype;
function BRElementWrappingImplementation() {}
// ********** Code for BaseElementWrappingImplementation **************
$inherits(BaseElementWrappingImplementation, ElementWrappingImplementation);
BaseElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
BaseElementWrappingImplementation._wrap$ctor.prototype = BaseElementWrappingImplementation.prototype;
function BaseElementWrappingImplementation() {}
// ********** Code for ButtonElementWrappingImplementation **************
$inherits(ButtonElementWrappingImplementation, ElementWrappingImplementation);
ButtonElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
ButtonElementWrappingImplementation._wrap$ctor.prototype = ButtonElementWrappingImplementation.prototype;
function ButtonElementWrappingImplementation() {}
ButtonElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
ButtonElementWrappingImplementation.prototype.get$value = function() {
return this._ptr.get$value();
}
ButtonElementWrappingImplementation.prototype.set$value = function(value) {
this._ptr.set$value(value);
}
// ********** Code for CharacterDataWrappingImplementation **************
$inherits(CharacterDataWrappingImplementation, NodeWrappingImplementation);
CharacterDataWrappingImplementation._wrap$ctor = function(ptr) {
NodeWrappingImplementation._wrap$ctor.call(this, ptr);
}
CharacterDataWrappingImplementation._wrap$ctor.prototype = CharacterDataWrappingImplementation.prototype;
function CharacterDataWrappingImplementation() {}
CharacterDataWrappingImplementation.prototype.get$length = function() {
return this._ptr.get$length();
}
// ********** Code for TextWrappingImplementation **************
$inherits(TextWrappingImplementation, CharacterDataWrappingImplementation);
TextWrappingImplementation._wrap$ctor = function(ptr) {
CharacterDataWrappingImplementation._wrap$ctor.call(this, ptr);
}
TextWrappingImplementation._wrap$ctor.prototype = TextWrappingImplementation.prototype;
function TextWrappingImplementation() {}
// ********** Code for CDATASectionWrappingImplementation **************
$inherits(CDATASectionWrappingImplementation, TextWrappingImplementation);
CDATASectionWrappingImplementation._wrap$ctor = function(ptr) {
TextWrappingImplementation._wrap$ctor.call(this, ptr);
}
CDATASectionWrappingImplementation._wrap$ctor.prototype = CDATASectionWrappingImplementation.prototype;
function CDATASectionWrappingImplementation() {}
// ********** Code for CanvasElementWrappingImplementation **************
$inherits(CanvasElementWrappingImplementation, ElementWrappingImplementation);
CanvasElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
CanvasElementWrappingImplementation._wrap$ctor.prototype = CanvasElementWrappingImplementation.prototype;
function CanvasElementWrappingImplementation() {}
// ********** Code for CommentWrappingImplementation **************
$inherits(CommentWrappingImplementation, CharacterDataWrappingImplementation);
CommentWrappingImplementation._wrap$ctor = function(ptr) {
CharacterDataWrappingImplementation._wrap$ctor.call(this, ptr);
}
CommentWrappingImplementation._wrap$ctor.prototype = CommentWrappingImplementation.prototype;
function CommentWrappingImplementation() {}
// ********** Code for DListElementWrappingImplementation **************
$inherits(DListElementWrappingImplementation, ElementWrappingImplementation);
DListElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
DListElementWrappingImplementation._wrap$ctor.prototype = DListElementWrappingImplementation.prototype;
function DListElementWrappingImplementation() {}
// ********** Code for DataListElementWrappingImplementation **************
$inherits(DataListElementWrappingImplementation, ElementWrappingImplementation);
DataListElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
DataListElementWrappingImplementation._wrap$ctor.prototype = DataListElementWrappingImplementation.prototype;
function DataListElementWrappingImplementation() {}
// ********** Code for DetailsElementWrappingImplementation **************
$inherits(DetailsElementWrappingImplementation, ElementWrappingImplementation);
DetailsElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
DetailsElementWrappingImplementation._wrap$ctor.prototype = DetailsElementWrappingImplementation.prototype;
function DetailsElementWrappingImplementation() {}
// ********** Code for DivElementWrappingImplementation **************
$inherits(DivElementWrappingImplementation, ElementWrappingImplementation);
DivElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
DivElementWrappingImplementation._wrap$ctor.prototype = DivElementWrappingImplementation.prototype;
function DivElementWrappingImplementation() {}
// ********** Code for EmbedElementWrappingImplementation **************
$inherits(EmbedElementWrappingImplementation, ElementWrappingImplementation);
EmbedElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
EmbedElementWrappingImplementation._wrap$ctor.prototype = EmbedElementWrappingImplementation.prototype;
function EmbedElementWrappingImplementation() {}
EmbedElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
// ********** Code for EntityReferenceWrappingImplementation **************
$inherits(EntityReferenceWrappingImplementation, NodeWrappingImplementation);
EntityReferenceWrappingImplementation._wrap$ctor = function(ptr) {
NodeWrappingImplementation._wrap$ctor.call(this, ptr);
}
EntityReferenceWrappingImplementation._wrap$ctor.prototype = EntityReferenceWrappingImplementation.prototype;
function EntityReferenceWrappingImplementation() {}
// ********** Code for EntityWrappingImplementation **************
$inherits(EntityWrappingImplementation, NodeWrappingImplementation);
EntityWrappingImplementation._wrap$ctor = function(ptr) {
NodeWrappingImplementation._wrap$ctor.call(this, ptr);
}
EntityWrappingImplementation._wrap$ctor.prototype = EntityWrappingImplementation.prototype;
function EntityWrappingImplementation() {}
// ********** Code for FieldSetElementWrappingImplementation **************
$inherits(FieldSetElementWrappingImplementation, ElementWrappingImplementation);
FieldSetElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
FieldSetElementWrappingImplementation._wrap$ctor.prototype = FieldSetElementWrappingImplementation.prototype;
function FieldSetElementWrappingImplementation() {}
// ********** Code for FontElementWrappingImplementation **************
$inherits(FontElementWrappingImplementation, ElementWrappingImplementation);
FontElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
FontElementWrappingImplementation._wrap$ctor.prototype = FontElementWrappingImplementation.prototype;
function FontElementWrappingImplementation() {}
// ********** Code for FormElementWrappingImplementation **************
$inherits(FormElementWrappingImplementation, ElementWrappingImplementation);
FormElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
FormElementWrappingImplementation._wrap$ctor.prototype = FormElementWrappingImplementation.prototype;
function FormElementWrappingImplementation() {}
FormElementWrappingImplementation.prototype.get$length = function() {
return this._ptr.get$length();
}
FormElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
// ********** Code for HRElementWrappingImplementation **************
$inherits(HRElementWrappingImplementation, ElementWrappingImplementation);
HRElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
HRElementWrappingImplementation._wrap$ctor.prototype = HRElementWrappingImplementation.prototype;
function HRElementWrappingImplementation() {}
// ********** Code for HeadElementWrappingImplementation **************
$inherits(HeadElementWrappingImplementation, ElementWrappingImplementation);
HeadElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
HeadElementWrappingImplementation._wrap$ctor.prototype = HeadElementWrappingImplementation.prototype;
function HeadElementWrappingImplementation() {}
// ********** Code for HeadingElementWrappingImplementation **************
$inherits(HeadingElementWrappingImplementation, ElementWrappingImplementation);
HeadingElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
HeadingElementWrappingImplementation._wrap$ctor.prototype = HeadingElementWrappingImplementation.prototype;
function HeadingElementWrappingImplementation() {}
// ********** Code for IFrameElementWrappingImplementation **************
$inherits(IFrameElementWrappingImplementation, ElementWrappingImplementation);
IFrameElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
IFrameElementWrappingImplementation._wrap$ctor.prototype = IFrameElementWrappingImplementation.prototype;
function IFrameElementWrappingImplementation() {}
IFrameElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
// ********** Code for ImageElementWrappingImplementation **************
$inherits(ImageElementWrappingImplementation, ElementWrappingImplementation);
ImageElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
ImageElementWrappingImplementation._wrap$ctor.prototype = ImageElementWrappingImplementation.prototype;
function ImageElementWrappingImplementation() {}
ImageElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
// ********** Code for InputElementWrappingImplementation **************
$inherits(InputElementWrappingImplementation, ElementWrappingImplementation);
InputElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
InputElementWrappingImplementation._wrap$ctor.prototype = InputElementWrappingImplementation.prototype;
function InputElementWrappingImplementation() {}
InputElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
InputElementWrappingImplementation.prototype.get$value = function() {
return this._ptr.get$value();
}
InputElementWrappingImplementation.prototype.set$value = function(value) {
this._ptr.set$value(value);
}
// ********** Code for KeygenElementWrappingImplementation **************
$inherits(KeygenElementWrappingImplementation, ElementWrappingImplementation);
KeygenElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
KeygenElementWrappingImplementation._wrap$ctor.prototype = KeygenElementWrappingImplementation.prototype;
function KeygenElementWrappingImplementation() {}
KeygenElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
// ********** Code for LIElementWrappingImplementation **************
$inherits(LIElementWrappingImplementation, ElementWrappingImplementation);
LIElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
LIElementWrappingImplementation._wrap$ctor.prototype = LIElementWrappingImplementation.prototype;
function LIElementWrappingImplementation() {}
LIElementWrappingImplementation.prototype.get$value = function() {
return this._ptr.get$value();
}
LIElementWrappingImplementation.prototype.set$value = function(value) {
this._ptr.set$value(value);
}
// ********** Code for LabelElementWrappingImplementation **************
$inherits(LabelElementWrappingImplementation, ElementWrappingImplementation);
LabelElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
LabelElementWrappingImplementation._wrap$ctor.prototype = LabelElementWrappingImplementation.prototype;
function LabelElementWrappingImplementation() {}
// ********** Code for LegendElementWrappingImplementation **************
$inherits(LegendElementWrappingImplementation, ElementWrappingImplementation);
LegendElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
LegendElementWrappingImplementation._wrap$ctor.prototype = LegendElementWrappingImplementation.prototype;
function LegendElementWrappingImplementation() {}
// ********** Code for LinkElementWrappingImplementation **************
$inherits(LinkElementWrappingImplementation, ElementWrappingImplementation);
LinkElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
LinkElementWrappingImplementation._wrap$ctor.prototype = LinkElementWrappingImplementation.prototype;
function LinkElementWrappingImplementation() {}
// ********** Code for MapElementWrappingImplementation **************
$inherits(MapElementWrappingImplementation, ElementWrappingImplementation);
MapElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
MapElementWrappingImplementation._wrap$ctor.prototype = MapElementWrappingImplementation.prototype;
function MapElementWrappingImplementation() {}
MapElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
// ********** Code for MarqueeElementWrappingImplementation **************
$inherits(MarqueeElementWrappingImplementation, ElementWrappingImplementation);
MarqueeElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
MarqueeElementWrappingImplementation._wrap$ctor.prototype = MarqueeElementWrappingImplementation.prototype;
function MarqueeElementWrappingImplementation() {}
// ********** Code for MenuElementWrappingImplementation **************
$inherits(MenuElementWrappingImplementation, ElementWrappingImplementation);
MenuElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
MenuElementWrappingImplementation._wrap$ctor.prototype = MenuElementWrappingImplementation.prototype;
function MenuElementWrappingImplementation() {}
// ********** Code for MetaElementWrappingImplementation **************
$inherits(MetaElementWrappingImplementation, ElementWrappingImplementation);
MetaElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
MetaElementWrappingImplementation._wrap$ctor.prototype = MetaElementWrappingImplementation.prototype;
function MetaElementWrappingImplementation() {}
MetaElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
// ********** Code for MeterElementWrappingImplementation **************
$inherits(MeterElementWrappingImplementation, ElementWrappingImplementation);
MeterElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
MeterElementWrappingImplementation._wrap$ctor.prototype = MeterElementWrappingImplementation.prototype;
function MeterElementWrappingImplementation() {}
MeterElementWrappingImplementation.prototype.get$value = function() {
return this._ptr.get$value();
}
MeterElementWrappingImplementation.prototype.set$value = function(value) {
this._ptr.set$value(value);
}
// ********** Code for ModElementWrappingImplementation **************
$inherits(ModElementWrappingImplementation, ElementWrappingImplementation);
ModElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
ModElementWrappingImplementation._wrap$ctor.prototype = ModElementWrappingImplementation.prototype;
function ModElementWrappingImplementation() {}
// ********** Code for NotationWrappingImplementation **************
$inherits(NotationWrappingImplementation, NodeWrappingImplementation);
NotationWrappingImplementation._wrap$ctor = function(ptr) {
NodeWrappingImplementation._wrap$ctor.call(this, ptr);
}
NotationWrappingImplementation._wrap$ctor.prototype = NotationWrappingImplementation.prototype;
function NotationWrappingImplementation() {}
// ********** Code for OListElementWrappingImplementation **************
$inherits(OListElementWrappingImplementation, ElementWrappingImplementation);
OListElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
OListElementWrappingImplementation._wrap$ctor.prototype = OListElementWrappingImplementation.prototype;
function OListElementWrappingImplementation() {}
// ********** Code for OptGroupElementWrappingImplementation **************
$inherits(OptGroupElementWrappingImplementation, ElementWrappingImplementation);
OptGroupElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
OptGroupElementWrappingImplementation._wrap$ctor.prototype = OptGroupElementWrappingImplementation.prototype;
function OptGroupElementWrappingImplementation() {}
// ********** Code for OptionElementWrappingImplementation **************
$inherits(OptionElementWrappingImplementation, ElementWrappingImplementation);
OptionElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
OptionElementWrappingImplementation._wrap$ctor.prototype = OptionElementWrappingImplementation.prototype;
function OptionElementWrappingImplementation() {}
OptionElementWrappingImplementation.prototype.get$value = function() {
return this._ptr.get$value();
}
OptionElementWrappingImplementation.prototype.set$value = function(value) {
this._ptr.set$value(value);
}
// ********** Code for OutputElementWrappingImplementation **************
$inherits(OutputElementWrappingImplementation, ElementWrappingImplementation);
OutputElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
OutputElementWrappingImplementation._wrap$ctor.prototype = OutputElementWrappingImplementation.prototype;
function OutputElementWrappingImplementation() {}
OutputElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
OutputElementWrappingImplementation.prototype.get$value = function() {
return this._ptr.get$value();
}
OutputElementWrappingImplementation.prototype.set$value = function(value) {
this._ptr.set$value(value);
}
// ********** Code for ParagraphElementWrappingImplementation **************
$inherits(ParagraphElementWrappingImplementation, ElementWrappingImplementation);
ParagraphElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
ParagraphElementWrappingImplementation._wrap$ctor.prototype = ParagraphElementWrappingImplementation.prototype;
function ParagraphElementWrappingImplementation() {}
// ********** Code for ParamElementWrappingImplementation **************
$inherits(ParamElementWrappingImplementation, ElementWrappingImplementation);
ParamElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
ParamElementWrappingImplementation._wrap$ctor.prototype = ParamElementWrappingImplementation.prototype;
function ParamElementWrappingImplementation() {}
ParamElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
ParamElementWrappingImplementation.prototype.get$value = function() {
return this._ptr.get$value();
}
ParamElementWrappingImplementation.prototype.set$value = function(value) {
this._ptr.set$value(value);
}
// ********** Code for PreElementWrappingImplementation **************
$inherits(PreElementWrappingImplementation, ElementWrappingImplementation);
PreElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
PreElementWrappingImplementation._wrap$ctor.prototype = PreElementWrappingImplementation.prototype;
function PreElementWrappingImplementation() {}
// ********** Code for ProcessingInstructionWrappingImplementation **************
$inherits(ProcessingInstructionWrappingImplementation, NodeWrappingImplementation);
ProcessingInstructionWrappingImplementation._wrap$ctor = function(ptr) {
NodeWrappingImplementation._wrap$ctor.call(this, ptr);
}
ProcessingInstructionWrappingImplementation._wrap$ctor.prototype = ProcessingInstructionWrappingImplementation.prototype;
function ProcessingInstructionWrappingImplementation() {}
// ********** Code for ProgressElementWrappingImplementation **************
$inherits(ProgressElementWrappingImplementation, ElementWrappingImplementation);
ProgressElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
ProgressElementWrappingImplementation._wrap$ctor.prototype = ProgressElementWrappingImplementation.prototype;
function ProgressElementWrappingImplementation() {}
ProgressElementWrappingImplementation.prototype.get$value = function() {
return this._ptr.get$value();
}
ProgressElementWrappingImplementation.prototype.set$value = function(value) {
this._ptr.set$value(value);
}
// ********** Code for QuoteElementWrappingImplementation **************
$inherits(QuoteElementWrappingImplementation, ElementWrappingImplementation);
QuoteElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
QuoteElementWrappingImplementation._wrap$ctor.prototype = QuoteElementWrappingImplementation.prototype;
function QuoteElementWrappingImplementation() {}
// ********** Code for SVGElementWrappingImplementation **************
$inherits(SVGElementWrappingImplementation, ElementWrappingImplementation);
SVGElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGElementWrappingImplementation._wrap$ctor.prototype = SVGElementWrappingImplementation.prototype;
function SVGElementWrappingImplementation() {}
SVGElementWrappingImplementation.SVGElementWrappingImplementation$tag$factory = function(tag) {
return LevelDom.wrapSVGElement(get$document().createElementNS("http://www.w3.org/2000/svg", tag));
}
// ********** Code for SVGAElementWrappingImplementation **************
$inherits(SVGAElementWrappingImplementation, SVGElementWrappingImplementation);
SVGAElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGAElementWrappingImplementation._wrap$ctor.prototype = SVGAElementWrappingImplementation.prototype;
function SVGAElementWrappingImplementation() {}
// ********** Code for SVGAltGlyphDefElementWrappingImplementation **************
$inherits(SVGAltGlyphDefElementWrappingImplementation, SVGElementWrappingImplementation);
SVGAltGlyphDefElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGAltGlyphDefElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphDefElementWrappingImplementation.prototype;
function SVGAltGlyphDefElementWrappingImplementation() {}
// ********** Code for SVGTextContentElementWrappingImplementation **************
$inherits(SVGTextContentElementWrappingImplementation, SVGElementWrappingImplementation);
SVGTextContentElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGTextContentElementWrappingImplementation._wrap$ctor.prototype = SVGTextContentElementWrappingImplementation.prototype;
function SVGTextContentElementWrappingImplementation() {}
// ********** Code for SVGTextPositioningElementWrappingImplementation **************
$inherits(SVGTextPositioningElementWrappingImplementation, SVGTextContentElementWrappingImplementation);
SVGTextPositioningElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGTextContentElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGTextPositioningElementWrappingImplementation._wrap$ctor.prototype = SVGTextPositioningElementWrappingImplementation.prototype;
function SVGTextPositioningElementWrappingImplementation() {}
// ********** Code for SVGAltGlyphElementWrappingImplementation **************
$inherits(SVGAltGlyphElementWrappingImplementation, SVGTextPositioningElementWrappingImplementation);
SVGAltGlyphElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGAltGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphElementWrappingImplementation.prototype;
function SVGAltGlyphElementWrappingImplementation() {}
// ********** Code for SVGAltGlyphItemElementWrappingImplementation **************
$inherits(SVGAltGlyphItemElementWrappingImplementation, SVGElementWrappingImplementation);
SVGAltGlyphItemElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGAltGlyphItemElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphItemElementWrappingImplementation.prototype;
function SVGAltGlyphItemElementWrappingImplementation() {}
// ********** Code for SVGAnimationElementWrappingImplementation **************
$inherits(SVGAnimationElementWrappingImplementation, SVGElementWrappingImplementation);
SVGAnimationElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGAnimationElementWrappingImplementation._wrap$ctor.prototype = SVGAnimationElementWrappingImplementation.prototype;
function SVGAnimationElementWrappingImplementation() {}
// ********** Code for SVGAnimateColorElementWrappingImplementation **************
$inherits(SVGAnimateColorElementWrappingImplementation, SVGAnimationElementWrappingImplementation);
SVGAnimateColorElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGAnimateColorElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateColorElementWrappingImplementation.prototype;
function SVGAnimateColorElementWrappingImplementation() {}
// ********** Code for SVGAnimateElementWrappingImplementation **************
$inherits(SVGAnimateElementWrappingImplementation, SVGAnimationElementWrappingImplementation);
SVGAnimateElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGAnimateElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateElementWrappingImplementation.prototype;
function SVGAnimateElementWrappingImplementation() {}
// ********** Code for SVGAnimateMotionElementWrappingImplementation **************
$inherits(SVGAnimateMotionElementWrappingImplementation, SVGAnimationElementWrappingImplementation);
SVGAnimateMotionElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGAnimateMotionElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateMotionElementWrappingImplementation.prototype;
function SVGAnimateMotionElementWrappingImplementation() {}
// ********** Code for SVGAnimateTransformElementWrappingImplementation **************
$inherits(SVGAnimateTransformElementWrappingImplementation, SVGAnimationElementWrappingImplementation);
SVGAnimateTransformElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGAnimateTransformElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateTransformElementWrappingImplementation.prototype;
function SVGAnimateTransformElementWrappingImplementation() {}
// ********** Code for SVGCircleElementWrappingImplementation **************
$inherits(SVGCircleElementWrappingImplementation, SVGElementWrappingImplementation);
SVGCircleElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGCircleElementWrappingImplementation._wrap$ctor.prototype = SVGCircleElementWrappingImplementation.prototype;
function SVGCircleElementWrappingImplementation() {}
// ********** Code for SVGClipPathElementWrappingImplementation **************
$inherits(SVGClipPathElementWrappingImplementation, SVGElementWrappingImplementation);
SVGClipPathElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGClipPathElementWrappingImplementation._wrap$ctor.prototype = SVGClipPathElementWrappingImplementation.prototype;
function SVGClipPathElementWrappingImplementation() {}
// ********** Code for SVGComponentTransferFunctionElementWrappingImplementation **************
$inherits(SVGComponentTransferFunctionElementWrappingImplementation, SVGElementWrappingImplementation);
SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.prototype = SVGComponentTransferFunctionElementWrappingImplementation.prototype;
function SVGComponentTransferFunctionElementWrappingImplementation() {}
// ********** Code for SVGCursorElementWrappingImplementation **************
$inherits(SVGCursorElementWrappingImplementation, SVGElementWrappingImplementation);
SVGCursorElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGCursorElementWrappingImplementation._wrap$ctor.prototype = SVGCursorElementWrappingImplementation.prototype;
function SVGCursorElementWrappingImplementation() {}
// ********** Code for SVGDefsElementWrappingImplementation **************
$inherits(SVGDefsElementWrappingImplementation, SVGElementWrappingImplementation);
SVGDefsElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGDefsElementWrappingImplementation._wrap$ctor.prototype = SVGDefsElementWrappingImplementation.prototype;
function SVGDefsElementWrappingImplementation() {}
// ********** Code for SVGDescElementWrappingImplementation **************
$inherits(SVGDescElementWrappingImplementation, SVGElementWrappingImplementation);
SVGDescElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGDescElementWrappingImplementation._wrap$ctor.prototype = SVGDescElementWrappingImplementation.prototype;
function SVGDescElementWrappingImplementation() {}
// ********** Code for SVGEllipseElementWrappingImplementation **************
$inherits(SVGEllipseElementWrappingImplementation, SVGElementWrappingImplementation);
SVGEllipseElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGEllipseElementWrappingImplementation._wrap$ctor.prototype = SVGEllipseElementWrappingImplementation.prototype;
function SVGEllipseElementWrappingImplementation() {}
// ********** Code for SVGFEBlendElementWrappingImplementation **************
$inherits(SVGFEBlendElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEBlendElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEBlendElementWrappingImplementation._wrap$ctor.prototype = SVGFEBlendElementWrappingImplementation.prototype;
function SVGFEBlendElementWrappingImplementation() {}
// ********** Code for SVGFEColorMatrixElementWrappingImplementation **************
$inherits(SVGFEColorMatrixElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEColorMatrixElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEColorMatrixElementWrappingImplementation._wrap$ctor.prototype = SVGFEColorMatrixElementWrappingImplementation.prototype;
function SVGFEColorMatrixElementWrappingImplementation() {}
// ********** Code for SVGFEComponentTransferElementWrappingImplementation **************
$inherits(SVGFEComponentTransferElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEComponentTransferElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEComponentTransferElementWrappingImplementation._wrap$ctor.prototype = SVGFEComponentTransferElementWrappingImplementation.prototype;
function SVGFEComponentTransferElementWrappingImplementation() {}
// ********** Code for SVGFEConvolveMatrixElementWrappingImplementation **************
$inherits(SVGFEConvolveMatrixElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor.prototype = SVGFEConvolveMatrixElementWrappingImplementation.prototype;
function SVGFEConvolveMatrixElementWrappingImplementation() {}
// ********** Code for SVGFEDiffuseLightingElementWrappingImplementation **************
$inherits(SVGFEDiffuseLightingElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor.prototype = SVGFEDiffuseLightingElementWrappingImplementation.prototype;
function SVGFEDiffuseLightingElementWrappingImplementation() {}
// ********** Code for SVGFEDisplacementMapElementWrappingImplementation **************
$inherits(SVGFEDisplacementMapElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor.prototype = SVGFEDisplacementMapElementWrappingImplementation.prototype;
function SVGFEDisplacementMapElementWrappingImplementation() {}
// ********** Code for SVGFEDistantLightElementWrappingImplementation **************
$inherits(SVGFEDistantLightElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEDistantLightElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEDistantLightElementWrappingImplementation._wrap$ctor.prototype = SVGFEDistantLightElementWrappingImplementation.prototype;
function SVGFEDistantLightElementWrappingImplementation() {}
// ********** Code for SVGFEDropShadowElementWrappingImplementation **************
$inherits(SVGFEDropShadowElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEDropShadowElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEDropShadowElementWrappingImplementation._wrap$ctor.prototype = SVGFEDropShadowElementWrappingImplementation.prototype;
function SVGFEDropShadowElementWrappingImplementation() {}
// ********** Code for SVGFEFloodElementWrappingImplementation **************
$inherits(SVGFEFloodElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEFloodElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEFloodElementWrappingImplementation._wrap$ctor.prototype = SVGFEFloodElementWrappingImplementation.prototype;
function SVGFEFloodElementWrappingImplementation() {}
// ********** Code for SVGFEFuncAElementWrappingImplementation **************
$inherits(SVGFEFuncAElementWrappingImplementation, SVGComponentTransferFunctionElementWrappingImplementation);
SVGFEFuncAElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEFuncAElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncAElementWrappingImplementation.prototype;
function SVGFEFuncAElementWrappingImplementation() {}
// ********** Code for SVGFEFuncBElementWrappingImplementation **************
$inherits(SVGFEFuncBElementWrappingImplementation, SVGComponentTransferFunctionElementWrappingImplementation);
SVGFEFuncBElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEFuncBElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncBElementWrappingImplementation.prototype;
function SVGFEFuncBElementWrappingImplementation() {}
// ********** Code for SVGFEFuncGElementWrappingImplementation **************
$inherits(SVGFEFuncGElementWrappingImplementation, SVGComponentTransferFunctionElementWrappingImplementation);
SVGFEFuncGElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEFuncGElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncGElementWrappingImplementation.prototype;
function SVGFEFuncGElementWrappingImplementation() {}
// ********** Code for SVGFEFuncRElementWrappingImplementation **************
$inherits(SVGFEFuncRElementWrappingImplementation, SVGComponentTransferFunctionElementWrappingImplementation);
SVGFEFuncRElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEFuncRElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncRElementWrappingImplementation.prototype;
function SVGFEFuncRElementWrappingImplementation() {}
// ********** Code for SVGFEGaussianBlurElementWrappingImplementation **************
$inherits(SVGFEGaussianBlurElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor.prototype = SVGFEGaussianBlurElementWrappingImplementation.prototype;
function SVGFEGaussianBlurElementWrappingImplementation() {}
// ********** Code for SVGFEImageElementWrappingImplementation **************
$inherits(SVGFEImageElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEImageElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEImageElementWrappingImplementation._wrap$ctor.prototype = SVGFEImageElementWrappingImplementation.prototype;
function SVGFEImageElementWrappingImplementation() {}
// ********** Code for SVGFEMergeElementWrappingImplementation **************
$inherits(SVGFEMergeElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEMergeElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEMergeElementWrappingImplementation._wrap$ctor.prototype = SVGFEMergeElementWrappingImplementation.prototype;
function SVGFEMergeElementWrappingImplementation() {}
// ********** Code for SVGFEMergeNodeElementWrappingImplementation **************
$inherits(SVGFEMergeNodeElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEMergeNodeElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEMergeNodeElementWrappingImplementation._wrap$ctor.prototype = SVGFEMergeNodeElementWrappingImplementation.prototype;
function SVGFEMergeNodeElementWrappingImplementation() {}
// ********** Code for SVGFEOffsetElementWrappingImplementation **************
$inherits(SVGFEOffsetElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEOffsetElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEOffsetElementWrappingImplementation._wrap$ctor.prototype = SVGFEOffsetElementWrappingImplementation.prototype;
function SVGFEOffsetElementWrappingImplementation() {}
// ********** Code for SVGFEPointLightElementWrappingImplementation **************
$inherits(SVGFEPointLightElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFEPointLightElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFEPointLightElementWrappingImplementation._wrap$ctor.prototype = SVGFEPointLightElementWrappingImplementation.prototype;
function SVGFEPointLightElementWrappingImplementation() {}
// ********** Code for SVGFESpecularLightingElementWrappingImplementation **************
$inherits(SVGFESpecularLightingElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFESpecularLightingElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFESpecularLightingElementWrappingImplementation._wrap$ctor.prototype = SVGFESpecularLightingElementWrappingImplementation.prototype;
function SVGFESpecularLightingElementWrappingImplementation() {}
// ********** Code for SVGFESpotLightElementWrappingImplementation **************
$inherits(SVGFESpotLightElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFESpotLightElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFESpotLightElementWrappingImplementation._wrap$ctor.prototype = SVGFESpotLightElementWrappingImplementation.prototype;
function SVGFESpotLightElementWrappingImplementation() {}
// ********** Code for SVGFETileElementWrappingImplementation **************
$inherits(SVGFETileElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFETileElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFETileElementWrappingImplementation._wrap$ctor.prototype = SVGFETileElementWrappingImplementation.prototype;
function SVGFETileElementWrappingImplementation() {}
// ********** Code for SVGFETurbulenceElementWrappingImplementation **************
$inherits(SVGFETurbulenceElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFETurbulenceElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFETurbulenceElementWrappingImplementation._wrap$ctor.prototype = SVGFETurbulenceElementWrappingImplementation.prototype;
function SVGFETurbulenceElementWrappingImplementation() {}
// ********** Code for SVGFilterElementWrappingImplementation **************
$inherits(SVGFilterElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFilterElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFilterElementWrappingImplementation._wrap$ctor.prototype = SVGFilterElementWrappingImplementation.prototype;
function SVGFilterElementWrappingImplementation() {}
// ********** Code for SVGFontElementWrappingImplementation **************
$inherits(SVGFontElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFontElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFontElementWrappingImplementation._wrap$ctor.prototype = SVGFontElementWrappingImplementation.prototype;
function SVGFontElementWrappingImplementation() {}
// ********** Code for SVGFontFaceElementWrappingImplementation **************
$inherits(SVGFontFaceElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFontFaceElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFontFaceElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceElementWrappingImplementation.prototype;
function SVGFontFaceElementWrappingImplementation() {}
// ********** Code for SVGFontFaceFormatElementWrappingImplementation **************
$inherits(SVGFontFaceFormatElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFontFaceFormatElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFontFaceFormatElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceFormatElementWrappingImplementation.prototype;
function SVGFontFaceFormatElementWrappingImplementation() {}
// ********** Code for SVGFontFaceNameElementWrappingImplementation **************
$inherits(SVGFontFaceNameElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFontFaceNameElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFontFaceNameElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceNameElementWrappingImplementation.prototype;
function SVGFontFaceNameElementWrappingImplementation() {}
// ********** Code for SVGFontFaceSrcElementWrappingImplementation **************
$inherits(SVGFontFaceSrcElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFontFaceSrcElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFontFaceSrcElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceSrcElementWrappingImplementation.prototype;
function SVGFontFaceSrcElementWrappingImplementation() {}
// ********** Code for SVGFontFaceUriElementWrappingImplementation **************
$inherits(SVGFontFaceUriElementWrappingImplementation, SVGElementWrappingImplementation);
SVGFontFaceUriElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGFontFaceUriElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceUriElementWrappingImplementation.prototype;
function SVGFontFaceUriElementWrappingImplementation() {}
// ********** Code for SVGForeignObjectElementWrappingImplementation **************
$inherits(SVGForeignObjectElementWrappingImplementation, SVGElementWrappingImplementation);
SVGForeignObjectElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGForeignObjectElementWrappingImplementation._wrap$ctor.prototype = SVGForeignObjectElementWrappingImplementation.prototype;
function SVGForeignObjectElementWrappingImplementation() {}
// ********** Code for SVGGElementWrappingImplementation **************
$inherits(SVGGElementWrappingImplementation, SVGElementWrappingImplementation);
SVGGElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGGElementWrappingImplementation._wrap$ctor.prototype = SVGGElementWrappingImplementation.prototype;
function SVGGElementWrappingImplementation() {}
// ********** Code for SVGGlyphElementWrappingImplementation **************
$inherits(SVGGlyphElementWrappingImplementation, SVGElementWrappingImplementation);
SVGGlyphElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGGlyphElementWrappingImplementation.prototype;
function SVGGlyphElementWrappingImplementation() {}
// ********** Code for SVGGlyphRefElementWrappingImplementation **************
$inherits(SVGGlyphRefElementWrappingImplementation, SVGElementWrappingImplementation);
SVGGlyphRefElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGGlyphRefElementWrappingImplementation._wrap$ctor.prototype = SVGGlyphRefElementWrappingImplementation.prototype;
function SVGGlyphRefElementWrappingImplementation() {}
// ********** Code for SVGGradientElementWrappingImplementation **************
$inherits(SVGGradientElementWrappingImplementation, SVGElementWrappingImplementation);
SVGGradientElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGGradientElementWrappingImplementation._wrap$ctor.prototype = SVGGradientElementWrappingImplementation.prototype;
function SVGGradientElementWrappingImplementation() {}
// ********** Code for SVGHKernElementWrappingImplementation **************
$inherits(SVGHKernElementWrappingImplementation, SVGElementWrappingImplementation);
SVGHKernElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGHKernElementWrappingImplementation._wrap$ctor.prototype = SVGHKernElementWrappingImplementation.prototype;
function SVGHKernElementWrappingImplementation() {}
// ********** Code for SVGImageElementWrappingImplementation **************
$inherits(SVGImageElementWrappingImplementation, SVGElementWrappingImplementation);
SVGImageElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGImageElementWrappingImplementation._wrap$ctor.prototype = SVGImageElementWrappingImplementation.prototype;
function SVGImageElementWrappingImplementation() {}
// ********** Code for SVGLineElementWrappingImplementation **************
$inherits(SVGLineElementWrappingImplementation, SVGElementWrappingImplementation);
SVGLineElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGLineElementWrappingImplementation._wrap$ctor.prototype = SVGLineElementWrappingImplementation.prototype;
function SVGLineElementWrappingImplementation() {}
// ********** Code for SVGLinearGradientElementWrappingImplementation **************
$inherits(SVGLinearGradientElementWrappingImplementation, SVGGradientElementWrappingImplementation);
SVGLinearGradientElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGGradientElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGLinearGradientElementWrappingImplementation._wrap$ctor.prototype = SVGLinearGradientElementWrappingImplementation.prototype;
function SVGLinearGradientElementWrappingImplementation() {}
// ********** Code for SVGMPathElementWrappingImplementation **************
$inherits(SVGMPathElementWrappingImplementation, SVGElementWrappingImplementation);
SVGMPathElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGMPathElementWrappingImplementation._wrap$ctor.prototype = SVGMPathElementWrappingImplementation.prototype;
function SVGMPathElementWrappingImplementation() {}
// ********** Code for SVGMarkerElementWrappingImplementation **************
$inherits(SVGMarkerElementWrappingImplementation, SVGElementWrappingImplementation);
SVGMarkerElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGMarkerElementWrappingImplementation._wrap$ctor.prototype = SVGMarkerElementWrappingImplementation.prototype;
function SVGMarkerElementWrappingImplementation() {}
// ********** Code for SVGMaskElementWrappingImplementation **************
$inherits(SVGMaskElementWrappingImplementation, SVGElementWrappingImplementation);
SVGMaskElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGMaskElementWrappingImplementation._wrap$ctor.prototype = SVGMaskElementWrappingImplementation.prototype;
function SVGMaskElementWrappingImplementation() {}
// ********** Code for SVGMetadataElementWrappingImplementation **************
$inherits(SVGMetadataElementWrappingImplementation, SVGElementWrappingImplementation);
SVGMetadataElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGMetadataElementWrappingImplementation._wrap$ctor.prototype = SVGMetadataElementWrappingImplementation.prototype;
function SVGMetadataElementWrappingImplementation() {}
// ********** Code for SVGMissingGlyphElementWrappingImplementation **************
$inherits(SVGMissingGlyphElementWrappingImplementation, SVGElementWrappingImplementation);
SVGMissingGlyphElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGMissingGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGMissingGlyphElementWrappingImplementation.prototype;
function SVGMissingGlyphElementWrappingImplementation() {}
// ********** Code for SVGPathElementWrappingImplementation **************
$inherits(SVGPathElementWrappingImplementation, SVGElementWrappingImplementation);
SVGPathElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGPathElementWrappingImplementation._wrap$ctor.prototype = SVGPathElementWrappingImplementation.prototype;
function SVGPathElementWrappingImplementation() {}
// ********** Code for SVGPatternElementWrappingImplementation **************
$inherits(SVGPatternElementWrappingImplementation, SVGElementWrappingImplementation);
SVGPatternElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGPatternElementWrappingImplementation._wrap$ctor.prototype = SVGPatternElementWrappingImplementation.prototype;
function SVGPatternElementWrappingImplementation() {}
// ********** Code for SVGPolygonElementWrappingImplementation **************
$inherits(SVGPolygonElementWrappingImplementation, SVGElementWrappingImplementation);
SVGPolygonElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGPolygonElementWrappingImplementation._wrap$ctor.prototype = SVGPolygonElementWrappingImplementation.prototype;
function SVGPolygonElementWrappingImplementation() {}
// ********** Code for SVGPolylineElementWrappingImplementation **************
$inherits(SVGPolylineElementWrappingImplementation, SVGElementWrappingImplementation);
SVGPolylineElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGPolylineElementWrappingImplementation._wrap$ctor.prototype = SVGPolylineElementWrappingImplementation.prototype;
function SVGPolylineElementWrappingImplementation() {}
// ********** Code for SVGRadialGradientElementWrappingImplementation **************
$inherits(SVGRadialGradientElementWrappingImplementation, SVGGradientElementWrappingImplementation);
SVGRadialGradientElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGGradientElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGRadialGradientElementWrappingImplementation._wrap$ctor.prototype = SVGRadialGradientElementWrappingImplementation.prototype;
function SVGRadialGradientElementWrappingImplementation() {}
// ********** Code for SVGRectElementWrappingImplementation **************
$inherits(SVGRectElementWrappingImplementation, SVGElementWrappingImplementation);
SVGRectElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGRectElementWrappingImplementation._wrap$ctor.prototype = SVGRectElementWrappingImplementation.prototype;
function SVGRectElementWrappingImplementation() {}
// ********** Code for SVGScriptElementWrappingImplementation **************
$inherits(SVGScriptElementWrappingImplementation, SVGElementWrappingImplementation);
SVGScriptElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGScriptElementWrappingImplementation._wrap$ctor.prototype = SVGScriptElementWrappingImplementation.prototype;
function SVGScriptElementWrappingImplementation() {}
// ********** Code for SVGSetElementWrappingImplementation **************
$inherits(SVGSetElementWrappingImplementation, SVGAnimationElementWrappingImplementation);
SVGSetElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGSetElementWrappingImplementation._wrap$ctor.prototype = SVGSetElementWrappingImplementation.prototype;
function SVGSetElementWrappingImplementation() {}
// ********** Code for SVGStopElementWrappingImplementation **************
$inherits(SVGStopElementWrappingImplementation, SVGElementWrappingImplementation);
SVGStopElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGStopElementWrappingImplementation._wrap$ctor.prototype = SVGStopElementWrappingImplementation.prototype;
function SVGStopElementWrappingImplementation() {}
// ********** Code for SVGStyleElementWrappingImplementation **************
$inherits(SVGStyleElementWrappingImplementation, SVGElementWrappingImplementation);
SVGStyleElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGStyleElementWrappingImplementation._wrap$ctor.prototype = SVGStyleElementWrappingImplementation.prototype;
function SVGStyleElementWrappingImplementation() {}
// ********** Code for SVGSwitchElementWrappingImplementation **************
$inherits(SVGSwitchElementWrappingImplementation, SVGElementWrappingImplementation);
SVGSwitchElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGSwitchElementWrappingImplementation._wrap$ctor.prototype = SVGSwitchElementWrappingImplementation.prototype;
function SVGSwitchElementWrappingImplementation() {}
// ********** Code for SVGSymbolElementWrappingImplementation **************
$inherits(SVGSymbolElementWrappingImplementation, SVGElementWrappingImplementation);
SVGSymbolElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGSymbolElementWrappingImplementation._wrap$ctor.prototype = SVGSymbolElementWrappingImplementation.prototype;
function SVGSymbolElementWrappingImplementation() {}
// ********** Code for SVGTRefElementWrappingImplementation **************
$inherits(SVGTRefElementWrappingImplementation, SVGTextPositioningElementWrappingImplementation);
SVGTRefElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGTRefElementWrappingImplementation._wrap$ctor.prototype = SVGTRefElementWrappingImplementation.prototype;
function SVGTRefElementWrappingImplementation() {}
// ********** Code for SVGTSpanElementWrappingImplementation **************
$inherits(SVGTSpanElementWrappingImplementation, SVGTextPositioningElementWrappingImplementation);
SVGTSpanElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGTSpanElementWrappingImplementation._wrap$ctor.prototype = SVGTSpanElementWrappingImplementation.prototype;
function SVGTSpanElementWrappingImplementation() {}
// ********** Code for SVGTextElementWrappingImplementation **************
$inherits(SVGTextElementWrappingImplementation, SVGTextPositioningElementWrappingImplementation);
SVGTextElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGTextElementWrappingImplementation._wrap$ctor.prototype = SVGTextElementWrappingImplementation.prototype;
function SVGTextElementWrappingImplementation() {}
// ********** Code for SVGTextPathElementWrappingImplementation **************
$inherits(SVGTextPathElementWrappingImplementation, SVGTextContentElementWrappingImplementation);
SVGTextPathElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGTextContentElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGTextPathElementWrappingImplementation._wrap$ctor.prototype = SVGTextPathElementWrappingImplementation.prototype;
function SVGTextPathElementWrappingImplementation() {}
// ********** Code for SVGTitleElementWrappingImplementation **************
$inherits(SVGTitleElementWrappingImplementation, SVGElementWrappingImplementation);
SVGTitleElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGTitleElementWrappingImplementation._wrap$ctor.prototype = SVGTitleElementWrappingImplementation.prototype;
function SVGTitleElementWrappingImplementation() {}
// ********** Code for SVGUseElementWrappingImplementation **************
$inherits(SVGUseElementWrappingImplementation, SVGElementWrappingImplementation);
SVGUseElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGUseElementWrappingImplementation._wrap$ctor.prototype = SVGUseElementWrappingImplementation.prototype;
function SVGUseElementWrappingImplementation() {}
// ********** Code for SVGVKernElementWrappingImplementation **************
$inherits(SVGVKernElementWrappingImplementation, SVGElementWrappingImplementation);
SVGVKernElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGVKernElementWrappingImplementation._wrap$ctor.prototype = SVGVKernElementWrappingImplementation.prototype;
function SVGVKernElementWrappingImplementation() {}
// ********** Code for SVGViewElementWrappingImplementation **************
$inherits(SVGViewElementWrappingImplementation, SVGElementWrappingImplementation);
SVGViewElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGViewElementWrappingImplementation._wrap$ctor.prototype = SVGViewElementWrappingImplementation.prototype;
function SVGViewElementWrappingImplementation() {}
// ********** Code for ScriptElementWrappingImplementation **************
$inherits(ScriptElementWrappingImplementation, ElementWrappingImplementation);
ScriptElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
ScriptElementWrappingImplementation._wrap$ctor.prototype = ScriptElementWrappingImplementation.prototype;
function ScriptElementWrappingImplementation() {}
// ********** Code for SelectElementWrappingImplementation **************
$inherits(SelectElementWrappingImplementation, ElementWrappingImplementation);
SelectElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SelectElementWrappingImplementation._wrap$ctor.prototype = SelectElementWrappingImplementation.prototype;
function SelectElementWrappingImplementation() {}
SelectElementWrappingImplementation.prototype.get$length = function() {
return this._ptr.get$length();
}
SelectElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
SelectElementWrappingImplementation.prototype.get$value = function() {
return this._ptr.get$value();
}
SelectElementWrappingImplementation.prototype.set$value = function(value) {
this._ptr.set$value(value);
}
SelectElementWrappingImplementation.prototype.item = function(index) {
return LevelDom.wrapNode(this._ptr.item(index));
}
// ********** Code for SourceElementWrappingImplementation **************
$inherits(SourceElementWrappingImplementation, ElementWrappingImplementation);
SourceElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SourceElementWrappingImplementation._wrap$ctor.prototype = SourceElementWrappingImplementation.prototype;
function SourceElementWrappingImplementation() {}
// ********** Code for SpanElementWrappingImplementation **************
$inherits(SpanElementWrappingImplementation, ElementWrappingImplementation);
SpanElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SpanElementWrappingImplementation._wrap$ctor.prototype = SpanElementWrappingImplementation.prototype;
function SpanElementWrappingImplementation() {}
// ********** Code for StyleElementWrappingImplementation **************
$inherits(StyleElementWrappingImplementation, ElementWrappingImplementation);
StyleElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
StyleElementWrappingImplementation._wrap$ctor.prototype = StyleElementWrappingImplementation.prototype;
function StyleElementWrappingImplementation() {}
// ********** Code for TableCaptionElementWrappingImplementation **************
$inherits(TableCaptionElementWrappingImplementation, ElementWrappingImplementation);
TableCaptionElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
TableCaptionElementWrappingImplementation._wrap$ctor.prototype = TableCaptionElementWrappingImplementation.prototype;
function TableCaptionElementWrappingImplementation() {}
// ********** Code for TableCellElementWrappingImplementation **************
$inherits(TableCellElementWrappingImplementation, ElementWrappingImplementation);
TableCellElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
TableCellElementWrappingImplementation._wrap$ctor.prototype = TableCellElementWrappingImplementation.prototype;
function TableCellElementWrappingImplementation() {}
// ********** Code for TableColElementWrappingImplementation **************
$inherits(TableColElementWrappingImplementation, ElementWrappingImplementation);
TableColElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
TableColElementWrappingImplementation._wrap$ctor.prototype = TableColElementWrappingImplementation.prototype;
function TableColElementWrappingImplementation() {}
// ********** Code for TableElementWrappingImplementation **************
$inherits(TableElementWrappingImplementation, ElementWrappingImplementation);
TableElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
TableElementWrappingImplementation._wrap$ctor.prototype = TableElementWrappingImplementation.prototype;
function TableElementWrappingImplementation() {}
// ********** Code for TableRowElementWrappingImplementation **************
$inherits(TableRowElementWrappingImplementation, ElementWrappingImplementation);
TableRowElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
TableRowElementWrappingImplementation._wrap$ctor.prototype = TableRowElementWrappingImplementation.prototype;
function TableRowElementWrappingImplementation() {}
// ********** Code for TableSectionElementWrappingImplementation **************
$inherits(TableSectionElementWrappingImplementation, ElementWrappingImplementation);
TableSectionElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
TableSectionElementWrappingImplementation._wrap$ctor.prototype = TableSectionElementWrappingImplementation.prototype;
function TableSectionElementWrappingImplementation() {}
// ********** Code for TextAreaElementWrappingImplementation **************
$inherits(TextAreaElementWrappingImplementation, ElementWrappingImplementation);
TextAreaElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
TextAreaElementWrappingImplementation._wrap$ctor.prototype = TextAreaElementWrappingImplementation.prototype;
function TextAreaElementWrappingImplementation() {}
TextAreaElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
TextAreaElementWrappingImplementation.prototype.get$value = function() {
return this._ptr.get$value();
}
TextAreaElementWrappingImplementation.prototype.set$value = function(value) {
this._ptr.set$value(value);
}
// ********** Code for TitleElementWrappingImplementation **************
$inherits(TitleElementWrappingImplementation, ElementWrappingImplementation);
TitleElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
TitleElementWrappingImplementation._wrap$ctor.prototype = TitleElementWrappingImplementation.prototype;
function TitleElementWrappingImplementation() {}
// ********** Code for TrackElementWrappingImplementation **************
$inherits(TrackElementWrappingImplementation, ElementWrappingImplementation);
TrackElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
TrackElementWrappingImplementation._wrap$ctor.prototype = TrackElementWrappingImplementation.prototype;
function TrackElementWrappingImplementation() {}
// ********** Code for UListElementWrappingImplementation **************
$inherits(UListElementWrappingImplementation, ElementWrappingImplementation);
UListElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
UListElementWrappingImplementation._wrap$ctor.prototype = UListElementWrappingImplementation.prototype;
function UListElementWrappingImplementation() {}
// ********** Code for UnknownElementWrappingImplementation **************
$inherits(UnknownElementWrappingImplementation, ElementWrappingImplementation);
UnknownElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
UnknownElementWrappingImplementation._wrap$ctor.prototype = UnknownElementWrappingImplementation.prototype;
function UnknownElementWrappingImplementation() {}
// ********** Code for VideoElementWrappingImplementation **************
$inherits(VideoElementWrappingImplementation, MediaElementWrappingImplementation);
VideoElementWrappingImplementation._wrap$ctor = function(ptr) {
MediaElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
VideoElementWrappingImplementation._wrap$ctor.prototype = VideoElementWrappingImplementation.prototype;
function VideoElementWrappingImplementation() {}
// ********** Code for LevelDom **************
function LevelDom() {}
LevelDom.wrapDocument = function(raw) {
if (null == raw) {
return null;
}
if (null != raw.get$dartObjectLocalStorage()) {
return raw.get$dartObjectLocalStorage();
}
switch (raw.get$typeName()) {
case "HTMLDocument":
return new DocumentWrappingImplementation._wrap$ctor(raw, raw.get$documentElement());
case "SVGDocument":
return new SVGDocumentWrappingImplementation._wrap$ctor(raw);
default:
$throw(new UnsupportedOperationException($$add("Unknown type:", raw.toString())));
}
}
LevelDom.wrapElement = function(raw) {
if (null == raw) {
return null;
}
if (null != raw.get$dartObjectLocalStorage()) {
return raw.get$dartObjectLocalStorage();
}
switch (raw.get$typeName()) {
case "HTMLAnchorElement":
return new AnchorElementWrappingImplementation._wrap$ctor(raw);
case "HTMLAreaElement":
return new AreaElementWrappingImplementation._wrap$ctor(raw);
case "HTMLAudioElement":
return new AudioElementWrappingImplementation._wrap$ctor(raw);
case "HTMLBRElement":
return new BRElementWrappingImplementation._wrap$ctor(raw);
case "HTMLBaseElement":
return new BaseElementWrappingImplementation._wrap$ctor(raw);
case "HTMLBodyElement":
return new BodyElementWrappingImplementation._wrap$ctor(raw);
case "HTMLButtonElement":
return new ButtonElementWrappingImplementation._wrap$ctor(raw);
case "HTMLCanvasElement":
return new CanvasElementWrappingImplementation._wrap$ctor(raw);
case "HTMLDListElement":
return new DListElementWrappingImplementation._wrap$ctor(raw);
case "HTMLDataListElement":
return new DataListElementWrappingImplementation._wrap$ctor(raw);
case "HTMLDetailsElement":
return new DetailsElementWrappingImplementation._wrap$ctor(raw);
case "HTMLDivElement":
return new DivElementWrappingImplementation._wrap$ctor(raw);
case "HTMLElement":
return new ElementWrappingImplementation._wrap$ctor(raw);
case "HTMLEmbedElement":
return new EmbedElementWrappingImplementation._wrap$ctor(raw);
case "HTMLFieldSetElement":
return new FieldSetElementWrappingImplementation._wrap$ctor(raw);
case "HTMLFontElement":
return new FontElementWrappingImplementation._wrap$ctor(raw);
case "HTMLFormElement":
return new FormElementWrappingImplementation._wrap$ctor(raw);
case "HTMLHRElement":
return new HRElementWrappingImplementation._wrap$ctor(raw);
case "HTMLHeadElement":
return new HeadElementWrappingImplementation._wrap$ctor(raw);
case "HTMLHeadingElement":
return new HeadingElementWrappingImplementation._wrap$ctor(raw);
case "HTMLHtmlElement":
return new DocumentWrappingImplementation._wrap$ctor(raw.get$parentNode(), raw);
case "HTMLIFrameElement":
return new IFrameElementWrappingImplementation._wrap$ctor(raw);
case "HTMLImageElement":
return new ImageElementWrappingImplementation._wrap$ctor(raw);
case "HTMLInputElement":
return new InputElementWrappingImplementation._wrap$ctor(raw);
case "HTMLKeygenElement":
return new KeygenElementWrappingImplementation._wrap$ctor(raw);
case "HTMLLIElement":
return new LIElementWrappingImplementation._wrap$ctor(raw);
case "HTMLLabelElement":
return new LabelElementWrappingImplementation._wrap$ctor(raw);
case "HTMLLegendElement":
return new LegendElementWrappingImplementation._wrap$ctor(raw);
case "HTMLLinkElement":
return new LinkElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMapElement":
return new MapElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMarqueeElement":
return new MarqueeElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMediaElement":
return new MediaElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMenuElement":
return new MenuElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMetaElement":
return new MetaElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMeterElement":
return new MeterElementWrappingImplementation._wrap$ctor(raw);
case "HTMLModElement":
return new ModElementWrappingImplementation._wrap$ctor(raw);
case "HTMLOListElement":
return new OListElementWrappingImplementation._wrap$ctor(raw);
case "HTMLObjectElement":
return new ObjectElementWrappingImplementation._wrap$ctor(raw);
case "HTMLOptGroupElement":
return new OptGroupElementWrappingImplementation._wrap$ctor(raw);
case "HTMLOptionElement":
return new OptionElementWrappingImplementation._wrap$ctor(raw);
case "HTMLOutputElement":
return new OutputElementWrappingImplementation._wrap$ctor(raw);
case "HTMLParagraphElement":
return new ParagraphElementWrappingImplementation._wrap$ctor(raw);
case "HTMLParamElement":
return new ParamElementWrappingImplementation._wrap$ctor(raw);
case "HTMLPreElement":
return new PreElementWrappingImplementation._wrap$ctor(raw);
case "HTMLProgressElement":
return new ProgressElementWrappingImplementation._wrap$ctor(raw);
case "HTMLQuoteElement":
return new QuoteElementWrappingImplementation._wrap$ctor(raw);
case "SVGAElement":
return new SVGAElementWrappingImplementation._wrap$ctor(raw);
case "SVGAltGlyphDefElement":
return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw);
case "SVGAltGlyphElement":
return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw);
case "SVGAltGlyphItemElement":
return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateColorElement":
return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateElement":
return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateMotionElement":
return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateTransformElement":
return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimationElement":
return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw);
case "SVGCircleElement":
return new SVGCircleElementWrappingImplementation._wrap$ctor(raw);
case "SVGClipPathElement":
return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGComponentTransferFunctionElement":
return new SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor(raw);
case "SVGCursorElement":
return new SVGCursorElementWrappingImplementation._wrap$ctor(raw);
case "SVGDefsElement":
return new SVGDefsElementWrappingImplementation._wrap$ctor(raw);
case "SVGDescElement":
return new SVGDescElementWrappingImplementation._wrap$ctor(raw);
case "SVGElement":
return new SVGElementWrappingImplementation._wrap$ctor(raw);
case "SVGEllipseElement":
return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEBlendElement":
return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEColorMatrixElement":
return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEComponentTransferElement":
return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEConvolveMatrixElement":
return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDiffuseLightingElement":
return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDisplacementMapElement":
return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDistantLightElement":
return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDropShadowElement":
return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFloodElement":
return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncAElement":
return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncBElement":
return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncGElement":
return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncRElement":
return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEGaussianBlurElement":
return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEImageElement":
return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEMergeElement":
return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEMergeNodeElement":
return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEOffsetElement":
return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEPointLightElement":
return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw);
case "SVGFESpecularLightingElement":
return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(raw);
case "SVGFESpotLightElement":
return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw);
case "SVGFETileElement":
return new SVGFETileElementWrappingImplementation._wrap$ctor(raw);
case "SVGFETurbulenceElement":
return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw);
case "SVGFilterElement":
return new SVGFilterElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontElement":
return new SVGFontElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceElement":
return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceFormatElement":
return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceNameElement":
return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceSrcElement":
return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceUriElement":
return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw);
case "SVGForeignObjectElement":
return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw);
case "SVGGElement":
return new SVGGElementWrappingImplementation._wrap$ctor(raw);
case "SVGGlyphElement":
return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw);
case "SVGGlyphRefElement":
return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw);
case "SVGGradientElement":
return new SVGGradientElementWrappingImplementation._wrap$ctor(raw);
case "SVGHKernElement":
return new SVGHKernElementWrappingImplementation._wrap$ctor(raw);
case "SVGImageElement":
return new SVGImageElementWrappingImplementation._wrap$ctor(raw);
case "SVGLineElement":
return new SVGLineElementWrappingImplementation._wrap$ctor(raw);
case "SVGLinearGradientElement":
return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw);
case "SVGMPathElement":
return new SVGMPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGMarkerElement":
return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw);
case "SVGMaskElement":
return new SVGMaskElementWrappingImplementation._wrap$ctor(raw);
case "SVGMetadataElement":
return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw);
case "SVGMissingGlyphElement":
return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw);
case "SVGPathElement":
return new SVGPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGPatternElement":
return new SVGPatternElementWrappingImplementation._wrap$ctor(raw);
case "SVGPolygonElement":
return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw);
case "SVGPolylineElement":
return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw);
case "SVGRadialGradientElement":
return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw);
case "SVGRectElement":
return new SVGRectElementWrappingImplementation._wrap$ctor(raw);
case "SVGSVGElement":
return new SVGSVGElementWrappingImplementation._wrap$ctor(raw);
case "SVGScriptElement":
return new SVGScriptElementWrappingImplementation._wrap$ctor(raw);
case "SVGSetElement":
return new SVGSetElementWrappingImplementation._wrap$ctor(raw);
case "SVGStopElement":
return new SVGStopElementWrappingImplementation._wrap$ctor(raw);
case "SVGStyleElement":
return new SVGStyleElementWrappingImplementation._wrap$ctor(raw);
case "SVGSwitchElement":
return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw);
case "SVGSymbolElement":
return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw);
case "SVGTRefElement":
return new SVGTRefElementWrappingImplementation._wrap$ctor(raw);
case "SVGTSpanElement":
return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextContentElement":
return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextElement":
return new SVGTextElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextPathElement":
return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextPositioningElement":
return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw);
case "SVGTitleElement":
return new SVGTitleElementWrappingImplementation._wrap$ctor(raw);
case "SVGUseElement":
return new SVGUseElementWrappingImplementation._wrap$ctor(raw);
case "SVGVKernElement":
return new SVGVKernElementWrappingImplementation._wrap$ctor(raw);
case "SVGViewElement":
return new SVGViewElementWrappingImplementation._wrap$ctor(raw);
case "HTMLScriptElement":
return new ScriptElementWrappingImplementation._wrap$ctor(raw);
case "HTMLSelectElement":
return new SelectElementWrappingImplementation._wrap$ctor(raw);
case "HTMLSourceElement":
return new SourceElementWrappingImplementation._wrap$ctor(raw);
case "HTMLSpanElement":
return new SpanElementWrappingImplementation._wrap$ctor(raw);
case "HTMLStyleElement":
return new StyleElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableCaptionElement":
return new TableCaptionElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableCellElement":
return new TableCellElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableColElement":
return new TableColElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableElement":
return new TableElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableRowElement":
return new TableRowElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableSectionElement":
return new TableSectionElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTextAreaElement":
return new TextAreaElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTitleElement":
return new TitleElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTrackElement":
return new TrackElementWrappingImplementation._wrap$ctor(raw);
case "HTMLUListElement":
return new UListElementWrappingImplementation._wrap$ctor(raw);
case "HTMLUnknownElement":
return new UnknownElementWrappingImplementation._wrap$ctor(raw);
case "HTMLVideoElement":
return new VideoElementWrappingImplementation._wrap$ctor(raw);
default:
$throw(new UnsupportedOperationException($$add("Unknown type:", raw.toString())));
}
}
LevelDom.wrapNode = function(raw) {
if (null == raw) {
return null;
}
if (null != raw.get$dartObjectLocalStorage()) {
return raw.get$dartObjectLocalStorage();
}
switch (raw.get$typeName()) {
case "HTMLAnchorElement":
return new AnchorElementWrappingImplementation._wrap$ctor(raw);
case "HTMLAreaElement":
return new AreaElementWrappingImplementation._wrap$ctor(raw);
case "HTMLAudioElement":
return new AudioElementWrappingImplementation._wrap$ctor(raw);
case "HTMLBRElement":
return new BRElementWrappingImplementation._wrap$ctor(raw);
case "HTMLBaseElement":
return new BaseElementWrappingImplementation._wrap$ctor(raw);
case "HTMLBodyElement":
return new BodyElementWrappingImplementation._wrap$ctor(raw);
case "HTMLButtonElement":
return new ButtonElementWrappingImplementation._wrap$ctor(raw);
case "CDATASection":
return new CDATASectionWrappingImplementation._wrap$ctor(raw);
case "HTMLCanvasElement":
return new CanvasElementWrappingImplementation._wrap$ctor(raw);
case "CharacterData":
return new CharacterDataWrappingImplementation._wrap$ctor(raw);
case "Comment":
return new CommentWrappingImplementation._wrap$ctor(raw);
case "HTMLDListElement":
return new DListElementWrappingImplementation._wrap$ctor(raw);
case "HTMLDataListElement":
return new DataListElementWrappingImplementation._wrap$ctor(raw);
case "HTMLDetailsElement":
return new DetailsElementWrappingImplementation._wrap$ctor(raw);
case "HTMLDivElement":
return new DivElementWrappingImplementation._wrap$ctor(raw);
case "HTMLDocument":
return new DocumentWrappingImplementation._wrap$ctor(raw, raw.get$documentElement());
case "DocumentFragment":
return new DocumentFragmentWrappingImplementation._wrap$ctor(raw);
case "HTMLElement":
return new ElementWrappingImplementation._wrap$ctor(raw);
case "HTMLEmbedElement":
return new EmbedElementWrappingImplementation._wrap$ctor(raw);
case "Entity":
return new EntityWrappingImplementation._wrap$ctor(raw);
case "EntityReference":
return new EntityReferenceWrappingImplementation._wrap$ctor(raw);
case "HTMLFieldSetElement":
return new FieldSetElementWrappingImplementation._wrap$ctor(raw);
case "HTMLFontElement":
return new FontElementWrappingImplementation._wrap$ctor(raw);
case "HTMLFormElement":
return new FormElementWrappingImplementation._wrap$ctor(raw);
case "HTMLHRElement":
return new HRElementWrappingImplementation._wrap$ctor(raw);
case "HTMLHeadElement":
return new HeadElementWrappingImplementation._wrap$ctor(raw);
case "HTMLHeadingElement":
return new HeadingElementWrappingImplementation._wrap$ctor(raw);
case "HTMLHtmlElement":
return new DocumentWrappingImplementation._wrap$ctor(raw.get$parentNode(), raw);
case "HTMLIFrameElement":
return new IFrameElementWrappingImplementation._wrap$ctor(raw);
case "HTMLImageElement":
return new ImageElementWrappingImplementation._wrap$ctor(raw);
case "HTMLInputElement":
return new InputElementWrappingImplementation._wrap$ctor(raw);
case "HTMLKeygenElement":
return new KeygenElementWrappingImplementation._wrap$ctor(raw);
case "HTMLLIElement":
return new LIElementWrappingImplementation._wrap$ctor(raw);
case "HTMLLabelElement":
return new LabelElementWrappingImplementation._wrap$ctor(raw);
case "HTMLLegendElement":
return new LegendElementWrappingImplementation._wrap$ctor(raw);
case "HTMLLinkElement":
return new LinkElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMapElement":
return new MapElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMarqueeElement":
return new MarqueeElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMediaElement":
return new MediaElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMenuElement":
return new MenuElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMetaElement":
return new MetaElementWrappingImplementation._wrap$ctor(raw);
case "HTMLMeterElement":
return new MeterElementWrappingImplementation._wrap$ctor(raw);
case "HTMLModElement":
return new ModElementWrappingImplementation._wrap$ctor(raw);
case "Node":
return new NodeWrappingImplementation._wrap$ctor(raw);
case "Notation":
return new NotationWrappingImplementation._wrap$ctor(raw);
case "HTMLOListElement":
return new OListElementWrappingImplementation._wrap$ctor(raw);
case "HTMLObjectElement":
return new ObjectElementWrappingImplementation._wrap$ctor(raw);
case "HTMLOptGroupElement":
return new OptGroupElementWrappingImplementation._wrap$ctor(raw);
case "HTMLOptionElement":
return new OptionElementWrappingImplementation._wrap$ctor(raw);
case "HTMLOutputElement":
return new OutputElementWrappingImplementation._wrap$ctor(raw);
case "HTMLParagraphElement":
return new ParagraphElementWrappingImplementation._wrap$ctor(raw);
case "HTMLParamElement":
return new ParamElementWrappingImplementation._wrap$ctor(raw);
case "HTMLPreElement":
return new PreElementWrappingImplementation._wrap$ctor(raw);
case "ProcessingInstruction":
return new ProcessingInstructionWrappingImplementation._wrap$ctor(raw);
case "HTMLProgressElement":
return new ProgressElementWrappingImplementation._wrap$ctor(raw);
case "HTMLQuoteElement":
return new QuoteElementWrappingImplementation._wrap$ctor(raw);
case "SVGAElement":
return new SVGAElementWrappingImplementation._wrap$ctor(raw);
case "SVGAltGlyphDefElement":
return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw);
case "SVGAltGlyphElement":
return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw);
case "SVGAltGlyphItemElement":
return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateColorElement":
return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateElement":
return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateMotionElement":
return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateTransformElement":
return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimationElement":
return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw);
case "SVGCircleElement":
return new SVGCircleElementWrappingImplementation._wrap$ctor(raw);
case "SVGClipPathElement":
return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGComponentTransferFunctionElement":
return new SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor(raw);
case "SVGCursorElement":
return new SVGCursorElementWrappingImplementation._wrap$ctor(raw);
case "SVGDefsElement":
return new SVGDefsElementWrappingImplementation._wrap$ctor(raw);
case "SVGDescElement":
return new SVGDescElementWrappingImplementation._wrap$ctor(raw);
case "SVGDocument":
return new SVGDocumentWrappingImplementation._wrap$ctor(raw);
case "SVGElement":
return new SVGElementWrappingImplementation._wrap$ctor(raw);
case "SVGEllipseElement":
return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEBlendElement":
return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEColorMatrixElement":
return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEComponentTransferElement":
return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEConvolveMatrixElement":
return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDiffuseLightingElement":
return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDisplacementMapElement":
return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDistantLightElement":
return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDropShadowElement":
return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFloodElement":
return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncAElement":
return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncBElement":
return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncGElement":
return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncRElement":
return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEGaussianBlurElement":
return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEImageElement":
return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEMergeElement":
return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEMergeNodeElement":
return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEOffsetElement":
return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEPointLightElement":
return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw);
case "SVGFESpecularLightingElement":
return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(raw);
case "SVGFESpotLightElement":
return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw);
case "SVGFETileElement":
return new SVGFETileElementWrappingImplementation._wrap$ctor(raw);
case "SVGFETurbulenceElement":
return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw);
case "SVGFilterElement":
return new SVGFilterElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontElement":
return new SVGFontElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceElement":
return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceFormatElement":
return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceNameElement":
return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceSrcElement":
return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceUriElement":
return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw);
case "SVGForeignObjectElement":
return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw);
case "SVGGElement":
return new SVGGElementWrappingImplementation._wrap$ctor(raw);
case "SVGGlyphElement":
return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw);
case "SVGGlyphRefElement":
return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw);
case "SVGGradientElement":
return new SVGGradientElementWrappingImplementation._wrap$ctor(raw);
case "SVGHKernElement":
return new SVGHKernElementWrappingImplementation._wrap$ctor(raw);
case "SVGImageElement":
return new SVGImageElementWrappingImplementation._wrap$ctor(raw);
case "SVGLineElement":
return new SVGLineElementWrappingImplementation._wrap$ctor(raw);
case "SVGLinearGradientElement":
return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw);
case "SVGMPathElement":
return new SVGMPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGMarkerElement":
return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw);
case "SVGMaskElement":
return new SVGMaskElementWrappingImplementation._wrap$ctor(raw);
case "SVGMetadataElement":
return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw);
case "SVGMissingGlyphElement":
return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw);
case "SVGPathElement":
return new SVGPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGPatternElement":
return new SVGPatternElementWrappingImplementation._wrap$ctor(raw);
case "SVGPolygonElement":
return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw);
case "SVGPolylineElement":
return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw);
case "SVGRadialGradientElement":
return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw);
case "SVGRectElement":
return new SVGRectElementWrappingImplementation._wrap$ctor(raw);
case "SVGSVGElement":
return new SVGSVGElementWrappingImplementation._wrap$ctor(raw);
case "SVGScriptElement":
return new SVGScriptElementWrappingImplementation._wrap$ctor(raw);
case "SVGSetElement":
return new SVGSetElementWrappingImplementation._wrap$ctor(raw);
case "SVGStopElement":
return new SVGStopElementWrappingImplementation._wrap$ctor(raw);
case "SVGStyleElement":
return new SVGStyleElementWrappingImplementation._wrap$ctor(raw);
case "SVGSwitchElement":
return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw);
case "SVGSymbolElement":
return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw);
case "SVGTRefElement":
return new SVGTRefElementWrappingImplementation._wrap$ctor(raw);
case "SVGTSpanElement":
return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextContentElement":
return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextElement":
return new SVGTextElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextPathElement":
return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextPositioningElement":
return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw);
case "SVGTitleElement":
return new SVGTitleElementWrappingImplementation._wrap$ctor(raw);
case "SVGUseElement":
return new SVGUseElementWrappingImplementation._wrap$ctor(raw);
case "SVGVKernElement":
return new SVGVKernElementWrappingImplementation._wrap$ctor(raw);
case "SVGViewElement":
return new SVGViewElementWrappingImplementation._wrap$ctor(raw);
case "HTMLScriptElement":
return new ScriptElementWrappingImplementation._wrap$ctor(raw);
case "HTMLSelectElement":
return new SelectElementWrappingImplementation._wrap$ctor(raw);
case "HTMLSourceElement":
return new SourceElementWrappingImplementation._wrap$ctor(raw);
case "HTMLSpanElement":
return new SpanElementWrappingImplementation._wrap$ctor(raw);
case "HTMLStyleElement":
return new StyleElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableCaptionElement":
return new TableCaptionElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableCellElement":
return new TableCellElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableColElement":
return new TableColElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableElement":
return new TableElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableRowElement":
return new TableRowElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTableSectionElement":
return new TableSectionElementWrappingImplementation._wrap$ctor(raw);
case "Text":
return new TextWrappingImplementation._wrap$ctor(raw);
case "HTMLTextAreaElement":
return new TextAreaElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTitleElement":
return new TitleElementWrappingImplementation._wrap$ctor(raw);
case "HTMLTrackElement":
return new TrackElementWrappingImplementation._wrap$ctor(raw);
case "HTMLUListElement":
return new UListElementWrappingImplementation._wrap$ctor(raw);
case "HTMLUnknownElement":
return new UnknownElementWrappingImplementation._wrap$ctor(raw);
case "HTMLVideoElement":
return new VideoElementWrappingImplementation._wrap$ctor(raw);
default:
$throw(new UnsupportedOperationException($$add("Unknown type:", raw.toString())));
}
}
LevelDom.wrapSVGElement = function(raw) {
if (null == raw) {
return null;
}
if (null != raw.get$dartObjectLocalStorage()) {
return raw.get$dartObjectLocalStorage();
}
switch (raw.get$typeName()) {
case "SVGAElement":
return new SVGAElementWrappingImplementation._wrap$ctor(raw);
case "SVGAltGlyphDefElement":
return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw);
case "SVGAltGlyphElement":
return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw);
case "SVGAltGlyphItemElement":
return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateColorElement":
return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateElement":
return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateMotionElement":
return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimateTransformElement":
return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw);
case "SVGAnimationElement":
return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw);
case "SVGCircleElement":
return new SVGCircleElementWrappingImplementation._wrap$ctor(raw);
case "SVGClipPathElement":
return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGComponentTransferFunctionElement":
return new SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor(raw);
case "SVGCursorElement":
return new SVGCursorElementWrappingImplementation._wrap$ctor(raw);
case "SVGDefsElement":
return new SVGDefsElementWrappingImplementation._wrap$ctor(raw);
case "SVGDescElement":
return new SVGDescElementWrappingImplementation._wrap$ctor(raw);
case "SVGElement":
return new SVGElementWrappingImplementation._wrap$ctor(raw);
case "SVGEllipseElement":
return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEBlendElement":
return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEColorMatrixElement":
return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEComponentTransferElement":
return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEConvolveMatrixElement":
return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDiffuseLightingElement":
return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDisplacementMapElement":
return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDistantLightElement":
return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEDropShadowElement":
return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFloodElement":
return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncAElement":
return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncBElement":
return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncGElement":
return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEFuncRElement":
return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEGaussianBlurElement":
return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEImageElement":
return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEMergeElement":
return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEMergeNodeElement":
return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEOffsetElement":
return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw);
case "SVGFEPointLightElement":
return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw);
case "SVGFESpecularLightingElement":
return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(raw);
case "SVGFESpotLightElement":
return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw);
case "SVGFETileElement":
return new SVGFETileElementWrappingImplementation._wrap$ctor(raw);
case "SVGFETurbulenceElement":
return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw);
case "SVGFilterElement":
return new SVGFilterElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontElement":
return new SVGFontElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceElement":
return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceFormatElement":
return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceNameElement":
return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceSrcElement":
return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw);
case "SVGFontFaceUriElement":
return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw);
case "SVGForeignObjectElement":
return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw);
case "SVGGElement":
return new SVGGElementWrappingImplementation._wrap$ctor(raw);
case "SVGGlyphElement":
return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw);
case "SVGGlyphRefElement":
return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw);
case "SVGGradientElement":
return new SVGGradientElementWrappingImplementation._wrap$ctor(raw);
case "SVGHKernElement":
return new SVGHKernElementWrappingImplementation._wrap$ctor(raw);
case "SVGImageElement":
return new SVGImageElementWrappingImplementation._wrap$ctor(raw);
case "SVGLineElement":
return new SVGLineElementWrappingImplementation._wrap$ctor(raw);
case "SVGLinearGradientElement":
return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw);
case "SVGMPathElement":
return new SVGMPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGMarkerElement":
return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw);
case "SVGMaskElement":
return new SVGMaskElementWrappingImplementation._wrap$ctor(raw);
case "SVGMetadataElement":
return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw);
case "SVGMissingGlyphElement":
return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw);
case "SVGPathElement":
return new SVGPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGPatternElement":
return new SVGPatternElementWrappingImplementation._wrap$ctor(raw);
case "SVGPolygonElement":
return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw);
case "SVGPolylineElement":
return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw);
case "SVGRadialGradientElement":
return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw);
case "SVGRectElement":
return new SVGRectElementWrappingImplementation._wrap$ctor(raw);
case "SVGSVGElement":
return new SVGSVGElementWrappingImplementation._wrap$ctor(raw);
case "SVGScriptElement":
return new SVGScriptElementWrappingImplementation._wrap$ctor(raw);
case "SVGSetElement":
return new SVGSetElementWrappingImplementation._wrap$ctor(raw);
case "SVGStopElement":
return new SVGStopElementWrappingImplementation._wrap$ctor(raw);
case "SVGStyleElement":
return new SVGStyleElementWrappingImplementation._wrap$ctor(raw);
case "SVGSwitchElement":
return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw);
case "SVGSymbolElement":
return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw);
case "SVGTRefElement":
return new SVGTRefElementWrappingImplementation._wrap$ctor(raw);
case "SVGTSpanElement":
return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextContentElement":
return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextElement":
return new SVGTextElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextPathElement":
return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw);
case "SVGTextPositioningElement":
return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw);
case "SVGTitleElement":
return new SVGTitleElementWrappingImplementation._wrap$ctor(raw);
case "SVGUseElement":
return new SVGUseElementWrappingImplementation._wrap$ctor(raw);
case "SVGVKernElement":
return new SVGVKernElementWrappingImplementation._wrap$ctor(raw);
case "SVGViewElement":
return new SVGViewElementWrappingImplementation._wrap$ctor(raw);
default:
$throw(new UnsupportedOperationException($$add("Unknown type:", raw.toString())));
}
}
LevelDom.wrapWindow = function(raw) {
return null == raw ? null : null != raw.get$dartObjectLocalStorage() ? raw.get$dartObjectLocalStorage() : new WindowWrappingImplementation._wrap$ctor(raw);
}
LevelDom.unwrap = function(raw) {
return null == raw ? null : raw.get$_ptr();
}
LevelDom.initialize = function() {
$globals.secretWindow = LevelDom.wrapWindow(get$window());
$globals.secretDocument = LevelDom.wrapDocument(get$document());
}
// ********** Code for BodyElementWrappingImplementation **************
$inherits(BodyElementWrappingImplementation, ElementWrappingImplementation);
BodyElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
BodyElementWrappingImplementation._wrap$ctor.prototype = BodyElementWrappingImplementation.prototype;
function BodyElementWrappingImplementation() {}
// ********** Code for DocumentFragmentWrappingImplementation **************
$inherits(DocumentFragmentWrappingImplementation, NodeWrappingImplementation);
DocumentFragmentWrappingImplementation._wrap$ctor = function(ptr) {
NodeWrappingImplementation._wrap$ctor.call(this, ptr);
}
DocumentFragmentWrappingImplementation._wrap$ctor.prototype = DocumentFragmentWrappingImplementation.prototype;
function DocumentFragmentWrappingImplementation() {}
DocumentFragmentWrappingImplementation.prototype.query = function(selectors) {
return LevelDom.wrapElement(this._ptr.querySelector(selectors));
}
DocumentFragmentWrappingImplementation.prototype.get$attributes = function() {
return const$0004;
}
DocumentFragmentWrappingImplementation.prototype.set$attributes = function(value) {
$throw(new UnsupportedOperationException("Attributes can't be set for document fragments."));
}
// ********** Code for DocumentWrappingImplementation **************
$inherits(DocumentWrappingImplementation, ElementWrappingImplementation);
DocumentWrappingImplementation._wrap$ctor = function(_documentPtr, ptr) {
this._documentPtr = _documentPtr;
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
this._documentPtr.get$dynamic().set$dartObjectLocalStorage(this);
}
DocumentWrappingImplementation._wrap$ctor.prototype = DocumentWrappingImplementation.prototype;
function DocumentWrappingImplementation() {}
// ********** Code for ElementAttributeMap **************
ElementAttributeMap._wrap$ctor = function(_element) {
this._element = _element;
}
ElementAttributeMap._wrap$ctor.prototype = ElementAttributeMap.prototype;
function ElementAttributeMap() {}
ElementAttributeMap.prototype.is$Map = function(){return true};
ElementAttributeMap.prototype.containsKey = function(key) {
return this._element.hasAttribute(key);
}
ElementAttributeMap.prototype.$index = function(key) {
return this._element.getAttribute(key);
}
ElementAttributeMap.prototype.$setindex = function(key, value) {
this._element.setAttribute(key, value);
}
ElementAttributeMap.prototype.clear = function() {
var attributes = this._element.get$attributes();
for (var i = attributes.get$length() - (1);
i >= (0); i--) {
this._element.removeAttribute(attributes.item(i).get$name());
}
}
ElementAttributeMap.prototype.forEach = function(f) {
var attributes = this._element.get$attributes();
for (var i = (0), len = attributes.get$length();
i < len; i++) {
var item = attributes.item(i);
f(item.get$name(), item.get$value());
}
}
ElementAttributeMap.prototype.getKeys = function() {
var attributes = this._element.get$attributes();
var keys = new Array(attributes.get$length());
for (var i = (0), len = attributes.get$length();
i < len; i++) {
keys.$setindex(i, attributes.item(i).get$name());
}
return keys;
}
ElementAttributeMap.prototype.get$length = function() {
return this._element.get$attributes().get$length();
}
// ********** Code for _ChildrenNodeList **************
_ChildrenNodeList._wrap$ctor = function(node) {
this._node = node;
this._childNodes = node.get$childNodes();
}
_ChildrenNodeList._wrap$ctor.prototype = _ChildrenNodeList.prototype;
function _ChildrenNodeList() {}
_ChildrenNodeList.prototype.is$List = function(){return true};
_ChildrenNodeList.prototype.is$Collection = function(){return true};
_ChildrenNodeList.prototype._toList = function() {
var output = new Array(this._childNodes.get$length());
for (var i = (0), len = this._childNodes.get$length();
i < len; i++) {
output.$setindex(i, LevelDom.wrapNode(this._childNodes.$index(i)));
}
return output;
}
_ChildrenNodeList.prototype.get$length = function() {
return this._childNodes.get$length();
}
_ChildrenNodeList.prototype.$index = function(index) {
return LevelDom.wrapNode(this._childNodes.$index(index));
}
_ChildrenNodeList.prototype.$setindex = function(index, value) {
this._node.replaceChild(LevelDom.unwrap(value), this._childNodes.$index(index));
}
_ChildrenNodeList.prototype.add = function(value) {
this._node.appendChild(LevelDom.unwrap(value));
return value;
}
_ChildrenNodeList.prototype.iterator = function() {
return this._toList().iterator();
}
_ChildrenNodeList.prototype.clear = function() {
this._node.set$textContent("");
}
_ChildrenNodeList.prototype.removeLast = function() {
var last = this.last();
if ($$ne(last)) {
this._node.removeChild(LevelDom.unwrap(last));
}
return last;
}
_ChildrenNodeList.prototype.last = function() {
return LevelDom.wrapNode(this._node.get$lastChild());
}
// ********** Code for _ListWrapper **************
function _ListWrapper() {}
_ListWrapper.prototype.is$List = function(){return true};
_ListWrapper.prototype.is$Collection = function(){return true};
_ListWrapper.prototype.iterator = function() {
return this._list.iterator();
}
_ListWrapper.prototype.get$length = function() {
return this._list.get$length();
}
_ListWrapper.prototype.$index = function(index) {
return this._list.$index(index);
}
_ListWrapper.prototype.$setindex = function(index, value) {
this._list.$setindex(index, value);
}
_ListWrapper.prototype.add = function(value) {
return this._list.add(value);
}
_ListWrapper.prototype.clear = function() {
return this._list.clear();
}
_ListWrapper.prototype.removeLast = function() {
return this._list.removeLast();
}
// ********** Code for ObjectElementWrappingImplementation **************
$inherits(ObjectElementWrappingImplementation, ElementWrappingImplementation);
ObjectElementWrappingImplementation._wrap$ctor = function(ptr) {
ElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
ObjectElementWrappingImplementation._wrap$ctor.prototype = ObjectElementWrappingImplementation.prototype;
function ObjectElementWrappingImplementation() {}
ObjectElementWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
// ********** Code for SVGDocumentWrappingImplementation **************
$inherits(SVGDocumentWrappingImplementation, DocumentWrappingImplementation);
SVGDocumentWrappingImplementation._wrap$ctor = function(ptr) {
DocumentWrappingImplementation._wrap$ctor.call(this, ptr, ptr.rootElement);
}
SVGDocumentWrappingImplementation._wrap$ctor.prototype = SVGDocumentWrappingImplementation.prototype;
function SVGDocumentWrappingImplementation() {}
// ********** Code for SVGSVGElementWrappingImplementation **************
$inherits(SVGSVGElementWrappingImplementation, SVGElementWrappingImplementation);
SVGSVGElementWrappingImplementation._wrap$ctor = function(ptr) {
SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
}
SVGSVGElementWrappingImplementation._wrap$ctor.prototype = SVGSVGElementWrappingImplementation.prototype;
function SVGSVGElementWrappingImplementation() {}
// ********** Code for WindowWrappingImplementation **************
$inherits(WindowWrappingImplementation, EventTargetWrappingImplementation);
WindowWrappingImplementation._wrap$ctor = function(ptr) {
EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
}
WindowWrappingImplementation._wrap$ctor.prototype = WindowWrappingImplementation.prototype;
function WindowWrappingImplementation() {}
WindowWrappingImplementation.prototype.get$length = function() {
return this._ptr.get$length();
}
WindowWrappingImplementation.prototype.get$name = function() {
return this._ptr.get$name();
}
// ********** Code for top level **************
var _pendingRequests;
var _pendingMeasurementFrameCallbacks;
// ********** Library html **************
// ********** Code for top level **************
var secretWindow;
var secretDocument;
function html_get$document() {
if (null == $globals.secretWindow) {
LevelDom.initialize();
}
return $globals.secretDocument;
}
// ********** Library SVGSamples **************
// ********** Code for SVGSamples **************
function SVGSamples() {
}
SVGSamples.prototype.run = function() {
this.drawlines();
}
SVGSamples.prototype.drawlines = function() {
var maxY = (250);
var maxX = (500);
var step = (10);
var svgGroup = SVGElementWrappingImplementation.SVGElementWrappingImplementation$tag$factory("g");
svgGroup.get$attributes().$setindex("transform", ("translate(0," + maxY + ") scale(1,-1)"));
for (var i = (0);
i < (maxX / step); i++) {
var xAxis = SVGElementWrappingImplementation.SVGElementWrappingImplementation$tag$factory("line");
xAxis.set$attributes(_map(["x1", i * step, "y1", (0), "x2", i * step, "y2", ($$mod(i, (10)) == (0) ? (16) : (8)), "stroke", ($$mod(i, (10)) == (0) ? "#8cf" : "blue"), "stroke-width", "1"]));
svgGroup.get$nodes().add(xAxis);
}
for (var i = (0);
i < (maxY / step); i++) {
var yAxis = SVGElementWrappingImplementation.SVGElementWrappingImplementation$tag$factory("line");
yAxis.set$attributes(_map(["x1", (0), "y1", i * step, "x2", ($$mod(i, (10)) == (0) ? (16) : (8)), "y2", i * step, "stroke", ($$mod(i, (10)) == (0) ? "#8cf" : "blue"), "stroke-width", "1"]));
svgGroup.get$nodes().add(yAxis);
}
var svg = SVGElementWrappingImplementation.SVGElementWrappingImplementation$tag$factory("svg");
svg.get$nodes().add(svgGroup);
svg.set$attributes(_map(["height", maxY, "width", maxX, "version", "1.1"]));
html_get$document().query("#container").get$nodes().add(svg);
}
// ********** Code for top level **************
function main() {
new SVGSamples().run();
}
// 101 dynamic types.
// 504 types
// 44 !leaf
function $dynamicSetMetadata(inputTable) {
// TODO: Deal with light isolates.
var table = [];
for (var i = 0; i < inputTable.length; i++) {
var tag = inputTable[i][0];
var tags = inputTable[i][1];
var map = {};
var tagNames = tags.split('|');
for (var j = 0; j < tagNames.length; j++) {
map[tagNames[j]] = true;
}
table.push({tag: tag, tags: tags, map: map});
}
$dynamicMetadata = table;
}
(function(){
var v0/*CharacterData*/ = 'CharacterData|Comment|Text|CDATASection';
var v1/*Document*/ = 'Document|HTMLDocument|SVGDocument';
var v2/*Uint8Array*/ = 'Uint8Array|Uint8ClampedArray';
var v3/*AudioParam*/ = 'AudioParam|AudioGain';
var v4/*CSSValueList*/ = 'CSSValueList|WebKitCSSTransformValue';
var v5/*DOMTokenList*/ = 'DOMTokenList|DOMSettableTokenList';
var v6/*Entry*/ = 'Entry|DirectoryEntry|FileEntry';
var v7/*EntrySync*/ = 'EntrySync|DirectoryEntrySync|FileEntrySync';
var v8/*Node*/ = [v0/*CharacterData*/,v1/*Document*/,'Node|Attr|DocumentFragment|ShadowRoot|DocumentType|Element|HTMLElement|HTMLAnchorElement|HTMLAppletElement|HTMLAreaElement|HTMLBRElement|HTMLBaseElement|HTMLBaseFontElement|HTMLBodyElement|HTMLButtonElement|HTMLCanvasElement|HTMLContentElement|HTMLDListElement|HTMLDetailsElement|HTMLDirectoryElement|HTMLDivElement|HTMLEmbedElement|HTMLFieldSetElement|HTMLFontElement|HTMLFormElement|HTMLFrameElement|HTMLFrameSetElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLInputElement|HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|HTMLLinkElement|HTMLMapElement|HTMLMarqueeElement|HTMLMediaElement|HTMLAudioElement|HTMLVideoElement|HTMLMenuElement|HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLObjectElement|HTMLOptGroupElement|HTMLOptionElement|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|HTMLPreElement|HTMLProgressElement|HTMLQuoteElement|HTMLScriptElement|HTMLSelectElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTextAreaElement|HTMLTitleElement|HTMLTrackElement|HTMLUListElement|HTMLUnknownElement|SVGElement|SVGAElement|SVGAltGlyphDefElement|SVGAltGlyphItemElement|SVGAnimationElement|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement|SVGSetElement|SVGCircleElement|SVGClipPathElement|SVGComponentTransferFunctionElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement|SVGFEFuncRElement|SVGCursorElement|SVGDefsElement|SVGDescElement|SVGEllipseElement|SVGFEBlendElement|SVGFEColorMatrixElement|SVGFEComponentTransferElement|SVGFECompositeElement|SVGFEConvolveMatrixElement|SVGFEDiffuseLightingElement|SVGFEDisplacementMapElement|SVGFEDistantLightElement|SVGFEDropShadowElement|SVGFEFloodElement|SVGFEGaussianBlurElement|SVGFEImageElement|SVGFEMergeElement|SVGFEMergeNodeElement|SVGFEMorphologyElement|SVGFEOffsetElement|SVGFEPointLightElement|SVGFESpecularLightingElement|SVGFESpotLightElement|SVGFETileElement|SVGFETurbulenceElement|SVGFilterElement|SVGFontElement|SVGFontFaceElement|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement|SVGForeignObjectElement|SVGGElement|SVGGlyphElement|SVGGlyphRefElement|SVGGradientElement|SVGLinearGradientElement|SVGRadialGradientElement|SVGHKernElement|SVGImageElement|SVGLineElement|SVGMPathElement|SVGMarkerElement|SVGMaskElement|SVGMetadataElement|SVGMissingGlyphElement|SVGPathElement|SVGPatternElement|SVGPolygonElement|SVGPolylineElement|SVGRectElement|SVGSVGElement|SVGScriptElement|SVGStopElement|SVGStyleElement|SVGSwitchElement|SVGSymbolElement|SVGTextContentElement|SVGTextPathElement|SVGTextPositioningElement|SVGAltGlyphElement|SVGTRefElement|SVGTSpanElement|SVGTextElement|SVGTitleElement|SVGUseElement|SVGVKernElement|SVGViewElement|Entity|EntityReference|Notation|ProcessingInstruction'].join('|');
var v9/*HTMLCollection*/ = 'HTMLCollection|HTMLOptionsCollection';
var table = [
// [dynamic-dispatch-tag, tags of classes implementing dynamic-dispatch-tag]
['AudioParam', v3/*AudioParam*/]
, ['CSSValueList', v4/*CSSValueList*/]
, ['CharacterData', v0/*CharacterData*/]
, ['DOMTokenList', v5/*DOMTokenList*/]
, ['Document', v1/*Document*/]
, ['Entry', v6/*Entry*/]
, ['EntrySync', v7/*EntrySync*/]
, ['HTMLCollection', v9/*HTMLCollection*/]
, ['Node', v8/*Node*/]
, ['Uint8Array', v2/*Uint8Array*/]
, ['DOMType', [v2/*Uint8Array*/,v3/*AudioParam*/,v4/*CSSValueList*/,v5/*DOMTokenList*/,v6/*Entry*/,v7/*EntrySync*/,v8/*Node*/,v9/*HTMLCollection*/,'DOMType|ArrayBuffer|ArrayBufferView|DataView|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|AudioBuffer|AudioContext|AudioListener|AudioNode|AudioChannelMerger|AudioChannelSplitter|AudioDestinationNode|AudioGainNode|AudioPannerNode|AudioSourceNode|AudioBufferSourceNode|MediaElementAudioSourceNode|BiquadFilterNode|ConvolverNode|DelayNode|DynamicsCompressorNode|HighPass2FilterNode|JavaScriptAudioNode|LowPass2FilterNode|RealtimeAnalyserNode|WaveShaperNode|BarInfo|Blob|File|CSSRule|CSSCharsetRule|CSSFontFaceRule|CSSImportRule|CSSMediaRule|CSSPageRule|CSSStyleRule|CSSUnknownRule|WebKitCSSKeyframeRule|WebKitCSSKeyframesRule|WebKitCSSRegionRule|CSSRuleList|CSSStyleDeclaration|CSSValue|CSSPrimitiveValue|SVGColor|SVGPaint|CanvasGradient|CanvasPattern|CanvasPixelArray|CanvasRenderingContext|CanvasRenderingContext2D|WebGLRenderingContext|ClientRect|ClientRectList|Clipboard|Coordinates|Counter|Crypto|DOMException|DOMFileSystem|DOMFileSystemSync|DOMFormData|DOMImplementation|DOMMimeType|DOMMimeTypeArray|DOMParser|DOMPlugin|DOMPluginArray|DOMSelection|DOMURL|DataTransferItem|DataTransferItemList|Database|DatabaseSync|DirectoryReader|DirectoryReaderSync|ElementTimeControl|ElementTraversal|EntryArray|EntryArraySync|Event|AudioProcessingEvent|BeforeLoadEvent|CloseEvent|CustomEvent|DeviceMotionEvent|DeviceOrientationEvent|ErrorEvent|HashChangeEvent|IDBVersionChangeEvent|MediaStreamEvent|MessageEvent|MutationEvent|OfflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|PopStateEvent|ProgressEvent|XMLHttpRequestProgressEvent|SpeechInputEvent|StorageEvent|TrackEvent|UIEvent|CompositionEvent|KeyboardEvent|MouseEvent|SVGZoomEvent|TextEvent|TouchEvent|WheelEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|EventException|EventTarget|AbstractWorker|SharedWorker|Worker|DOMApplicationCache|DOMWindow|EventSource|MessagePort|Notification|SVGElementInstance|WebSocket|XMLHttpRequest|XMLHttpRequestUpload|FileError|FileException|FileList|FileReader|FileReaderSync|FileWriter|FileWriterSync|Geolocation|Geoposition|HTMLAllCollection|History|IDBAny|IDBCursor|IDBCursorWithValue|IDBDatabase|IDBDatabaseError|IDBDatabaseException|IDBFactory|IDBIndex|IDBKey|IDBKeyRange|IDBObjectStore|IDBRequest|IDBVersionChangeRequest|IDBTransaction|ImageData|JavaScriptCallFrame|Location|MediaController|MediaError|MediaList|MediaQueryList|MediaQueryListListener|MediaStream|LocalMediaStream|MediaStreamList|MediaStreamTrack|MediaStreamTrackList|MemoryInfo|MessageChannel|Metadata|NamedNodeMap|Navigator|NavigatorUserMediaError|NodeFilter|NodeIterator|NodeList|NodeSelector|NotificationCenter|OESStandardDerivatives|OESTextureFloat|OESVertexArrayObject|OperationNotAllowedException|PeerConnection|Performance|PerformanceNavigation|PerformanceTiming|PositionError|RGBColor|Range|RangeException|Rect|SQLError|SQLException|SQLResultSet|SQLResultSetRowList|SQLTransaction|SQLTransactionSync|SVGAngle|SVGAnimatedAngle|SVGAnimatedBoolean|SVGAnimatedEnumeration|SVGAnimatedInteger|SVGAnimatedLength|SVGAnimatedLengthList|SVGAnimatedNumber|SVGAnimatedNumberList|SVGAnimatedPreserveAspectRatio|SVGAnimatedRect|SVGAnimatedString|SVGAnimatedTransformList|SVGElementInstanceList|SVGException|SVGExternalResourcesRequired|SVGFitToViewBox|SVGLangSpace|SVGLength|SVGLengthList|SVGLocatable|SVGTransformable|SVGMatrix|SVGNumber|SVGNumberList|SVGPathSeg|SVGPathSegArcAbs|SVGPathSegArcRel|SVGPathSegClosePath|SVGPathSegCurvetoCubicAbs|SVGPathSegCurvetoCubicRel|SVGPathSegCurvetoCubicSmoothAbs|SVGPathSegCurvetoCubicSmoothRel|SVGPathSegCurvetoQuadraticAbs|SVGPathSegCurvetoQuadraticRel|SVGPathSegCurvetoQuadraticSmoothAbs|SVGPathSegCurvetoQuadraticSmoothRel|SVGPathSegLinetoAbs|SVGPathSegLinetoHorizontalAbs|SVGPathSegLinetoHorizontalRel|SVGPathSegLinetoRel|SVGPathSegLinetoVerticalAbs|SVGPathSegLinetoVerticalRel|SVGPathSegMovetoAbs|SVGPathSegMovetoRel|SVGPathSegList|SVGPoint|SVGPointList|SVGPreserveAspectRatio|SVGRect|SVGRenderingIntent|SVGStringList|SVGStylable|SVGFilterPrimitiveStandardAttributes|SVGTests|SVGTransform|SVGTransformList|SVGURIReference|SVGUnitTypes|SVGZoomAndPan|SVGViewSpec|Screen|ScriptProfile|ScriptProfileNode|SpeechInputResult|SpeechInputResultList|Storage|StorageInfo|StyleMedia|StyleSheet|CSSStyleSheet|StyleSheetList|TextMetrics|TextTrack|TextTrackCue|TextTrackCueList|TextTrackList|TimeRanges|Touch|TouchList|TreeWalker|ValidityState|WebGLActiveInfo|WebGLBuffer|WebGLCompressedTextureS3TC|WebGLContextAttributes|WebGLDebugRendererInfo|WebGLDebugShaders|WebGLFramebuffer|WebGLLoseContext|WebGLProgram|WebGLRenderbuffer|WebGLShader|WebGLTexture|WebGLUniformLocation|WebGLVertexArrayObjectOES|WebKitAnimation|WebKitAnimationList|WebKitBlobBuilder|WebKitCSSMatrix|WebKitNamedFlow|WebKitPoint|WorkerContext|DedicatedWorkerContext|SharedWorkerContext|WorkerLocation|WorkerNavigator|XMLHttpRequestException|XMLSerializer|XPathEvaluator|XPathException|XPathExpression|XPathNSResolver|XPathResult|XSLTProcessor'].join('|')]
];
$dynamicSetMetadata(table);
})();
// ********** Globals **************
function $static_init(){
}
var const$0000 = Object.create(_DeletedKeySentinel.prototype, {});
var const$0001 = Object.create(NoMoreElementsException.prototype, {});
var const$0002 = Object.create(EmptyQueueException.prototype, {});
var const$0003 = Object.create(IllegalAccessException.prototype, {});
var const$0004 = _constMap([]);
var $globals = {};
$static_init();
main();
<html>
<head>
<title>SVGSamples</title>
</head>
<body>
<h1>SVGSamples</h1>
<div id="container"></div>
<script type="application/dart" src="SVGSamples.dart"></script>
<script src="http://dart.googlecode.com/svn/branches/bleeding_edge/dart/client/dart.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment