Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(518)

Side by Side Diff: frog/frogsh

Issue 8618004: Fix Swarm to run again, and enable its test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env node 1 #!/usr/bin/env node
2 // ********** Library dart:core ************** 2 // ********** Library dart:core **************
3 // ********** Natives dart:core ************** 3 // ********** Natives dart:core **************
4 /** 4 /**
5 * Generates a dynamic call stub for a function. 5 * Generates a dynamic call stub for a function.
6 * Our goal is to create a stub method like this on-the-fly: 6 * Our goal is to create a stub method like this on-the-fly:
7 * function($0, $1, capture) { this($0, $1, true, capture); } 7 * function($0, $1, capture) { this($0, $1, true, capture); }
8 * 8 *
9 * This stub then replaces the dynamic one on Function, with one that is 9 * This stub then replaces the dynamic one on Function, with one that is
10 * specialized for that particular function, taking into account its default 10 * specialized for that particular function, taking into account its default
(...skipping 1755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1766 entry.remove(); 1766 entry.remove();
1767 return entry.get$element().get$value(); 1767 return entry.get$element().get$value();
1768 } 1768 }
1769 LinkedHashMapImplementation.prototype.getKeys = function() { 1769 LinkedHashMapImplementation.prototype.getKeys = function() {
1770 var list = new ListFactory(this.get$length()); 1770 var list = new ListFactory(this.get$length());
1771 var index = 0; 1771 var index = 0;
1772 this._list.forEach(function _(entry) { 1772 this._list.forEach(function _(entry) {
1773 list.$setindex(index++, entry.key); 1773 list.$setindex(index++, entry.key);
1774 } 1774 }
1775 ); 1775 );
1776 $assert(index == this.get$length(), "index == length", "linked_hash_map.dart", 75, 12); 1776 $assert(index == this.get$length(), "index == length", "linked_hash_map.dart", 76, 12);
1777 return list; 1777 return list;
1778 } 1778 }
1779 LinkedHashMapImplementation.prototype.getValues = function() { 1779 LinkedHashMapImplementation.prototype.getValues = function() {
1780 var list = new ListFactory(this.get$length()); 1780 var list = new ListFactory(this.get$length());
1781 var index = 0; 1781 var index = 0;
1782 this._list.forEach(function _(entry) { 1782 this._list.forEach(function _(entry) {
1783 list.$setindex(index++, entry.value); 1783 list.$setindex(index++, entry.value);
1784 } 1784 }
1785 ); 1785 );
1786 $assert(index == this.get$length(), "index == length", "linked_hash_map.dart", 86, 12); 1786 $assert(index == this.get$length(), "index == length", "linked_hash_map.dart", 87, 12);
1787 return list; 1787 return list;
1788 } 1788 }
1789 LinkedHashMapImplementation.prototype.forEach = function(f) { 1789 LinkedHashMapImplementation.prototype.forEach = function(f) {
1790 this._list.forEach(function _(entry) { 1790 this._list.forEach(function _(entry) {
1791 f(entry.key, entry.value); 1791 f(entry.key, entry.value);
1792 } 1792 }
1793 ); 1793 );
1794 } 1794 }
1795 LinkedHashMapImplementation.prototype.containsKey = function(key) { 1795 LinkedHashMapImplementation.prototype.containsKey = function(key) {
1796 return this._map.containsKey(key); 1796 return this._map.containsKey(key);
(...skipping 9938 matching lines...) Expand 10 before | Expand all | Expand 10 after
11735 for (var $i = list.iterator$0(); $i.hasNext$0(); ) { 11735 for (var $i = list.iterator$0(); $i.hasNext$0(); ) {
11736 var global = $i.next$0(); 11736 var global = $i.next$0();
11737 if ($notnull_bool($ne(global.get$field(), null))) { 11737 if ($notnull_bool($ne(global.get$field(), null))) {
11738 this._writeStaticField((($0 = global.get$field()) && $0.is$FieldMember() )); 11738 this._writeStaticField((($0 = global.get$field()) && $0.is$FieldMember() ));
11739 } 11739 }
11740 } 11740 }
11741 this.writer.exitBlock('}'); 11741 this.writer.exitBlock('}');
11742 for (var $i = list.iterator$0(); $i.hasNext$0(); ) { 11742 for (var $i = list.iterator$0(); $i.hasNext$0(); ) {
11743 var global0 = $i.next$0(); 11743 var global0 = $i.next$0();
11744 if ($notnull_bool(global0.get$field() == null)) { 11744 if ($notnull_bool(global0.get$field() == null)) {
11745 this.writer.writeln(('' + global0.get$name() + ' = ' + global0.get$exp() .get$code() + ';')); 11745 this.writer.writeln(('var ' + global0.get$name() + ' = ' + global0.get$e xp().get$code() + ';'));
11746 } 11746 }
11747 } 11747 }
11748 } 11748 }
11749 if (!$notnull_bool(this.corejs.useIsolates)) { 11749 if (!$notnull_bool(this.corejs.useIsolates)) {
11750 if ($notnull_bool(this.hasStatics)) { 11750 if ($notnull_bool(this.hasStatics)) {
11751 this.writer.writeln('var \$globals = {};'); 11751 this.writer.writeln('var \$globals = {};');
11752 } 11752 }
11753 if (this.globals.get$length() > 0) { 11753 if (this.globals.get$length() > 0) {
11754 this.writer.writeln('\$static_init();'); 11754 this.writer.writeln('\$static_init();');
11755 } 11755 }
(...skipping 9798 matching lines...) Expand 10 before | Expand all | Expand 10 after
21554 else { 21554 else {
21555 $globals.world.gen.corejs.useWrap1 = true; 21555 $globals.world.gen.corejs.useWrap1 = true;
21556 } 21556 }
21557 return new Value(toType, ('\$wrap_call\$' + arity + '(' + this.code + ')'), th is.span, true); 21557 return new Value(toType, ('\$wrap_call\$' + arity + '(' + this.code + ')'), th is.span, true);
21558 } 21558 }
21559 Value.prototype._typeAssert = function(context, toType, node) { 21559 Value.prototype._typeAssert = function(context, toType, node) {
21560 if ((toType instanceof ParameterType)) { 21560 if ((toType instanceof ParameterType)) {
21561 var p = (toType && toType.is$ParameterType()); 21561 var p = (toType && toType.is$ParameterType());
21562 toType = p.extendsType; 21562 toType = p.extendsType;
21563 } 21563 }
21564 if (toType.getCallMethod() != null) { 21564 if (toType.getCallMethod() != null || $eq(toType.get$library(), $globals.world .get$dom())) {
21565 return this; 21565 return this;
21566 } 21566 }
21567 if ($notnull_bool(toType.get$isObject()) || $notnull_bool(toType.get$isVar())) { 21567 if ($notnull_bool(toType.get$isObject()) || $notnull_bool(toType.get$isVar())) {
21568 $globals.world.internalError(('We thought ' + this.type.name + ' is not a su btype of ' + toType.name + '?')); 21568 $globals.world.internalError(('We thought ' + this.type.name + ' is not a su btype of ' + toType.name + '?'));
21569 } 21569 }
21570 if ($notnull_bool(toType.get$isNum())) toType = $globals.world.numType; 21570 if ($notnull_bool(toType.get$isNum())) toType = $globals.world.numType;
21571 var check; 21571 var check;
21572 if ($notnull_bool(toType.get$isVoid())) { 21572 if ($notnull_bool(toType.get$isVoid())) {
21573 check = ('\$assert_void(' + this.code + ')'); 21573 check = ('\$assert_void(' + this.code + ')');
21574 if (toType.typeCheckCode == null) { 21574 if (toType.typeCheckCode == null) {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
21646 for (var i = 0; 21646 for (var i = 0;
21647 i < args.get$length(); i++) { 21647 i < args.get$length(); i++) {
21648 argsCode.add$1(args.values.$index(i).get$code()); 21648 argsCode.add$1(args.values.$index(i).get$code());
21649 } 21649 }
21650 pos = Strings.join((argsCode && argsCode.is$List$String()), ", "); 21650 pos = Strings.join((argsCode && argsCode.is$List$String()), ", ");
21651 } 21651 }
21652 var noSuchArgs = [new Value($globals.world.stringType, ('"' + name + '"'), nod e.span, true), new Value($globals.world.listType, ('[' + pos + ']'), node.span, true)]; 21652 var noSuchArgs = [new Value($globals.world.stringType, ('"' + name + '"'), nod e.span, true), new Value($globals.world.listType, ('[' + pos + ']'), node.span, true)];
21653 return (($0 = this._resolveMember(context, 'noSuchMethod', node, false).invoke $4(context, node, this, new Arguments(null, noSuchArgs))) && $0.is$Value()); 21653 return (($0 = this._resolveMember(context, 'noSuchMethod', node, false).invoke $4(context, node, this, new Arguments(null, noSuchArgs))) && $0.is$Value());
21654 } 21654 }
21655 Value.prototype.invokeSpecial = function(name, args, returnType) { 21655 Value.prototype.invokeSpecial = function(name, args, returnType) {
21656 $assert(name.startsWith('\$'), "name.startsWith('\\$')", "value.dart", 494, 12 ); 21656 $assert(name.startsWith('\$'), "name.startsWith('\\$')", "value.dart", 496, 12 );
21657 $assert(!$notnull_bool(args.get$hasNames()), "!args.hasNames", "value.dart", 4 95, 12); 21657 $assert(!$notnull_bool(args.get$hasNames()), "!args.hasNames", "value.dart", 4 97, 12);
21658 var argsString = args.getCode(); 21658 var argsString = args.getCode();
21659 if (name == '\$index' || name == '\$setindex') { 21659 if (name == '\$index' || name == '\$setindex') {
21660 return new Value(returnType, ('' + this.code + '.' + name + '(' + argsString + ')'), this.span, true); 21660 return new Value(returnType, ('' + this.code + '.' + name + '(' + argsString + ')'), this.span, true);
21661 } 21661 }
21662 else { 21662 else {
21663 if (argsString.length > 0) argsString = (', ' + argsString); 21663 if (argsString.length > 0) argsString = (', ' + argsString);
21664 $globals.world.gen.corejs.useOperator(name); 21664 $globals.world.gen.corejs.useOperator(name);
21665 return new Value(returnType, ('' + name + '(' + this.code + argsString + ')' ), this.span, true); 21665 return new Value(returnType, ('' + name + '(' + this.code + argsString + ')' ), this.span, true);
21666 } 21666 }
21667 } 21667 }
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
21875 BareValue.prototype._ensureCode = function() { 21875 BareValue.prototype._ensureCode = function() {
21876 if (this.code != null) return; 21876 if (this.code != null) return;
21877 if ($notnull_bool(this.isType)) { 21877 if ($notnull_bool(this.isType)) {
21878 this.code = this.type.get$jsname(); 21878 this.code = this.type.get$jsname();
21879 } 21879 }
21880 else { 21880 else {
21881 this.code = this.home._makeThisCode(); 21881 this.code = this.home._makeThisCode();
21882 } 21882 }
21883 } 21883 }
21884 BareValue.prototype._tryResolveMember = function(context, name) { 21884 BareValue.prototype._tryResolveMember = function(context, name) {
21885 $assert($eq(context, this.home), "context == home", "value.dart", 715, 12); 21885 $assert($eq(context, this.home), "context == home", "value.dart", 717, 12);
21886 var member = this.type.resolveMember(name); 21886 var member = this.type.resolveMember(name);
21887 if ($notnull_bool($ne(member, null))) { 21887 if ($notnull_bool($ne(member, null))) {
21888 this._ensureCode(); 21888 this._ensureCode();
21889 return member; 21889 return member;
21890 } 21890 }
21891 member = this.home.get$library().lookup(name, this.span); 21891 member = this.home.get$library().lookup(name, this.span);
21892 if ($notnull_bool($ne(member, null))) { 21892 if ($notnull_bool($ne(member, null))) {
21893 return member; 21893 return member;
21894 } 21894 }
21895 this._ensureCode(); 21895 this._ensureCode();
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
22703 $inheritsMembers(_DoubleLinkedQueueEntrySentinel$E, DoubleLinkedQueueEntry$E); 22703 $inheritsMembers(_DoubleLinkedQueueEntrySentinel$E, DoubleLinkedQueueEntry$E);
22704 $inheritsMembers(_DoubleLinkedQueueEntrySentinel$KeyValuePair$K$V, DoubleLinkedQ ueueEntry$KeyValuePair$K$V); 22704 $inheritsMembers(_DoubleLinkedQueueEntrySentinel$KeyValuePair$K$V, DoubleLinkedQ ueueEntry$KeyValuePair$K$V);
22705 $inheritsMembers(LinkTail$Dynamic, AbstractLink$Dynamic); 22705 $inheritsMembers(LinkTail$Dynamic, AbstractLink$Dynamic);
22706 $inheritsMembers(LinkEntry$Dynamic, AbstractLink$Dynamic); 22706 $inheritsMembers(LinkEntry$Dynamic, AbstractLink$Dynamic);
22707 $inheritsMembers(LinkEntry$T, AbstractLink$T); 22707 $inheritsMembers(LinkEntry$T, AbstractLink$T);
22708 $inheritsMembers(ArrayBasedScanner$SourceString, AbstractScanner$SourceString); 22708 $inheritsMembers(ArrayBasedScanner$SourceString, AbstractScanner$SourceString);
22709 // ********** Globals ************** 22709 // ********** Globals **************
22710 function $static_init(){ 22710 function $static_init(){
22711 $globals.HTracer__singleton = null; 22711 $globals.HTracer__singleton = null;
22712 } 22712 }
22713 const$0 = new NoMoreElementsException()/*const NoMoreElementsException()*/; 22713 var const$0 = new NoMoreElementsException()/*const NoMoreElementsException()*/;
22714 const$1 = new _DeletedKeySentinel()/*const _DeletedKeySentinel()*/; 22714 var const$1 = new _DeletedKeySentinel()/*const _DeletedKeySentinel()*/;
22715 const$10 = new StringWrapper('Dynamic')/*const SourceString('Dynamic')*/; 22715 var const$10 = new StringWrapper('Dynamic')/*const SourceString('Dynamic')*/;
22716 const$101 = new Keyword("negate", true)/*const Keyword("negate", true)*/; 22716 var const$101 = new Keyword("negate", true)/*const Keyword("negate", true)*/;
22717 const$103 = new Keyword("operator", true)/*const Keyword("operator", true)*/; 22717 var const$103 = new Keyword("operator", true)/*const Keyword("operator", true)*/ ;
22718 const$105 = new Keyword("set", true)/*const Keyword("set", true)*/; 22718 var const$105 = new Keyword("set", true)/*const Keyword("set", true)*/;
22719 const$107 = new Keyword("source", true)/*const Keyword("source", true)*/; 22719 var const$107 = new Keyword("source", true)/*const Keyword("source", true)*/;
22720 const$109 = new Keyword("static", true)/*const Keyword("static", true)*/; 22720 var const$109 = new Keyword("static", true)/*const Keyword("static", true)*/;
22721 const$111 = new Keyword("typedef", true)/*const Keyword("typedef", true)*/; 22721 var const$111 = new Keyword("typedef", true)/*const Keyword("typedef", true)*/;
22722 const$115 = new StringWrapper('EOF')/*const SourceString('EOF')*/; 22722 var const$115 = new StringWrapper('EOF')/*const SourceString('EOF')*/;
22723 const$12 = new StringWrapper('String')/*const SourceString('String')*/; 22723 var const$12 = new StringWrapper('String')/*const SourceString('String')*/;
22724 const$14 = new IllegalAccessException()/*const IllegalAccessException()*/; 22724 var const$14 = new IllegalAccessException()/*const IllegalAccessException()*/;
22725 const$15 = ImmutableList.ImmutableList$from$factory([])/*const []*/; 22725 var const$15 = ImmutableList.ImmutableList$from$factory([])/*const []*/;
22726 const$16 = new LinkTail()/*const EmptyLink<Token>()*/; 22726 var const$16 = new LinkTail()/*const EmptyLink<Token>()*/;
22727 const$202 = new ElementKind('class')/*const ElementKind('class')*/; 22727 var const$202 = new ElementKind('class')/*const ElementKind('class')*/;
22728 const$204 = new ElementKind('function')/*const ElementKind('function')*/; 22728 var const$204 = new ElementKind('function')/*const ElementKind('function')*/;
22729 const$206 = new StringWrapper('JS')/*const SourceString('JS')*/; 22729 var const$206 = new StringWrapper('JS')/*const SourceString('JS')*/;
22730 const$207 = new ElementKind('foreign')/*const ElementKind('foreign')*/; 22730 var const$207 = new ElementKind('foreign')/*const ElementKind('foreign')*/;
22731 const$209 = new StringWrapper('main')/*const SourceString('main')*/; 22731 var const$209 = new StringWrapper('main')/*const SourceString('main')*/;
22732 const$211 = new StringWrapper(';')/*const SourceString(';')*/; 22732 var const$211 = new StringWrapper(';')/*const SourceString(';')*/;
22733 const$212 = new NodeList()/*const Prefix()*/; 22733 var const$212 = new NodeList()/*const Prefix()*/;
22734 const$213 = new Prefix()/*const Prefix()*/; 22734 var const$213 = new Prefix()/*const Prefix()*/;
22735 const$214 = new Postfix()/*const Postfix()*/; 22735 var const$214 = new Postfix()/*const Postfix()*/;
22736 const$215 = new ImmutableMap([])/*const {}*/; 22736 var const$215 = new ImmutableMap([])/*const {}*/;
22737 const$216 = new StringWrapper('+')/*const SourceString('+')*/; 22737 var const$216 = new StringWrapper('+')/*const SourceString('+')*/;
22738 const$217 = new StringWrapper('add')/*const SourceString('add')*/; 22738 var const$217 = new StringWrapper('add')/*const SourceString('add')*/;
22739 const$218 = new StringWrapper('-')/*const SourceString('-')*/; 22739 var const$218 = new StringWrapper('-')/*const SourceString('-')*/;
22740 const$219 = new StringWrapper('sub')/*const SourceString('sub')*/; 22740 var const$219 = new StringWrapper('sub')/*const SourceString('sub')*/;
22741 const$220 = new StringWrapper('*')/*const SourceString('*')*/; 22741 var const$220 = new StringWrapper('*')/*const SourceString('*')*/;
22742 const$221 = new StringWrapper('mul')/*const SourceString('mul')*/; 22742 var const$221 = new StringWrapper('mul')/*const SourceString('mul')*/;
22743 const$222 = new StringWrapper('/')/*const SourceString('/')*/; 22743 var const$222 = new StringWrapper('/')/*const SourceString('/')*/;
22744 const$223 = new StringWrapper('div')/*const SourceString('div')*/; 22744 var const$223 = new StringWrapper('div')/*const SourceString('div')*/;
22745 const$224 = new StringWrapper('~/')/*const SourceString('~/')*/; 22745 var const$224 = new StringWrapper('~/')/*const SourceString('~/')*/;
22746 const$225 = new StringWrapper('tdiv')/*const SourceString('tdiv')*/; 22746 var const$225 = new StringWrapper('tdiv')/*const SourceString('tdiv')*/;
22747 const$226 = new StringWrapper('==')/*const SourceString('==')*/; 22747 var const$226 = new StringWrapper('==')/*const SourceString('==')*/;
22748 const$227 = new StringWrapper('eq')/*const SourceString('eq')*/; 22748 var const$227 = new StringWrapper('eq')/*const SourceString('eq')*/;
22749 const$228 = new StringWrapper('<')/*const SourceString('<')*/; 22749 var const$228 = new StringWrapper('<')/*const SourceString('<')*/;
22750 const$229 = new StringWrapper('lt')/*const SourceString('lt')*/; 22750 var const$229 = new StringWrapper('lt')/*const SourceString('lt')*/;
22751 const$230 = new StringWrapper('&&')/*const SourceString('&&')*/; 22751 var const$230 = new StringWrapper('&&')/*const SourceString('&&')*/;
22752 const$231 = new StringWrapper('||')/*const SourceString('||')*/; 22752 var const$231 = new StringWrapper('||')/*const SourceString('||')*/;
22753 const$232 = new StringWrapper('!')/*const SourceString('!')*/; 22753 var const$232 = new StringWrapper('!')/*const SourceString('!')*/;
22754 const$233 = new StringWrapper('var')/*const SourceString('var')*/; 22754 var const$233 = new StringWrapper('var')/*const SourceString('var')*/;
22755 const$234 = new ElementKind('variable')/*const ElementKind('variable')*/; 22755 var const$234 = new ElementKind('variable')/*const ElementKind('variable')*/;
22756 const$240 = new WarningKind('cannot return value from void function')/*const War ningKind( 22756 var const$240 = new WarningKind('cannot return value from void function')/*const WarningKind(
22757 'cannot return value from void function')*/; 22757 'cannot return value from void function')*/;
22758 const$242 = new WarningKind('#{1} is not assignable to #{2}')/*const WarningKind ( 22758 var const$242 = new WarningKind('#{1} is not assignable to #{2}')/*const Warning Kind(
22759 '#{1} is not assignable to #{2}')*/; 22759 '#{1} is not assignable to #{2}')*/;
22760 const$244 = new WarningKind('value of type #{1} expected')/*const WarningKind( 22760 var const$244 = new WarningKind('value of type #{1} expected')/*const WarningKin d(
22761 'value of type #{1} expected')*/; 22761 'value of type #{1} expected')*/;
22762 const$246 = new StringWrapper('=')/*const SourceString('=')*/; 22762 var const$246 = new StringWrapper('=')/*const SourceString('=')*/;
22763 const$247 = new WarningKind('variable cannot be of type void')/*const WarningKin d( 22763 var const$247 = new WarningKind('variable cannot be of type void')/*const Warnin gKind(
22764 'variable cannot be of type void')*/; 22764 'variable cannot be of type void')*/;
22765 const$249 = new WarningKind('expression does not yield a value')/*const WarningK ind( 22765 var const$249 = new WarningKind('expression does not yield a value')/*const Warn ingKind(
22766 'expression does not yield a value')*/; 22766 'expression does not yield a value')*/;
22767 const$25 = new Keyword("break", false)/*const Keyword("break")*/; 22767 var const$25 = new Keyword("break", false)/*const Keyword("break")*/;
22768 const$260 = new StringWrapper("&&")/*const SourceString("&&")*/; 22768 var const$260 = new StringWrapper("&&")/*const SourceString("&&")*/;
22769 const$261 = new StringWrapper("||")/*const SourceString("||")*/; 22769 var const$261 = new StringWrapper("||")/*const SourceString("||")*/;
22770 const$262 = new StringWrapper("!")/*const SourceString("!")*/; 22770 var const$262 = new StringWrapper("!")/*const SourceString("!")*/;
22771 const$263 = new StringWrapper("+")/*const SourceString("+")*/; 22771 var const$263 = new StringWrapper("+")/*const SourceString("+")*/;
22772 const$264 = new StringWrapper("-")/*const SourceString("-")*/; 22772 var const$264 = new StringWrapper("-")/*const SourceString("-")*/;
22773 const$265 = new StringWrapper("*")/*const SourceString("*")*/; 22773 var const$265 = new StringWrapper("*")/*const SourceString("*")*/;
22774 const$266 = new StringWrapper("/")/*const SourceString("/")*/; 22774 var const$266 = new StringWrapper("/")/*const SourceString("/")*/;
22775 const$267 = new StringWrapper("~/")/*const SourceString("~/")*/; 22775 var const$267 = new StringWrapper("~/")/*const SourceString("~/")*/;
22776 const$268 = new StringWrapper("==")/*const SourceString("==")*/; 22776 var const$268 = new StringWrapper("==")/*const SourceString("==")*/;
22777 const$27 = new Keyword("case", false)/*const Keyword("case")*/; 22777 var const$27 = new Keyword("case", false)/*const Keyword("case")*/;
22778 const$274 = ImmutableList.ImmutableList$from$factory(["__PROTO__", "prototype"]) /*const <String>["__PROTO__", "prototype"]*/; 22778 var const$274 = ImmutableList.ImmutableList$from$factory(["__PROTO__", "prototyp e"])/*const <String>["__PROTO__", "prototype"]*/;
22779 const$276 = ImmutableList.ImmutableList$from$factory(["NaN", "Infinity", "undefi ned", "eval", "parseInt", "parseFloat", "isNan", "isFinite", "decodeURI", "decod eURIComponent", "encodeURI", "encodeURIComponent", "Object", "Function", "Array" , "String", "Boolean", "Number", "Date", "RegExp", "Error", "EvalError", "RangeE rror", "ReferenceError", "SyntaxError", "TypeError", "URIError", "Math", "argume nts", "escape", "unescape", "applicationCache", "closed", "Components", "content ", "controllers", "crypto", "defaultStatus", "dialogArguments", "directories", " document", "frameElement", "frames", "fullScreen", "globalStorage", "history", " innerHeight", "innerWidth", "length", "location", "locationbar", "localStorage", "menubar", "mozInnerScreenX", "mozInnerScreenY", "mozScreenPixelsPerCssPixel", "name", "navigator", "opener", "outerHeight", "outerWidth", "pageXOffset", "page YOffset", "parent", "personalbar", "pkcs11", "returnValue", "screen", "scrollbar s", "scrollMaxX", "scrollMaxY", "self", "sessionStorage", "sidebar", "status", " statusbar", "toolbar", "top", "window", "alert", "addEventListener", "atob", "ba ck", "blur", "btoa", "captureEvents", "clearInterval", "clearTimeout", "close", "confirm", "disableExternalCapture", "dispatchEvent", "dump", "enableExternalCap ture", "escape", "find", "focus", "forward", "GeckoActiveXObject", "getAttention ", "getAttentionWithCycleCount", "getComputedStyle", "getSelection", "home", "ma ximize", "minimize", "moveBy", "moveTo", "open", "openDialog", "postMessage", "p rint", "prompt", "QueryInterface", "releaseEvents", "removeEventListener", "resi zeBy", "resizeTo", "restore", "routeEvent", "scroll", "scrollBy", "scrollByLines ", "scrollByPages", "scrollTo", "setInterval", "setResizeable", "setTimeout", "s howModalDialog", "sizeToContent", "stop", "uuescape", "updateCommands", "XPCNati veWrapper", "XPCSafeJSOjbectWrapper", "onabort", "onbeforeunload", "onchange", " onclick", "onclose", "oncontextmenu", "ondragdrop", "onerror", "onfocus", "onhas hchange", "onkeydown", "onkeypress", "onkeyup", "onload", "onmousedown", "onmous emove", "onmouseout", "onmouseover", "onmouseup", "onmozorientation", "onpaint", "onreset", "onresize", "onscroll", "onselect", "onsubmit", "onunload", "ontouch cancel", "ontouchend", "ontouchmove", "ontouchstart", "ongesturestart", "ongestu rechange", "ongestureend", "uneval", "getPrototypeOf", "let", "yield", "abstract ", "int", "short", "boolean", "interface", "static", "byte", "long", "char", "fi nal", "native", "synchronized", "float", "package", "throws", "goto", "private", "transient", "implements", "protected", "volatile", "double", "public", "attach Event", "clientInformation", "clipboardData", "createPopup", "dialogHeight", "di alogLeft", "dialogTop", "dialogWidth", "onafterprint", "onbeforedeactivate", "on beforeprint", "oncontrolselect", "ondeactivate", "onhelp", "onresizeend", "event ", "external", "Debug", "Enumerator", "Global", "Image", "ActiveXObject", "VBArr ay", "Components", "toString", "getClass", "constructor", "prototype", "valueOf" , "Anchor", "Applet", "Attr", "Canvas", "CanvasGradient", "CanvasPattern", "Canv asRenderingContext2D", "CDATASection", "CharacterData", "Comment", "CSS2Properti es", "CSSRule", "CSSStyleSheet", "Document", "DocumentFragment", "DocumentType", "DOMException", "DOMImplementation", "DOMParser", "Element", "Event", "External Interface", "FlashPlayer", "Form", "Frame", "History", "HTMLCollection", "HTMLDo cument", "HTMLElement", "IFrame", "Image", "Input", "JSObject", "KeyEvent", "Lin k", "Location", "MimeType", "MouseEvent", "Navigator", "Node", "NodeList", "Opti on", "Plugin", "ProcessingInstruction", "Range", "RangeException", "Screen", "Se lect", "Table", "TableCell", "TableRow", "TableSelection", "Text", "TextArea", " UIEvent", "Window", "XMLHttpRequest", "XMLSerializer", "XPathException", "XPathR esult", "XSLTProcessor", "java", "Packages", "netscape", "sun", "JavaObject", "J avaClass", "JavaArray", "JavaMember", "\$wnd", "\$doc", "\$entry", "\$moduleName ", "\$moduleBase", "\$gwt_version", "\$sessionId", "\$stack", "\$stackDepth", "\ $location", "call"])/*const <String>[ 22779 var const$276 = ImmutableList.ImmutableList$from$factory(["NaN", "Infinity", "un defined", "eval", "parseInt", "parseFloat", "isNan", "isFinite", "decodeURI", "d ecodeURIComponent", "encodeURI", "encodeURIComponent", "Object", "Function", "Ar ray", "String", "Boolean", "Number", "Date", "RegExp", "Error", "EvalError", "Ra ngeError", "ReferenceError", "SyntaxError", "TypeError", "URIError", "Math", "ar guments", "escape", "unescape", "applicationCache", "closed", "Components", "con tent", "controllers", "crypto", "defaultStatus", "dialogArguments", "directories ", "document", "frameElement", "frames", "fullScreen", "globalStorage", "history ", "innerHeight", "innerWidth", "length", "location", "locationbar", "localStora ge", "menubar", "mozInnerScreenX", "mozInnerScreenY", "mozScreenPixelsPerCssPixe l", "name", "navigator", "opener", "outerHeight", "outerWidth", "pageXOffset", " pageYOffset", "parent", "personalbar", "pkcs11", "returnValue", "screen", "scrol lbars", "scrollMaxX", "scrollMaxY", "self", "sessionStorage", "sidebar", "status ", "statusbar", "toolbar", "top", "window", "alert", "addEventListener", "atob", "back", "blur", "btoa", "captureEvents", "clearInterval", "clearTimeout", "clos e", "confirm", "disableExternalCapture", "dispatchEvent", "dump", "enableExterna lCapture", "escape", "find", "focus", "forward", "GeckoActiveXObject", "getAtten tion", "getAttentionWithCycleCount", "getComputedStyle", "getSelection", "home", "maximize", "minimize", "moveBy", "moveTo", "open", "openDialog", "postMessage" , "print", "prompt", "QueryInterface", "releaseEvents", "removeEventListener", " resizeBy", "resizeTo", "restore", "routeEvent", "scroll", "scrollBy", "scrollByL ines", "scrollByPages", "scrollTo", "setInterval", "setResizeable", "setTimeout" , "showModalDialog", "sizeToContent", "stop", "uuescape", "updateCommands", "XPC NativeWrapper", "XPCSafeJSOjbectWrapper", "onabort", "onbeforeunload", "onchange ", "onclick", "onclose", "oncontextmenu", "ondragdrop", "onerror", "onfocus", "o nhashchange", "onkeydown", "onkeypress", "onkeyup", "onload", "onmousedown", "on mousemove", "onmouseout", "onmouseover", "onmouseup", "onmozorientation", "onpai nt", "onreset", "onresize", "onscroll", "onselect", "onsubmit", "onunload", "ont ouchcancel", "ontouchend", "ontouchmove", "ontouchstart", "ongesturestart", "ong esturechange", "ongestureend", "uneval", "getPrototypeOf", "let", "yield", "abst ract", "int", "short", "boolean", "interface", "static", "byte", "long", "char", "final", "native", "synchronized", "float", "package", "throws", "goto", "priva te", "transient", "implements", "protected", "volatile", "double", "public", "at tachEvent", "clientInformation", "clipboardData", "createPopup", "dialogHeight", "dialogLeft", "dialogTop", "dialogWidth", "onafterprint", "onbeforedeactivate", "onbeforeprint", "oncontrolselect", "ondeactivate", "onhelp", "onresizeend", "e vent", "external", "Debug", "Enumerator", "Global", "Image", "ActiveXObject", "V BArray", "Components", "toString", "getClass", "constructor", "prototype", "valu eOf", "Anchor", "Applet", "Attr", "Canvas", "CanvasGradient", "CanvasPattern", " CanvasRenderingContext2D", "CDATASection", "CharacterData", "Comment", "CSS2Prop erties", "CSSRule", "CSSStyleSheet", "Document", "DocumentFragment", "DocumentTy pe", "DOMException", "DOMImplementation", "DOMParser", "Element", "Event", "Exte rnalInterface", "FlashPlayer", "Form", "Frame", "History", "HTMLCollection", "HT MLDocument", "HTMLElement", "IFrame", "Image", "Input", "JSObject", "KeyEvent", "Link", "Location", "MimeType", "MouseEvent", "Navigator", "Node", "NodeList", " Option", "Plugin", "ProcessingInstruction", "Range", "RangeException", "Screen", "Select", "Table", "TableCell", "TableRow", "TableSelection", "Text", "TextArea ", "UIEvent", "Window", "XMLHttpRequest", "XMLSerializer", "XPathException", "XP athResult", "XSLTProcessor", "java", "Packages", "netscape", "sun", "JavaObject" , "JavaClass", "JavaArray", "JavaMember", "\$wnd", "\$doc", "\$entry", "\$module Name", "\$moduleBase", "\$gwt_version", "\$sessionId", "\$stack", "\$stackDepth" , "\$location", "call"])/*const <String>[
22780 // Section references are from Ecma-262 22780 // Section references are from Ecma-262
22781 // (http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pd f) 22781 // (http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pd f)
22782 22782
22783 // 15.1.1 Value Properties of the Global Object 22783 // 15.1.1 Value Properties of the Global Object
22784 "NaN", "Infinity", "undefined", 22784 "NaN", "Infinity", "undefined",
22785 22785
22786 // 15.1.2 Function Properties of the Global Object 22786 // 15.1.2 Function Properties of the Global Object
22787 "eval", "parseInt", "parseFloat", "isNan", "isFinite", 22787 "eval", "parseInt", "parseFloat", "isNan", "isFinite",
22788 22788
22789 // 15.1.3 URI Handling Function Properties 22789 // 15.1.3 URI Handling Function Properties
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
22900 // GWT-defined identifiers 22900 // GWT-defined identifiers
22901 "\$wnd", "\$doc", "\$entry", "\$moduleName", "\$moduleBase", 22901 "\$wnd", "\$doc", "\$entry", "\$moduleName", "\$moduleBase",
22902 "\$gwt_version", "\$sessionId", 22902 "\$gwt_version", "\$sessionId",
22903 22903
22904 // Identifiers used by JsStackEmulator; later set to obfuscatable 22904 // Identifiers used by JsStackEmulator; later set to obfuscatable
22905 "\$stack", "\$stackDepth", "\$location", 22905 "\$stack", "\$stackDepth", "\$location",
22906 22906
22907 // TODO: prove why this is necessary or remove it 22907 // TODO: prove why this is necessary or remove it
22908 "call" 22908 "call"
22909 ]*/; 22909 ]*/;
22910 const$278 = ImmutableList.ImmutableList$from$factory(["break", "delete", "functi on", "return", "typeof", "case", "do", "if", "switch", "var", "catch", "else", " in", "this", "void", "continue", "false", "instanceof", "throw", "while", "debug ger", "finally", "new", "true", "with", "default", "for", "null", "try", "abstra ct", "double", "goto", "native", "static", "boolean", "enum", "implements", "pac kage", "super", "byte", "export", "import", "private", "synchronized", "char", " extends", "int", "protected", "throws", "class", "final", "interface", "public", "transient", "const", "float", "long", "short", "volatile"])/*const <String>[ 22910 var const$278 = ImmutableList.ImmutableList$from$factory(["break", "delete", "fu nction", "return", "typeof", "case", "do", "if", "switch", "var", "catch", "else ", "in", "this", "void", "continue", "false", "instanceof", "throw", "while", "d ebugger", "finally", "new", "true", "with", "default", "for", "null", "try", "ab stract", "double", "goto", "native", "static", "boolean", "enum", "implements", "package", "super", "byte", "export", "import", "private", "synchronized", "char ", "extends", "int", "protected", "throws", "class", "final", "interface", "publ ic", "transient", "const", "float", "long", "short", "volatile"])/*const <String >[
22911 // These are current keywords 22911 // These are current keywords
22912 "break", "delete", "function", "return", "typeof", "case", "do", "if", 22912 "break", "delete", "function", "return", "typeof", "case", "do", "if",
22913 "switch", "var", "catch", "else", "in", "this", "void", "continue", 22913 "switch", "var", "catch", "else", "in", "this", "void", "continue",
22914 "false", "instanceof", "throw", "while", "debugger", "finally", "new", 22914 "false", "instanceof", "throw", "while", "debugger", "finally", "new",
22915 "true", "with", "default", "for", "null", "try", 22915 "true", "with", "default", "for", "null", "try",
22916 22916
22917 // These are future keywords 22917 // These are future keywords
22918 "abstract", "double", "goto", "native", "static", "boolean", "enum", 22918 "abstract", "double", "goto", "native", "static", "boolean", "enum",
22919 "implements", "package", "super", "byte", "export", "import", "private", 22919 "implements", "package", "super", "byte", "export", "import", "private",
22920 "synchronized", "char", "extends", "int", "protected", "throws", 22920 "synchronized", "char", "extends", "int", "protected", "throws",
22921 "class", "final", "interface", "public", "transient", "const", "float", 22921 "class", "final", "interface", "public", "transient", "const", "float",
22922 "long", "short", "volatile" 22922 "long", "short", "volatile"
22923 ]*/; 22923 ]*/;
22924 const$280 = new ExceptionImplementation("Internal Error (Leg): UNREACHABLE")/*co nst Exception("Internal Error (Leg): UNREACHABLE")*/; 22924 var const$280 = new ExceptionImplementation("Internal Error (Leg): UNREACHABLE") /*const Exception("Internal Error (Leg): UNREACHABLE")*/;
22925 const$29 = new Keyword("catch", false)/*const Keyword("catch")*/; 22925 var const$29 = new Keyword("catch", false)/*const Keyword("catch")*/;
22926 const$31 = new Keyword("const", false)/*const Keyword("const")*/; 22926 var const$31 = new Keyword("const", false)/*const Keyword("const")*/;
22927 const$33 = new Keyword("continue", false)/*const Keyword("continue")*/; 22927 var const$33 = new Keyword("continue", false)/*const Keyword("continue")*/;
22928 const$35 = new Keyword("default", false)/*const Keyword("default")*/; 22928 var const$35 = new Keyword("default", false)/*const Keyword("default")*/;
22929 const$37 = new Keyword("do", false)/*const Keyword("do")*/; 22929 var const$37 = new Keyword("do", false)/*const Keyword("do")*/;
22930 const$39 = new Keyword("else", false)/*const Keyword("else")*/; 22930 var const$39 = new Keyword("else", false)/*const Keyword("else")*/;
22931 const$393 = ImmutableList.ImmutableList$from$factory(['NullPointerException', 'O bjectNotClosureException', 'NoSuchMethodException', 'StackOverflowException'])/* const [ 22931 var const$393 = ImmutableList.ImmutableList$from$factory(['NullPointerException' , 'ObjectNotClosureException', 'NoSuchMethodException', 'StackOverflowException' ])/*const [
22932 'NullPointerException', 'ObjectNotClosureException', 22932 'NullPointerException', 'ObjectNotClosureException',
22933 'NoSuchMethodException', 'StackOverflowException']*/; 22933 'NoSuchMethodException', 'StackOverflowException']*/;
22934 const$4 = new StringWrapper('global scope')/*const SourceString('global scope')* /; 22934 var const$4 = new StringWrapper('global scope')/*const SourceString('global scop e')*/;
22935 const$41 = new Keyword("false", false)/*const Keyword("false")*/; 22935 var const$41 = new Keyword("false", false)/*const Keyword("false")*/;
22936 const$43 = new Keyword("final", false)/*const Keyword("final")*/; 22936 var const$43 = new Keyword("final", false)/*const Keyword("final")*/;
22937 const$45 = new Keyword("finally", false)/*const Keyword("finally")*/; 22937 var const$45 = new Keyword("finally", false)/*const Keyword("finally")*/;
22938 const$47 = new Keyword("for", false)/*const Keyword("for")*/; 22938 var const$47 = new Keyword("for", false)/*const Keyword("for")*/;
22939 const$49 = new Keyword("if", false)/*const Keyword("if")*/; 22939 var const$49 = new Keyword("if", false)/*const Keyword("if")*/;
22940 const$5 = new EmptyQueueException()/*const EmptyQueueException()*/; 22940 var const$5 = new EmptyQueueException()/*const EmptyQueueException()*/;
22941 const$51 = new Keyword("in", false)/*const Keyword("in")*/; 22941 var const$51 = new Keyword("in", false)/*const Keyword("in")*/;
22942 const$53 = new Keyword("is", false)/*const Keyword("is")*/; 22942 var const$53 = new Keyword("is", false)/*const Keyword("is")*/;
22943 const$55 = new Keyword("new", false)/*const Keyword("new")*/; 22943 var const$55 = new Keyword("new", false)/*const Keyword("new")*/;
22944 const$57 = new Keyword("null", false)/*const Keyword("null")*/; 22944 var const$57 = new Keyword("null", false)/*const Keyword("null")*/;
22945 const$59 = new Keyword("return", false)/*const Keyword("return")*/; 22945 var const$59 = new Keyword("return", false)/*const Keyword("return")*/;
22946 const$6 = new StringWrapper('void')/*const SourceString('void')*/; 22946 var const$6 = new StringWrapper('void')/*const SourceString('void')*/;
22947 const$61 = new Keyword("super", false)/*const Keyword("super")*/; 22947 var const$61 = new Keyword("super", false)/*const Keyword("super")*/;
22948 const$63 = new Keyword("switch", false)/*const Keyword("switch")*/; 22948 var const$63 = new Keyword("switch", false)/*const Keyword("switch")*/;
22949 const$65 = new Keyword("this", false)/*const Keyword("this")*/; 22949 var const$65 = new Keyword("this", false)/*const Keyword("this")*/;
22950 const$67 = new Keyword("throw", false)/*const Keyword("throw")*/; 22950 var const$67 = new Keyword("throw", false)/*const Keyword("throw")*/;
22951 const$69 = new Keyword("true", false)/*const Keyword("true")*/; 22951 var const$69 = new Keyword("true", false)/*const Keyword("true")*/;
22952 const$71 = new Keyword("try", false)/*const Keyword("try")*/; 22952 var const$71 = new Keyword("try", false)/*const Keyword("try")*/;
22953 const$73 = new Keyword("var", false)/*const Keyword("var")*/; 22953 var const$73 = new Keyword("var", false)/*const Keyword("var")*/;
22954 const$75 = new Keyword("void", false)/*const Keyword("void")*/; 22954 var const$75 = new Keyword("void", false)/*const Keyword("void")*/;
22955 const$77 = new Keyword("while", false)/*const Keyword("while")*/; 22955 var const$77 = new Keyword("while", false)/*const Keyword("while")*/;
22956 const$79 = new Keyword("abstract", true)/*const Keyword("abstract", true)*/; 22956 var const$79 = new Keyword("abstract", true)/*const Keyword("abstract", true)*/;
22957 const$8 = new StringWrapper('int')/*const SourceString('int')*/; 22957 var const$8 = new StringWrapper('int')/*const SourceString('int')*/;
22958 const$81 = new Keyword("assert", true)/*const Keyword("assert", true)*/; 22958 var const$81 = new Keyword("assert", true)/*const Keyword("assert", true)*/;
22959 const$83 = new Keyword("class", true)/*const Keyword("class", true)*/; 22959 var const$83 = new Keyword("class", true)/*const Keyword("class", true)*/;
22960 const$85 = new Keyword("extends", true)/*const Keyword("extends", true)*/; 22960 var const$85 = new Keyword("extends", true)/*const Keyword("extends", true)*/;
22961 const$87 = new Keyword("factory", true)/*const Keyword("factory", true)*/; 22961 var const$87 = new Keyword("factory", true)/*const Keyword("factory", true)*/;
22962 const$89 = new Keyword("get", true)/*const Keyword("get", true)*/; 22962 var const$89 = new Keyword("get", true)/*const Keyword("get", true)*/;
22963 const$91 = new Keyword("implements", true)/*const Keyword("implements", true)*/; 22963 var const$91 = new Keyword("implements", true)/*const Keyword("implements", true )*/;
22964 const$93 = new Keyword("import", true)/*const Keyword("import", true)*/; 22964 var const$93 = new Keyword("import", true)/*const Keyword("import", true)*/;
22965 const$95 = new Keyword("interface", true)/*const Keyword("interface", true)*/; 22965 var const$95 = new Keyword("interface", true)/*const Keyword("interface", true)* /;
22966 const$97 = new Keyword("library", true)/*const Keyword("library", true)*/; 22966 var const$97 = new Keyword("library", true)/*const Keyword("library", true)*/;
22967 const$99 = new Keyword("native", true)/*const Keyword("native", true)*/; 22967 var const$99 = new Keyword("native", true)/*const Keyword("native", true)*/;
22968 const$113 = ImmutableList.ImmutableList$from$factory([const$25, const$27, const$ 29, const$31, const$33, const$35, const$37, const$39, const$41, const$43, const$ 45, const$47, const$49, const$51, const$53, const$55, const$57, const$59, const$ 61, const$63, const$65, const$67, const$69, const$71, const$73, const$75, const$ 77, const$79, const$81, const$83, const$85, const$87, const$89, const$91, const$ 93, const$95, const$97, const$99, const$101, const$103, const$105, const$107, co nst$109, const$111])/*const <Keyword> [ 22968 var const$113 = ImmutableList.ImmutableList$from$factory([const$25, const$27, co nst$29, const$31, const$33, const$35, const$37, const$39, const$41, const$43, co nst$45, const$47, const$49, const$51, const$53, const$55, const$57, const$59, co nst$61, const$63, const$65, const$67, const$69, const$71, const$73, const$75, co nst$77, const$79, const$81, const$83, const$85, const$87, const$89, const$91, co nst$93, const$95, const$97, const$99, const$101, const$103, const$105, const$107 , const$109, const$111])/*const <Keyword> [
22969 BREAK, 22969 BREAK,
22970 CASE, 22970 CASE,
22971 CATCH, 22971 CATCH,
22972 CONST, 22972 CONST,
22973 CONTINUE, 22973 CONTINUE,
22974 DEFAULT, 22974 DEFAULT,
22975 DO, 22975 DO,
22976 ELSE, 22976 ELSE,
22977 FALSE, 22977 FALSE,
22978 FINAL, 22978 FINAL,
(...skipping 27 matching lines...) Expand all
23006 NATIVE, 23006 NATIVE,
23007 NEGATE, 23007 NEGATE,
23008 OPERATOR, 23008 OPERATOR,
23009 SET, 23009 SET,
23010 SOURCE, 23010 SOURCE,
23011 STATIC, 23011 STATIC,
23012 TYPEDEF ]*/; 23012 TYPEDEF ]*/;
23013 var $globals = {}; 23013 var $globals = {};
23014 $static_init(); 23014 $static_init();
23015 main(); 23015 main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698