| 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 27 matching lines...) Expand all Loading... |
| 38 toString: dart.functionType(String, []), | 38 toString: dart.functionType(String, []), |
| 39 noSuchMethod: dart.functionType(dart.dynamic, [Invocation]) | 39 noSuchMethod: dart.functionType(dart.dynamic, [Invocation]) |
| 40 }) | 40 }) |
| 41 }); | 41 }); |
| 42 class JsName extends Object { | 42 class JsName extends Object { |
| 43 JsName(opts) { | 43 JsName(opts) { |
| 44 let name = opts && 'name' in opts ? opts.name : null; | 44 let name = opts && 'name' in opts ? opts.name : null; |
| 45 this.name = name; | 45 this.name = name; |
| 46 } | 46 } |
| 47 } | 47 } |
| 48 dart.setSignature(JsName, {}); | |
| 49 class JsPeerInterface extends Object { | 48 class JsPeerInterface extends Object { |
| 50 JsPeerInterface(opts) { | 49 JsPeerInterface(opts) { |
| 51 let name = opts && 'name' in opts ? opts.name : null; | 50 let name = opts && 'name' in opts ? opts.name : null; |
| 52 this.name = name; | 51 this.name = name; |
| 53 } | 52 } |
| 54 } | 53 } |
| 55 dart.setSignature(JsPeerInterface, {}); | |
| 56 class SupportJsExtensionMethod extends Object { | 54 class SupportJsExtensionMethod extends Object { |
| 57 SupportJsExtensionMethod() { | 55 SupportJsExtensionMethod() { |
| 58 } | 56 } |
| 59 } | 57 } |
| 60 dart.setSignature(SupportJsExtensionMethod, {}); | |
| 61 class Deprecated extends Object { | 58 class Deprecated extends Object { |
| 62 Deprecated(expires) { | 59 Deprecated(expires) { |
| 63 this.expires = expires; | 60 this.expires = expires; |
| 64 } | 61 } |
| 65 toString() { | 62 toString() { |
| 66 return `Deprecated feature. Will be removed ${this.expires}`; | 63 return `Deprecated feature. Will be removed ${this.expires}`; |
| 67 } | 64 } |
| 68 } | 65 } |
| 69 dart.setSignature(Deprecated, { | |
| 70 methods: () => ({toString: dart.functionType(String, [])}) | |
| 71 }); | |
| 72 class _Override extends Object { | 66 class _Override extends Object { |
| 73 _Override() { | 67 _Override() { |
| 74 } | 68 } |
| 75 } | 69 } |
| 76 dart.setSignature(_Override, {}); | |
| 77 let deprecated = dart.const(new Deprecated("next release")); | 70 let deprecated = dart.const(new Deprecated("next release")); |
| 78 let override = dart.const(new _Override()); | 71 let override = dart.const(new _Override()); |
| 79 class _Proxy extends Object { | 72 class _Proxy extends Object { |
| 80 _Proxy() { | 73 _Proxy() { |
| 81 } | 74 } |
| 82 } | 75 } |
| 83 dart.setSignature(_Proxy, {}); | |
| 84 let proxy = dart.const(new _Proxy()); | 76 let proxy = dart.const(new _Proxy()); |
| 85 class bool extends Object { | 77 class bool extends Object { |
| 86 fromEnvironment(name, opts) { | 78 fromEnvironment(name, opts) { |
| 87 let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : fa
lse; | 79 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'); | 80 throw new UnsupportedError('bool.fromEnvironment can only be used as a con
st constructor'); |
| 89 } | 81 } |
| 90 toString() { | 82 toString() { |
| 91 return this ? "true" : "false"; | 83 return this ? "true" : "false"; |
| 92 } | 84 } |
| 93 } | 85 } |
| 94 dart.defineNamedConstructor(bool, 'fromEnvironment'); | 86 dart.defineNamedConstructor(bool, 'fromEnvironment'); |
| 95 dart.setSignature(bool, { | |
| 96 methods: () => ({toString: dart.functionType(String, [])}) | |
| 97 }); | |
| 98 let Comparator$ = dart.generic(function(T) { | 87 let Comparator$ = dart.generic(function(T) { |
| 99 let Comparator = dart.typedef('Comparator', () => dart.functionType(int, [T,
T])); | 88 let Comparator = dart.typedef('Comparator', () => dart.functionType(int, [T,
T])); |
| 100 return Comparator; | 89 return Comparator; |
| 101 }); | 90 }); |
| 102 let Comparator = Comparator$(); | 91 let Comparator = Comparator$(); |
| 103 let Comparable$ = dart.generic(function(T) { | 92 let Comparable$ = dart.generic(function(T) { |
| 104 class Comparable extends Object { | 93 class Comparable extends Object { |
| 105 static compare(a, b) { | 94 static compare(a, b) { |
| 106 return a.compareTo(b); | 95 return a.compareTo(b); |
| 107 } | 96 } |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 } | 347 } |
| 359 } | 348 } |
| 360 DateTime[dart.implements] = () => [Comparable]; | 349 DateTime[dart.implements] = () => [Comparable]; |
| 361 dart.defineNamedConstructor(DateTime, 'utc'); | 350 dart.defineNamedConstructor(DateTime, 'utc'); |
| 362 dart.defineNamedConstructor(DateTime, 'now'); | 351 dart.defineNamedConstructor(DateTime, 'now'); |
| 363 dart.defineNamedConstructor(DateTime, 'fromMillisecondsSinceEpoch'); | 352 dart.defineNamedConstructor(DateTime, 'fromMillisecondsSinceEpoch'); |
| 364 dart.defineNamedConstructor(DateTime, '_internal'); | 353 dart.defineNamedConstructor(DateTime, '_internal'); |
| 365 dart.defineNamedConstructor(DateTime, '_now'); | 354 dart.defineNamedConstructor(DateTime, '_now'); |
| 366 dart.setSignature(DateTime, { | 355 dart.setSignature(DateTime, { |
| 367 methods: () => ({ | 356 methods: () => ({ |
| 368 '==': dart.functionType(bool, [dart.dynamic]), | |
| 369 isBefore: dart.functionType(bool, [DateTime]), | 357 isBefore: dart.functionType(bool, [DateTime]), |
| 370 isAfter: dart.functionType(bool, [DateTime]), | 358 isAfter: dart.functionType(bool, [DateTime]), |
| 371 isAtSameMomentAs: dart.functionType(bool, [DateTime]), | 359 isAtSameMomentAs: dart.functionType(bool, [DateTime]), |
| 372 compareTo: dart.functionType(int, [DateTime]), | 360 compareTo: dart.functionType(int, [DateTime]), |
| 373 toLocal: dart.functionType(DateTime, []), | 361 toLocal: dart.functionType(DateTime, []), |
| 374 toUtc: dart.functionType(DateTime, []), | 362 toUtc: dart.functionType(DateTime, []), |
| 375 toString: dart.functionType(String, []), | |
| 376 toIso8601String: dart.functionType(String, []), | 363 toIso8601String: dart.functionType(String, []), |
| 377 add: dart.functionType(DateTime, [Duration]), | 364 add: dart.functionType(DateTime, [Duration]), |
| 378 subtract: dart.functionType(DateTime, [Duration]), | 365 subtract: dart.functionType(DateTime, [Duration]), |
| 379 difference: dart.functionType(Duration, [DateTime]) | 366 difference: dart.functionType(Duration, [DateTime]) |
| 380 }), | 367 }), |
| 381 statics: () => ({ | 368 statics: () => ({ |
| 382 parse: dart.functionType(DateTime, [String]), | 369 parse: dart.functionType(DateTime, [String]), |
| 383 _fourDigits: dart.functionType(String, [int]), | 370 _fourDigits: dart.functionType(String, [int]), |
| 384 _sixDigits: dart.functionType(String, [int]), | 371 _sixDigits: dart.functionType(String, [int]), |
| 385 _threeDigits: dart.functionType(String, [int]), | 372 _threeDigits: dart.functionType(String, [int]), |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 dart.setSignature(Duration, { | 561 dart.setSignature(Duration, { |
| 575 methods: () => ({ | 562 methods: () => ({ |
| 576 '+': dart.functionType(Duration, [Duration]), | 563 '+': dart.functionType(Duration, [Duration]), |
| 577 '-': dart.functionType(Duration, [Duration]), | 564 '-': dart.functionType(Duration, [Duration]), |
| 578 '*': dart.functionType(Duration, [num]), | 565 '*': dart.functionType(Duration, [num]), |
| 579 '~/': dart.functionType(Duration, [int]), | 566 '~/': dart.functionType(Duration, [int]), |
| 580 '<': dart.functionType(bool, [Duration]), | 567 '<': dart.functionType(bool, [Duration]), |
| 581 '>': dart.functionType(bool, [Duration]), | 568 '>': dart.functionType(bool, [Duration]), |
| 582 '<=': dart.functionType(bool, [Duration]), | 569 '<=': dart.functionType(bool, [Duration]), |
| 583 '>=': dart.functionType(bool, [Duration]), | 570 '>=': dart.functionType(bool, [Duration]), |
| 584 '==': dart.functionType(bool, [dart.dynamic]), | |
| 585 compareTo: dart.functionType(int, [Duration]), | 571 compareTo: dart.functionType(int, [Duration]), |
| 586 toString: dart.functionType(String, []), | |
| 587 abs: dart.functionType(Duration, []), | 572 abs: dart.functionType(Duration, []), |
| 588 'unary-': dart.functionType(Duration, []) | 573 'unary-': dart.functionType(Duration, []) |
| 589 }) | 574 }) |
| 590 }); | 575 }); |
| 591 Duration.MICROSECONDS_PER_MILLISECOND = 1000; | 576 Duration.MICROSECONDS_PER_MILLISECOND = 1000; |
| 592 Duration.MILLISECONDS_PER_SECOND = 1000; | 577 Duration.MILLISECONDS_PER_SECOND = 1000; |
| 593 Duration.SECONDS_PER_MINUTE = 60; | 578 Duration.SECONDS_PER_MINUTE = 60; |
| 594 Duration.MINUTES_PER_HOUR = 60; | 579 Duration.MINUTES_PER_HOUR = 60; |
| 595 Duration.HOURS_PER_DAY = 24; | 580 Duration.HOURS_PER_DAY = 24; |
| 596 Duration.MICROSECONDS_PER_SECOND = dart.notNull(Duration.MICROSECONDS_PER_MILL
ISECOND) * dart.notNull(Duration.MILLISECONDS_PER_SECOND); | 581 Duration.MICROSECONDS_PER_SECOND = dart.notNull(Duration.MICROSECONDS_PER_MILL
ISECOND) * dart.notNull(Duration.MILLISECONDS_PER_SECOND); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 _stringToSafeString: dart.functionType(String, [String]), | 617 _stringToSafeString: dart.functionType(String, [String]), |
| 633 _objectToString: dart.functionType(String, [Object]) | 618 _objectToString: dart.functionType(String, [Object]) |
| 634 }), | 619 }), |
| 635 names: ['safeToString', '_stringToSafeString', '_objectToString'] | 620 names: ['safeToString', '_stringToSafeString', '_objectToString'] |
| 636 }); | 621 }); |
| 637 class AssertionError extends Error { | 622 class AssertionError extends Error { |
| 638 AssertionError() { | 623 AssertionError() { |
| 639 super.Error(); | 624 super.Error(); |
| 640 } | 625 } |
| 641 } | 626 } |
| 642 dart.setSignature(AssertionError, {}); | |
| 643 class TypeError extends AssertionError {} | 627 class TypeError extends AssertionError {} |
| 644 dart.setSignature(TypeError, {}); | |
| 645 class CastError extends Error { | 628 class CastError extends Error { |
| 646 CastError() { | 629 CastError() { |
| 647 super.Error(); | 630 super.Error(); |
| 648 } | 631 } |
| 649 } | 632 } |
| 650 dart.setSignature(CastError, {}); | |
| 651 class NullThrownError extends Error { | 633 class NullThrownError extends Error { |
| 652 NullThrownError() { | 634 NullThrownError() { |
| 653 super.Error(); | 635 super.Error(); |
| 654 } | 636 } |
| 655 toString() { | 637 toString() { |
| 656 return "Throw of null."; | 638 return "Throw of null."; |
| 657 } | 639 } |
| 658 } | 640 } |
| 659 dart.setSignature(NullThrownError, { | |
| 660 methods: () => ({toString: dart.functionType(String, [])}) | |
| 661 }); | |
| 662 let _hasValue = dart.JsSymbol('_hasValue'); | 641 let _hasValue = dart.JsSymbol('_hasValue'); |
| 663 class ArgumentError extends Error { | 642 class ArgumentError extends Error { |
| 664 ArgumentError(message) { | 643 ArgumentError(message) { |
| 665 if (message === void 0) | 644 if (message === void 0) |
| 666 message = null; | 645 message = null; |
| 667 this.message = message; | 646 this.message = message; |
| 668 this.invalidValue = null; | 647 this.invalidValue = null; |
| 669 this[_hasValue] = false; | 648 this[_hasValue] = false; |
| 670 this.name = null; | 649 this.name = null; |
| 671 super.Error(); | 650 super.Error(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 696 } | 675 } |
| 697 let nameString = ""; | 676 let nameString = ""; |
| 698 if (this.name != null) { | 677 if (this.name != null) { |
| 699 nameString = ` (${this.name})`; | 678 nameString = ` (${this.name})`; |
| 700 } | 679 } |
| 701 return `${this.message}${nameString}: ${Error.safeToString(this.invalidVal
ue)}`; | 680 return `${this.message}${nameString}: ${Error.safeToString(this.invalidVal
ue)}`; |
| 702 } | 681 } |
| 703 } | 682 } |
| 704 dart.defineNamedConstructor(ArgumentError, 'value'); | 683 dart.defineNamedConstructor(ArgumentError, 'value'); |
| 705 dart.defineNamedConstructor(ArgumentError, 'notNull'); | 684 dart.defineNamedConstructor(ArgumentError, 'notNull'); |
| 706 dart.setSignature(ArgumentError, { | |
| 707 methods: () => ({toString: dart.functionType(String, [])}) | |
| 708 }); | |
| 709 class RangeError extends ArgumentError { | 685 class RangeError extends ArgumentError { |
| 710 RangeError(message) { | 686 RangeError(message) { |
| 711 this.start = null; | 687 this.start = null; |
| 712 this.end = null; | 688 this.end = null; |
| 713 super.ArgumentError(message); | 689 super.ArgumentError(message); |
| 714 } | 690 } |
| 715 value(value, name, message) { | 691 value(value, name, message) { |
| 716 if (name === void 0) | 692 if (name === void 0) |
| 717 name = null; | 693 name = null; |
| 718 if (message === void 0) | 694 if (message === void 0) |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 } else { | 777 } else { |
| 802 explanation = `: Only valid value is ${this.start}`; | 778 explanation = `: Only valid value is ${this.start}`; |
| 803 } | 779 } |
| 804 return `RangeError: ${this.message} (${value})${explanation}`; | 780 return `RangeError: ${this.message} (${value})${explanation}`; |
| 805 } | 781 } |
| 806 } | 782 } |
| 807 dart.defineNamedConstructor(RangeError, 'value'); | 783 dart.defineNamedConstructor(RangeError, 'value'); |
| 808 dart.defineNamedConstructor(RangeError, 'range'); | 784 dart.defineNamedConstructor(RangeError, 'range'); |
| 809 dart.defineNamedConstructor(RangeError, 'index'); | 785 dart.defineNamedConstructor(RangeError, 'index'); |
| 810 dart.setSignature(RangeError, { | 786 dart.setSignature(RangeError, { |
| 811 methods: () => ({toString: dart.functionType(String, [])}), | |
| 812 statics: () => ({ | 787 statics: () => ({ |
| 813 checkValueInInterval: dart.functionType(dart.void, [int, int, int], [Strin
g, String]), | 788 checkValueInInterval: dart.functionType(dart.void, [int, int, int], [Strin
g, String]), |
| 814 checkValidIndex: dart.functionType(dart.void, [int, dart.dynamic], [String
, int, String]), | 789 checkValidIndex: dart.functionType(dart.void, [int, dart.dynamic], [String
, int, String]), |
| 815 checkValidRange: dart.functionType(dart.void, [int, int, int], [String, St
ring, String]), | 790 checkValidRange: dart.functionType(dart.void, [int, int, int], [String, St
ring, String]), |
| 816 checkNotNegative: dart.functionType(dart.void, [int], [String, String]) | 791 checkNotNegative: dart.functionType(dart.void, [int], [String, String]) |
| 817 }), | 792 }), |
| 818 names: ['checkValueInInterval', 'checkValidIndex', 'checkValidRange', 'check
NotNegative'] | 793 names: ['checkValueInInterval', 'checkValidIndex', 'checkValidRange', 'check
NotNegative'] |
| 819 }); | 794 }); |
| 820 class IndexError extends ArgumentError { | 795 class IndexError extends ArgumentError { |
| 821 IndexError(invalidValue, indexable, name, message, length) { | 796 IndexError(invalidValue, indexable, name, message, length) { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 839 dart.assert(this[_hasValue]); | 814 dart.assert(this[_hasValue]); |
| 840 let target = Error.safeToString(this.indexable); | 815 let target = Error.safeToString(this.indexable); |
| 841 let explanation = `index should be less than ${this.length}`; | 816 let explanation = `index should be less than ${this.length}`; |
| 842 if (dart.dsend(this.invalidValue, '<', 0)) { | 817 if (dart.dsend(this.invalidValue, '<', 0)) { |
| 843 explanation = "index must not be negative"; | 818 explanation = "index must not be negative"; |
| 844 } | 819 } |
| 845 return `RangeError: ${this.message} (${target}[${this.invalidValue}]): ${e
xplanation}`; | 820 return `RangeError: ${this.message} (${target}[${this.invalidValue}]): ${e
xplanation}`; |
| 846 } | 821 } |
| 847 } | 822 } |
| 848 IndexError[dart.implements] = () => [RangeError]; | 823 IndexError[dart.implements] = () => [RangeError]; |
| 849 dart.setSignature(IndexError, { | |
| 850 methods: () => ({toString: dart.functionType(String, [])}) | |
| 851 }); | |
| 852 class FallThroughError extends Error { | 824 class FallThroughError extends Error { |
| 853 FallThroughError() { | 825 FallThroughError() { |
| 854 super.Error(); | 826 super.Error(); |
| 855 } | 827 } |
| 856 } | 828 } |
| 857 dart.setSignature(FallThroughError, {}); | |
| 858 let _className = dart.JsSymbol('_className'); | 829 let _className = dart.JsSymbol('_className'); |
| 859 class AbstractClassInstantiationError extends Error { | 830 class AbstractClassInstantiationError extends Error { |
| 860 AbstractClassInstantiationError(className) { | 831 AbstractClassInstantiationError(className) { |
| 861 this[_className] = className; | 832 this[_className] = className; |
| 862 super.Error(); | 833 super.Error(); |
| 863 } | 834 } |
| 864 toString() { | 835 toString() { |
| 865 return `Cannot instantiate abstract class: '${this[_className]}'`; | 836 return `Cannot instantiate abstract class: '${this[_className]}'`; |
| 866 } | 837 } |
| 867 } | 838 } |
| 868 dart.setSignature(AbstractClassInstantiationError, { | |
| 869 methods: () => ({toString: dart.functionType(String, [])}) | |
| 870 }); | |
| 871 let _receiver = dart.JsSymbol('_receiver'); | 839 let _receiver = dart.JsSymbol('_receiver'); |
| 872 let _memberName = dart.JsSymbol('_memberName'); | 840 let _memberName = dart.JsSymbol('_memberName'); |
| 873 let _arguments = dart.JsSymbol('_arguments'); | 841 let _arguments = dart.JsSymbol('_arguments'); |
| 874 let _namedArguments = dart.JsSymbol('_namedArguments'); | 842 let _namedArguments = dart.JsSymbol('_namedArguments'); |
| 875 let _existingArgumentNames = dart.JsSymbol('_existingArgumentNames'); | 843 let _existingArgumentNames = dart.JsSymbol('_existingArgumentNames'); |
| 876 let $length = dart.JsSymbol('$length'); | 844 let $length = dart.JsSymbol('$length'); |
| 877 let $get = dart.JsSymbol('$get'); | 845 let $get = dart.JsSymbol('$get'); |
| 878 class NoSuchMethodError extends Error { | 846 class NoSuchMethodError extends Error { |
| 879 NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments,
existingArgumentNames) { | 847 NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments,
existingArgumentNames) { |
| 880 if (existingArgumentNames === void 0) | 848 if (existingArgumentNames === void 0) |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 if (dart.notNull(i) > 0) { | 885 if (dart.notNull(i) > 0) { |
| 918 sb.write(", "); | 886 sb.write(", "); |
| 919 } | 887 } |
| 920 sb.write(this[_existingArgumentNames][$get](i)); | 888 sb.write(this[_existingArgumentNames][$get](i)); |
| 921 } | 889 } |
| 922 let formalParameters = dart.toString(sb); | 890 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})`; | 891 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 } | 892 } |
| 925 } | 893 } |
| 926 } | 894 } |
| 927 dart.setSignature(NoSuchMethodError, { | |
| 928 methods: () => ({toString: dart.functionType(String, [])}) | |
| 929 }); | |
| 930 class UnsupportedError extends Error { | 895 class UnsupportedError extends Error { |
| 931 UnsupportedError(message) { | 896 UnsupportedError(message) { |
| 932 this.message = message; | 897 this.message = message; |
| 933 super.Error(); | 898 super.Error(); |
| 934 } | 899 } |
| 935 toString() { | 900 toString() { |
| 936 return `Unsupported operation: ${this.message}`; | 901 return `Unsupported operation: ${this.message}`; |
| 937 } | 902 } |
| 938 } | 903 } |
| 939 dart.setSignature(UnsupportedError, { | |
| 940 methods: () => ({toString: dart.functionType(String, [])}) | |
| 941 }); | |
| 942 class UnimplementedError extends Error { | 904 class UnimplementedError extends Error { |
| 943 UnimplementedError(message) { | 905 UnimplementedError(message) { |
| 944 if (message === void 0) | 906 if (message === void 0) |
| 945 message = null; | 907 message = null; |
| 946 this.message = message; | 908 this.message = message; |
| 947 super.Error(); | 909 super.Error(); |
| 948 } | 910 } |
| 949 toString() { | 911 toString() { |
| 950 return this.message != null ? `UnimplementedError: ${this.message}` : "Uni
mplementedError"; | 912 return this.message != null ? `UnimplementedError: ${this.message}` : "Uni
mplementedError"; |
| 951 } | 913 } |
| 952 } | 914 } |
| 953 UnimplementedError[dart.implements] = () => [UnsupportedError]; | 915 UnimplementedError[dart.implements] = () => [UnsupportedError]; |
| 954 dart.setSignature(UnimplementedError, { | |
| 955 methods: () => ({toString: dart.functionType(String, [])}) | |
| 956 }); | |
| 957 class StateError extends Error { | 916 class StateError extends Error { |
| 958 StateError(message) { | 917 StateError(message) { |
| 959 this.message = message; | 918 this.message = message; |
| 960 super.Error(); | 919 super.Error(); |
| 961 } | 920 } |
| 962 toString() { | 921 toString() { |
| 963 return `Bad state: ${this.message}`; | 922 return `Bad state: ${this.message}`; |
| 964 } | 923 } |
| 965 } | 924 } |
| 966 dart.setSignature(StateError, { | |
| 967 methods: () => ({toString: dart.functionType(String, [])}) | |
| 968 }); | |
| 969 class ConcurrentModificationError extends Error { | 925 class ConcurrentModificationError extends Error { |
| 970 ConcurrentModificationError(modifiedObject) { | 926 ConcurrentModificationError(modifiedObject) { |
| 971 if (modifiedObject === void 0) | 927 if (modifiedObject === void 0) |
| 972 modifiedObject = null; | 928 modifiedObject = null; |
| 973 this.modifiedObject = modifiedObject; | 929 this.modifiedObject = modifiedObject; |
| 974 super.Error(); | 930 super.Error(); |
| 975 } | 931 } |
| 976 toString() { | 932 toString() { |
| 977 if (this.modifiedObject == null) { | 933 if (this.modifiedObject == null) { |
| 978 return "Concurrent modification during iteration."; | 934 return "Concurrent modification during iteration."; |
| 979 } | 935 } |
| 980 return "Concurrent modification during iteration: " + `${Error.safeToStrin
g(this.modifiedObject)}.`; | 936 return "Concurrent modification during iteration: " + `${Error.safeToStrin
g(this.modifiedObject)}.`; |
| 981 } | 937 } |
| 982 } | 938 } |
| 983 dart.setSignature(ConcurrentModificationError, { | |
| 984 methods: () => ({toString: dart.functionType(String, [])}) | |
| 985 }); | |
| 986 class OutOfMemoryError extends Object { | 939 class OutOfMemoryError extends Object { |
| 987 OutOfMemoryError() { | 940 OutOfMemoryError() { |
| 988 } | 941 } |
| 989 toString() { | 942 toString() { |
| 990 return "Out of Memory"; | 943 return "Out of Memory"; |
| 991 } | 944 } |
| 992 get stackTrace() { | 945 get stackTrace() { |
| 993 return null; | 946 return null; |
| 994 } | 947 } |
| 995 } | 948 } |
| 996 OutOfMemoryError[dart.implements] = () => [Error]; | 949 OutOfMemoryError[dart.implements] = () => [Error]; |
| 997 dart.setSignature(OutOfMemoryError, { | |
| 998 methods: () => ({toString: dart.functionType(String, [])}) | |
| 999 }); | |
| 1000 class StackOverflowError extends Object { | 950 class StackOverflowError extends Object { |
| 1001 StackOverflowError() { | 951 StackOverflowError() { |
| 1002 } | 952 } |
| 1003 toString() { | 953 toString() { |
| 1004 return "Stack Overflow"; | 954 return "Stack Overflow"; |
| 1005 } | 955 } |
| 1006 get stackTrace() { | 956 get stackTrace() { |
| 1007 return null; | 957 return null; |
| 1008 } | 958 } |
| 1009 } | 959 } |
| 1010 StackOverflowError[dart.implements] = () => [Error]; | 960 StackOverflowError[dart.implements] = () => [Error]; |
| 1011 dart.setSignature(StackOverflowError, { | |
| 1012 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1013 }); | |
| 1014 class CyclicInitializationError extends Error { | 961 class CyclicInitializationError extends Error { |
| 1015 CyclicInitializationError(variableName) { | 962 CyclicInitializationError(variableName) { |
| 1016 if (variableName === void 0) | 963 if (variableName === void 0) |
| 1017 variableName = null; | 964 variableName = null; |
| 1018 this.variableName = variableName; | 965 this.variableName = variableName; |
| 1019 super.Error(); | 966 super.Error(); |
| 1020 } | 967 } |
| 1021 toString() { | 968 toString() { |
| 1022 return this.variableName == null ? "Reading static variable during its ini
tialization" : `Reading static variable '${this.variableName}' during its initia
lization`; | 969 return this.variableName == null ? "Reading static variable during its ini
tialization" : `Reading static variable '${this.variableName}' during its initia
lization`; |
| 1023 } | 970 } |
| 1024 } | 971 } |
| 1025 dart.setSignature(CyclicInitializationError, { | |
| 1026 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1027 }); | |
| 1028 class Exception extends Object { | 972 class Exception extends Object { |
| 1029 Exception(message) { | 973 Exception(message) { |
| 1030 if (message === void 0) | 974 if (message === void 0) |
| 1031 message = null; | 975 message = null; |
| 1032 return new _ExceptionImplementation(message); | 976 return new _ExceptionImplementation(message); |
| 1033 } | 977 } |
| 1034 } | 978 } |
| 1035 dart.setSignature(Exception, {}); | |
| 1036 class _ExceptionImplementation extends Object { | 979 class _ExceptionImplementation extends Object { |
| 1037 _ExceptionImplementation(message) { | 980 _ExceptionImplementation(message) { |
| 1038 if (message === void 0) | 981 if (message === void 0) |
| 1039 message = null; | 982 message = null; |
| 1040 this.message = message; | 983 this.message = message; |
| 1041 } | 984 } |
| 1042 toString() { | 985 toString() { |
| 1043 if (this.message == null) | 986 if (this.message == null) |
| 1044 return "Exception"; | 987 return "Exception"; |
| 1045 return `Exception: ${this.message}`; | 988 return `Exception: ${this.message}`; |
| 1046 } | 989 } |
| 1047 } | 990 } |
| 1048 _ExceptionImplementation[dart.implements] = () => [Exception]; | 991 _ExceptionImplementation[dart.implements] = () => [Exception]; |
| 1049 dart.setSignature(_ExceptionImplementation, { | |
| 1050 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1051 }); | |
| 1052 class FormatException extends Object { | 992 class FormatException extends Object { |
| 1053 FormatException(message, source, offset) { | 993 FormatException(message, source, offset) { |
| 1054 if (message === void 0) | 994 if (message === void 0) |
| 1055 message = ""; | 995 message = ""; |
| 1056 if (source === void 0) | 996 if (source === void 0) |
| 1057 source = null; | 997 source = null; |
| 1058 if (offset === void 0) | 998 if (offset === void 0) |
| 1059 offset = -1; | 999 offset = -1; |
| 1060 this.message = message; | 1000 this.message = message; |
| 1061 this.source = source; | 1001 this.source = source; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1131 end = dart.notNull(offset) + 36; | 1071 end = dart.notNull(offset) + 36; |
| 1132 prefix = postfix = "..."; | 1072 prefix = postfix = "..."; |
| 1133 } | 1073 } |
| 1134 } | 1074 } |
| 1135 let slice = dart.as(dart.dsend(this.source, 'substring', start, end), Stri
ng); | 1075 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); | 1076 let markOffset = dart.notNull(offset) - dart.notNull(start) + dart.notNull
(prefix.length); |
| 1137 return `${report}${prefix}${slice}${postfix}\n${" "['*'](markOffset)}^\n`; | 1077 return `${report}${prefix}${slice}${postfix}\n${" "['*'](markOffset)}^\n`; |
| 1138 } | 1078 } |
| 1139 } | 1079 } |
| 1140 FormatException[dart.implements] = () => [Exception]; | 1080 FormatException[dart.implements] = () => [Exception]; |
| 1141 dart.setSignature(FormatException, { | |
| 1142 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1143 }); | |
| 1144 class IntegerDivisionByZeroException extends Object { | 1081 class IntegerDivisionByZeroException extends Object { |
| 1145 IntegerDivisionByZeroException() { | 1082 IntegerDivisionByZeroException() { |
| 1146 } | 1083 } |
| 1147 toString() { | 1084 toString() { |
| 1148 return "IntegerDivisionByZeroException"; | 1085 return "IntegerDivisionByZeroException"; |
| 1149 } | 1086 } |
| 1150 } | 1087 } |
| 1151 IntegerDivisionByZeroException[dart.implements] = () => [Exception]; | 1088 IntegerDivisionByZeroException[dart.implements] = () => [Exception]; |
| 1152 dart.setSignature(IntegerDivisionByZeroException, { | |
| 1153 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1154 }); | |
| 1155 let _getKey = dart.JsSymbol('_getKey'); | 1089 let _getKey = dart.JsSymbol('_getKey'); |
| 1156 let Expando$ = dart.generic(function(T) { | 1090 let Expando$ = dart.generic(function(T) { |
| 1157 class Expando extends Object { | 1091 class Expando extends Object { |
| 1158 Expando(name) { | 1092 Expando(name) { |
| 1159 if (name === void 0) | 1093 if (name === void 0) |
| 1160 name = null; | 1094 name = null; |
| 1161 this.name = name; | 1095 this.name = name; |
| 1162 } | 1096 } |
| 1163 toString() { | 1097 toString() { |
| 1164 return `Expando:${this.name}`; | 1098 return `Expando:${this.name}`; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1184 Expando$()._keyCount = dart.notNull(x) + 1; | 1118 Expando$()._keyCount = dart.notNull(x) + 1; |
| 1185 return x; | 1119 return x; |
| 1186 })()}`; | 1120 })()}`; |
| 1187 _js_helper.Primitives.setProperty(this, Expando$()._KEY_PROPERTY_NAME,
key); | 1121 _js_helper.Primitives.setProperty(this, Expando$()._KEY_PROPERTY_NAME,
key); |
| 1188 } | 1122 } |
| 1189 return key; | 1123 return key; |
| 1190 } | 1124 } |
| 1191 } | 1125 } |
| 1192 dart.setSignature(Expando, { | 1126 dart.setSignature(Expando, { |
| 1193 methods: () => ({ | 1127 methods: () => ({ |
| 1194 toString: dart.functionType(String, []), | |
| 1195 get: dart.functionType(T, [Object]), | 1128 get: dart.functionType(T, [Object]), |
| 1196 set: dart.functionType(dart.void, [Object, T]), | 1129 set: dart.functionType(dart.void, [Object, T]), |
| 1197 [_getKey]: dart.functionType(String, []) | 1130 [_getKey]: dart.functionType(String, []) |
| 1198 }) | 1131 }) |
| 1199 }); | 1132 }); |
| 1200 return Expando; | 1133 return Expando; |
| 1201 }); | 1134 }); |
| 1202 let Expando = Expando$(); | 1135 let Expando = Expando$(); |
| 1203 Expando._KEY_PROPERTY_NAME = 'expando$key'; | 1136 Expando._KEY_PROPERTY_NAME = 'expando$key'; |
| 1204 Expando._EXPANDO_PROPERTY_NAME = 'expando$values'; | 1137 Expando._EXPANDO_PROPERTY_NAME = 'expando$values'; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1246 dart.defineNamedConstructor(int, 'fromEnvironment'); | 1179 dart.defineNamedConstructor(int, 'fromEnvironment'); |
| 1247 dart.setSignature(int, { | 1180 dart.setSignature(int, { |
| 1248 statics: () => ({parse: dart.functionType(int, [String], {adi: int, nErro: d
art.functionType(int, [String])})}), | 1181 statics: () => ({parse: dart.functionType(int, [String], {adi: int, nErro: d
art.functionType(int, [String])})}), |
| 1249 names: ['parse'] | 1182 names: ['parse'] |
| 1250 }); | 1183 }); |
| 1251 class Invocation extends Object { | 1184 class Invocation extends Object { |
| 1252 get isAccessor() { | 1185 get isAccessor() { |
| 1253 return dart.notNull(this.isGetter) || dart.notNull(this.isSetter); | 1186 return dart.notNull(this.isGetter) || dart.notNull(this.isSetter); |
| 1254 } | 1187 } |
| 1255 } | 1188 } |
| 1256 dart.setSignature(Invocation, {}); | |
| 1257 let $iterator = dart.JsSymbol('$iterator'); | 1189 let $iterator = dart.JsSymbol('$iterator'); |
| 1258 let $join = dart.JsSymbol('$join'); | 1190 let $join = dart.JsSymbol('$join'); |
| 1259 let Iterable$ = dart.generic(function(E) { | 1191 let Iterable$ = dart.generic(function(E) { |
| 1260 class Iterable extends Object { | 1192 class Iterable extends Object { |
| 1261 Iterable() { | 1193 Iterable() { |
| 1262 } | 1194 } |
| 1263 generate(count, generator) { | 1195 generate(count, generator) { |
| 1264 if (generator === void 0) | 1196 if (generator === void 0) |
| 1265 generator = null; | 1197 generator = null; |
| 1266 if (dart.notNull(count) <= 0) | 1198 if (dart.notNull(count) <= 0) |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1377 _GeneratorIterator[dart.implements] = () => [Iterator$(E)]; | 1309 _GeneratorIterator[dart.implements] = () => [Iterator$(E)]; |
| 1378 dart.setSignature(_GeneratorIterator, { | 1310 dart.setSignature(_GeneratorIterator, { |
| 1379 methods: () => ({moveNext: dart.functionType(bool, [])}) | 1311 methods: () => ({moveNext: dart.functionType(bool, [])}) |
| 1380 }); | 1312 }); |
| 1381 return _GeneratorIterator; | 1313 return _GeneratorIterator; |
| 1382 }); | 1314 }); |
| 1383 let _GeneratorIterator = _GeneratorIterator$(); | 1315 let _GeneratorIterator = _GeneratorIterator$(); |
| 1384 let BidirectionalIterator$ = dart.generic(function(E) { | 1316 let BidirectionalIterator$ = dart.generic(function(E) { |
| 1385 class BidirectionalIterator extends Object {} | 1317 class BidirectionalIterator extends Object {} |
| 1386 BidirectionalIterator[dart.implements] = () => [Iterator$(E)]; | 1318 BidirectionalIterator[dart.implements] = () => [Iterator$(E)]; |
| 1387 dart.setSignature(BidirectionalIterator, {}); | |
| 1388 return BidirectionalIterator; | 1319 return BidirectionalIterator; |
| 1389 }); | 1320 }); |
| 1390 let BidirectionalIterator = BidirectionalIterator$(); | 1321 let BidirectionalIterator = BidirectionalIterator$(); |
| 1391 let Iterator$ = dart.generic(function(E) { | 1322 let Iterator$ = dart.generic(function(E) { |
| 1392 class Iterator extends Object {} | 1323 class Iterator extends Object {} |
| 1393 dart.setSignature(Iterator, {}); | |
| 1394 return Iterator; | 1324 return Iterator; |
| 1395 }); | 1325 }); |
| 1396 let Iterator = Iterator$(); | 1326 let Iterator = Iterator$(); |
| 1397 let $set = dart.JsSymbol('$set'); | 1327 let $set = dart.JsSymbol('$set'); |
| 1398 let $add = dart.JsSymbol('$add'); | 1328 let $add = dart.JsSymbol('$add'); |
| 1399 let $checkMutable = dart.JsSymbol('$checkMutable'); | 1329 let $checkMutable = dart.JsSymbol('$checkMutable'); |
| 1400 let $checkGrowable = dart.JsSymbol('$checkGrowable'); | 1330 let $checkGrowable = dart.JsSymbol('$checkGrowable'); |
| 1401 let $where = dart.JsSymbol('$where'); | 1331 let $where = dart.JsSymbol('$where'); |
| 1402 let $expand = dart.JsSymbol('$expand'); | 1332 let $expand = dart.JsSymbol('$expand'); |
| 1403 let $forEach = dart.JsSymbol('$forEach'); | 1333 let $forEach = dart.JsSymbol('$forEach'); |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1824 [$skipWhile]: dart.functionType(Iterable$(E), [dart.functionType(bool, [
E])]), | 1754 [$skipWhile]: dart.functionType(Iterable$(E), [dart.functionType(bool, [
E])]), |
| 1825 [$reduce]: dart.functionType(E, [dart.functionType(E, [E, E])]), | 1755 [$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])]), | 1756 [$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, [])}), | 1757 [$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, [])}), | 1758 [$lastWhere]: dart.functionType(E, [dart.functionType(bool, [E])], {rEls
: dart.functionType(E, [])}), |
| 1829 [$singleWhere]: dart.functionType(E, [dart.functionType(bool, [E])]), | 1759 [$singleWhere]: dart.functionType(E, [dart.functionType(bool, [E])]), |
| 1830 [$elementAt]: dart.functionType(E, [int]), | 1760 [$elementAt]: dart.functionType(E, [int]), |
| 1831 [$any]: dart.functionType(bool, [dart.functionType(bool, [E])]), | 1761 [$any]: dart.functionType(bool, [dart.functionType(bool, [E])]), |
| 1832 [$every]: dart.functionType(bool, [dart.functionType(bool, [E])]), | 1762 [$every]: dart.functionType(bool, [dart.functionType(bool, [E])]), |
| 1833 [$contains]: dart.functionType(bool, [Object]), | 1763 [$contains]: dart.functionType(bool, [Object]), |
| 1834 [$toString]: dart.functionType(String, []), | |
| 1835 [$toList]: dart.functionType(List$(E), [], {rowabl: bool}), | 1764 [$toList]: dart.functionType(List$(E), [], {rowabl: bool}), |
| 1836 [$toSet]: dart.functionType(exports.Set$(E), []), | 1765 [$toSet]: dart.functionType(exports.Set$(E), []), |
| 1837 [$get]: dart.functionType(E, [int]), | 1766 [$get]: dart.functionType(E, [int]), |
| 1838 [$set]: dart.functionType(dart.void, [int, E]), | 1767 [$set]: dart.functionType(dart.void, [int, E]), |
| 1839 [$add]: dart.functionType(dart.void, [E]), | 1768 [$add]: dart.functionType(dart.void, [E]), |
| 1840 [$addAll]: dart.functionType(dart.void, [Iterable$(E)]), | 1769 [$addAll]: dart.functionType(dart.void, [Iterable$(E)]), |
| 1841 [$sort]: dart.functionType(dart.void, [], [dart.functionType(int, [E, E]
)]), | 1770 [$sort]: dart.functionType(dart.void, [], [dart.functionType(int, [E, E]
)]), |
| 1842 [$shuffle]: dart.functionType(dart.void, [], [math.Random]), | 1771 [$shuffle]: dart.functionType(dart.void, [], [math.Random]), |
| 1843 [$indexOf]: dart.functionType(int, [E], [int]), | 1772 [$indexOf]: dart.functionType(int, [E], [int]), |
| 1844 [$lastIndexOf]: dart.functionType(int, [E], [int]), | 1773 [$lastIndexOf]: dart.functionType(int, [E], [int]), |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1879 return new (collection.LinkedHashMap$(K, V)).fromIterable(iterable, opts
); | 1808 return new (collection.LinkedHashMap$(K, V)).fromIterable(iterable, opts
); |
| 1880 } | 1809 } |
| 1881 fromIterables(keys, values) { | 1810 fromIterables(keys, values) { |
| 1882 return new (collection.LinkedHashMap$(K, V)).fromIterables(keys, values)
; | 1811 return new (collection.LinkedHashMap$(K, V)).fromIterables(keys, values)
; |
| 1883 } | 1812 } |
| 1884 } | 1813 } |
| 1885 dart.defineNamedConstructor(Map, 'from'); | 1814 dart.defineNamedConstructor(Map, 'from'); |
| 1886 dart.defineNamedConstructor(Map, 'identity'); | 1815 dart.defineNamedConstructor(Map, 'identity'); |
| 1887 dart.defineNamedConstructor(Map, 'fromIterable'); | 1816 dart.defineNamedConstructor(Map, 'fromIterable'); |
| 1888 dart.defineNamedConstructor(Map, 'fromIterables'); | 1817 dart.defineNamedConstructor(Map, 'fromIterables'); |
| 1889 dart.setSignature(Map, {}); | |
| 1890 return Map; | 1818 return Map; |
| 1891 }); | 1819 }); |
| 1892 let Map = Map$(); | 1820 let Map = Map$(); |
| 1893 class Null extends Object { | 1821 class Null extends Object { |
| 1894 _uninstantiable() { | 1822 _uninstantiable() { |
| 1895 throw new UnsupportedError('class Null cannot be instantiated'); | 1823 throw new UnsupportedError('class Null cannot be instantiated'); |
| 1896 } | 1824 } |
| 1897 toString() { | 1825 toString() { |
| 1898 return "null"; | 1826 return "null"; |
| 1899 } | 1827 } |
| 1900 } | 1828 } |
| 1901 dart.defineNamedConstructor(Null, '_uninstantiable'); | 1829 dart.defineNamedConstructor(Null, '_uninstantiable'); |
| 1902 dart.setSignature(Null, { | |
| 1903 methods: () => ({toString: dart.functionType(String, [])}) | |
| 1904 }); | |
| 1905 num._parseError = false; | 1830 num._parseError = false; |
| 1906 class Pattern extends Object {} | 1831 class Pattern extends Object {} |
| 1907 dart.setSignature(Pattern, {}); | |
| 1908 function print(object) { | 1832 function print(object) { |
| 1909 let line = `${object}`; | 1833 let line = `${object}`; |
| 1910 if (_internal.printToZone == null) { | 1834 if (_internal.printToZone == null) { |
| 1911 _internal.printToConsole(line); | 1835 _internal.printToConsole(line); |
| 1912 } else { | 1836 } else { |
| 1913 dart.dcall(_internal.printToZone, line); | 1837 dart.dcall(_internal.printToZone, line); |
| 1914 } | 1838 } |
| 1915 } | 1839 } |
| 1916 dart.fn(print, dart.void, [Object]); | 1840 dart.fn(print, dart.void, [Object]); |
| 1917 class Match extends Object {} | 1841 class Match extends Object {} |
| 1918 dart.setSignature(Match, {}); | |
| 1919 class RegExp extends Object { | 1842 class RegExp extends Object { |
| 1920 RegExp(source, opts) { | 1843 RegExp(source, opts) { |
| 1921 let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; | 1844 let multiLine = opts && 'multiLine' in opts ? opts.multiLine : false; |
| 1922 let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive :
true; | 1845 let caseSensitive = opts && 'caseSensitive' in opts ? opts.caseSensitive :
true; |
| 1923 return new _js_helper.JSSyntaxRegExp(source, {multiLine: multiLine, caseSe
nsitive: caseSensitive}); | 1846 return new _js_helper.JSSyntaxRegExp(source, {multiLine: multiLine, caseSe
nsitive: caseSensitive}); |
| 1924 } | 1847 } |
| 1925 } | 1848 } |
| 1926 RegExp[dart.implements] = () => [Pattern]; | 1849 RegExp[dart.implements] = () => [Pattern]; |
| 1927 dart.setSignature(RegExp, {}); | |
| 1928 let Set$ = dart.generic(function(E) { | 1850 let Set$ = dart.generic(function(E) { |
| 1929 class Set extends collection.IterableBase$(E) { | 1851 class Set extends collection.IterableBase$(E) { |
| 1930 Set() { | 1852 Set() { |
| 1931 return new (collection.LinkedHashSet$(E))(); | 1853 return new (collection.LinkedHashSet$(E))(); |
| 1932 } | 1854 } |
| 1933 identity() { | 1855 identity() { |
| 1934 return new (collection.LinkedHashSet$(E)).identity(); | 1856 return new (collection.LinkedHashSet$(E)).identity(); |
| 1935 } | 1857 } |
| 1936 from(elements) { | 1858 from(elements) { |
| 1937 return new (collection.LinkedHashSet$(E)).from(elements); | 1859 return new (collection.LinkedHashSet$(E)).from(elements); |
| 1938 } | 1860 } |
| 1939 } | 1861 } |
| 1940 Set[dart.implements] = () => [_internal.EfficientLength]; | 1862 Set[dart.implements] = () => [_internal.EfficientLength]; |
| 1941 dart.defineNamedConstructor(Set, 'identity'); | 1863 dart.defineNamedConstructor(Set, 'identity'); |
| 1942 dart.defineNamedConstructor(Set, 'from'); | 1864 dart.defineNamedConstructor(Set, 'from'); |
| 1943 dart.setSignature(Set, {}); | |
| 1944 return Set; | 1865 return Set; |
| 1945 }); | 1866 }); |
| 1946 dart.defineLazyClassGeneric(exports, 'Set', {get: Set$}); | 1867 dart.defineLazyClassGeneric(exports, 'Set', {get: Set$}); |
| 1947 let Sink$ = dart.generic(function(T) { | 1868 let Sink$ = dart.generic(function(T) { |
| 1948 class Sink extends Object {} | 1869 class Sink extends Object {} |
| 1949 dart.setSignature(Sink, {}); | |
| 1950 return Sink; | 1870 return Sink; |
| 1951 }); | 1871 }); |
| 1952 let Sink = Sink$(); | 1872 let Sink = Sink$(); |
| 1953 class StackTrace extends Object {} | 1873 class StackTrace extends Object {} |
| 1954 dart.setSignature(StackTrace, {}); | |
| 1955 let _stop = dart.JsSymbol('_stop'); | 1874 let _stop = dart.JsSymbol('_stop'); |
| 1956 class Stopwatch extends Object { | 1875 class Stopwatch extends Object { |
| 1957 get frequency() { | 1876 get frequency() { |
| 1958 return Stopwatch._frequency; | 1877 return Stopwatch._frequency; |
| 1959 } | 1878 } |
| 1960 Stopwatch() { | 1879 Stopwatch() { |
| 1961 this[_start] = null; | 1880 this[_start] = null; |
| 1962 this[_stop] = null; | 1881 this[_stop] = null; |
| 1963 Stopwatch._initTicker(); | 1882 Stopwatch._initTicker(); |
| 1964 } | 1883 } |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2108 let code = this.string.codeUnitAt(dart.notNull(length) - 1); | 2027 let code = this.string.codeUnitAt(dart.notNull(length) - 1); |
| 2109 if (dart.notNull(_isTrailSurrogate(code)) && dart.notNull(this.string.
length) > 1) { | 2028 if (dart.notNull(_isTrailSurrogate(code)) && dart.notNull(this.string.
length) > 1) { |
| 2110 let previousCode = this.string.codeUnitAt(dart.notNull(length) - 2); | 2029 let previousCode = this.string.codeUnitAt(dart.notNull(length) - 2); |
| 2111 if (_isLeadSurrogate(previousCode)) { | 2030 if (_isLeadSurrogate(previousCode)) { |
| 2112 return _combineSurrogatePair(previousCode, code); | 2031 return _combineSurrogatePair(previousCode, code); |
| 2113 } | 2032 } |
| 2114 } | 2033 } |
| 2115 return code; | 2034 return code; |
| 2116 } | 2035 } |
| 2117 } | 2036 } |
| 2118 dart.setSignature(Runes, {}); | |
| 2119 return Runes; | 2037 return Runes; |
| 2120 } | 2038 } |
| 2121 }); | 2039 }); |
| 2122 function _isLeadSurrogate(code) { | 2040 function _isLeadSurrogate(code) { |
| 2123 return (dart.notNull(code) & 64512) == 55296; | 2041 return (dart.notNull(code) & 64512) == 55296; |
| 2124 } | 2042 } |
| 2125 dart.fn(_isLeadSurrogate, bool, [int]); | 2043 dart.fn(_isLeadSurrogate, bool, [int]); |
| 2126 function _isTrailSurrogate(code) { | 2044 function _isTrailSurrogate(code) { |
| 2127 return (dart.notNull(code) & 64512) == 56320; | 2045 return (dart.notNull(code) & 64512) == 56320; |
| 2128 } | 2046 } |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2293 } | 2211 } |
| 2294 } | 2212 } |
| 2295 StringBuffer[dart.implements] = () => [StringSink]; | 2213 StringBuffer[dart.implements] = () => [StringSink]; |
| 2296 dart.setSignature(StringBuffer, { | 2214 dart.setSignature(StringBuffer, { |
| 2297 methods: () => ({ | 2215 methods: () => ({ |
| 2298 write: dart.functionType(dart.void, [Object]), | 2216 write: dart.functionType(dart.void, [Object]), |
| 2299 writeCharCode: dart.functionType(dart.void, [int]), | 2217 writeCharCode: dart.functionType(dart.void, [int]), |
| 2300 writeAll: dart.functionType(dart.void, [Iterable], [String]), | 2218 writeAll: dart.functionType(dart.void, [Iterable], [String]), |
| 2301 writeln: dart.functionType(dart.void, [], [Object]), | 2219 writeln: dart.functionType(dart.void, [], [Object]), |
| 2302 clear: dart.functionType(dart.void, []), | 2220 clear: dart.functionType(dart.void, []), |
| 2303 toString: dart.functionType(String, []), | |
| 2304 [_writeString]: dart.functionType(dart.void, [dart.dynamic]) | 2221 [_writeString]: dart.functionType(dart.void, [dart.dynamic]) |
| 2305 }) | 2222 }) |
| 2306 }); | 2223 }); |
| 2307 class StringSink extends Object {} | 2224 class StringSink extends Object {} |
| 2308 dart.setSignature(StringSink, {}); | |
| 2309 class Symbol extends Object { | 2225 class Symbol extends Object { |
| 2310 Symbol(name) { | 2226 Symbol(name) { |
| 2311 return new _internal.Symbol(name); | 2227 return new _internal.Symbol(name); |
| 2312 } | 2228 } |
| 2313 } | 2229 } |
| 2314 dart.setSignature(Symbol, {}); | |
| 2315 class Type extends Object {} | 2230 class Type extends Object {} |
| 2316 dart.setSignature(Type, {}); | |
| 2317 let _writeAuthority = dart.JsSymbol('_writeAuthority'); | 2231 let _writeAuthority = dart.JsSymbol('_writeAuthority'); |
| 2318 let _userInfo = dart.JsSymbol('_userInfo'); | 2232 let _userInfo = dart.JsSymbol('_userInfo'); |
| 2319 let _host = dart.JsSymbol('_host'); | 2233 let _host = dart.JsSymbol('_host'); |
| 2320 let _port = dart.JsSymbol('_port'); | 2234 let _port = dart.JsSymbol('_port'); |
| 2321 let _path = dart.JsSymbol('_path'); | 2235 let _path = dart.JsSymbol('_path'); |
| 2322 let _query = dart.JsSymbol('_query'); | 2236 let _query = dart.JsSymbol('_query'); |
| 2323 let _fragment = dart.JsSymbol('_fragment'); | 2237 let _fragment = dart.JsSymbol('_fragment'); |
| 2324 let _pathSegments = dart.JsSymbol('_pathSegments'); | 2238 let _pathSegments = dart.JsSymbol('_pathSegments'); |
| 2325 let _queryParameters = dart.JsSymbol('_queryParameters'); | 2239 let _queryParameters = dart.JsSymbol('_queryParameters'); |
| 2326 let _merge = dart.JsSymbol('_merge'); | 2240 let _merge = dart.JsSymbol('_merge'); |
| (...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3583 methods: () => ({ | 3497 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}), | 3498 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]), | 3499 [_merge]: dart.functionType(String, [String, String]), |
| 3586 [_hasDotSegments]: dart.functionType(bool, [String]), | 3500 [_hasDotSegments]: dart.functionType(bool, [String]), |
| 3587 [_removeDotSegments]: dart.functionType(String, [String]), | 3501 [_removeDotSegments]: dart.functionType(String, [String]), |
| 3588 resolve: dart.functionType(Uri, [String]), | 3502 resolve: dart.functionType(Uri, [String]), |
| 3589 resolveUri: dart.functionType(Uri, [Uri]), | 3503 resolveUri: dart.functionType(Uri, [Uri]), |
| 3590 toFilePath: dart.functionType(String, [], {indow: bool}), | 3504 toFilePath: dart.functionType(String, [], {indow: bool}), |
| 3591 [_toFilePath]: dart.functionType(String, []), | 3505 [_toFilePath]: dart.functionType(String, []), |
| 3592 [_toWindowsFilePath]: dart.functionType(String, []), | 3506 [_toWindowsFilePath]: dart.functionType(String, []), |
| 3593 [_writeAuthority]: dart.functionType(dart.void, [StringSink]), | 3507 [_writeAuthority]: dart.functionType(dart.void, [StringSink]) |
| 3594 toString: dart.functionType(String, []), | |
| 3595 '==': dart.functionType(bool, [dart.dynamic]) | |
| 3596 }), | 3508 }), |
| 3597 statics: () => ({ | 3509 statics: () => ({ |
| 3598 _defaultPort: dart.functionType(int, [String]), | 3510 _defaultPort: dart.functionType(int, [String]), |
| 3599 parse: dart.functionType(Uri, [String]), | 3511 parse: dart.functionType(Uri, [String]), |
| 3600 _fail: dart.functionType(dart.void, [String, int, String]), | 3512 _fail: dart.functionType(dart.void, [String, int, String]), |
| 3601 _makeHttpUri: dart.functionType(Uri, [String, String, String, Map$(String,
String)]), | 3513 _makeHttpUri: dart.functionType(Uri, [String, String, String, Map$(String,
String)]), |
| 3602 _checkNonWindowsPathReservedCharacters: dart.functionType(dart.dynamic, [L
ist$(String), bool]), | 3514 _checkNonWindowsPathReservedCharacters: dart.functionType(dart.dynamic, [L
ist$(String), bool]), |
| 3603 _checkWindowsPathReservedCharacters: dart.functionType(dart.dynamic, [List
$(String), bool], [int]), | 3515 _checkWindowsPathReservedCharacters: dart.functionType(dart.dynamic, [List
$(String), bool], [int]), |
| 3604 _checkWindowsDriveLetter: dart.functionType(dart.dynamic, [int, bool]), | 3516 _checkWindowsDriveLetter: dart.functionType(dart.dynamic, [int, bool]), |
| 3605 _makeFileUri: dart.functionType(dart.dynamic, [String]), | 3517 _makeFileUri: dart.functionType(dart.dynamic, [String]), |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3687 map.forEach(dart.fn((key, value) => { | 3599 map.forEach(dart.fn((key, value) => { |
| 3688 result.set(_symbolToString(key), value); | 3600 result.set(_symbolToString(key), value); |
| 3689 }, dart.dynamic, [Symbol, dart.dynamic])); | 3601 }, dart.dynamic, [Symbol, dart.dynamic])); |
| 3690 return result; | 3602 return result; |
| 3691 } | 3603 } |
| 3692 dart.fn(_symbolMapToStringMap, dart.dynamic, [Map$(Symbol, dart.dynamic)]); | 3604 dart.fn(_symbolMapToStringMap, dart.dynamic, [Map$(Symbol, dart.dynamic)]); |
| 3693 class SupportJsExtensionMethods extends Object { | 3605 class SupportJsExtensionMethods extends Object { |
| 3694 SupportJsExtensionMethods() { | 3606 SupportJsExtensionMethods() { |
| 3695 } | 3607 } |
| 3696 } | 3608 } |
| 3697 dart.setSignature(SupportJsExtensionMethods, {}); | |
| 3698 class _ListConstructorSentinel extends Object { | 3609 class _ListConstructorSentinel extends Object { |
| 3699 _ListConstructorSentinel() { | 3610 _ListConstructorSentinel() { |
| 3700 } | 3611 } |
| 3701 } | 3612 } |
| 3702 dart.setSignature(_ListConstructorSentinel, {}); | |
| 3703 // Exports: | 3613 // Exports: |
| 3704 exports.Object = Object; | 3614 exports.Object = Object; |
| 3705 exports.JsName = JsName; | 3615 exports.JsName = JsName; |
| 3706 exports.JsPeerInterface = JsPeerInterface; | 3616 exports.JsPeerInterface = JsPeerInterface; |
| 3707 exports.SupportJsExtensionMethod = SupportJsExtensionMethod; | 3617 exports.SupportJsExtensionMethod = SupportJsExtensionMethod; |
| 3708 exports.Deprecated = Deprecated; | 3618 exports.Deprecated = Deprecated; |
| 3709 exports.deprecated = deprecated; | 3619 exports.deprecated = deprecated; |
| 3710 exports.override = override; | 3620 exports.override = override; |
| 3711 exports.proxy = proxy; | 3621 exports.proxy = proxy; |
| 3712 exports.bool = bool; | 3622 exports.bool = bool; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3824 exports.Stopwatch = Stopwatch; | 3734 exports.Stopwatch = Stopwatch; |
| 3825 exports.String = String; | 3735 exports.String = String; |
| 3826 exports.RuneIterator = RuneIterator; | 3736 exports.RuneIterator = RuneIterator; |
| 3827 exports.StringBuffer = StringBuffer; | 3737 exports.StringBuffer = StringBuffer; |
| 3828 exports.StringSink = StringSink; | 3738 exports.StringSink = StringSink; |
| 3829 exports.Symbol = Symbol; | 3739 exports.Symbol = Symbol; |
| 3830 exports.Type = Type; | 3740 exports.Type = Type; |
| 3831 exports.Uri = Uri; | 3741 exports.Uri = Uri; |
| 3832 exports.SupportJsExtensionMethods = SupportJsExtensionMethods; | 3742 exports.SupportJsExtensionMethods = SupportJsExtensionMethods; |
| 3833 })(core, _js_helper, _internal, collection, _interceptors, math, convert); | 3743 })(core, _js_helper, _internal, collection, _interceptors, math, convert); |
| OLD | NEW |