| 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 16 matching lines...) Expand all Loading... |
| 27 } | 27 } |
| 28 noSuchMethod(invocation) { | 28 noSuchMethod(invocation) { |
| 29 throw new NoSuchMethodError(this, invocation.memberName, invocation.positi
onalArguments, invocation.namedArguments); | 29 throw new NoSuchMethodError(this, invocation.memberName, invocation.positi
onalArguments, invocation.namedArguments); |
| 30 } | 30 } |
| 31 get runtimeType() { | 31 get runtimeType() { |
| 32 return dart.realRuntimeType(this); | 32 return dart.realRuntimeType(this); |
| 33 } | 33 } |
| 34 } | 34 } |
| 35 dart.setSignature(Object, { | 35 dart.setSignature(Object, { |
| 36 methods: () => ({ | 36 methods: () => ({ |
| 37 '==': dart.functionType(bool, [dart.dynamic]), | 37 '==': [bool, [dart.dynamic]], |
| 38 toString: dart.functionType(String, []), | 38 toString: [String, []], |
| 39 noSuchMethod: dart.functionType(dart.dynamic, [Invocation]) | 39 noSuchMethod: [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, {}); | 48 dart.setSignature(JsName, {}); |
| 49 class JsPeerInterface extends Object { | 49 class JsPeerInterface extends Object { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 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, [])}) | 70 methods: () => ({toString: [String, []]}) |
| 71 }); | 71 }); |
| 72 class _Override extends Object { | 72 class _Override extends Object { |
| 73 _Override() { | 73 _Override() { |
| 74 } | 74 } |
| 75 } | 75 } |
| 76 dart.setSignature(_Override, {}); | 76 dart.setSignature(_Override, {}); |
| 77 let deprecated = dart.const(new Deprecated("next release")); | 77 let deprecated = dart.const(new Deprecated("next release")); |
| 78 let override = dart.const(new _Override()); | 78 let override = dart.const(new _Override()); |
| 79 class _Proxy extends Object { | 79 class _Proxy extends Object { |
| 80 _Proxy() { | 80 _Proxy() { |
| 81 } | 81 } |
| 82 } | 82 } |
| 83 dart.setSignature(_Proxy, {}); | 83 dart.setSignature(_Proxy, {}); |
| 84 let proxy = dart.const(new _Proxy()); | 84 let proxy = dart.const(new _Proxy()); |
| 85 class bool extends Object { | 85 class bool extends Object { |
| 86 fromEnvironment(name, opts) { | 86 fromEnvironment(name, opts) { |
| 87 let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : fa
lse; | 87 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'); | 88 throw new UnsupportedError('bool.fromEnvironment can only be used as a con
st constructor'); |
| 89 } | 89 } |
| 90 toString() { | 90 toString() { |
| 91 return this ? "true" : "false"; | 91 return this ? "true" : "false"; |
| 92 } | 92 } |
| 93 } | 93 } |
| 94 dart.defineNamedConstructor(bool, 'fromEnvironment'); | 94 dart.defineNamedConstructor(bool, 'fromEnvironment'); |
| 95 dart.setSignature(bool, { | 95 dart.setSignature(bool, { |
| 96 methods: () => ({toString: dart.functionType(String, [])}) | 96 methods: () => ({toString: [String, []]}) |
| 97 }); | 97 }); |
| 98 let Comparator$ = dart.generic(function(T) { | 98 let Comparator$ = dart.generic(function(T) { |
| 99 let Comparator = dart.typedef('Comparator', () => dart.functionType(int, [T,
T])); | 99 let Comparator = dart.typedef('Comparator', () => dart.functionType(int, [T,
T])); |
| 100 return Comparator; | 100 return Comparator; |
| 101 }); | 101 }); |
| 102 let Comparator = Comparator$(); | 102 let Comparator = Comparator$(); |
| 103 let Comparable$ = dart.generic(function(T) { | 103 let Comparable$ = dart.generic(function(T) { |
| 104 class Comparable extends Object { | 104 class Comparable extends Object { |
| 105 static compare(a, b) { | 105 static compare(a, b) { |
| 106 return a.compareTo(b); | 106 return a.compareTo(b); |
| 107 } | 107 } |
| 108 } | 108 } |
| 109 dart.setSignature(Comparable, { | 109 dart.setSignature(Comparable, { |
| 110 statics: () => ({compare: dart.functionType(int, [Comparable$(), Comparabl
e$()])}), | 110 statics: () => ({compare: [int, [Comparable$(), Comparable$()]]}), |
| 111 names: ['compare'] | 111 names: ['compare'] |
| 112 }); | 112 }); |
| 113 return Comparable; | 113 return Comparable; |
| 114 }); | 114 }); |
| 115 let Comparable = Comparable$(); | 115 let Comparable = Comparable$(); |
| 116 class DateTime extends Object { | 116 class DateTime extends Object { |
| 117 DateTime(year, month, day, hour, minute, second, millisecond) { | 117 DateTime(year, month, day, hour, minute, second, millisecond) { |
| 118 if (month === void 0) | 118 if (month === void 0) |
| 119 month = 1; | 119 month = 1; |
| 120 if (day === void 0) | 120 if (day === void 0) |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 } | 358 } |
| 359 } | 359 } |
| 360 DateTime[dart.implements] = () => [Comparable]; | 360 DateTime[dart.implements] = () => [Comparable]; |
| 361 dart.defineNamedConstructor(DateTime, 'utc'); | 361 dart.defineNamedConstructor(DateTime, 'utc'); |
| 362 dart.defineNamedConstructor(DateTime, 'now'); | 362 dart.defineNamedConstructor(DateTime, 'now'); |
| 363 dart.defineNamedConstructor(DateTime, 'fromMillisecondsSinceEpoch'); | 363 dart.defineNamedConstructor(DateTime, 'fromMillisecondsSinceEpoch'); |
| 364 dart.defineNamedConstructor(DateTime, '_internal'); | 364 dart.defineNamedConstructor(DateTime, '_internal'); |
| 365 dart.defineNamedConstructor(DateTime, '_now'); | 365 dart.defineNamedConstructor(DateTime, '_now'); |
| 366 dart.setSignature(DateTime, { | 366 dart.setSignature(DateTime, { |
| 367 methods: () => ({ | 367 methods: () => ({ |
| 368 '==': dart.functionType(bool, [dart.dynamic]), | 368 '==': [bool, [dart.dynamic]], |
| 369 isBefore: dart.functionType(bool, [DateTime]), | 369 isBefore: [bool, [DateTime]], |
| 370 isAfter: dart.functionType(bool, [DateTime]), | 370 isAfter: [bool, [DateTime]], |
| 371 isAtSameMomentAs: dart.functionType(bool, [DateTime]), | 371 isAtSameMomentAs: [bool, [DateTime]], |
| 372 compareTo: dart.functionType(int, [DateTime]), | 372 compareTo: [int, [DateTime]], |
| 373 toLocal: dart.functionType(DateTime, []), | 373 toLocal: [DateTime, []], |
| 374 toUtc: dart.functionType(DateTime, []), | 374 toUtc: [DateTime, []], |
| 375 toString: dart.functionType(String, []), | 375 toString: [String, []], |
| 376 toIso8601String: dart.functionType(String, []), | 376 toIso8601String: [String, []], |
| 377 add: dart.functionType(DateTime, [Duration]), | 377 add: [DateTime, [Duration]], |
| 378 subtract: dart.functionType(DateTime, [Duration]), | 378 subtract: [DateTime, [Duration]], |
| 379 difference: dart.functionType(Duration, [DateTime]) | 379 difference: [Duration, [DateTime]] |
| 380 }), | 380 }), |
| 381 statics: () => ({ | 381 statics: () => ({ |
| 382 parse: dart.functionType(DateTime, [String]), | 382 parse: [DateTime, [String]], |
| 383 _fourDigits: dart.functionType(String, [int]), | 383 _fourDigits: [String, [int]], |
| 384 _sixDigits: dart.functionType(String, [int]), | 384 _sixDigits: [String, [int]], |
| 385 _threeDigits: dart.functionType(String, [int]), | 385 _threeDigits: [String, [int]], |
| 386 _twoDigits: dart.functionType(String, [int]), | 386 _twoDigits: [String, [int]], |
| 387 _brokenDownDateToMillisecondsSinceEpoch: dart.functionType(int, [int, int,
int, int, int, int, int, bool]) | 387 _brokenDownDateToMillisecondsSinceEpoch: [int, [int, int, int, int, int, i
nt, int, bool]] |
| 388 }), | 388 }), |
| 389 names: ['parse', '_fourDigits', '_sixDigits', '_threeDigits', '_twoDigits',
'_brokenDownDateToMillisecondsSinceEpoch'] | 389 names: ['parse', '_fourDigits', '_sixDigits', '_threeDigits', '_twoDigits',
'_brokenDownDateToMillisecondsSinceEpoch'] |
| 390 }); | 390 }); |
| 391 DateTime.MONDAY = 1; | 391 DateTime.MONDAY = 1; |
| 392 DateTime.TUESDAY = 2; | 392 DateTime.TUESDAY = 2; |
| 393 DateTime.WEDNESDAY = 3; | 393 DateTime.WEDNESDAY = 3; |
| 394 DateTime.THURSDAY = 4; | 394 DateTime.THURSDAY = 4; |
| 395 DateTime.FRIDAY = 5; | 395 DateTime.FRIDAY = 5; |
| 396 DateTime.SATURDAY = 6; | 396 DateTime.SATURDAY = 6; |
| 397 DateTime.SUNDAY = 7; | 397 DateTime.SUNDAY = 7; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 return 0; | 432 return 0; |
| 433 } | 433 } |
| 434 static _onParseErrorDouble(_) { | 434 static _onParseErrorDouble(_) { |
| 435 num._parseError = true; | 435 num._parseError = true; |
| 436 return 0.0; | 436 return 0.0; |
| 437 } | 437 } |
| 438 } | 438 } |
| 439 num[dart.implements] = () => [Comparable$(num)]; | 439 num[dart.implements] = () => [Comparable$(num)]; |
| 440 dart.setSignature(num, { | 440 dart.setSignature(num, { |
| 441 statics: () => ({ | 441 statics: () => ({ |
| 442 parse: dart.functionType(num, [String], [dart.functionType(num, [String])]
), | 442 parse: [num, [String], [dart.functionType(num, [String])]], |
| 443 _onParseErrorInt: dart.functionType(int, [String]), | 443 _onParseErrorInt: [int, [String]], |
| 444 _onParseErrorDouble: dart.functionType(double, [String]) | 444 _onParseErrorDouble: [double, [String]] |
| 445 }), | 445 }), |
| 446 names: ['parse', '_onParseErrorInt', '_onParseErrorDouble'] | 446 names: ['parse', '_onParseErrorInt', '_onParseErrorDouble'] |
| 447 }); | 447 }); |
| 448 class double extends num { | 448 class double extends num { |
| 449 static parse(source, onError) { | 449 static parse(source, onError) { |
| 450 if (onError === void 0) | 450 if (onError === void 0) |
| 451 onError = null; | 451 onError = null; |
| 452 return _js_helper.Primitives.parseDouble(source, onError); | 452 return _js_helper.Primitives.parseDouble(source, onError); |
| 453 } | 453 } |
| 454 } | 454 } |
| 455 dart.setSignature(double, { | 455 dart.setSignature(double, { |
| 456 statics: () => ({parse: dart.functionType(double, [String], [dart.functionTy
pe(double, [String])])}), | 456 statics: () => ({parse: [double, [String], [dart.functionType(double, [Strin
g])]]}), |
| 457 names: ['parse'] | 457 names: ['parse'] |
| 458 }); | 458 }); |
| 459 double.NAN = 0.0 / 0.0; | 459 double.NAN = 0.0 / 0.0; |
| 460 double.INFINITY = 1.0 / 0.0; | 460 double.INFINITY = 1.0 / 0.0; |
| 461 double.NEGATIVE_INFINITY = -dart.notNull(double.INFINITY); | 461 double.NEGATIVE_INFINITY = -dart.notNull(double.INFINITY); |
| 462 double.MIN_POSITIVE = 5e-324; | 462 double.MIN_POSITIVE = 5e-324; |
| 463 double.MAX_FINITE = 1.7976931348623157e+308; | 463 double.MAX_FINITE = 1.7976931348623157e+308; |
| 464 let _duration = dart.JsSymbol('_duration'); | 464 let _duration = dart.JsSymbol('_duration'); |
| 465 class Duration extends Object { | 465 class Duration extends Object { |
| 466 Duration(opts) { | 466 Duration(opts) { |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 return new Duration._microseconds(this[_duration].abs()); | 566 return new Duration._microseconds(this[_duration].abs()); |
| 567 } | 567 } |
| 568 ['unary-']() { | 568 ['unary-']() { |
| 569 return new Duration._microseconds(-dart.notNull(this[_duration])); | 569 return new Duration._microseconds(-dart.notNull(this[_duration])); |
| 570 } | 570 } |
| 571 } | 571 } |
| 572 Duration[dart.implements] = () => [Comparable$(Duration)]; | 572 Duration[dart.implements] = () => [Comparable$(Duration)]; |
| 573 dart.defineNamedConstructor(Duration, '_microseconds'); | 573 dart.defineNamedConstructor(Duration, '_microseconds'); |
| 574 dart.setSignature(Duration, { | 574 dart.setSignature(Duration, { |
| 575 methods: () => ({ | 575 methods: () => ({ |
| 576 '+': dart.functionType(Duration, [Duration]), | 576 '+': [Duration, [Duration]], |
| 577 '-': dart.functionType(Duration, [Duration]), | 577 '-': [Duration, [Duration]], |
| 578 '*': dart.functionType(Duration, [num]), | 578 '*': [Duration, [num]], |
| 579 '~/': dart.functionType(Duration, [int]), | 579 '~/': [Duration, [int]], |
| 580 '<': dart.functionType(bool, [Duration]), | 580 '<': [bool, [Duration]], |
| 581 '>': dart.functionType(bool, [Duration]), | 581 '>': [bool, [Duration]], |
| 582 '<=': dart.functionType(bool, [Duration]), | 582 '<=': [bool, [Duration]], |
| 583 '>=': dart.functionType(bool, [Duration]), | 583 '>=': [bool, [Duration]], |
| 584 '==': dart.functionType(bool, [dart.dynamic]), | 584 '==': [bool, [dart.dynamic]], |
| 585 compareTo: dart.functionType(int, [Duration]), | 585 compareTo: [int, [Duration]], |
| 586 toString: dart.functionType(String, []), | 586 toString: [String, []], |
| 587 abs: dart.functionType(Duration, []), | 587 abs: [Duration, []], |
| 588 'unary-': dart.functionType(Duration, []) | 588 'unary-': [Duration, []] |
| 589 }) | 589 }) |
| 590 }); | 590 }); |
| 591 Duration.MICROSECONDS_PER_MILLISECOND = 1000; | 591 Duration.MICROSECONDS_PER_MILLISECOND = 1000; |
| 592 Duration.MILLISECONDS_PER_SECOND = 1000; | 592 Duration.MILLISECONDS_PER_SECOND = 1000; |
| 593 Duration.SECONDS_PER_MINUTE = 60; | 593 Duration.SECONDS_PER_MINUTE = 60; |
| 594 Duration.MINUTES_PER_HOUR = 60; | 594 Duration.MINUTES_PER_HOUR = 60; |
| 595 Duration.HOURS_PER_DAY = 24; | 595 Duration.HOURS_PER_DAY = 24; |
| 596 Duration.MICROSECONDS_PER_SECOND = dart.notNull(Duration.MICROSECONDS_PER_MILL
ISECOND) * dart.notNull(Duration.MILLISECONDS_PER_SECOND); | 596 Duration.MICROSECONDS_PER_SECOND = dart.notNull(Duration.MICROSECONDS_PER_MILL
ISECOND) * dart.notNull(Duration.MILLISECONDS_PER_SECOND); |
| 597 Duration.MICROSECONDS_PER_MINUTE = dart.notNull(Duration.MICROSECONDS_PER_SECO
ND) * dart.notNull(Duration.SECONDS_PER_MINUTE); | 597 Duration.MICROSECONDS_PER_MINUTE = dart.notNull(Duration.MICROSECONDS_PER_SECO
ND) * dart.notNull(Duration.SECONDS_PER_MINUTE); |
| 598 Duration.MICROSECONDS_PER_HOUR = dart.notNull(Duration.MICROSECONDS_PER_MINUTE
) * dart.notNull(Duration.MINUTES_PER_HOUR); | 598 Duration.MICROSECONDS_PER_HOUR = dart.notNull(Duration.MICROSECONDS_PER_MINUTE
) * dart.notNull(Duration.MINUTES_PER_HOUR); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 621 } | 621 } |
| 622 static _objectToString(object) { | 622 static _objectToString(object) { |
| 623 return _js_helper.Primitives.objectToString(object); | 623 return _js_helper.Primitives.objectToString(object); |
| 624 } | 624 } |
| 625 get stackTrace() { | 625 get stackTrace() { |
| 626 return _js_helper.Primitives.extractStackTrace(this); | 626 return _js_helper.Primitives.extractStackTrace(this); |
| 627 } | 627 } |
| 628 } | 628 } |
| 629 dart.setSignature(Error, { | 629 dart.setSignature(Error, { |
| 630 statics: () => ({ | 630 statics: () => ({ |
| 631 safeToString: dart.functionType(String, [Object]), | 631 safeToString: [String, [Object]], |
| 632 _stringToSafeString: dart.functionType(String, [String]), | 632 _stringToSafeString: [String, [String]], |
| 633 _objectToString: dart.functionType(String, [Object]) | 633 _objectToString: [String, [Object]] |
| 634 }), | 634 }), |
| 635 names: ['safeToString', '_stringToSafeString', '_objectToString'] | 635 names: ['safeToString', '_stringToSafeString', '_objectToString'] |
| 636 }); | 636 }); |
| 637 class AssertionError extends Error { | 637 class AssertionError extends Error { |
| 638 AssertionError() { | 638 AssertionError() { |
| 639 super.Error(); | 639 super.Error(); |
| 640 } | 640 } |
| 641 } | 641 } |
| 642 dart.setSignature(AssertionError, {}); | 642 dart.setSignature(AssertionError, {}); |
| 643 class TypeError extends AssertionError {} | 643 class TypeError extends AssertionError {} |
| 644 dart.setSignature(TypeError, {}); | 644 dart.setSignature(TypeError, {}); |
| 645 class CastError extends Error { | 645 class CastError extends Error { |
| 646 CastError() { | 646 CastError() { |
| 647 super.Error(); | 647 super.Error(); |
| 648 } | 648 } |
| 649 } | 649 } |
| 650 dart.setSignature(CastError, {}); | 650 dart.setSignature(CastError, {}); |
| 651 class NullThrownError extends Error { | 651 class NullThrownError extends Error { |
| 652 NullThrownError() { | 652 NullThrownError() { |
| 653 super.Error(); | 653 super.Error(); |
| 654 } | 654 } |
| 655 toString() { | 655 toString() { |
| 656 return "Throw of null."; | 656 return "Throw of null."; |
| 657 } | 657 } |
| 658 } | 658 } |
| 659 dart.setSignature(NullThrownError, { | 659 dart.setSignature(NullThrownError, { |
| 660 methods: () => ({toString: dart.functionType(String, [])}) | 660 methods: () => ({toString: [String, []]}) |
| 661 }); | 661 }); |
| 662 let _hasValue = dart.JsSymbol('_hasValue'); | 662 let _hasValue = dart.JsSymbol('_hasValue'); |
| 663 class ArgumentError extends Error { | 663 class ArgumentError extends Error { |
| 664 ArgumentError(message) { | 664 ArgumentError(message) { |
| 665 if (message === void 0) | 665 if (message === void 0) |
| 666 message = null; | 666 message = null; |
| 667 this.message = message; | 667 this.message = message; |
| 668 this.invalidValue = null; | 668 this.invalidValue = null; |
| 669 this[_hasValue] = false; | 669 this[_hasValue] = false; |
| 670 this.name = null; | 670 this.name = null; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 697 let nameString = ""; | 697 let nameString = ""; |
| 698 if (this.name != null) { | 698 if (this.name != null) { |
| 699 nameString = ` (${this.name})`; | 699 nameString = ` (${this.name})`; |
| 700 } | 700 } |
| 701 return `${this.message}${nameString}: ${Error.safeToString(this.invalidVal
ue)}`; | 701 return `${this.message}${nameString}: ${Error.safeToString(this.invalidVal
ue)}`; |
| 702 } | 702 } |
| 703 } | 703 } |
| 704 dart.defineNamedConstructor(ArgumentError, 'value'); | 704 dart.defineNamedConstructor(ArgumentError, 'value'); |
| 705 dart.defineNamedConstructor(ArgumentError, 'notNull'); | 705 dart.defineNamedConstructor(ArgumentError, 'notNull'); |
| 706 dart.setSignature(ArgumentError, { | 706 dart.setSignature(ArgumentError, { |
| 707 methods: () => ({toString: dart.functionType(String, [])}) | 707 methods: () => ({toString: [String, []]}) |
| 708 }); | 708 }); |
| 709 class RangeError extends ArgumentError { | 709 class RangeError extends ArgumentError { |
| 710 RangeError(message) { | 710 RangeError(message) { |
| 711 this.start = null; | 711 this.start = null; |
| 712 this.end = null; | 712 this.end = null; |
| 713 super.ArgumentError(message); | 713 super.ArgumentError(message); |
| 714 } | 714 } |
| 715 value(value, name, message) { | 715 value(value, name, message) { |
| 716 if (name === void 0) | 716 if (name === void 0) |
| 717 name = null; | 717 name = null; |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 } else { | 801 } else { |
| 802 explanation = `: Only valid value is ${this.start}`; | 802 explanation = `: Only valid value is ${this.start}`; |
| 803 } | 803 } |
| 804 return `RangeError: ${this.message} (${value})${explanation}`; | 804 return `RangeError: ${this.message} (${value})${explanation}`; |
| 805 } | 805 } |
| 806 } | 806 } |
| 807 dart.defineNamedConstructor(RangeError, 'value'); | 807 dart.defineNamedConstructor(RangeError, 'value'); |
| 808 dart.defineNamedConstructor(RangeError, 'range'); | 808 dart.defineNamedConstructor(RangeError, 'range'); |
| 809 dart.defineNamedConstructor(RangeError, 'index'); | 809 dart.defineNamedConstructor(RangeError, 'index'); |
| 810 dart.setSignature(RangeError, { | 810 dart.setSignature(RangeError, { |
| 811 methods: () => ({toString: dart.functionType(String, [])}), | 811 methods: () => ({toString: [String, []]}), |
| 812 statics: () => ({ | 812 statics: () => ({ |
| 813 checkValueInInterval: dart.functionType(dart.void, [int, int, int], [Strin
g, String]), | 813 checkValueInInterval: [dart.void, [int, int, int], [String, String]], |
| 814 checkValidIndex: dart.functionType(dart.void, [int, dart.dynamic], [String
, int, String]), | 814 checkValidIndex: [dart.void, [int, dart.dynamic], [String, int, String]], |
| 815 checkValidRange: dart.functionType(dart.void, [int, int, int], [String, St
ring, String]), | 815 checkValidRange: [dart.void, [int, int, int], [String, String, String]], |
| 816 checkNotNegative: dart.functionType(dart.void, [int], [String, String]) | 816 checkNotNegative: [dart.void, [int], [String, String]] |
| 817 }), | 817 }), |
| 818 names: ['checkValueInInterval', 'checkValidIndex', 'checkValidRange', 'check
NotNegative'] | 818 names: ['checkValueInInterval', 'checkValidIndex', 'checkValidRange', 'check
NotNegative'] |
| 819 }); | 819 }); |
| 820 class IndexError extends ArgumentError { | 820 class IndexError extends ArgumentError { |
| 821 IndexError(invalidValue, indexable, name, message, length) { | 821 IndexError(invalidValue, indexable, name, message, length) { |
| 822 if (name === void 0) | 822 if (name === void 0) |
| 823 name = null; | 823 name = null; |
| 824 if (message === void 0) | 824 if (message === void 0) |
| 825 message = null; | 825 message = null; |
| 826 if (length === void 0) | 826 if (length === void 0) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 840 let target = Error.safeToString(this.indexable); | 840 let target = Error.safeToString(this.indexable); |
| 841 let explanation = `index should be less than ${this.length}`; | 841 let explanation = `index should be less than ${this.length}`; |
| 842 if (dart.dsend(this.invalidValue, '<', 0)) { | 842 if (dart.dsend(this.invalidValue, '<', 0)) { |
| 843 explanation = "index must not be negative"; | 843 explanation = "index must not be negative"; |
| 844 } | 844 } |
| 845 return `RangeError: ${this.message} (${target}[${this.invalidValue}]): ${e
xplanation}`; | 845 return `RangeError: ${this.message} (${target}[${this.invalidValue}]): ${e
xplanation}`; |
| 846 } | 846 } |
| 847 } | 847 } |
| 848 IndexError[dart.implements] = () => [RangeError]; | 848 IndexError[dart.implements] = () => [RangeError]; |
| 849 dart.setSignature(IndexError, { | 849 dart.setSignature(IndexError, { |
| 850 methods: () => ({toString: dart.functionType(String, [])}) | 850 methods: () => ({toString: [String, []]}) |
| 851 }); | 851 }); |
| 852 class FallThroughError extends Error { | 852 class FallThroughError extends Error { |
| 853 FallThroughError() { | 853 FallThroughError() { |
| 854 super.Error(); | 854 super.Error(); |
| 855 } | 855 } |
| 856 } | 856 } |
| 857 dart.setSignature(FallThroughError, {}); | 857 dart.setSignature(FallThroughError, {}); |
| 858 let _className = dart.JsSymbol('_className'); | 858 let _className = dart.JsSymbol('_className'); |
| 859 class AbstractClassInstantiationError extends Error { | 859 class AbstractClassInstantiationError extends Error { |
| 860 AbstractClassInstantiationError(className) { | 860 AbstractClassInstantiationError(className) { |
| 861 this[_className] = className; | 861 this[_className] = className; |
| 862 super.Error(); | 862 super.Error(); |
| 863 } | 863 } |
| 864 toString() { | 864 toString() { |
| 865 return `Cannot instantiate abstract class: '${this[_className]}'`; | 865 return `Cannot instantiate abstract class: '${this[_className]}'`; |
| 866 } | 866 } |
| 867 } | 867 } |
| 868 dart.setSignature(AbstractClassInstantiationError, { | 868 dart.setSignature(AbstractClassInstantiationError, { |
| 869 methods: () => ({toString: dart.functionType(String, [])}) | 869 methods: () => ({toString: [String, []]}) |
| 870 }); | 870 }); |
| 871 let _receiver = dart.JsSymbol('_receiver'); | 871 let _receiver = dart.JsSymbol('_receiver'); |
| 872 let _memberName = dart.JsSymbol('_memberName'); | 872 let _memberName = dart.JsSymbol('_memberName'); |
| 873 let _arguments = dart.JsSymbol('_arguments'); | 873 let _arguments = dart.JsSymbol('_arguments'); |
| 874 let _namedArguments = dart.JsSymbol('_namedArguments'); | 874 let _namedArguments = dart.JsSymbol('_namedArguments'); |
| 875 let _existingArgumentNames = dart.JsSymbol('_existingArgumentNames'); | 875 let _existingArgumentNames = dart.JsSymbol('_existingArgumentNames'); |
| 876 let $length = dart.JsSymbol('$length'); | 876 let $length = dart.JsSymbol('$length'); |
| 877 let $get = dart.JsSymbol('$get'); | 877 let $get = dart.JsSymbol('$get'); |
| 878 class NoSuchMethodError extends Error { | 878 class NoSuchMethodError extends Error { |
| 879 NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments,
existingArgumentNames) { | 879 NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments,
existingArgumentNames) { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 918 sb.write(", "); | 918 sb.write(", "); |
| 919 } | 919 } |
| 920 sb.write(this[_existingArgumentNames][$get](i)); | 920 sb.write(this[_existingArgumentNames][$get](i)); |
| 921 } | 921 } |
| 922 let formalParameters = dart.toString(sb); | 922 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})`; | 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})`; |
| 924 } | 924 } |
| 925 } | 925 } |
| 926 } | 926 } |
| 927 dart.setSignature(NoSuchMethodError, { | 927 dart.setSignature(NoSuchMethodError, { |
| 928 methods: () => ({toString: dart.functionType(String, [])}) | 928 methods: () => ({toString: [String, []]}) |
| 929 }); | 929 }); |
| 930 class UnsupportedError extends Error { | 930 class UnsupportedError extends Error { |
| 931 UnsupportedError(message) { | 931 UnsupportedError(message) { |
| 932 this.message = message; | 932 this.message = message; |
| 933 super.Error(); | 933 super.Error(); |
| 934 } | 934 } |
| 935 toString() { | 935 toString() { |
| 936 return `Unsupported operation: ${this.message}`; | 936 return `Unsupported operation: ${this.message}`; |
| 937 } | 937 } |
| 938 } | 938 } |
| 939 dart.setSignature(UnsupportedError, { | 939 dart.setSignature(UnsupportedError, { |
| 940 methods: () => ({toString: dart.functionType(String, [])}) | 940 methods: () => ({toString: [String, []]}) |
| 941 }); | 941 }); |
| 942 class UnimplementedError extends Error { | 942 class UnimplementedError extends Error { |
| 943 UnimplementedError(message) { | 943 UnimplementedError(message) { |
| 944 if (message === void 0) | 944 if (message === void 0) |
| 945 message = null; | 945 message = null; |
| 946 this.message = message; | 946 this.message = message; |
| 947 super.Error(); | 947 super.Error(); |
| 948 } | 948 } |
| 949 toString() { | 949 toString() { |
| 950 return this.message != null ? `UnimplementedError: ${this.message}` : "Uni
mplementedError"; | 950 return this.message != null ? `UnimplementedError: ${this.message}` : "Uni
mplementedError"; |
| 951 } | 951 } |
| 952 } | 952 } |
| 953 UnimplementedError[dart.implements] = () => [UnsupportedError]; | 953 UnimplementedError[dart.implements] = () => [UnsupportedError]; |
| 954 dart.setSignature(UnimplementedError, { | 954 dart.setSignature(UnimplementedError, { |
| 955 methods: () => ({toString: dart.functionType(String, [])}) | 955 methods: () => ({toString: [String, []]}) |
| 956 }); | 956 }); |
| 957 class StateError extends Error { | 957 class StateError extends Error { |
| 958 StateError(message) { | 958 StateError(message) { |
| 959 this.message = message; | 959 this.message = message; |
| 960 super.Error(); | 960 super.Error(); |
| 961 } | 961 } |
| 962 toString() { | 962 toString() { |
| 963 return `Bad state: ${this.message}`; | 963 return `Bad state: ${this.message}`; |
| 964 } | 964 } |
| 965 } | 965 } |
| 966 dart.setSignature(StateError, { | 966 dart.setSignature(StateError, { |
| 967 methods: () => ({toString: dart.functionType(String, [])}) | 967 methods: () => ({toString: [String, []]}) |
| 968 }); | 968 }); |
| 969 class ConcurrentModificationError extends Error { | 969 class ConcurrentModificationError extends Error { |
| 970 ConcurrentModificationError(modifiedObject) { | 970 ConcurrentModificationError(modifiedObject) { |
| 971 if (modifiedObject === void 0) | 971 if (modifiedObject === void 0) |
| 972 modifiedObject = null; | 972 modifiedObject = null; |
| 973 this.modifiedObject = modifiedObject; | 973 this.modifiedObject = modifiedObject; |
| 974 super.Error(); | 974 super.Error(); |
| 975 } | 975 } |
| 976 toString() { | 976 toString() { |
| 977 if (this.modifiedObject == null) { | 977 if (this.modifiedObject == null) { |
| 978 return "Concurrent modification during iteration."; | 978 return "Concurrent modification during iteration."; |
| 979 } | 979 } |
| 980 return "Concurrent modification during iteration: " + `${Error.safeToStrin
g(this.modifiedObject)}.`; | 980 return "Concurrent modification during iteration: " + `${Error.safeToStrin
g(this.modifiedObject)}.`; |
| 981 } | 981 } |
| 982 } | 982 } |
| 983 dart.setSignature(ConcurrentModificationError, { | 983 dart.setSignature(ConcurrentModificationError, { |
| 984 methods: () => ({toString: dart.functionType(String, [])}) | 984 methods: () => ({toString: [String, []]}) |
| 985 }); | 985 }); |
| 986 class OutOfMemoryError extends Object { | 986 class OutOfMemoryError extends Object { |
| 987 OutOfMemoryError() { | 987 OutOfMemoryError() { |
| 988 } | 988 } |
| 989 toString() { | 989 toString() { |
| 990 return "Out of Memory"; | 990 return "Out of Memory"; |
| 991 } | 991 } |
| 992 get stackTrace() { | 992 get stackTrace() { |
| 993 return null; | 993 return null; |
| 994 } | 994 } |
| 995 } | 995 } |
| 996 OutOfMemoryError[dart.implements] = () => [Error]; | 996 OutOfMemoryError[dart.implements] = () => [Error]; |
| 997 dart.setSignature(OutOfMemoryError, { | 997 dart.setSignature(OutOfMemoryError, { |
| 998 methods: () => ({toString: dart.functionType(String, [])}) | 998 methods: () => ({toString: [String, []]}) |
| 999 }); | 999 }); |
| 1000 class StackOverflowError extends Object { | 1000 class StackOverflowError extends Object { |
| 1001 StackOverflowError() { | 1001 StackOverflowError() { |
| 1002 } | 1002 } |
| 1003 toString() { | 1003 toString() { |
| 1004 return "Stack Overflow"; | 1004 return "Stack Overflow"; |
| 1005 } | 1005 } |
| 1006 get stackTrace() { | 1006 get stackTrace() { |
| 1007 return null; | 1007 return null; |
| 1008 } | 1008 } |
| 1009 } | 1009 } |
| 1010 StackOverflowError[dart.implements] = () => [Error]; | 1010 StackOverflowError[dart.implements] = () => [Error]; |
| 1011 dart.setSignature(StackOverflowError, { | 1011 dart.setSignature(StackOverflowError, { |
| 1012 methods: () => ({toString: dart.functionType(String, [])}) | 1012 methods: () => ({toString: [String, []]}) |
| 1013 }); | 1013 }); |
| 1014 class CyclicInitializationError extends Error { | 1014 class CyclicInitializationError extends Error { |
| 1015 CyclicInitializationError(variableName) { | 1015 CyclicInitializationError(variableName) { |
| 1016 if (variableName === void 0) | 1016 if (variableName === void 0) |
| 1017 variableName = null; | 1017 variableName = null; |
| 1018 this.variableName = variableName; | 1018 this.variableName = variableName; |
| 1019 super.Error(); | 1019 super.Error(); |
| 1020 } | 1020 } |
| 1021 toString() { | 1021 toString() { |
| 1022 return this.variableName == null ? "Reading static variable during its ini
tialization" : `Reading static variable '${this.variableName}' during its initia
lization`; | 1022 return this.variableName == null ? "Reading static variable during its ini
tialization" : `Reading static variable '${this.variableName}' during its initia
lization`; |
| 1023 } | 1023 } |
| 1024 } | 1024 } |
| 1025 dart.setSignature(CyclicInitializationError, { | 1025 dart.setSignature(CyclicInitializationError, { |
| 1026 methods: () => ({toString: dart.functionType(String, [])}) | 1026 methods: () => ({toString: [String, []]}) |
| 1027 }); | 1027 }); |
| 1028 class Exception extends Object { | 1028 class Exception extends Object { |
| 1029 Exception(message) { | 1029 Exception(message) { |
| 1030 if (message === void 0) | 1030 if (message === void 0) |
| 1031 message = null; | 1031 message = null; |
| 1032 return new _ExceptionImplementation(message); | 1032 return new _ExceptionImplementation(message); |
| 1033 } | 1033 } |
| 1034 } | 1034 } |
| 1035 dart.setSignature(Exception, {}); | 1035 dart.setSignature(Exception, {}); |
| 1036 class _ExceptionImplementation extends Object { | 1036 class _ExceptionImplementation extends Object { |
| 1037 _ExceptionImplementation(message) { | 1037 _ExceptionImplementation(message) { |
| 1038 if (message === void 0) | 1038 if (message === void 0) |
| 1039 message = null; | 1039 message = null; |
| 1040 this.message = message; | 1040 this.message = message; |
| 1041 } | 1041 } |
| 1042 toString() { | 1042 toString() { |
| 1043 if (this.message == null) | 1043 if (this.message == null) |
| 1044 return "Exception"; | 1044 return "Exception"; |
| 1045 return `Exception: ${this.message}`; | 1045 return `Exception: ${this.message}`; |
| 1046 } | 1046 } |
| 1047 } | 1047 } |
| 1048 _ExceptionImplementation[dart.implements] = () => [Exception]; | 1048 _ExceptionImplementation[dart.implements] = () => [Exception]; |
| 1049 dart.setSignature(_ExceptionImplementation, { | 1049 dart.setSignature(_ExceptionImplementation, { |
| 1050 methods: () => ({toString: dart.functionType(String, [])}) | 1050 methods: () => ({toString: [String, []]}) |
| 1051 }); | 1051 }); |
| 1052 class FormatException extends Object { | 1052 class FormatException extends Object { |
| 1053 FormatException(message, source, offset) { | 1053 FormatException(message, source, offset) { |
| 1054 if (message === void 0) | 1054 if (message === void 0) |
| 1055 message = ""; | 1055 message = ""; |
| 1056 if (source === void 0) | 1056 if (source === void 0) |
| 1057 source = null; | 1057 source = null; |
| 1058 if (offset === void 0) | 1058 if (offset === void 0) |
| 1059 offset = -1; | 1059 offset = -1; |
| 1060 this.message = message; | 1060 this.message = message; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1132 prefix = postfix = "..."; | 1132 prefix = postfix = "..."; |
| 1133 } | 1133 } |
| 1134 } | 1134 } |
| 1135 let slice = dart.as(dart.dsend(this.source, 'substring', start, end), Stri
ng); | 1135 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); | 1136 let markOffset = dart.notNull(offset) - dart.notNull(start) + dart.notNull
(prefix.length); |
| 1137 return `${report}${prefix}${slice}${postfix}\n${" "['*'](markOffset)}^\n`; | 1137 return `${report}${prefix}${slice}${postfix}\n${" "['*'](markOffset)}^\n`; |
| 1138 } | 1138 } |
| 1139 } | 1139 } |
| 1140 FormatException[dart.implements] = () => [Exception]; | 1140 FormatException[dart.implements] = () => [Exception]; |
| 1141 dart.setSignature(FormatException, { | 1141 dart.setSignature(FormatException, { |
| 1142 methods: () => ({toString: dart.functionType(String, [])}) | 1142 methods: () => ({toString: [String, []]}) |
| 1143 }); | 1143 }); |
| 1144 class IntegerDivisionByZeroException extends Object { | 1144 class IntegerDivisionByZeroException extends Object { |
| 1145 IntegerDivisionByZeroException() { | 1145 IntegerDivisionByZeroException() { |
| 1146 } | 1146 } |
| 1147 toString() { | 1147 toString() { |
| 1148 return "IntegerDivisionByZeroException"; | 1148 return "IntegerDivisionByZeroException"; |
| 1149 } | 1149 } |
| 1150 } | 1150 } |
| 1151 IntegerDivisionByZeroException[dart.implements] = () => [Exception]; | 1151 IntegerDivisionByZeroException[dart.implements] = () => [Exception]; |
| 1152 dart.setSignature(IntegerDivisionByZeroException, { | 1152 dart.setSignature(IntegerDivisionByZeroException, { |
| 1153 methods: () => ({toString: dart.functionType(String, [])}) | 1153 methods: () => ({toString: [String, []]}) |
| 1154 }); | 1154 }); |
| 1155 let _getKey = dart.JsSymbol('_getKey'); | 1155 let _getKey = dart.JsSymbol('_getKey'); |
| 1156 let Expando$ = dart.generic(function(T) { | 1156 let Expando$ = dart.generic(function(T) { |
| 1157 class Expando extends Object { | 1157 class Expando extends Object { |
| 1158 Expando(name) { | 1158 Expando(name) { |
| 1159 if (name === void 0) | 1159 if (name === void 0) |
| 1160 name = null; | 1160 name = null; |
| 1161 this.name = name; | 1161 this.name = name; |
| 1162 } | 1162 } |
| 1163 toString() { | 1163 toString() { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1184 Expando$()._keyCount = dart.notNull(x) + 1; | 1184 Expando$()._keyCount = dart.notNull(x) + 1; |
| 1185 return x; | 1185 return x; |
| 1186 })()}`; | 1186 })()}`; |
| 1187 _js_helper.Primitives.setProperty(this, Expando$()._KEY_PROPERTY_NAME,
key); | 1187 _js_helper.Primitives.setProperty(this, Expando$()._KEY_PROPERTY_NAME,
key); |
| 1188 } | 1188 } |
| 1189 return key; | 1189 return key; |
| 1190 } | 1190 } |
| 1191 } | 1191 } |
| 1192 dart.setSignature(Expando, { | 1192 dart.setSignature(Expando, { |
| 1193 methods: () => ({ | 1193 methods: () => ({ |
| 1194 toString: dart.functionType(String, []), | 1194 toString: [String, []], |
| 1195 get: dart.functionType(T, [Object]), | 1195 get: [T, [Object]], |
| 1196 set: dart.functionType(dart.void, [Object, T]), | 1196 set: [dart.void, [Object, T]], |
| 1197 [_getKey]: dart.functionType(String, []) | 1197 [_getKey]: [String, []] |
| 1198 }) | 1198 }) |
| 1199 }); | 1199 }); |
| 1200 return Expando; | 1200 return Expando; |
| 1201 }); | 1201 }); |
| 1202 let Expando = Expando$(); | 1202 let Expando = Expando$(); |
| 1203 Expando._KEY_PROPERTY_NAME = 'expando$key'; | 1203 Expando._KEY_PROPERTY_NAME = 'expando$key'; |
| 1204 Expando._EXPANDO_PROPERTY_NAME = 'expando$values'; | 1204 Expando._EXPANDO_PROPERTY_NAME = 'expando$values'; |
| 1205 Expando._keyCount = 0; | 1205 Expando._keyCount = 0; |
| 1206 class Function extends Object { | 1206 class Function extends Object { |
| 1207 static apply(f, positionalArguments, namedArguments) { | 1207 static apply(f, positionalArguments, namedArguments) { |
| 1208 if (namedArguments === void 0) | 1208 if (namedArguments === void 0) |
| 1209 namedArguments = null; | 1209 namedArguments = null; |
| 1210 return dart.dcall.apply(null, [f].concat(positionalArguments)); | 1210 return dart.dcall.apply(null, [f].concat(positionalArguments)); |
| 1211 } | 1211 } |
| 1212 static _toMangledNames(namedArguments) { | 1212 static _toMangledNames(namedArguments) { |
| 1213 let result = dart.map(); | 1213 let result = dart.map(); |
| 1214 namedArguments.forEach(dart.fn((symbol, value) => { | 1214 namedArguments.forEach(dart.fn((symbol, value) => { |
| 1215 result.set(_symbolToString(dart.as(symbol, Symbol)), value); | 1215 result.set(_symbolToString(dart.as(symbol, Symbol)), value); |
| 1216 })); | 1216 })); |
| 1217 return result; | 1217 return result; |
| 1218 } | 1218 } |
| 1219 } | 1219 } |
| 1220 dart.setSignature(Function, { | 1220 dart.setSignature(Function, { |
| 1221 statics: () => ({ | 1221 statics: () => ({ |
| 1222 apply: dart.functionType(dart.dynamic, [Function, List], [Map$(Symbol, dar
t.dynamic)]), | 1222 apply: [dart.dynamic, [Function, List], [Map$(Symbol, dart.dynamic)]], |
| 1223 _toMangledNames: dart.functionType(Map$(String, dart.dynamic), [Map$(Symbo
l, dart.dynamic)]) | 1223 _toMangledNames: [Map$(String, dart.dynamic), [Map$(Symbol, dart.dynamic)]
] |
| 1224 }), | 1224 }), |
| 1225 names: ['apply', '_toMangledNames'] | 1225 names: ['apply', '_toMangledNames'] |
| 1226 }); | 1226 }); |
| 1227 function identical(a, b) { | 1227 function identical(a, b) { |
| 1228 return _js_helper.Primitives.identicalImplementation(a, b); | 1228 return _js_helper.Primitives.identicalImplementation(a, b); |
| 1229 } | 1229 } |
| 1230 dart.fn(identical, bool, [Object, Object]); | 1230 dart.fn(identical, bool, [Object, Object]); |
| 1231 function identityHashCode(object) { | 1231 function identityHashCode(object) { |
| 1232 return _js_helper.objectHashCode(object); | 1232 return _js_helper.objectHashCode(object); |
| 1233 } | 1233 } |
| 1234 dart.fn(identityHashCode, () => dart.functionType(int, [Object])); | 1234 dart.fn(identityHashCode, () => dart.functionType(int, [Object])); |
| 1235 class int extends num { | 1235 class int extends num { |
| 1236 fromEnvironment(name, opts) { | 1236 fromEnvironment(name, opts) { |
| 1237 let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : nu
ll; | 1237 let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : nu
ll; |
| 1238 throw new UnsupportedError('int.fromEnvironment can only be used as a cons
t constructor'); | 1238 throw new UnsupportedError('int.fromEnvironment can only be used as a cons
t constructor'); |
| 1239 } | 1239 } |
| 1240 static parse(source, opts) { | 1240 static parse(source, opts) { |
| 1241 let radix = opts && 'radix' in opts ? opts.radix : null; | 1241 let radix = opts && 'radix' in opts ? opts.radix : null; |
| 1242 let onError = opts && 'onError' in opts ? opts.onError : null; | 1242 let onError = opts && 'onError' in opts ? opts.onError : null; |
| 1243 return _js_helper.Primitives.parseInt(source, radix, onError); | 1243 return _js_helper.Primitives.parseInt(source, radix, onError); |
| 1244 } | 1244 } |
| 1245 } | 1245 } |
| 1246 dart.defineNamedConstructor(int, 'fromEnvironment'); | 1246 dart.defineNamedConstructor(int, 'fromEnvironment'); |
| 1247 dart.setSignature(int, { | 1247 dart.setSignature(int, { |
| 1248 statics: () => ({parse: dart.functionType(int, [String], {adi: int, nErro: d
art.functionType(int, [String])})}), | 1248 statics: () => ({parse: [int, [String], {adi: int, nErro: dart.functionType(
int, [String])}]}), |
| 1249 names: ['parse'] | 1249 names: ['parse'] |
| 1250 }); | 1250 }); |
| 1251 class Invocation extends Object { | 1251 class Invocation extends Object { |
| 1252 get isAccessor() { | 1252 get isAccessor() { |
| 1253 return dart.notNull(this.isGetter) || dart.notNull(this.isSetter); | 1253 return dart.notNull(this.isGetter) || dart.notNull(this.isSetter); |
| 1254 } | 1254 } |
| 1255 } | 1255 } |
| 1256 dart.setSignature(Invocation, {}); | 1256 dart.setSignature(Invocation, {}); |
| 1257 let $iterator = dart.JsSymbol('$iterator'); | 1257 let $iterator = dart.JsSymbol('$iterator'); |
| 1258 let $join = dart.JsSymbol('$join'); | 1258 let $join = dart.JsSymbol('$join'); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1273 [$join](separator) { | 1273 [$join](separator) { |
| 1274 if (separator === void 0) | 1274 if (separator === void 0) |
| 1275 separator = ""; | 1275 separator = ""; |
| 1276 let buffer = new StringBuffer(); | 1276 let buffer = new StringBuffer(); |
| 1277 buffer.writeAll(this, separator); | 1277 buffer.writeAll(this, separator); |
| 1278 return dart.toString(buffer); | 1278 return dart.toString(buffer); |
| 1279 } | 1279 } |
| 1280 } | 1280 } |
| 1281 dart.defineNamedConstructor(Iterable, 'generate'); | 1281 dart.defineNamedConstructor(Iterable, 'generate'); |
| 1282 dart.setSignature(Iterable, { | 1282 dart.setSignature(Iterable, { |
| 1283 methods: () => ({[$join]: dart.functionType(String, [], [String])}) | 1283 methods: () => ({[$join]: [String, [], [String]]}) |
| 1284 }); | 1284 }); |
| 1285 return Iterable; | 1285 return Iterable; |
| 1286 }); | 1286 }); |
| 1287 let Iterable = Iterable$(); | 1287 let Iterable = Iterable$(); |
| 1288 let _Generator$ = dart.generic(function(E) { | 1288 let _Generator$ = dart.generic(function(E) { |
| 1289 let _Generator = dart.typedef('_Generator', () => dart.functionType(E, [int]
)); | 1289 let _Generator = dart.typedef('_Generator', () => dart.functionType(E, [int]
)); |
| 1290 return _Generator; | 1290 return _Generator; |
| 1291 }); | 1291 }); |
| 1292 let _Generator = _Generator$(); | 1292 let _Generator = _Generator$(); |
| 1293 let _end = dart.JsSymbol('_end'); | 1293 let _end = dart.JsSymbol('_end'); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1334 return new (exports._GeneratorIterable$(E)).slice(this[_start], newEnd,
this[_generator]); | 1334 return new (exports._GeneratorIterable$(E)).slice(this[_start], newEnd,
this[_generator]); |
| 1335 } | 1335 } |
| 1336 static _id(n) { | 1336 static _id(n) { |
| 1337 return n; | 1337 return n; |
| 1338 } | 1338 } |
| 1339 } | 1339 } |
| 1340 _GeneratorIterable[dart.implements] = () => [_internal.EfficientLength]; | 1340 _GeneratorIterable[dart.implements] = () => [_internal.EfficientLength]; |
| 1341 dart.defineNamedConstructor(_GeneratorIterable, 'slice'); | 1341 dart.defineNamedConstructor(_GeneratorIterable, 'slice'); |
| 1342 dart.setSignature(_GeneratorIterable, { | 1342 dart.setSignature(_GeneratorIterable, { |
| 1343 methods: () => ({ | 1343 methods: () => ({ |
| 1344 [$skip]: dart.functionType(Iterable$(E), [int]), | 1344 [$skip]: [Iterable$(E), [int]], |
| 1345 [$take]: dart.functionType(Iterable$(E), [int]) | 1345 [$take]: [Iterable$(E), [int]] |
| 1346 }), | 1346 }), |
| 1347 statics: () => ({_id: dart.functionType(int, [int])}), | 1347 statics: () => ({_id: [int, [int]]}), |
| 1348 names: ['_id'] | 1348 names: ['_id'] |
| 1349 }); | 1349 }); |
| 1350 return _GeneratorIterable; | 1350 return _GeneratorIterable; |
| 1351 }); | 1351 }); |
| 1352 dart.defineLazyClassGeneric(exports, '_GeneratorIterable', {get: _GeneratorIte
rable$}); | 1352 dart.defineLazyClassGeneric(exports, '_GeneratorIterable', {get: _GeneratorIte
rable$}); |
| 1353 let _index = dart.JsSymbol('_index'); | 1353 let _index = dart.JsSymbol('_index'); |
| 1354 let _current = dart.JsSymbol('_current'); | 1354 let _current = dart.JsSymbol('_current'); |
| 1355 let _GeneratorIterator$ = dart.generic(function(E) { | 1355 let _GeneratorIterator$ = dart.generic(function(E) { |
| 1356 class _GeneratorIterator extends Object { | 1356 class _GeneratorIterator extends Object { |
| 1357 _GeneratorIterator(index, end, generator) { | 1357 _GeneratorIterator(index, end, generator) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1369 this[_current] = null; | 1369 this[_current] = null; |
| 1370 return false; | 1370 return false; |
| 1371 } | 1371 } |
| 1372 } | 1372 } |
| 1373 get current() { | 1373 get current() { |
| 1374 return this[_current]; | 1374 return this[_current]; |
| 1375 } | 1375 } |
| 1376 } | 1376 } |
| 1377 _GeneratorIterator[dart.implements] = () => [Iterator$(E)]; | 1377 _GeneratorIterator[dart.implements] = () => [Iterator$(E)]; |
| 1378 dart.setSignature(_GeneratorIterator, { | 1378 dart.setSignature(_GeneratorIterator, { |
| 1379 methods: () => ({moveNext: dart.functionType(bool, [])}) | 1379 methods: () => ({moveNext: [bool, []]}) |
| 1380 }); | 1380 }); |
| 1381 return _GeneratorIterator; | 1381 return _GeneratorIterator; |
| 1382 }); | 1382 }); |
| 1383 let _GeneratorIterator = _GeneratorIterator$(); | 1383 let _GeneratorIterator = _GeneratorIterator$(); |
| 1384 let BidirectionalIterator$ = dart.generic(function(E) { | 1384 let BidirectionalIterator$ = dart.generic(function(E) { |
| 1385 class BidirectionalIterator extends Object {} | 1385 class BidirectionalIterator extends Object {} |
| 1386 BidirectionalIterator[dart.implements] = () => [Iterator$(E)]; | 1386 BidirectionalIterator[dart.implements] = () => [Iterator$(E)]; |
| 1387 dart.setSignature(BidirectionalIterator, {}); | 1387 dart.setSignature(BidirectionalIterator, {}); |
| 1388 return BidirectionalIterator; | 1388 return BidirectionalIterator; |
| 1389 }); | 1389 }); |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1804 return new (_internal.IterableMixinWorkaround$(E))().asMapList(this); | 1804 return new (_internal.IterableMixinWorkaround$(E))().asMapList(this); |
| 1805 } | 1805 } |
| 1806 } | 1806 } |
| 1807 dart.setBaseClass(List, dart.global.Array); | 1807 dart.setBaseClass(List, dart.global.Array); |
| 1808 List[dart.implements] = () => [Iterable$(E), _internal.EfficientLength]; | 1808 List[dart.implements] = () => [Iterable$(E), _internal.EfficientLength]; |
| 1809 dart.defineNamedConstructor(List, 'filled'); | 1809 dart.defineNamedConstructor(List, 'filled'); |
| 1810 dart.defineNamedConstructor(List, 'from'); | 1810 dart.defineNamedConstructor(List, 'from'); |
| 1811 dart.defineNamedConstructor(List, 'generate'); | 1811 dart.defineNamedConstructor(List, 'generate'); |
| 1812 dart.setSignature(List, { | 1812 dart.setSignature(List, { |
| 1813 methods: () => ({ | 1813 methods: () => ({ |
| 1814 [$checkMutable]: dart.functionType(dart.dynamic, [dart.dynamic]), | 1814 [$checkMutable]: [dart.dynamic, [dart.dynamic]], |
| 1815 [$checkGrowable]: dart.functionType(dart.dynamic, [dart.dynamic]), | 1815 [$checkGrowable]: [dart.dynamic, [dart.dynamic]], |
| 1816 [$where]: dart.functionType(Iterable$(E), [dart.functionType(bool, [E])]
), | 1816 [$where]: [Iterable$(E), [dart.functionType(bool, [E])]], |
| 1817 [$expand]: dart.functionType(Iterable, [dart.functionType(Iterable, [E])
]), | 1817 [$expand]: [Iterable, [dart.functionType(Iterable, [E])]], |
| 1818 [$forEach]: dart.functionType(dart.void, [dart.functionType(dart.void, [
E])]), | 1818 [$forEach]: [dart.void, [dart.functionType(dart.void, [E])]], |
| 1819 [$map]: dart.functionType(Iterable, [dart.functionType(dart.dynamic, [E]
)]), | 1819 [$map]: [Iterable, [dart.functionType(dart.dynamic, [E])]], |
| 1820 [$join]: dart.functionType(String, [], [String]), | 1820 [$join]: [String, [], [String]], |
| 1821 [$take]: dart.functionType(Iterable$(E), [int]), | 1821 [$take]: [Iterable$(E), [int]], |
| 1822 [$takeWhile]: dart.functionType(Iterable$(E), [dart.functionType(bool, [
E])]), | 1822 [$takeWhile]: [Iterable$(E), [dart.functionType(bool, [E])]], |
| 1823 [$skip]: dart.functionType(Iterable$(E), [int]), | 1823 [$skip]: [Iterable$(E), [int]], |
| 1824 [$skipWhile]: dart.functionType(Iterable$(E), [dart.functionType(bool, [
E])]), | 1824 [$skipWhile]: [Iterable$(E), [dart.functionType(bool, [E])]], |
| 1825 [$reduce]: dart.functionType(E, [dart.functionType(E, [E, E])]), | 1825 [$reduce]: [E, [dart.functionType(E, [E, E])]], |
| 1826 [$fold]: dart.functionType(dart.dynamic, [dart.dynamic, dart.functionTyp
e(dart.dynamic, [dart.dynamic, E])]), | 1826 [$fold]: [dart.dynamic, [dart.dynamic, dart.functionType(dart.dynamic, [
dart.dynamic, E])]], |
| 1827 [$firstWhere]: dart.functionType(E, [dart.functionType(bool, [E])], {rEl
s: dart.functionType(E, [])}), | 1827 [$firstWhere]: [E, [dart.functionType(bool, [E])], {rEls: dart.functionT
ype(E, [])}], |
| 1828 [$lastWhere]: dart.functionType(E, [dart.functionType(bool, [E])], {rEls
: dart.functionType(E, [])}), | 1828 [$lastWhere]: [E, [dart.functionType(bool, [E])], {rEls: dart.functionTy
pe(E, [])}], |
| 1829 [$singleWhere]: dart.functionType(E, [dart.functionType(bool, [E])]), | 1829 [$singleWhere]: [E, [dart.functionType(bool, [E])]], |
| 1830 [$elementAt]: dart.functionType(E, [int]), | 1830 [$elementAt]: [E, [int]], |
| 1831 [$any]: dart.functionType(bool, [dart.functionType(bool, [E])]), | 1831 [$any]: [bool, [dart.functionType(bool, [E])]], |
| 1832 [$every]: dart.functionType(bool, [dart.functionType(bool, [E])]), | 1832 [$every]: [bool, [dart.functionType(bool, [E])]], |
| 1833 [$contains]: dart.functionType(bool, [Object]), | 1833 [$contains]: [bool, [Object]], |
| 1834 [$toString]: dart.functionType(String, []), | 1834 [$toString]: [String, []], |
| 1835 [$toList]: dart.functionType(List$(E), [], {rowabl: bool}), | 1835 [$toList]: [List$(E), [], {rowabl: bool}], |
| 1836 [$toSet]: dart.functionType(exports.Set$(E), []), | 1836 [$toSet]: [exports.Set$(E), []], |
| 1837 [$get]: dart.functionType(E, [int]), | 1837 [$get]: [E, [int]], |
| 1838 [$set]: dart.functionType(dart.void, [int, E]), | 1838 [$set]: [dart.void, [int, E]], |
| 1839 [$add]: dart.functionType(dart.void, [E]), | 1839 [$add]: [dart.void, [E]], |
| 1840 [$addAll]: dart.functionType(dart.void, [Iterable$(E)]), | 1840 [$addAll]: [dart.void, [Iterable$(E)]], |
| 1841 [$sort]: dart.functionType(dart.void, [], [dart.functionType(int, [E, E]
)]), | 1841 [$sort]: [dart.void, [], [dart.functionType(int, [E, E])]], |
| 1842 [$shuffle]: dart.functionType(dart.void, [], [math.Random]), | 1842 [$shuffle]: [dart.void, [], [math.Random]], |
| 1843 [$indexOf]: dart.functionType(int, [E], [int]), | 1843 [$indexOf]: [int, [E], [int]], |
| 1844 [$lastIndexOf]: dart.functionType(int, [E], [int]), | 1844 [$lastIndexOf]: [int, [E], [int]], |
| 1845 [$clear]: dart.functionType(dart.void, []), | 1845 [$clear]: [dart.void, []], |
| 1846 [$insert]: dart.functionType(dart.void, [int, E]), | 1846 [$insert]: [dart.void, [int, E]], |
| 1847 [$insertAll]: dart.functionType(dart.void, [int, Iterable$(E)]), | 1847 [$insertAll]: [dart.void, [int, Iterable$(E)]], |
| 1848 [$setAll]: dart.functionType(dart.void, [int, Iterable$(E)]), | 1848 [$setAll]: [dart.void, [int, Iterable$(E)]], |
| 1849 [$remove]: dart.functionType(bool, [Object]), | 1849 [$remove]: [bool, [Object]], |
| 1850 [$removeAt]: dart.functionType(E, [int]), | 1850 [$removeAt]: [E, [int]], |
| 1851 [$removeLast]: dart.functionType(E, []), | 1851 [$removeLast]: [E, []], |
| 1852 [$removeWhere]: dart.functionType(dart.void, [dart.functionType(bool, [E
])]), | 1852 [$removeWhere]: [dart.void, [dart.functionType(bool, [E])]], |
| 1853 [$retainWhere]: dart.functionType(dart.void, [dart.functionType(bool, [E
])]), | 1853 [$retainWhere]: [dart.void, [dart.functionType(bool, [E])]], |
| 1854 [$sublist]: dart.functionType(List$(E), [int], [int]), | 1854 [$sublist]: [List$(E), [int], [int]], |
| 1855 [$getRange]: dart.functionType(Iterable$(E), [int, int]), | 1855 [$getRange]: [Iterable$(E), [int, int]], |
| 1856 [$setRange]: dart.functionType(dart.void, [int, int, Iterable$(E)], [int
]), | 1856 [$setRange]: [dart.void, [int, int, Iterable$(E)], [int]], |
| 1857 [$removeRange]: dart.functionType(dart.void, [int, int]), | 1857 [$removeRange]: [dart.void, [int, int]], |
| 1858 [$fillRange]: dart.functionType(dart.void, [int, int], [E]), | 1858 [$fillRange]: [dart.void, [int, int], [E]], |
| 1859 [$replaceRange]: dart.functionType(dart.void, [int, int, Iterable$(E)]), | 1859 [$replaceRange]: [dart.void, [int, int, Iterable$(E)]], |
| 1860 [$asMap]: dart.functionType(Map$(int, E), []) | 1860 [$asMap]: [Map$(int, E), []] |
| 1861 }) | 1861 }) |
| 1862 }); | 1862 }); |
| 1863 return List; | 1863 return List; |
| 1864 }); | 1864 }); |
| 1865 let List = List$(); | 1865 let List = List$(); |
| 1866 dart.registerExtension(dart.global.Array, List); | 1866 dart.registerExtension(dart.global.Array, List); |
| 1867 let Map$ = dart.generic(function(K, V) { | 1867 let Map$ = dart.generic(function(K, V) { |
| 1868 class Map extends Object { | 1868 class Map extends Object { |
| 1869 Map() { | 1869 Map() { |
| 1870 return new (collection.LinkedHashMap$(K, V))(); | 1870 return new (collection.LinkedHashMap$(K, V))(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1893 class Null extends Object { | 1893 class Null extends Object { |
| 1894 _uninstantiable() { | 1894 _uninstantiable() { |
| 1895 throw new UnsupportedError('class Null cannot be instantiated'); | 1895 throw new UnsupportedError('class Null cannot be instantiated'); |
| 1896 } | 1896 } |
| 1897 toString() { | 1897 toString() { |
| 1898 return "null"; | 1898 return "null"; |
| 1899 } | 1899 } |
| 1900 } | 1900 } |
| 1901 dart.defineNamedConstructor(Null, '_uninstantiable'); | 1901 dart.defineNamedConstructor(Null, '_uninstantiable'); |
| 1902 dart.setSignature(Null, { | 1902 dart.setSignature(Null, { |
| 1903 methods: () => ({toString: dart.functionType(String, [])}) | 1903 methods: () => ({toString: [String, []]}) |
| 1904 }); | 1904 }); |
| 1905 num._parseError = false; | 1905 num._parseError = false; |
| 1906 class Pattern extends Object {} | 1906 class Pattern extends Object {} |
| 1907 dart.setSignature(Pattern, {}); | 1907 dart.setSignature(Pattern, {}); |
| 1908 function print(object) { | 1908 function print(object) { |
| 1909 let line = `${object}`; | 1909 let line = `${object}`; |
| 1910 if (_internal.printToZone == null) { | 1910 if (_internal.printToZone == null) { |
| 1911 _internal.printToConsole(line); | 1911 _internal.printToConsole(line); |
| 1912 } else { | 1912 } else { |
| 1913 dart.dcall(_internal.printToZone, line); | 1913 dart.dcall(_internal.printToZone, line); |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2006 static _initTicker() { | 2006 static _initTicker() { |
| 2007 _js_helper.Primitives.initTicker(); | 2007 _js_helper.Primitives.initTicker(); |
| 2008 Stopwatch._frequency = _js_helper.Primitives.timerFrequency; | 2008 Stopwatch._frequency = _js_helper.Primitives.timerFrequency; |
| 2009 } | 2009 } |
| 2010 static _now() { | 2010 static _now() { |
| 2011 return dart.as(dart.dcall(_js_helper.Primitives.timerTicks), int); | 2011 return dart.as(dart.dcall(_js_helper.Primitives.timerTicks), int); |
| 2012 } | 2012 } |
| 2013 } | 2013 } |
| 2014 dart.setSignature(Stopwatch, { | 2014 dart.setSignature(Stopwatch, { |
| 2015 methods: () => ({ | 2015 methods: () => ({ |
| 2016 start: dart.functionType(dart.void, []), | 2016 start: [dart.void, []], |
| 2017 stop: dart.functionType(dart.void, []), | 2017 stop: [dart.void, []], |
| 2018 reset: dart.functionType(dart.void, []) | 2018 reset: [dart.void, []] |
| 2019 }), | 2019 }), |
| 2020 statics: () => ({ | 2020 statics: () => ({ |
| 2021 _initTicker: dart.functionType(dart.void, []), | 2021 _initTicker: [dart.void, []], |
| 2022 _now: dart.functionType(int, []) | 2022 _now: [int, []] |
| 2023 }), | 2023 }), |
| 2024 names: ['_initTicker', '_now'] | 2024 names: ['_initTicker', '_now'] |
| 2025 }); | 2025 }); |
| 2026 Stopwatch._frequency = null; | 2026 Stopwatch._frequency = null; |
| 2027 class String extends Object { | 2027 class String extends Object { |
| 2028 fromCharCodes(charCodes, start, end) { | 2028 fromCharCodes(charCodes, start, end) { |
| 2029 if (start === void 0) | 2029 if (start === void 0) |
| 2030 start = 0; | 2030 start = 0; |
| 2031 if (end === void 0) | 2031 if (end === void 0) |
| 2032 end = null; | 2032 end = null; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2080 } | 2080 } |
| 2081 } | 2081 } |
| 2082 return _js_helper.Primitives.stringFromCharCodes(list); | 2082 return _js_helper.Primitives.stringFromCharCodes(list); |
| 2083 } | 2083 } |
| 2084 } | 2084 } |
| 2085 String[dart.implements] = () => [Comparable$(String), Pattern]; | 2085 String[dart.implements] = () => [Comparable$(String), Pattern]; |
| 2086 dart.defineNamedConstructor(String, 'fromCharCodes'); | 2086 dart.defineNamedConstructor(String, 'fromCharCodes'); |
| 2087 dart.defineNamedConstructor(String, 'fromCharCode'); | 2087 dart.defineNamedConstructor(String, 'fromCharCode'); |
| 2088 dart.defineNamedConstructor(String, 'fromEnvironment'); | 2088 dart.defineNamedConstructor(String, 'fromEnvironment'); |
| 2089 dart.setSignature(String, { | 2089 dart.setSignature(String, { |
| 2090 statics: () => ({_stringFromIterable: dart.functionType(String, [Iterable$(i
nt), int, int])}), | 2090 statics: () => ({_stringFromIterable: [String, [Iterable$(int), int, int]]})
, |
| 2091 names: ['_stringFromIterable'] | 2091 names: ['_stringFromIterable'] |
| 2092 }); | 2092 }); |
| 2093 dart.defineLazyClass(exports, { | 2093 dart.defineLazyClass(exports, { |
| 2094 get Runes() { | 2094 get Runes() { |
| 2095 class Runes extends collection.IterableBase$(int) { | 2095 class Runes extends collection.IterableBase$(int) { |
| 2096 Runes(string) { | 2096 Runes(string) { |
| 2097 this.string = string; | 2097 this.string = string; |
| 2098 super.IterableBase(); | 2098 super.IterableBase(); |
| 2099 } | 2099 } |
| 2100 get [$iterator]() { | 2100 get [$iterator]() { |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2222 } | 2222 } |
| 2223 this[_position] = position; | 2223 this[_position] = position; |
| 2224 this[_currentCodePoint] = codeUnit; | 2224 this[_currentCodePoint] = codeUnit; |
| 2225 return true; | 2225 return true; |
| 2226 } | 2226 } |
| 2227 } | 2227 } |
| 2228 RuneIterator[dart.implements] = () => [BidirectionalIterator$(int)]; | 2228 RuneIterator[dart.implements] = () => [BidirectionalIterator$(int)]; |
| 2229 dart.defineNamedConstructor(RuneIterator, 'at'); | 2229 dart.defineNamedConstructor(RuneIterator, 'at'); |
| 2230 dart.setSignature(RuneIterator, { | 2230 dart.setSignature(RuneIterator, { |
| 2231 methods: () => ({ | 2231 methods: () => ({ |
| 2232 [_checkSplitSurrogate]: dart.functionType(dart.void, [int]), | 2232 [_checkSplitSurrogate]: [dart.void, [int]], |
| 2233 reset: dart.functionType(dart.void, [], [int]), | 2233 reset: [dart.void, [], [int]], |
| 2234 moveNext: dart.functionType(bool, []), | 2234 moveNext: [bool, []], |
| 2235 movePrevious: dart.functionType(bool, []) | 2235 movePrevious: [bool, []] |
| 2236 }) | 2236 }) |
| 2237 }); | 2237 }); |
| 2238 let _contents = dart.JsSymbol('_contents'); | 2238 let _contents = dart.JsSymbol('_contents'); |
| 2239 let _writeString = dart.JsSymbol('_writeString'); | 2239 let _writeString = dart.JsSymbol('_writeString'); |
| 2240 class StringBuffer extends Object { | 2240 class StringBuffer extends Object { |
| 2241 StringBuffer(content) { | 2241 StringBuffer(content) { |
| 2242 if (content === void 0) | 2242 if (content === void 0) |
| 2243 content = ""; | 2243 content = ""; |
| 2244 this[_contents] = `${content}`; | 2244 this[_contents] = `${content}`; |
| 2245 } | 2245 } |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2288 toString() { | 2288 toString() { |
| 2289 return _js_helper.Primitives.flattenString(this[_contents]); | 2289 return _js_helper.Primitives.flattenString(this[_contents]); |
| 2290 } | 2290 } |
| 2291 [_writeString](str) { | 2291 [_writeString](str) { |
| 2292 this[_contents] = _js_helper.Primitives.stringConcatUnchecked(this[_conten
ts], dart.as(str, String)); | 2292 this[_contents] = _js_helper.Primitives.stringConcatUnchecked(this[_conten
ts], dart.as(str, String)); |
| 2293 } | 2293 } |
| 2294 } | 2294 } |
| 2295 StringBuffer[dart.implements] = () => [StringSink]; | 2295 StringBuffer[dart.implements] = () => [StringSink]; |
| 2296 dart.setSignature(StringBuffer, { | 2296 dart.setSignature(StringBuffer, { |
| 2297 methods: () => ({ | 2297 methods: () => ({ |
| 2298 write: dart.functionType(dart.void, [Object]), | 2298 write: [dart.void, [Object]], |
| 2299 writeCharCode: dart.functionType(dart.void, [int]), | 2299 writeCharCode: [dart.void, [int]], |
| 2300 writeAll: dart.functionType(dart.void, [Iterable], [String]), | 2300 writeAll: [dart.void, [Iterable], [String]], |
| 2301 writeln: dart.functionType(dart.void, [], [Object]), | 2301 writeln: [dart.void, [], [Object]], |
| 2302 clear: dart.functionType(dart.void, []), | 2302 clear: [dart.void, []], |
| 2303 toString: dart.functionType(String, []), | 2303 toString: [String, []], |
| 2304 [_writeString]: dart.functionType(dart.void, [dart.dynamic]) | 2304 [_writeString]: [dart.void, [dart.dynamic]] |
| 2305 }) | 2305 }) |
| 2306 }); | 2306 }); |
| 2307 class StringSink extends Object {} | 2307 class StringSink extends Object {} |
| 2308 dart.setSignature(StringSink, {}); | 2308 dart.setSignature(StringSink, {}); |
| 2309 class Symbol extends Object { | 2309 class Symbol extends Object { |
| 2310 Symbol(name) { | 2310 Symbol(name) { |
| 2311 return new _internal.Symbol(name); | 2311 return new _internal.Symbol(name); |
| 2312 } | 2312 } |
| 2313 } | 2313 } |
| 2314 dart.setSignature(Symbol, {}); | 2314 dart.setSignature(Symbol, {}); |
| (...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3574 static _isAlphabeticCharacter(codeUnit) { | 3574 static _isAlphabeticCharacter(codeUnit) { |
| 3575 return dart.notNull(codeUnit) >= dart.notNull(Uri._LOWER_CASE_A) && dart.n
otNull(codeUnit) <= dart.notNull(Uri._LOWER_CASE_Z) || dart.notNull(codeUnit) >=
dart.notNull(Uri._UPPER_CASE_A) && dart.notNull(codeUnit) <= dart.notNull(Uri._
UPPER_CASE_Z); | 3575 return dart.notNull(codeUnit) >= dart.notNull(Uri._LOWER_CASE_A) && dart.n
otNull(codeUnit) <= dart.notNull(Uri._LOWER_CASE_Z) || dart.notNull(codeUnit) >=
dart.notNull(Uri._UPPER_CASE_A) && dart.notNull(codeUnit) <= dart.notNull(Uri._
UPPER_CASE_Z); |
| 3576 } | 3576 } |
| 3577 } | 3577 } |
| 3578 dart.defineNamedConstructor(Uri, '_internal'); | 3578 dart.defineNamedConstructor(Uri, '_internal'); |
| 3579 dart.defineNamedConstructor(Uri, 'http'); | 3579 dart.defineNamedConstructor(Uri, 'http'); |
| 3580 dart.defineNamedConstructor(Uri, 'https'); | 3580 dart.defineNamedConstructor(Uri, 'https'); |
| 3581 dart.defineNamedConstructor(Uri, 'file'); | 3581 dart.defineNamedConstructor(Uri, 'file'); |
| 3582 dart.setSignature(Uri, { | 3582 dart.setSignature(Uri, { |
| 3583 methods: () => ({ | 3583 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}), | 3584 replace: [Uri, [], {chem: String, serInf: String, os: String, or: int, at:
String, athSegment: Iterable$(String), uer: String, ueryParameter: Map$(String,
String), ragmen: String}], |
| 3585 [_merge]: dart.functionType(String, [String, String]), | 3585 [_merge]: [String, [String, String]], |
| 3586 [_hasDotSegments]: dart.functionType(bool, [String]), | 3586 [_hasDotSegments]: [bool, [String]], |
| 3587 [_removeDotSegments]: dart.functionType(String, [String]), | 3587 [_removeDotSegments]: [String, [String]], |
| 3588 resolve: dart.functionType(Uri, [String]), | 3588 resolve: [Uri, [String]], |
| 3589 resolveUri: dart.functionType(Uri, [Uri]), | 3589 resolveUri: [Uri, [Uri]], |
| 3590 toFilePath: dart.functionType(String, [], {indow: bool}), | 3590 toFilePath: [String, [], {indow: bool}], |
| 3591 [_toFilePath]: dart.functionType(String, []), | 3591 [_toFilePath]: [String, []], |
| 3592 [_toWindowsFilePath]: dart.functionType(String, []), | 3592 [_toWindowsFilePath]: [String, []], |
| 3593 [_writeAuthority]: dart.functionType(dart.void, [StringSink]), | 3593 [_writeAuthority]: [dart.void, [StringSink]], |
| 3594 toString: dart.functionType(String, []), | 3594 toString: [String, []], |
| 3595 '==': dart.functionType(bool, [dart.dynamic]) | 3595 '==': [bool, [dart.dynamic]] |
| 3596 }), | 3596 }), |
| 3597 statics: () => ({ | 3597 statics: () => ({ |
| 3598 _defaultPort: dart.functionType(int, [String]), | 3598 _defaultPort: [int, [String]], |
| 3599 parse: dart.functionType(Uri, [String]), | 3599 parse: [Uri, [String]], |
| 3600 _fail: dart.functionType(dart.void, [String, int, String]), | 3600 _fail: [dart.void, [String, int, String]], |
| 3601 _makeHttpUri: dart.functionType(Uri, [String, String, String, Map$(String,
String)]), | 3601 _makeHttpUri: [Uri, [String, String, String, Map$(String, String)]], |
| 3602 _checkNonWindowsPathReservedCharacters: dart.functionType(dart.dynamic, [L
ist$(String), bool]), | 3602 _checkNonWindowsPathReservedCharacters: [dart.dynamic, [List$(String), boo
l]], |
| 3603 _checkWindowsPathReservedCharacters: dart.functionType(dart.dynamic, [List
$(String), bool], [int]), | 3603 _checkWindowsPathReservedCharacters: [dart.dynamic, [List$(String), bool],
[int]], |
| 3604 _checkWindowsDriveLetter: dart.functionType(dart.dynamic, [int, bool]), | 3604 _checkWindowsDriveLetter: [dart.dynamic, [int, bool]], |
| 3605 _makeFileUri: dart.functionType(dart.dynamic, [String]), | 3605 _makeFileUri: [dart.dynamic, [String]], |
| 3606 _makeWindowsFileUrl: dart.functionType(dart.dynamic, [String]), | 3606 _makeWindowsFileUrl: [dart.dynamic, [String]], |
| 3607 _makePort: dart.functionType(int, [int, String]), | 3607 _makePort: [int, [int, String]], |
| 3608 _makeHost: dart.functionType(String, [String, int, int, bool]), | 3608 _makeHost: [String, [String, int, int, bool]], |
| 3609 _isRegNameChar: dart.functionType(bool, [int]), | 3609 _isRegNameChar: [bool, [int]], |
| 3610 _normalizeRegName: dart.functionType(String, [String, int, int]), | 3610 _normalizeRegName: [String, [String, int, int]], |
| 3611 _makeScheme: dart.functionType(String, [String, int]), | 3611 _makeScheme: [String, [String, int]], |
| 3612 _makeUserInfo: dart.functionType(String, [String, int, int]), | 3612 _makeUserInfo: [String, [String, int, int]], |
| 3613 _makePath: dart.functionType(String, [String, int, int, Iterable$(String),
bool, bool]), | 3613 _makePath: [String, [String, int, int, Iterable$(String), bool, bool]], |
| 3614 _makeQuery: dart.functionType(String, [String, int, int, Map$(String, Stri
ng)]), | 3614 _makeQuery: [String, [String, int, int, Map$(String, String)]], |
| 3615 _makeFragment: dart.functionType(String, [String, int, int]), | 3615 _makeFragment: [String, [String, int, int]], |
| 3616 _stringOrNullLength: dart.functionType(int, [String]), | 3616 _stringOrNullLength: [int, [String]], |
| 3617 _isHexDigit: dart.functionType(bool, [int]), | 3617 _isHexDigit: [bool, [int]], |
| 3618 _hexValue: dart.functionType(int, [int]), | 3618 _hexValue: [int, [int]], |
| 3619 _normalizeEscape: dart.functionType(String, [String, int, bool]), | 3619 _normalizeEscape: [String, [String, int, bool]], |
| 3620 _isUnreservedChar: dart.functionType(bool, [int]), | 3620 _isUnreservedChar: [bool, [int]], |
| 3621 _escapeChar: dart.functionType(String, [dart.dynamic]), | 3621 _escapeChar: [String, [dart.dynamic]], |
| 3622 _normalize: dart.functionType(String, [String, int, int, List$(int)]), | 3622 _normalize: [String, [String, int, int, List$(int)]], |
| 3623 _isSchemeCharacter: dart.functionType(bool, [int]), | 3623 _isSchemeCharacter: [bool, [int]], |
| 3624 _isGeneralDelimiter: dart.functionType(bool, [int]), | 3624 _isGeneralDelimiter: [bool, [int]], |
| 3625 _addIfNonEmpty: dart.functionType(dart.void, [StringBuffer, String, String
, String]), | 3625 _addIfNonEmpty: [dart.void, [StringBuffer, String, String, String]], |
| 3626 encodeComponent: dart.functionType(String, [String]), | 3626 encodeComponent: [String, [String]], |
| 3627 encodeQueryComponent: dart.functionType(String, [String], {ncodin: convert
.Encoding}), | 3627 encodeQueryComponent: [String, [String], {ncodin: convert.Encoding}], |
| 3628 decodeComponent: dart.functionType(String, [String]), | 3628 decodeComponent: [String, [String]], |
| 3629 decodeQueryComponent: dart.functionType(String, [String], {ncodin: convert
.Encoding}), | 3629 decodeQueryComponent: [String, [String], {ncodin: convert.Encoding}], |
| 3630 encodeFull: dart.functionType(String, [String]), | 3630 encodeFull: [String, [String]], |
| 3631 decodeFull: dart.functionType(String, [String]), | 3631 decodeFull: [String, [String]], |
| 3632 splitQueryString: dart.functionType(Map$(String, String), [String], {ncodi
n: convert.Encoding}), | 3632 splitQueryString: [Map$(String, String), [String], {ncodin: convert.Encodi
ng}], |
| 3633 parseIPv4Address: dart.functionType(List$(int), [String]), | 3633 parseIPv4Address: [List$(int), [String]], |
| 3634 parseIPv6Address: dart.functionType(List$(int), [String], [int, int]), | 3634 parseIPv6Address: [List$(int), [String], [int, int]], |
| 3635 _uriEncode: dart.functionType(String, [List$(int), String], {ncodin: conve
rt.Encoding, paceToPlu: bool}), | 3635 _uriEncode: [String, [List$(int), String], {ncodin: convert.Encoding, pace
ToPlu: bool}], |
| 3636 _hexCharPairToByte: dart.functionType(int, [String, int]), | 3636 _hexCharPairToByte: [int, [String, int]], |
| 3637 _uriDecode: dart.functionType(String, [String], {lusToSpac: bool, ncodin:
convert.Encoding}), | 3637 _uriDecode: [String, [String], {lusToSpac: bool, ncodin: convert.Encoding}
], |
| 3638 _isAlphabeticCharacter: dart.functionType(bool, [int]) | 3638 _isAlphabeticCharacter: [bool, [int]] |
| 3639 }), | 3639 }), |
| 3640 names: ['_defaultPort', 'parse', '_fail', '_makeHttpUri', '_checkNonWindowsP
athReservedCharacters', '_checkWindowsPathReservedCharacters', '_checkWindowsDri
veLetter', '_makeFileUri', '_makeWindowsFileUrl', '_makePort', '_makeHost', '_is
RegNameChar', '_normalizeRegName', '_makeScheme', '_makeUserInfo', '_makePath',
'_makeQuery', '_makeFragment', '_stringOrNullLength', '_isHexDigit', '_hexValue'
, '_normalizeEscape', '_isUnreservedChar', '_escapeChar', '_normalize', '_isSche
meCharacter', '_isGeneralDelimiter', '_addIfNonEmpty', 'encodeComponent', 'encod
eQueryComponent', 'decodeComponent', 'decodeQueryComponent', 'encodeFull', 'deco
deFull', 'splitQueryString', 'parseIPv4Address', 'parseIPv6Address', '_uriEncode
', '_hexCharPairToByte', '_uriDecode', '_isAlphabeticCharacter'] | 3640 names: ['_defaultPort', 'parse', '_fail', '_makeHttpUri', '_checkNonWindowsP
athReservedCharacters', '_checkWindowsPathReservedCharacters', '_checkWindowsDri
veLetter', '_makeFileUri', '_makeWindowsFileUrl', '_makePort', '_makeHost', '_is
RegNameChar', '_normalizeRegName', '_makeScheme', '_makeUserInfo', '_makePath',
'_makeQuery', '_makeFragment', '_stringOrNullLength', '_isHexDigit', '_hexValue'
, '_normalizeEscape', '_isUnreservedChar', '_escapeChar', '_normalize', '_isSche
meCharacter', '_isGeneralDelimiter', '_addIfNonEmpty', 'encodeComponent', 'encod
eQueryComponent', 'decodeComponent', 'decodeQueryComponent', 'encodeFull', 'deco
deFull', 'splitQueryString', 'parseIPv4Address', 'parseIPv6Address', '_uriEncode
', '_hexCharPairToByte', '_uriDecode', '_isAlphabeticCharacter'] |
| 3641 }); | 3641 }); |
| 3642 Uri._SPACE = 32; | 3642 Uri._SPACE = 32; |
| 3643 Uri._DOUBLE_QUOTE = 34; | 3643 Uri._DOUBLE_QUOTE = 34; |
| 3644 Uri._NUMBER_SIGN = 35; | 3644 Uri._NUMBER_SIGN = 35; |
| 3645 Uri._PERCENT = 37; | 3645 Uri._PERCENT = 37; |
| 3646 Uri._ASTERISK = 42; | 3646 Uri._ASTERISK = 42; |
| 3647 Uri._PLUS = 43; | 3647 Uri._PLUS = 43; |
| 3648 Uri._DOT = 46; | 3648 Uri._DOT = 46; |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3824 exports.Stopwatch = Stopwatch; | 3824 exports.Stopwatch = Stopwatch; |
| 3825 exports.String = String; | 3825 exports.String = String; |
| 3826 exports.RuneIterator = RuneIterator; | 3826 exports.RuneIterator = RuneIterator; |
| 3827 exports.StringBuffer = StringBuffer; | 3827 exports.StringBuffer = StringBuffer; |
| 3828 exports.StringSink = StringSink; | 3828 exports.StringSink = StringSink; |
| 3829 exports.Symbol = Symbol; | 3829 exports.Symbol = Symbol; |
| 3830 exports.Type = Type; | 3830 exports.Type = Type; |
| 3831 exports.Uri = Uri; | 3831 exports.Uri = Uri; |
| 3832 exports.SupportJsExtensionMethods = SupportJsExtensionMethods; | 3832 exports.SupportJsExtensionMethods = SupportJsExtensionMethods; |
| 3833 })(core, _js_helper, _internal, collection, _interceptors, math, convert); | 3833 })(core, _js_helper, _internal, collection, _interceptors, math, convert); |
| OLD | NEW |