| OLD | NEW |
| 1 var core = dart.defineLibrary(core, {}); | 1 var core = dart.defineLibrary(core, {}); |
| 2 var _js_helper = dart.lazyImport(_js_helper); | 2 var _js_helper = dart.lazyImport(_js_helper); |
| 3 var _internal = dart.lazyImport(_internal); | 3 var _internal = dart.lazyImport(_internal); |
| 4 var collection = dart.lazyImport(collection); | 4 var collection = dart.lazyImport(collection); |
| 5 var _interceptors = dart.lazyImport(_interceptors); | 5 var _interceptors = dart.lazyImport(_interceptors); |
| 6 var math = dart.lazyImport(math); | 6 var math = dart.lazyImport(math); |
| 7 var convert = dart.lazyImport(convert); | 7 var convert = dart.lazyImport(convert); |
| 8 (function(exports, _js_helper, _internal, collection, _interceptors, math, conve
rt) { | 8 (function(exports, _js_helper, _internal, collection, _interceptors, math, conve
rt) { |
| 9 'use strict'; | 9 'use strict'; |
| 10 class Object { | 10 class Object { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 } | 59 } |
| 60 dart.setSignature(SupportJsExtensionMethod, {}); | 60 dart.setSignature(SupportJsExtensionMethod, {}); |
| 61 class Deprecated extends Object { | 61 class Deprecated extends Object { |
| 62 Deprecated(expires) { | 62 Deprecated(expires) { |
| 63 this.expires = expires; | 63 this.expires = expires; |
| 64 } | 64 } |
| 65 toString() { | 65 toString() { |
| 66 return `Deprecated feature. Will be removed ${this.expires}`; | 66 return `Deprecated feature. Will be removed ${this.expires}`; |
| 67 } | 67 } |
| 68 } | 68 } |
| 69 dart.setSignature(Deprecated, { | 69 dart.setSignature(Deprecated, {}); |
| 70 methods: () => ({toString: dart.functionType(String, [])}) | |
| 71 }); | |
| 72 class _Override extends Object { | 70 class _Override extends Object { |
| 73 _Override() { | 71 _Override() { |
| 74 } | 72 } |
| 75 } | 73 } |
| 76 dart.setSignature(_Override, {}); | 74 dart.setSignature(_Override, {}); |
| 77 let deprecated = dart.const(new Deprecated("next release")); | 75 let deprecated = dart.const(new Deprecated("next release")); |
| 78 let override = dart.const(new _Override()); | 76 let override = dart.const(new _Override()); |
| 79 class _Proxy extends Object { | 77 class _Proxy extends Object { |
| 80 _Proxy() { | 78 _Proxy() { |
| 81 } | 79 } |
| 82 } | 80 } |
| 83 dart.setSignature(_Proxy, {}); | 81 dart.setSignature(_Proxy, {}); |
| 84 let proxy = dart.const(new _Proxy()); | 82 let proxy = dart.const(new _Proxy()); |
| 85 class bool extends Object { | 83 class bool extends Object { |
| 86 fromEnvironment(name, opts) { | 84 fromEnvironment(name, opts) { |
| 87 let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : fa
lse; | 85 let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : fa
lse; |
| 88 throw new UnsupportedError('bool.fromEnvironment can only be used as a con
st constructor'); | 86 throw new UnsupportedError('bool.fromEnvironment can only be used as a con
st constructor'); |
| 89 } | 87 } |
| 90 toString() { | 88 toString() { |
| 91 return this ? "true" : "false"; | 89 return this ? "true" : "false"; |
| 92 } | 90 } |
| 93 } | 91 } |
| 94 dart.defineNamedConstructor(bool, 'fromEnvironment'); | 92 dart.defineNamedConstructor(bool, 'fromEnvironment'); |
| 95 dart.setSignature(bool, { | 93 dart.setSignature(bool, {}); |
| 96 methods: () => ({toString: dart.functionType(String, [])}) | |
| 97 }); | |
| 98 let Comparator$ = dart.generic(function(T) { | 94 let Comparator$ = dart.generic(function(T) { |
| 99 let Comparator = dart.typedef('Comparator', () => dart.functionType(int, [T,
T])); | 95 let Comparator = dart.typedef('Comparator', () => dart.functionType(int, [T,
T])); |
| 100 return Comparator; | 96 return Comparator; |
| 101 }); | 97 }); |
| 102 let Comparator = Comparator$(); | 98 let Comparator = Comparator$(); |
| 103 let Comparable$ = dart.generic(function(T) { | 99 let Comparable$ = dart.generic(function(T) { |
| 104 class Comparable extends Object { | 100 class Comparable extends Object { |
| 105 static compare(a, b) { | 101 static compare(a, b) { |
| 106 return a.compareTo(b); | 102 return a.compareTo(b); |
| 107 } | 103 } |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 } | 354 } |
| 359 } | 355 } |
| 360 DateTime[dart.implements] = () => [Comparable]; | 356 DateTime[dart.implements] = () => [Comparable]; |
| 361 dart.defineNamedConstructor(DateTime, 'utc'); | 357 dart.defineNamedConstructor(DateTime, 'utc'); |
| 362 dart.defineNamedConstructor(DateTime, 'now'); | 358 dart.defineNamedConstructor(DateTime, 'now'); |
| 363 dart.defineNamedConstructor(DateTime, 'fromMillisecondsSinceEpoch'); | 359 dart.defineNamedConstructor(DateTime, 'fromMillisecondsSinceEpoch'); |
| 364 dart.defineNamedConstructor(DateTime, '_internal'); | 360 dart.defineNamedConstructor(DateTime, '_internal'); |
| 365 dart.defineNamedConstructor(DateTime, '_now'); | 361 dart.defineNamedConstructor(DateTime, '_now'); |
| 366 dart.setSignature(DateTime, { | 362 dart.setSignature(DateTime, { |
| 367 methods: () => ({ | 363 methods: () => ({ |
| 368 '==': dart.functionType(bool, [dart.dynamic]), | |
| 369 isBefore: dart.functionType(bool, [DateTime]), | 364 isBefore: dart.functionType(bool, [DateTime]), |
| 370 isAfter: dart.functionType(bool, [DateTime]), | 365 isAfter: dart.functionType(bool, [DateTime]), |
| 371 isAtSameMomentAs: dart.functionType(bool, [DateTime]), | 366 isAtSameMomentAs: dart.functionType(bool, [DateTime]), |
| 372 compareTo: dart.functionType(int, [DateTime]), | 367 compareTo: dart.functionType(int, [DateTime]), |
| 373 toLocal: dart.functionType(DateTime, []), | 368 toLocal: dart.functionType(DateTime, []), |
| 374 toUtc: dart.functionType(DateTime, []), | 369 toUtc: dart.functionType(DateTime, []), |
| 375 toString: dart.functionType(String, []), | |
| 376 toIso8601String: dart.functionType(String, []), | 370 toIso8601String: dart.functionType(String, []), |
| 377 add: dart.functionType(DateTime, [Duration]), | 371 add: dart.functionType(DateTime, [Duration]), |
| 378 subtract: dart.functionType(DateTime, [Duration]), | 372 subtract: dart.functionType(DateTime, [Duration]), |
| 379 difference: dart.functionType(Duration, [DateTime]) | 373 difference: dart.functionType(Duration, [DateTime]) |
| 380 }), | 374 }), |
| 381 statics: () => ({ | 375 statics: () => ({ |
| 382 parse: dart.functionType(DateTime, [String]), | 376 parse: dart.functionType(DateTime, [String]), |
| 383 _fourDigits: dart.functionType(String, [int]), | 377 _fourDigits: dart.functionType(String, [int]), |
| 384 _sixDigits: dart.functionType(String, [int]), | 378 _sixDigits: dart.functionType(String, [int]), |
| 385 _threeDigits: dart.functionType(String, [int]), | 379 _threeDigits: dart.functionType(String, [int]), |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 dart.setSignature(Duration, { | 568 dart.setSignature(Duration, { |
| 575 methods: () => ({ | 569 methods: () => ({ |
| 576 '+': dart.functionType(Duration, [Duration]), | 570 '+': dart.functionType(Duration, [Duration]), |
| 577 '-': dart.functionType(Duration, [Duration]), | 571 '-': dart.functionType(Duration, [Duration]), |
| 578 '*': dart.functionType(Duration, [num]), | 572 '*': dart.functionType(Duration, [num]), |
| 579 '~/': dart.functionType(Duration, [int]), | 573 '~/': dart.functionType(Duration, [int]), |
| 580 '<': dart.functionType(bool, [Duration]), | 574 '<': dart.functionType(bool, [Duration]), |
| 581 '>': dart.functionType(bool, [Duration]), | 575 '>': dart.functionType(bool, [Duration]), |
| 582 '<=': dart.functionType(bool, [Duration]), | 576 '<=': dart.functionType(bool, [Duration]), |
| 583 '>=': dart.functionType(bool, [Duration]), | 577 '>=': dart.functionType(bool, [Duration]), |
| 584 '==': dart.functionType(bool, [dart.dynamic]), | |
| 585 compareTo: dart.functionType(int, [Duration]), | 578 compareTo: dart.functionType(int, [Duration]), |
| 586 toString: dart.functionType(String, []), | |
| 587 abs: dart.functionType(Duration, []), | 579 abs: dart.functionType(Duration, []), |
| 588 'unary-': dart.functionType(Duration, []) | 580 'unary-': dart.functionType(Duration, []) |
| 589 }) | 581 }) |
| 590 }); | 582 }); |
| 591 Duration.MICROSECONDS_PER_MILLISECOND = 1000; | 583 Duration.MICROSECONDS_PER_MILLISECOND = 1000; |
| 592 Duration.MILLISECONDS_PER_SECOND = 1000; | 584 Duration.MILLISECONDS_PER_SECOND = 1000; |
| 593 Duration.SECONDS_PER_MINUTE = 60; | 585 Duration.SECONDS_PER_MINUTE = 60; |
| 594 Duration.MINUTES_PER_HOUR = 60; | 586 Duration.MINUTES_PER_HOUR = 60; |
| 595 Duration.HOURS_PER_DAY = 24; | 587 Duration.HOURS_PER_DAY = 24; |
| 596 Duration.MICROSECONDS_PER_SECOND = dart.notNull(Duration.MICROSECONDS_PER_MILL
ISECOND) * dart.notNull(Duration.MILLISECONDS_PER_SECOND); | 588 Duration.MICROSECONDS_PER_SECOND = dart.notNull(Duration.MICROSECONDS_PER_MILL
ISECOND) * dart.notNull(Duration.MILLISECONDS_PER_SECOND); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 } | 641 } |
| 650 dart.setSignature(CastError, {}); | 642 dart.setSignature(CastError, {}); |
| 651 class NullThrownError extends Error { | 643 class NullThrownError extends Error { |
| 652 NullThrownError() { | 644 NullThrownError() { |
| 653 super.Error(); | 645 super.Error(); |
| 654 } | 646 } |
| 655 toString() { | 647 toString() { |
| 656 return "Throw of null."; | 648 return "Throw of null."; |
| 657 } | 649 } |
| 658 } | 650 } |
| 659 dart.setSignature(NullThrownError, { | 651 dart.setSignature(NullThrownError, {}); |
| 660 methods: () => ({toString: dart.functionType(String, [])}) | |
| 661 }); | |
| 662 let _hasValue = dart.JsSymbol('_hasValue'); | 652 let _hasValue = dart.JsSymbol('_hasValue'); |
| 663 class ArgumentError extends Error { | 653 class ArgumentError extends Error { |
| 664 ArgumentError(message) { | 654 ArgumentError(message) { |
| 665 if (message === void 0) | 655 if (message === void 0) |
| 666 message = null; | 656 message = null; |
| 667 this.message = message; | 657 this.message = message; |
| 668 this.invalidValue = null; | 658 this.invalidValue = null; |
| 669 this[_hasValue] = false; | 659 this[_hasValue] = false; |
| 670 this.name = null; | 660 this.name = null; |
| 671 super.Error(); | 661 super.Error(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 696 } | 686 } |
| 697 let nameString = ""; | 687 let nameString = ""; |
| 698 if (this.name != null) { | 688 if (this.name != null) { |
| 699 nameString = ` (${this.name})`; | 689 nameString = ` (${this.name})`; |
| 700 } | 690 } |
| 701 return `${this.message}${nameString}: ${Error.safeToString(this.invalidVal
ue)}`; | 691 return `${this.message}${nameString}: ${Error.safeToString(this.invalidVal
ue)}`; |
| 702 } | 692 } |
| 703 } | 693 } |
| 704 dart.defineNamedConstructor(ArgumentError, 'value'); | 694 dart.defineNamedConstructor(ArgumentError, 'value'); |
| 705 dart.defineNamedConstructor(ArgumentError, 'notNull'); | 695 dart.defineNamedConstructor(ArgumentError, 'notNull'); |
| 706 dart.setSignature(ArgumentError, { | 696 dart.setSignature(ArgumentError, {}); |
| 707 methods: () => ({toString: dart.functionType(String, [])}) | |
| 708 }); | |
| 709 class RangeError extends ArgumentError { | 697 class RangeError extends ArgumentError { |
| 710 RangeError(message) { | 698 RangeError(message) { |
| 711 this.start = null; | 699 this.start = null; |
| 712 this.end = null; | 700 this.end = null; |
| 713 super.ArgumentError(message); | 701 super.ArgumentError(message); |
| 714 } | 702 } |
| 715 value(value, name, message) { | 703 value(value, name, message) { |
| 716 if (name === void 0) | 704 if (name === void 0) |
| 717 name = null; | 705 name = null; |
| 718 if (message === void 0) | 706 if (message === void 0) |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 } else { | 789 } else { |
| 802 explanation = `: Only valid value is ${this.start}`; | 790 explanation = `: Only valid value is ${this.start}`; |
| 803 } | 791 } |
| 804 return `RangeError: ${this.message} (${value})${explanation}`; | 792 return `RangeError: ${this.message} (${value})${explanation}`; |
| 805 } | 793 } |
| 806 } | 794 } |
| 807 dart.defineNamedConstructor(RangeError, 'value'); | 795 dart.defineNamedConstructor(RangeError, 'value'); |
| 808 dart.defineNamedConstructor(RangeError, 'range'); | 796 dart.defineNamedConstructor(RangeError, 'range'); |
| 809 dart.defineNamedConstructor(RangeError, 'index'); | 797 dart.defineNamedConstructor(RangeError, 'index'); |
| 810 dart.setSignature(RangeError, { | 798 dart.setSignature(RangeError, { |
| 811 methods: () => ({toString: dart.functionType(String, [])}), | |
| 812 statics: () => ({ | 799 statics: () => ({ |
| 813 checkValueInInterval: dart.functionType(dart.void, [int, int, int], [Strin
g, String]), | 800 checkValueInInterval: dart.functionType(dart.void, [int, int, int], [Strin
g, String]), |
| 814 checkValidIndex: dart.functionType(dart.void, [int, dart.dynamic], [String
, int, String]), | 801 checkValidIndex: dart.functionType(dart.void, [int, dart.dynamic], [String
, int, String]), |
| 815 checkValidRange: dart.functionType(dart.void, [int, int, int], [String, St
ring, String]), | 802 checkValidRange: dart.functionType(dart.void, [int, int, int], [String, St
ring, String]), |
| 816 checkNotNegative: dart.functionType(dart.void, [int], [String, String]) | 803 checkNotNegative: dart.functionType(dart.void, [int], [String, String]) |
| 817 }), | 804 }), |
| 818 names: ['checkValueInInterval', 'checkValidIndex', 'checkValidRange', 'check
NotNegative'] | 805 names: ['checkValueInInterval', 'checkValidIndex', 'checkValidRange', 'check
NotNegative'] |
| 819 }); | 806 }); |
| 820 class IndexError extends ArgumentError { | 807 class IndexError extends ArgumentError { |
| 821 IndexError(invalidValue, indexable, name, message, length) { | 808 IndexError(invalidValue, indexable, name, message, length) { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 839 dart.assert(this[_hasValue]); | 826 dart.assert(this[_hasValue]); |
| 840 let target = Error.safeToString(this.indexable); | 827 let target = Error.safeToString(this.indexable); |
| 841 let explanation = `index should be less than ${this.length}`; | 828 let explanation = `index should be less than ${this.length}`; |
| 842 if (dart.dsend(this.invalidValue, '<', 0)) { | 829 if (dart.dsend(this.invalidValue, '<', 0)) { |
| 843 explanation = "index must not be negative"; | 830 explanation = "index must not be negative"; |
| 844 } | 831 } |
| 845 return `RangeError: ${this.message} (${target}[${this.invalidValue}]): ${e
xplanation}`; | 832 return `RangeError: ${this.message} (${target}[${this.invalidValue}]): ${e
xplanation}`; |
| 846 } | 833 } |
| 847 } | 834 } |
| 848 IndexError[dart.implements] = () => [RangeError]; | 835 IndexError[dart.implements] = () => [RangeError]; |
| 849 dart.setSignature(IndexError, { | 836 dart.setSignature(IndexError, {}); |
| 850 methods: () => ({toString: dart.functionType(String, [])}) | |
| 851 }); | |
| 852 class FallThroughError extends Error { | 837 class FallThroughError extends Error { |
| 853 FallThroughError() { | 838 FallThroughError() { |
| 854 super.Error(); | 839 super.Error(); |
| 855 } | 840 } |
| 856 } | 841 } |
| 857 dart.setSignature(FallThroughError, {}); | 842 dart.setSignature(FallThroughError, {}); |
| 858 let _className = dart.JsSymbol('_className'); | 843 let _className = dart.JsSymbol('_className'); |
| 859 class AbstractClassInstantiationError extends Error { | 844 class AbstractClassInstantiationError extends Error { |
| 860 AbstractClassInstantiationError(className) { | 845 AbstractClassInstantiationError(className) { |
| 861 this[_className] = className; | 846 this[_className] = className; |
| 862 super.Error(); | 847 super.Error(); |
| 863 } | 848 } |
| 864 toString() { | 849 toString() { |
| 865 return `Cannot instantiate abstract class: '${this[_className]}'`; | 850 return `Cannot instantiate abstract class: '${this[_className]}'`; |
| 866 } | 851 } |
| 867 } | 852 } |
| 868 dart.setSignature(AbstractClassInstantiationError, { | 853 dart.setSignature(AbstractClassInstantiationError, {}); |
| 869 methods: () => ({toString: dart.functionType(String, [])}) | |
| 870 }); | |
| 871 let _receiver = dart.JsSymbol('_receiver'); | 854 let _receiver = dart.JsSymbol('_receiver'); |
| 872 let _memberName = dart.JsSymbol('_memberName'); | 855 let _memberName = dart.JsSymbol('_memberName'); |
| 873 let _arguments = dart.JsSymbol('_arguments'); | 856 let _arguments = dart.JsSymbol('_arguments'); |
| 874 let _namedArguments = dart.JsSymbol('_namedArguments'); | 857 let _namedArguments = dart.JsSymbol('_namedArguments'); |
| 875 let _existingArgumentNames = dart.JsSymbol('_existingArgumentNames'); | 858 let _existingArgumentNames = dart.JsSymbol('_existingArgumentNames'); |
| 876 let $length = dart.JsSymbol('$length'); | 859 let $length = dart.JsSymbol('$length'); |
| 877 let $get = dart.JsSymbol('$get'); | 860 let $get = dart.JsSymbol('$get'); |
| 878 class NoSuchMethodError extends Error { | 861 class NoSuchMethodError extends Error { |
| 879 NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments,
existingArgumentNames) { | 862 NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments,
existingArgumentNames) { |
| 880 if (existingArgumentNames === void 0) | 863 if (existingArgumentNames === void 0) |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 if (dart.notNull(i) > 0) { | 900 if (dart.notNull(i) > 0) { |
| 918 sb.write(", "); | 901 sb.write(", "); |
| 919 } | 902 } |
| 920 sb.write(this[_existingArgumentNames][$get](i)); | 903 sb.write(this[_existingArgumentNames][$get](i)); |
| 921 } | 904 } |
| 922 let formalParameters = dart.toString(sb); | 905 let formalParameters = dart.toString(sb); |
| 923 return "NoSuchMethodError: incorrect number of arguments passed to " + `
method named '${this[_memberName]}'\n` + `Receiver: ${Error.safeToString(this[_r
eceiver])}\n` + `Tried calling: ${this[_memberName]}(${actualParameters})\n` + `
Found: ${this[_memberName]}(${formalParameters})`; | 906 return "NoSuchMethodError: incorrect number of arguments passed to " + `
method named '${this[_memberName]}'\n` + `Receiver: ${Error.safeToString(this[_r
eceiver])}\n` + `Tried calling: ${this[_memberName]}(${actualParameters})\n` + `
Found: ${this[_memberName]}(${formalParameters})`; |
| 924 } | 907 } |
| 925 } | 908 } |
| 926 } | 909 } |
| 927 dart.setSignature(NoSuchMethodError, { | 910 dart.setSignature(NoSuchMethodError, {}); |
| 928 methods: () => ({toString: dart.functionType(String, [])}) | |
| 929 }); | |
| 930 class UnsupportedError extends Error { | 911 class UnsupportedError extends Error { |
| 931 UnsupportedError(message) { | 912 UnsupportedError(message) { |
| 932 this.message = message; | 913 this.message = message; |
| 933 super.Error(); | 914 super.Error(); |
| 934 } | 915 } |
| 935 toString() { | 916 toString() { |
| 936 return `Unsupported operation: ${this.message}`; | 917 return `Unsupported operation: ${this.message}`; |
| 937 } | 918 } |
| 938 } | 919 } |
| 939 dart.setSignature(UnsupportedError, { | 920 dart.setSignature(UnsupportedError, {}); |
| 940 methods: () => ({toString: dart.functionType(String, [])}) | |
| 941 }); | |
| 942 class UnimplementedError extends Error { | 921 class UnimplementedError extends Error { |
| 943 UnimplementedError(message) { | 922 UnimplementedError(message) { |
| 944 if (message === void 0) | 923 if (message === void 0) |
| 945 message = null; | 924 message = null; |
| 946 this.message = message; | 925 this.message = message; |
| 947 super.Error(); | 926 super.Error(); |
| 948 } | 927 } |
| 949 toString() { | 928 toString() { |
| 950 return this.message != null ? `UnimplementedError: ${this.message}` : "Uni
mplementedError"; | 929 return this.message != null ? `UnimplementedError: ${this.message}` : "Uni
mplementedError"; |
| 951 } | 930 } |
| 952 } | 931 } |
| 953 UnimplementedError[dart.implements] = () => [UnsupportedError]; | 932 UnimplementedError[dart.implements] = () => [UnsupportedError]; |
| 954 dart.setSignature(UnimplementedError, { | 933 dart.setSignature(UnimplementedError, {}); |
| 955 methods: () => ({toString: dart.functionType(String, [])}) | |
| 956 }); | |
| 957 class StateError extends Error { | 934 class StateError extends Error { |
| 958 StateError(message) { | 935 StateError(message) { |
| 959 this.message = message; | 936 this.message = message; |
| 960 super.Error(); | 937 super.Error(); |
| 961 } | 938 } |
| 962 toString() { | 939 toString() { |
| 963 return `Bad state: ${this.message}`; | 940 return `Bad state: ${this.message}`; |
| 964 } | 941 } |
| 965 } | 942 } |
| 966 dart.setSignature(StateError, { | 943 dart.setSignature(StateError, {}); |
| 967 methods: () => ({toString: dart.functionType(String, [])}) | |
| 968 }); | |
| 969 class ConcurrentModificationError extends Error { | 944 class ConcurrentModificationError extends Error { |
| 970 ConcurrentModificationError(modifiedObject) { | 945 ConcurrentModificationError(modifiedObject) { |
| 971 if (modifiedObject === void 0) | 946 if (modifiedObject === void 0) |
| 972 modifiedObject = null; | 947 modifiedObject = null; |
| 973 this.modifiedObject = modifiedObject; | 948 this.modifiedObject = modifiedObject; |
| 974 super.Error(); | 949 super.Error(); |
| 975 } | 950 } |
| 976 toString() { | 951 toString() { |
| 977 if (this.modifiedObject == null) { | 952 if (this.modifiedObject == null) { |
| 978 return "Concurrent modification during iteration."; | 953 return "Concurrent modification during iteration."; |
| 979 } | 954 } |
| 980 return "Concurrent modification during iteration: " + `${Error.safeToStrin
g(this.modifiedObject)}.`; | 955 return "Concurrent modification during iteration: " + `${Error.safeToStrin
g(this.modifiedObject)}.`; |
| 981 } | 956 } |
| 982 } | 957 } |
| 983 dart.setSignature(ConcurrentModificationError, { | 958 dart.setSignature(ConcurrentModificationError, {}); |
| 984 methods: () => ({toString: dart.functionType(String, [])}) | |
| 985 }); | |
| 986 class OutOfMemoryError extends Object { | 959 class OutOfMemoryError extends Object { |
| 987 OutOfMemoryError() { | 960 OutOfMemoryError() { |
| 988 } | 961 } |
| 989 toString() { | 962 toString() { |
| 990 return "Out of Memory"; | 963 return "Out of Memory"; |
| 991 } | 964 } |
| 992 get stackTrace() { | 965 get stackTrace() { |
| 993 return null; | 966 return null; |
| 994 } | 967 } |
| 995 } | 968 } |
| 996 OutOfMemoryError[dart.implements] = () => [Error]; | 969 OutOfMemoryError[dart.implements] = () => [Error]; |
| 997 dart.setSignature(OutOfMemoryError, { | 970 dart.setSignature(OutOfMemoryError, {}); |
| 998 methods: () => ({toString: dart.functionType(String, [])}) | |
| 999 }); | |
| 1000 class StackOverflowError extends Object { | 971 class StackOverflowError extends Object { |
| 1001 StackOverflowError() { | 972 StackOverflowError() { |
| 1002 } | 973 } |
| 1003 toString() { | 974 toString() { |
| 1004 return "Stack Overflow"; | 975 return "Stack Overflow"; |
| 1005 } | 976 } |
| 1006 get stackTrace() { | 977 get stackTrace() { |
| 1007 return null; | 978 return null; |
| 1008 } | 979 } |
| 1009 } | 980 } |
| 1010 StackOverflowError[dart.implements] = () => [Error]; | 981 StackOverflowError[dart.implements] = () => [Error]; |
| 1011 dart.setSignature(StackOverflowError, { | 982 dart.setSignature(StackOverflowError, {}); |
| 1012 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1013 }); | |
| 1014 class CyclicInitializationError extends Error { | 983 class CyclicInitializationError extends Error { |
| 1015 CyclicInitializationError(variableName) { | 984 CyclicInitializationError(variableName) { |
| 1016 if (variableName === void 0) | 985 if (variableName === void 0) |
| 1017 variableName = null; | 986 variableName = null; |
| 1018 this.variableName = variableName; | 987 this.variableName = variableName; |
| 1019 super.Error(); | 988 super.Error(); |
| 1020 } | 989 } |
| 1021 toString() { | 990 toString() { |
| 1022 return this.variableName == null ? "Reading static variable during its ini
tialization" : `Reading static variable '${this.variableName}' during its initia
lization`; | 991 return this.variableName == null ? "Reading static variable during its ini
tialization" : `Reading static variable '${this.variableName}' during its initia
lization`; |
| 1023 } | 992 } |
| 1024 } | 993 } |
| 1025 dart.setSignature(CyclicInitializationError, { | 994 dart.setSignature(CyclicInitializationError, {}); |
| 1026 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1027 }); | |
| 1028 class Exception extends Object { | 995 class Exception extends Object { |
| 1029 Exception(message) { | 996 Exception(message) { |
| 1030 if (message === void 0) | 997 if (message === void 0) |
| 1031 message = null; | 998 message = null; |
| 1032 return new _ExceptionImplementation(message); | 999 return new _ExceptionImplementation(message); |
| 1033 } | 1000 } |
| 1034 } | 1001 } |
| 1035 dart.setSignature(Exception, {}); | 1002 dart.setSignature(Exception, {}); |
| 1036 class _ExceptionImplementation extends Object { | 1003 class _ExceptionImplementation extends Object { |
| 1037 _ExceptionImplementation(message) { | 1004 _ExceptionImplementation(message) { |
| 1038 if (message === void 0) | 1005 if (message === void 0) |
| 1039 message = null; | 1006 message = null; |
| 1040 this.message = message; | 1007 this.message = message; |
| 1041 } | 1008 } |
| 1042 toString() { | 1009 toString() { |
| 1043 if (this.message == null) | 1010 if (this.message == null) |
| 1044 return "Exception"; | 1011 return "Exception"; |
| 1045 return `Exception: ${this.message}`; | 1012 return `Exception: ${this.message}`; |
| 1046 } | 1013 } |
| 1047 } | 1014 } |
| 1048 _ExceptionImplementation[dart.implements] = () => [Exception]; | 1015 _ExceptionImplementation[dart.implements] = () => [Exception]; |
| 1049 dart.setSignature(_ExceptionImplementation, { | 1016 dart.setSignature(_ExceptionImplementation, {}); |
| 1050 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1051 }); | |
| 1052 class FormatException extends Object { | 1017 class FormatException extends Object { |
| 1053 FormatException(message, source, offset) { | 1018 FormatException(message, source, offset) { |
| 1054 if (message === void 0) | 1019 if (message === void 0) |
| 1055 message = ""; | 1020 message = ""; |
| 1056 if (source === void 0) | 1021 if (source === void 0) |
| 1057 source = null; | 1022 source = null; |
| 1058 if (offset === void 0) | 1023 if (offset === void 0) |
| 1059 offset = -1; | 1024 offset = -1; |
| 1060 this.message = message; | 1025 this.message = message; |
| 1061 this.source = source; | 1026 this.source = source; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1131 end = dart.notNull(offset) + 36; | 1096 end = dart.notNull(offset) + 36; |
| 1132 prefix = postfix = "..."; | 1097 prefix = postfix = "..."; |
| 1133 } | 1098 } |
| 1134 } | 1099 } |
| 1135 let slice = dart.as(dart.dsend(this.source, 'substring', start, end), Stri
ng); | 1100 let slice = dart.as(dart.dsend(this.source, 'substring', start, end), Stri
ng); |
| 1136 let markOffset = dart.notNull(offset) - dart.notNull(start) + dart.notNull
(prefix.length); | 1101 let markOffset = dart.notNull(offset) - dart.notNull(start) + dart.notNull
(prefix.length); |
| 1137 return `${report}${prefix}${slice}${postfix}\n${" "['*'](markOffset)}^\n`; | 1102 return `${report}${prefix}${slice}${postfix}\n${" "['*'](markOffset)}^\n`; |
| 1138 } | 1103 } |
| 1139 } | 1104 } |
| 1140 FormatException[dart.implements] = () => [Exception]; | 1105 FormatException[dart.implements] = () => [Exception]; |
| 1141 dart.setSignature(FormatException, { | 1106 dart.setSignature(FormatException, {}); |
| 1142 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1143 }); | |
| 1144 class IntegerDivisionByZeroException extends Object { | 1107 class IntegerDivisionByZeroException extends Object { |
| 1145 IntegerDivisionByZeroException() { | 1108 IntegerDivisionByZeroException() { |
| 1146 } | 1109 } |
| 1147 toString() { | 1110 toString() { |
| 1148 return "IntegerDivisionByZeroException"; | 1111 return "IntegerDivisionByZeroException"; |
| 1149 } | 1112 } |
| 1150 } | 1113 } |
| 1151 IntegerDivisionByZeroException[dart.implements] = () => [Exception]; | 1114 IntegerDivisionByZeroException[dart.implements] = () => [Exception]; |
| 1152 dart.setSignature(IntegerDivisionByZeroException, { | 1115 dart.setSignature(IntegerDivisionByZeroException, {}); |
| 1153 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1154 }); | |
| 1155 let _getKey = dart.JsSymbol('_getKey'); | 1116 let _getKey = dart.JsSymbol('_getKey'); |
| 1156 let Expando$ = dart.generic(function(T) { | 1117 let Expando$ = dart.generic(function(T) { |
| 1157 class Expando extends Object { | 1118 class Expando extends Object { |
| 1158 Expando(name) { | 1119 Expando(name) { |
| 1159 if (name === void 0) | 1120 if (name === void 0) |
| 1160 name = null; | 1121 name = null; |
| 1161 this.name = name; | 1122 this.name = name; |
| 1162 } | 1123 } |
| 1163 toString() { | 1124 toString() { |
| 1164 return `Expando:${this.name}`; | 1125 return `Expando:${this.name}`; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1184 Expando$()._keyCount = dart.notNull(x) + 1; | 1145 Expando$()._keyCount = dart.notNull(x) + 1; |
| 1185 return x; | 1146 return x; |
| 1186 })()}`; | 1147 })()}`; |
| 1187 _js_helper.Primitives.setProperty(this, Expando$()._KEY_PROPERTY_NAME,
key); | 1148 _js_helper.Primitives.setProperty(this, Expando$()._KEY_PROPERTY_NAME,
key); |
| 1188 } | 1149 } |
| 1189 return key; | 1150 return key; |
| 1190 } | 1151 } |
| 1191 } | 1152 } |
| 1192 dart.setSignature(Expando, { | 1153 dart.setSignature(Expando, { |
| 1193 methods: () => ({ | 1154 methods: () => ({ |
| 1194 toString: dart.functionType(String, []), | |
| 1195 get: dart.functionType(T, [Object]), | 1155 get: dart.functionType(T, [Object]), |
| 1196 set: dart.functionType(dart.void, [Object, T]), | 1156 set: dart.functionType(dart.void, [Object, T]), |
| 1197 [_getKey]: dart.functionType(String, []) | 1157 [_getKey]: dart.functionType(String, []) |
| 1198 }) | 1158 }) |
| 1199 }); | 1159 }); |
| 1200 return Expando; | 1160 return Expando; |
| 1201 }); | 1161 }); |
| 1202 let Expando = Expando$(); | 1162 let Expando = Expando$(); |
| 1203 Expando._KEY_PROPERTY_NAME = 'expando$key'; | 1163 Expando._KEY_PROPERTY_NAME = 'expando$key'; |
| 1204 Expando._EXPANDO_PROPERTY_NAME = 'expando$values'; | 1164 Expando._EXPANDO_PROPERTY_NAME = 'expando$values'; |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1824 [$skipWhile]: dart.functionType(Iterable$(E), [dart.functionType(bool, [
E])]), | 1784 [$skipWhile]: dart.functionType(Iterable$(E), [dart.functionType(bool, [
E])]), |
| 1825 [$reduce]: dart.functionType(E, [dart.functionType(E, [E, E])]), | 1785 [$reduce]: dart.functionType(E, [dart.functionType(E, [E, E])]), |
| 1826 [$fold]: dart.functionType(dart.dynamic, [dart.dynamic, dart.functionTyp
e(dart.dynamic, [dart.dynamic, E])]), | 1786 [$fold]: dart.functionType(dart.dynamic, [dart.dynamic, dart.functionTyp
e(dart.dynamic, [dart.dynamic, E])]), |
| 1827 [$firstWhere]: dart.functionType(E, [dart.functionType(bool, [E])], {rEl
s: dart.functionType(E, [])}), | 1787 [$firstWhere]: dart.functionType(E, [dart.functionType(bool, [E])], {rEl
s: dart.functionType(E, [])}), |
| 1828 [$lastWhere]: dart.functionType(E, [dart.functionType(bool, [E])], {rEls
: dart.functionType(E, [])}), | 1788 [$lastWhere]: dart.functionType(E, [dart.functionType(bool, [E])], {rEls
: dart.functionType(E, [])}), |
| 1829 [$singleWhere]: dart.functionType(E, [dart.functionType(bool, [E])]), | 1789 [$singleWhere]: dart.functionType(E, [dart.functionType(bool, [E])]), |
| 1830 [$elementAt]: dart.functionType(E, [int]), | 1790 [$elementAt]: dart.functionType(E, [int]), |
| 1831 [$any]: dart.functionType(bool, [dart.functionType(bool, [E])]), | 1791 [$any]: dart.functionType(bool, [dart.functionType(bool, [E])]), |
| 1832 [$every]: dart.functionType(bool, [dart.functionType(bool, [E])]), | 1792 [$every]: dart.functionType(bool, [dart.functionType(bool, [E])]), |
| 1833 [$contains]: dart.functionType(bool, [Object]), | 1793 [$contains]: dart.functionType(bool, [Object]), |
| 1834 [$toString]: dart.functionType(String, []), | |
| 1835 [$toList]: dart.functionType(List$(E), [], {rowabl: bool}), | 1794 [$toList]: dart.functionType(List$(E), [], {rowabl: bool}), |
| 1836 [$toSet]: dart.functionType(exports.Set$(E), []), | 1795 [$toSet]: dart.functionType(exports.Set$(E), []), |
| 1837 [$get]: dart.functionType(E, [int]), | 1796 [$get]: dart.functionType(E, [int]), |
| 1838 [$set]: dart.functionType(dart.void, [int, E]), | 1797 [$set]: dart.functionType(dart.void, [int, E]), |
| 1839 [$add]: dart.functionType(dart.void, [E]), | 1798 [$add]: dart.functionType(dart.void, [E]), |
| 1840 [$addAll]: dart.functionType(dart.void, [Iterable$(E)]), | 1799 [$addAll]: dart.functionType(dart.void, [Iterable$(E)]), |
| 1841 [$sort]: dart.functionType(dart.void, [], [dart.functionType(int, [E, E]
)]), | 1800 [$sort]: dart.functionType(dart.void, [], [dart.functionType(int, [E, E]
)]), |
| 1842 [$shuffle]: dart.functionType(dart.void, [], [math.Random]), | 1801 [$shuffle]: dart.functionType(dart.void, [], [math.Random]), |
| 1843 [$indexOf]: dart.functionType(int, [E], [int]), | 1802 [$indexOf]: dart.functionType(int, [E], [int]), |
| 1844 [$lastIndexOf]: dart.functionType(int, [E], [int]), | 1803 [$lastIndexOf]: dart.functionType(int, [E], [int]), |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1892 let Map = Map$(); | 1851 let Map = Map$(); |
| 1893 class Null extends Object { | 1852 class Null extends Object { |
| 1894 _uninstantiable() { | 1853 _uninstantiable() { |
| 1895 throw new UnsupportedError('class Null cannot be instantiated'); | 1854 throw new UnsupportedError('class Null cannot be instantiated'); |
| 1896 } | 1855 } |
| 1897 toString() { | 1856 toString() { |
| 1898 return "null"; | 1857 return "null"; |
| 1899 } | 1858 } |
| 1900 } | 1859 } |
| 1901 dart.defineNamedConstructor(Null, '_uninstantiable'); | 1860 dart.defineNamedConstructor(Null, '_uninstantiable'); |
| 1902 dart.setSignature(Null, { | 1861 dart.setSignature(Null, {}); |
| 1903 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1904 }); | |
| 1905 num._parseError = false; | 1862 num._parseError = false; |
| 1906 class Pattern extends Object {} | 1863 class Pattern extends Object {} |
| 1907 dart.setSignature(Pattern, {}); | 1864 dart.setSignature(Pattern, {}); |
| 1908 function print(object) { | 1865 function print(object) { |
| 1909 let line = `${object}`; | 1866 let line = `${object}`; |
| 1910 if (_internal.printToZone == null) { | 1867 if (_internal.printToZone == null) { |
| 1911 _internal.printToConsole(line); | 1868 _internal.printToConsole(line); |
| 1912 } else { | 1869 } else { |
| 1913 dart.dcall(_internal.printToZone, line); | 1870 dart.dcall(_internal.printToZone, line); |
| 1914 } | 1871 } |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2293 } | 2250 } |
| 2294 } | 2251 } |
| 2295 StringBuffer[dart.implements] = () => [StringSink]; | 2252 StringBuffer[dart.implements] = () => [StringSink]; |
| 2296 dart.setSignature(StringBuffer, { | 2253 dart.setSignature(StringBuffer, { |
| 2297 methods: () => ({ | 2254 methods: () => ({ |
| 2298 write: dart.functionType(dart.void, [Object]), | 2255 write: dart.functionType(dart.void, [Object]), |
| 2299 writeCharCode: dart.functionType(dart.void, [int]), | 2256 writeCharCode: dart.functionType(dart.void, [int]), |
| 2300 writeAll: dart.functionType(dart.void, [Iterable], [String]), | 2257 writeAll: dart.functionType(dart.void, [Iterable], [String]), |
| 2301 writeln: dart.functionType(dart.void, [], [Object]), | 2258 writeln: dart.functionType(dart.void, [], [Object]), |
| 2302 clear: dart.functionType(dart.void, []), | 2259 clear: dart.functionType(dart.void, []), |
| 2303 toString: dart.functionType(String, []), | |
| 2304 [_writeString]: dart.functionType(dart.void, [dart.dynamic]) | 2260 [_writeString]: dart.functionType(dart.void, [dart.dynamic]) |
| 2305 }) | 2261 }) |
| 2306 }); | 2262 }); |
| 2307 class StringSink extends Object {} | 2263 class StringSink extends Object {} |
| 2308 dart.setSignature(StringSink, {}); | 2264 dart.setSignature(StringSink, {}); |
| 2309 class Symbol extends Object { | 2265 class Symbol extends Object { |
| 2310 Symbol(name) { | 2266 Symbol(name) { |
| 2311 return new _internal.Symbol(name); | 2267 return new _internal.Symbol(name); |
| 2312 } | 2268 } |
| 2313 } | 2269 } |
| (...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3583 methods: () => ({ | 3539 methods: () => ({ |
| 3584 replace: dart.functionType(Uri, [], {chem: String, serInf: String, os: Str
ing, or: int, at: String, athSegment: Iterable$(String), uer: String, ueryParame
ter: Map$(String, String), ragmen: String}), | 3540 replace: dart.functionType(Uri, [], {chem: String, serInf: String, os: Str
ing, or: int, at: String, athSegment: Iterable$(String), uer: String, ueryParame
ter: Map$(String, String), ragmen: String}), |
| 3585 [_merge]: dart.functionType(String, [String, String]), | 3541 [_merge]: dart.functionType(String, [String, String]), |
| 3586 [_hasDotSegments]: dart.functionType(bool, [String]), | 3542 [_hasDotSegments]: dart.functionType(bool, [String]), |
| 3587 [_removeDotSegments]: dart.functionType(String, [String]), | 3543 [_removeDotSegments]: dart.functionType(String, [String]), |
| 3588 resolve: dart.functionType(Uri, [String]), | 3544 resolve: dart.functionType(Uri, [String]), |
| 3589 resolveUri: dart.functionType(Uri, [Uri]), | 3545 resolveUri: dart.functionType(Uri, [Uri]), |
| 3590 toFilePath: dart.functionType(String, [], {indow: bool}), | 3546 toFilePath: dart.functionType(String, [], {indow: bool}), |
| 3591 [_toFilePath]: dart.functionType(String, []), | 3547 [_toFilePath]: dart.functionType(String, []), |
| 3592 [_toWindowsFilePath]: dart.functionType(String, []), | 3548 [_toWindowsFilePath]: dart.functionType(String, []), |
| 3593 [_writeAuthority]: dart.functionType(dart.void, [StringSink]), | 3549 [_writeAuthority]: dart.functionType(dart.void, [StringSink]) |
| 3594 toString: dart.functionType(String, []), | |
| 3595 '==': dart.functionType(bool, [dart.dynamic]) | |
| 3596 }), | 3550 }), |
| 3597 statics: () => ({ | 3551 statics: () => ({ |
| 3598 _defaultPort: dart.functionType(int, [String]), | 3552 _defaultPort: dart.functionType(int, [String]), |
| 3599 parse: dart.functionType(Uri, [String]), | 3553 parse: dart.functionType(Uri, [String]), |
| 3600 _fail: dart.functionType(dart.void, [String, int, String]), | 3554 _fail: dart.functionType(dart.void, [String, int, String]), |
| 3601 _makeHttpUri: dart.functionType(Uri, [String, String, String, Map$(String,
String)]), | 3555 _makeHttpUri: dart.functionType(Uri, [String, String, String, Map$(String,
String)]), |
| 3602 _checkNonWindowsPathReservedCharacters: dart.functionType(dart.dynamic, [L
ist$(String), bool]), | 3556 _checkNonWindowsPathReservedCharacters: dart.functionType(dart.dynamic, [L
ist$(String), bool]), |
| 3603 _checkWindowsPathReservedCharacters: dart.functionType(dart.dynamic, [List
$(String), bool], [int]), | 3557 _checkWindowsPathReservedCharacters: dart.functionType(dart.dynamic, [List
$(String), bool], [int]), |
| 3604 _checkWindowsDriveLetter: dart.functionType(dart.dynamic, [int, bool]), | 3558 _checkWindowsDriveLetter: dart.functionType(dart.dynamic, [int, bool]), |
| 3605 _makeFileUri: dart.functionType(dart.dynamic, [String]), | 3559 _makeFileUri: dart.functionType(dart.dynamic, [String]), |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3824 exports.Stopwatch = Stopwatch; | 3778 exports.Stopwatch = Stopwatch; |
| 3825 exports.String = String; | 3779 exports.String = String; |
| 3826 exports.RuneIterator = RuneIterator; | 3780 exports.RuneIterator = RuneIterator; |
| 3827 exports.StringBuffer = StringBuffer; | 3781 exports.StringBuffer = StringBuffer; |
| 3828 exports.StringSink = StringSink; | 3782 exports.StringSink = StringSink; |
| 3829 exports.Symbol = Symbol; | 3783 exports.Symbol = Symbol; |
| 3830 exports.Type = Type; | 3784 exports.Type = Type; |
| 3831 exports.Uri = Uri; | 3785 exports.Uri = Uri; |
| 3832 exports.SupportJsExtensionMethods = SupportJsExtensionMethods; | 3786 exports.SupportJsExtensionMethods = SupportJsExtensionMethods; |
| 3833 })(core, _js_helper, _internal, collection, _interceptors, math, convert); | 3787 })(core, _js_helper, _internal, collection, _interceptors, math, convert); |
| OLD | NEW |