| OLD | NEW |
| 1 var core; | 1 var core; |
| 2 (function(exports) { | 2 (function(exports) { |
| 3 'use strict'; | 3 'use strict'; |
| 4 let name$ = dart.JsSymbol('name'); |
| 4 class Object { | 5 class Object { |
| 5 constructor() { | 6 constructor() { |
| 6 let name = this.constructor.name; | 7 let name = this.constructor.name; |
| 7 let init = this[name]; | 8 let init = this[name]; |
| 8 let result = void 0; | 9 let result = void 0; |
| 9 if (init) | 10 if (init) |
| 10 result = init.apply(this, arguments); | 11 result = init.apply(this, arguments); |
| 11 return result === void 0 ? this : result; | 12 return result === void 0 ? this : result; |
| 12 } | 13 } |
| 13 ['=='](other) { | 14 ['=='](other) { |
| 14 return identical(this, other); | 15 return identical(this, other); |
| 15 } | 16 } |
| 16 get hashCode() { | 17 get hashCode() { |
| 17 return _js_helper.Primitives.objectHashCode(this); | 18 return _js_helper.Primitives.objectHashCode(this); |
| 18 } | 19 } |
| 19 toString() { | 20 toString() { |
| 20 return _js_helper.Primitives.objectToString(this); | 21 return _js_helper.Primitives.objectToString(this); |
| 21 } | 22 } |
| 22 noSuchMethod(invocation) { | 23 noSuchMethod(invocation) { |
| 23 throw new NoSuchMethodError(this, invocation.memberName, invocation.positi
onalArguments, invocation.namedArguments); | 24 throw new NoSuchMethodError(this, invocation.memberName, invocation.positi
onalArguments, invocation.namedArguments); |
| 24 } | 25 } |
| 25 get runtimeType() { | 26 get runtimeType() { |
| 26 return _js_helper.getRuntimeType(this); | 27 return _js_helper.getRuntimeType(this); |
| 27 } | 28 } |
| 28 } | 29 } |
| 29 class JsName extends Object { | 30 class JsName extends Object { |
| 31 get name() { |
| 32 return this[name$]; |
| 33 } |
| 30 JsName(opts) { | 34 JsName(opts) { |
| 31 let name = opts && 'name' in opts ? opts.name : null; | 35 let name = opts && 'name' in opts ? opts.name : null; |
| 32 this.name = name; | 36 this[name$] = name; |
| 33 } | 37 } |
| 34 } | 38 } |
| 39 let name$0 = dart.JsSymbol('name'); |
| 35 class JsPeerInterface extends Object { | 40 class JsPeerInterface extends Object { |
| 41 get name() { |
| 42 return this[name$0]; |
| 43 } |
| 36 JsPeerInterface(opts) { | 44 JsPeerInterface(opts) { |
| 37 let name = opts && 'name' in opts ? opts.name : null; | 45 let name = opts && 'name' in opts ? opts.name : null; |
| 38 this.name = name; | 46 this[name$0] = name; |
| 39 } | 47 } |
| 40 } | 48 } |
| 41 class SupportJsExtensionMethod extends Object { | 49 class SupportJsExtensionMethod extends Object { |
| 42 SupportJsExtensionMethod() { | 50 SupportJsExtensionMethod() { |
| 43 } | 51 } |
| 44 } | 52 } |
| 53 let expires$ = dart.JsSymbol('expires'); |
| 45 class Deprecated extends Object { | 54 class Deprecated extends Object { |
| 55 get expires() { |
| 56 return this[expires$]; |
| 57 } |
| 46 Deprecated(expires) { | 58 Deprecated(expires) { |
| 47 this.expires = expires; | 59 this[expires$] = expires; |
| 48 } | 60 } |
| 49 toString() { | 61 toString() { |
| 50 return `Deprecated feature. Will be removed ${this.expires}`; | 62 return `Deprecated feature. Will be removed ${this.expires}`; |
| 51 } | 63 } |
| 52 } | 64 } |
| 53 class _Override extends Object { | 65 class _Override extends Object { |
| 54 _Override() { | 66 _Override() { |
| 55 } | 67 } |
| 56 } | 68 } |
| 57 let deprecated = new Deprecated("next release"); | 69 let deprecated = new Deprecated("next release"); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 let Comparator = Comparator$(); | 105 let Comparator = Comparator$(); |
| 94 let Comparable$ = dart.generic(function(T) { | 106 let Comparable$ = dart.generic(function(T) { |
| 95 class Comparable extends Object { | 107 class Comparable extends Object { |
| 96 static compare(a, b) { | 108 static compare(a, b) { |
| 97 return a.compareTo(b); | 109 return a.compareTo(b); |
| 98 } | 110 } |
| 99 } | 111 } |
| 100 return Comparable; | 112 return Comparable; |
| 101 }); | 113 }); |
| 102 let Comparable = Comparable$(); | 114 let Comparable = Comparable$(); |
| 115 let millisecondsSinceEpoch$ = dart.JsSymbol('millisecondsSinceEpoch'); |
| 116 let isUtc$ = dart.JsSymbol('isUtc'); |
| 103 let _internal = dart.JsSymbol('_internal'); | 117 let _internal = dart.JsSymbol('_internal'); |
| 104 let _now = dart.JsSymbol('_now'); | 118 let _now = dart.JsSymbol('_now'); |
| 105 let _brokenDownDateToMillisecondsSinceEpoch = dart.JsSymbol('_brokenDownDateTo
MillisecondsSinceEpoch'); | 119 let _brokenDownDateToMillisecondsSinceEpoch = dart.JsSymbol('_brokenDownDateTo
MillisecondsSinceEpoch'); |
| 106 let _MAX_MILLISECONDS_SINCE_EPOCH = dart.JsSymbol('_MAX_MILLISECONDS_SINCE_EPO
CH'); | 120 let _MAX_MILLISECONDS_SINCE_EPOCH = dart.JsSymbol('_MAX_MILLISECONDS_SINCE_EPO
CH'); |
| 107 let _fourDigits = dart.JsSymbol('_fourDigits'); | 121 let _fourDigits = dart.JsSymbol('_fourDigits'); |
| 108 let _sixDigits = dart.JsSymbol('_sixDigits'); | 122 let _sixDigits = dart.JsSymbol('_sixDigits'); |
| 109 let _threeDigits = dart.JsSymbol('_threeDigits'); | 123 let _threeDigits = dart.JsSymbol('_threeDigits'); |
| 110 let _twoDigits = dart.JsSymbol('_twoDigits'); | 124 let _twoDigits = dart.JsSymbol('_twoDigits'); |
| 111 class DateTime extends Object { | 125 class DateTime extends Object { |
| 126 get millisecondsSinceEpoch() { |
| 127 return this[millisecondsSinceEpoch$]; |
| 128 } |
| 129 get isUtc() { |
| 130 return this[isUtc$]; |
| 131 } |
| 112 DateTime(year, month, day, hour, minute, second, millisecond) { | 132 DateTime(year, month, day, hour, minute, second, millisecond) { |
| 113 if (month === void 0) | 133 if (month === void 0) |
| 114 month = 1; | 134 month = 1; |
| 115 if (day === void 0) | 135 if (day === void 0) |
| 116 day = 1; | 136 day = 1; |
| 117 if (hour === void 0) | 137 if (hour === void 0) |
| 118 hour = 0; | 138 hour = 0; |
| 119 if (minute === void 0) | 139 if (minute === void 0) |
| 120 minute = 0; | 140 minute = 0; |
| 121 if (second === void 0) | 141 if (second === void 0) |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 if (addOneMillisecond) { | 208 if (addOneMillisecond) { |
| 189 millisecondsSinceEpoch = dart.notNull(millisecondsSinceEpoch) + 1; | 209 millisecondsSinceEpoch = dart.notNull(millisecondsSinceEpoch) + 1; |
| 190 } | 210 } |
| 191 return new DateTime.fromMillisecondsSinceEpoch(millisecondsSinceEpoch, {
isUtc: isUtc}); | 211 return new DateTime.fromMillisecondsSinceEpoch(millisecondsSinceEpoch, {
isUtc: isUtc}); |
| 192 } else { | 212 } else { |
| 193 throw new FormatException("Invalid date format", formattedString); | 213 throw new FormatException("Invalid date format", formattedString); |
| 194 } | 214 } |
| 195 } | 215 } |
| 196 fromMillisecondsSinceEpoch(millisecondsSinceEpoch, opts) { | 216 fromMillisecondsSinceEpoch(millisecondsSinceEpoch, opts) { |
| 197 let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; | 217 let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; |
| 198 this.millisecondsSinceEpoch = millisecondsSinceEpoch; | 218 this[millisecondsSinceEpoch$] = millisecondsSinceEpoch; |
| 199 this.isUtc = isUtc; | 219 this[isUtc$] = isUtc; |
| 200 if (dart.notNull(millisecondsSinceEpoch.abs()) > dart.notNull(DateTime[_MA
X_MILLISECONDS_SINCE_EPOCH])) { | 220 if (dart.notNull(millisecondsSinceEpoch.abs()) > dart.notNull(DateTime[_MA
X_MILLISECONDS_SINCE_EPOCH])) { |
| 201 throw new ArgumentError(millisecondsSinceEpoch); | 221 throw new ArgumentError(millisecondsSinceEpoch); |
| 202 } | 222 } |
| 203 if (isUtc == null) | 223 if (isUtc == null) |
| 204 throw new ArgumentError(isUtc); | 224 throw new ArgumentError(isUtc); |
| 205 } | 225 } |
| 206 ['=='](other) { | 226 ['=='](other) { |
| 207 if (!dart.is(other, DateTime)) | 227 if (!dart.is(other, DateTime)) |
| 208 return false; | 228 return false; |
| 209 return dart.equals(this.millisecondsSinceEpoch, dart.dload(other, 'millise
condsSinceEpoch')) && dart.equals(this.isUtc, dart.dload(other, 'isUtc')); | 229 return dart.equals(this.millisecondsSinceEpoch, dart.dload(other, 'millise
condsSinceEpoch')) && dart.equals(this.isUtc, dart.dload(other, 'isUtc')); |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 subtract(duration) { | 320 subtract(duration) { |
| 301 let ms = this.millisecondsSinceEpoch; | 321 let ms = this.millisecondsSinceEpoch; |
| 302 return new DateTime.fromMillisecondsSinceEpoch(dart.notNull(ms) - dart.not
Null(duration.inMilliseconds), {isUtc: this.isUtc}); | 322 return new DateTime.fromMillisecondsSinceEpoch(dart.notNull(ms) - dart.not
Null(duration.inMilliseconds), {isUtc: this.isUtc}); |
| 303 } | 323 } |
| 304 difference(other) { | 324 difference(other) { |
| 305 let ms = this.millisecondsSinceEpoch; | 325 let ms = this.millisecondsSinceEpoch; |
| 306 let otherMs = other.millisecondsSinceEpoch; | 326 let otherMs = other.millisecondsSinceEpoch; |
| 307 return new Duration({milliseconds: dart.notNull(ms) - dart.notNull(otherMs
)}); | 327 return new Duration({milliseconds: dart.notNull(ms) - dart.notNull(otherMs
)}); |
| 308 } | 328 } |
| 309 [_internal](year, month, day, hour, minute, second, millisecond, isUtc) { | 329 [_internal](year, month, day, hour, minute, second, millisecond, isUtc) { |
| 310 this.isUtc = typeof isUtc == 'boolean' ? isUtc : dart.throw_(new ArgumentE
rror(isUtc)); | 330 this[isUtc$] = typeof isUtc == 'boolean' ? isUtc : dart.throw_(new Argumen
tError(isUtc)); |
| 311 this.millisecondsSinceEpoch = dart.as(_js_helper.checkInt(_js_helper.Primi
tives.valueFromDecomposedDate(year, month, day, hour, minute, second, millisecon
d, isUtc)), int); | 331 this[millisecondsSinceEpoch$] = dart.as(_js_helper.checkInt(_js_helper.Pri
mitives.valueFromDecomposedDate(year, month, day, hour, minute, second, millisec
ond, isUtc)), int); |
| 312 } | 332 } |
| 313 [_now]() { | 333 [_now]() { |
| 314 this.isUtc = false; | 334 this[isUtc$] = false; |
| 315 this.millisecondsSinceEpoch = _js_helper.Primitives.dateNow(); | 335 this[millisecondsSinceEpoch$] = _js_helper.Primitives.dateNow(); |
| 316 } | 336 } |
| 317 static [_brokenDownDateToMillisecondsSinceEpoch](year, month, day, hour, min
ute, second, millisecond, isUtc) { | 337 static [_brokenDownDateToMillisecondsSinceEpoch](year, month, day, hour, min
ute, second, millisecond, isUtc) { |
| 318 return dart.as(_js_helper.Primitives.valueFromDecomposedDate(year, month,
day, hour, minute, second, millisecond, isUtc), int); | 338 return dart.as(_js_helper.Primitives.valueFromDecomposedDate(year, month,
day, hour, minute, second, millisecond, isUtc), int); |
| 319 } | 339 } |
| 320 get timeZoneName() { | 340 get timeZoneName() { |
| 321 if (this.isUtc) | 341 if (this.isUtc) |
| 322 return "UTC"; | 342 return "UTC"; |
| 323 return _js_helper.Primitives.getTimeZoneName(this); | 343 return _js_helper.Primitives.getTimeZoneName(this); |
| 324 } | 344 } |
| 325 get timeZoneOffset() { | 345 get timeZoneOffset() { |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 } | 595 } |
| 576 } | 596 } |
| 577 class AssertionError extends Error {} | 597 class AssertionError extends Error {} |
| 578 class TypeError extends AssertionError {} | 598 class TypeError extends AssertionError {} |
| 579 class CastError extends Error {} | 599 class CastError extends Error {} |
| 580 class NullThrownError extends Error { | 600 class NullThrownError extends Error { |
| 581 toString() { | 601 toString() { |
| 582 return "Throw of null."; | 602 return "Throw of null."; |
| 583 } | 603 } |
| 584 } | 604 } |
| 605 let invalidValue = dart.JsSymbol('invalidValue'); |
| 606 let name$1 = dart.JsSymbol('name'); |
| 607 let message$ = dart.JsSymbol('message'); |
| 585 let _hasValue = dart.JsSymbol('_hasValue'); | 608 let _hasValue = dart.JsSymbol('_hasValue'); |
| 586 class ArgumentError extends Error { | 609 class ArgumentError extends Error { |
| 610 get invalidValue() { |
| 611 return this[invalidValue]; |
| 612 } |
| 613 get name() { |
| 614 return this[name$1]; |
| 615 } |
| 616 get message() { |
| 617 return this[message$]; |
| 618 } |
| 587 ArgumentError(message) { | 619 ArgumentError(message) { |
| 588 if (message === void 0) | 620 if (message === void 0) |
| 589 message = null; | 621 message = null; |
| 590 this.message = message; | 622 this[message$] = message; |
| 591 this.invalidValue = null; | 623 this[invalidValue] = null; |
| 592 this[_hasValue] = false; | 624 this[_hasValue] = false; |
| 593 this.name = null; | 625 this[name$1] = null; |
| 594 super.Error(); | 626 super.Error(); |
| 595 } | 627 } |
| 596 value(value, name, message) { | 628 value(value, name, message) { |
| 597 if (name === void 0) | 629 if (name === void 0) |
| 598 name = null; | 630 name = null; |
| 599 if (message === void 0) | 631 if (message === void 0) |
| 600 message = "Invalid argument"; | 632 message = "Invalid argument"; |
| 601 this.name = name; | 633 this[name$1] = name; |
| 602 this.message = message; | 634 this[message$] = message; |
| 603 this.invalidValue = value; | 635 this[invalidValue] = value; |
| 604 this[_hasValue] = true; | 636 this[_hasValue] = true; |
| 605 super.Error(); | 637 super.Error(); |
| 606 } | 638 } |
| 607 notNull(name) { | 639 notNull(name) { |
| 608 if (name === void 0) | 640 if (name === void 0) |
| 609 name = null; | 641 name = null; |
| 610 this.value(null, name, "Must not be null"); | 642 this.value(null, name, "Must not be null"); |
| 611 } | 643 } |
| 612 toString() { | 644 toString() { |
| 613 if (!dart.notNull(this[_hasValue])) { | 645 if (!dart.notNull(this[_hasValue])) { |
| 614 let result = "Invalid arguments(s)"; | 646 let result = "Invalid arguments(s)"; |
| 615 if (this.message != null) { | 647 if (this.message != null) { |
| 616 result = `${result}: ${this.message}`; | 648 result = `${result}: ${this.message}`; |
| 617 } | 649 } |
| 618 return result; | 650 return result; |
| 619 } | 651 } |
| 620 let nameString = ""; | 652 let nameString = ""; |
| 621 if (this.name != null) { | 653 if (this.name != null) { |
| 622 nameString = ` (${this.name})`; | 654 nameString = ` (${this.name})`; |
| 623 } | 655 } |
| 624 return `${this.message}${nameString}: ${Error.safeToString(this.invalidVal
ue)}`; | 656 return `${this.message}${nameString}: ${Error.safeToString(this.invalidVal
ue)}`; |
| 625 } | 657 } |
| 626 } | 658 } |
| 627 dart.defineNamedConstructor(ArgumentError, 'value'); | 659 dart.defineNamedConstructor(ArgumentError, 'value'); |
| 628 dart.defineNamedConstructor(ArgumentError, 'notNull'); | 660 dart.defineNamedConstructor(ArgumentError, 'notNull'); |
| 661 let start = dart.JsSymbol('start'); |
| 662 let end = dart.JsSymbol('end'); |
| 629 class RangeError extends ArgumentError { | 663 class RangeError extends ArgumentError { |
| 664 get start() { |
| 665 return this[start]; |
| 666 } |
| 667 get end() { |
| 668 return this[end]; |
| 669 } |
| 630 RangeError(message) { | 670 RangeError(message) { |
| 631 this.start = null; | 671 this[start] = null; |
| 632 this.end = null; | 672 this[end] = null; |
| 633 super.ArgumentError(message); | 673 super.ArgumentError(message); |
| 634 } | 674 } |
| 635 value(value, name, message) { | 675 value(value, name, message) { |
| 636 if (name === void 0) | 676 if (name === void 0) |
| 637 name = null; | 677 name = null; |
| 638 if (message === void 0) | 678 if (message === void 0) |
| 639 message = null; | 679 message = null; |
| 640 this.start = null; | 680 this[start] = null; |
| 641 this.end = null; | 681 this[end] = null; |
| 642 super.value(value, name, message != null ? message : "Value not in range")
; | 682 super.value(value, name, message != null ? message : "Value not in range")
; |
| 643 } | 683 } |
| 644 range(invalidValue, minValue, maxValue, name, message) { | 684 range(invalidValue, minValue, maxValue, name, message) { |
| 645 if (name === void 0) | 685 if (name === void 0) |
| 646 name = null; | 686 name = null; |
| 647 if (message === void 0) | 687 if (message === void 0) |
| 648 message = null; | 688 message = null; |
| 649 this.start = minValue; | 689 this[start] = minValue; |
| 650 this.end = maxValue; | 690 this[end] = maxValue; |
| 651 super.value(invalidValue, name, message != null ? message : "Invalid value
"); | 691 super.value(invalidValue, name, message != null ? message : "Invalid value
"); |
| 652 } | 692 } |
| 653 index(index, indexable, name, message, length) { | 693 index(index, indexable, name, message, length) { |
| 654 return new IndexError(index, indexable, name, message, length); | 694 return new IndexError(index, indexable, name, message, length); |
| 655 } | 695 } |
| 656 static checkValueInInterval(value, minValue, maxValue, name, message) { | 696 static checkValueInInterval(value, minValue, maxValue, name, message) { |
| 657 if (name === void 0) | 697 if (name === void 0) |
| 658 name = null; | 698 name = null; |
| 659 if (message === void 0) | 699 if (message === void 0) |
| 660 message = null; | 700 message = null; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 explanation = ": Valid value range is empty"; | 760 explanation = ": Valid value range is empty"; |
| 721 } else { | 761 } else { |
| 722 explanation = `: Only valid value is ${this.start}`; | 762 explanation = `: Only valid value is ${this.start}`; |
| 723 } | 763 } |
| 724 return `RangeError: ${this.message} (${value})${explanation}`; | 764 return `RangeError: ${this.message} (${value})${explanation}`; |
| 725 } | 765 } |
| 726 } | 766 } |
| 727 dart.defineNamedConstructor(RangeError, 'value'); | 767 dart.defineNamedConstructor(RangeError, 'value'); |
| 728 dart.defineNamedConstructor(RangeError, 'range'); | 768 dart.defineNamedConstructor(RangeError, 'range'); |
| 729 dart.defineNamedConstructor(RangeError, 'index'); | 769 dart.defineNamedConstructor(RangeError, 'index'); |
| 770 let indexable$ = dart.JsSymbol('indexable'); |
| 771 let length$ = dart.JsSymbol('length'); |
| 730 class IndexError extends ArgumentError { | 772 class IndexError extends ArgumentError { |
| 773 get indexable() { |
| 774 return this[indexable$]; |
| 775 } |
| 776 get length() { |
| 777 return this[length$]; |
| 778 } |
| 731 IndexError(invalidValue, indexable, name, message, length) { | 779 IndexError(invalidValue, indexable, name, message, length) { |
| 732 if (name === void 0) | 780 if (name === void 0) |
| 733 name = null; | 781 name = null; |
| 734 if (message === void 0) | 782 if (message === void 0) |
| 735 message = null; | 783 message = null; |
| 736 if (length === void 0) | 784 if (length === void 0) |
| 737 length = null; | 785 length = null; |
| 738 this.indexable = indexable; | 786 this[indexable$] = indexable; |
| 739 this.length = dart.as(length != null ? length : dart.dload(indexable, 'len
gth'), int); | 787 this[length$] = dart.as(length != null ? length : dart.dload(indexable, 'l
ength'), int); |
| 740 super.value(invalidValue, name, message != null ? message : "Index out of
range"); | 788 super.value(invalidValue, name, message != null ? message : "Index out of
range"); |
| 741 } | 789 } |
| 742 get start() { | 790 get start() { |
| 743 return 0; | 791 return 0; |
| 744 } | 792 } |
| 745 get end() { | 793 get end() { |
| 746 return dart.notNull(this.length) - 1; | 794 return dart.notNull(this.length) - 1; |
| 747 } | 795 } |
| 748 toString() { | 796 toString() { |
| 749 dart.assert(this[_hasValue]); | 797 dart.assert(this[_hasValue]); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 if (dart.notNull(i) > 0) { | 868 if (dart.notNull(i) > 0) { |
| 821 sb.write(", "); | 869 sb.write(", "); |
| 822 } | 870 } |
| 823 sb.write(this[_existingArgumentNames][exports.$get](i)); | 871 sb.write(this[_existingArgumentNames][exports.$get](i)); |
| 824 } | 872 } |
| 825 let formalParameters = sb.toString(); | 873 let formalParameters = sb.toString(); |
| 826 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})`; | 874 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})`; |
| 827 } | 875 } |
| 828 } | 876 } |
| 829 } | 877 } |
| 878 let message$0 = dart.JsSymbol('message'); |
| 830 class UnsupportedError extends Error { | 879 class UnsupportedError extends Error { |
| 880 get message() { |
| 881 return this[message$0]; |
| 882 } |
| 831 UnsupportedError(message) { | 883 UnsupportedError(message) { |
| 832 this.message = message; | 884 this[message$0] = message; |
| 833 super.Error(); | 885 super.Error(); |
| 834 } | 886 } |
| 835 toString() { | 887 toString() { |
| 836 return `Unsupported operation: ${this.message}`; | 888 return `Unsupported operation: ${this.message}`; |
| 837 } | 889 } |
| 838 } | 890 } |
| 891 let message$1 = dart.JsSymbol('message'); |
| 839 class UnimplementedError extends Error { | 892 class UnimplementedError extends Error { |
| 893 get message() { |
| 894 return this[message$1]; |
| 895 } |
| 840 UnimplementedError(message) { | 896 UnimplementedError(message) { |
| 841 if (message === void 0) | 897 if (message === void 0) |
| 842 message = null; | 898 message = null; |
| 843 this.message = message; | 899 this[message$1] = message; |
| 844 super.Error(); | 900 super.Error(); |
| 845 } | 901 } |
| 846 toString() { | 902 toString() { |
| 847 return this.message != null ? `UnimplementedError: ${this.message}` : "Uni
mplementedError"; | 903 return this.message != null ? `UnimplementedError: ${this.message}` : "Uni
mplementedError"; |
| 848 } | 904 } |
| 849 } | 905 } |
| 850 UnimplementedError[dart.implements] = () => [UnsupportedError]; | 906 UnimplementedError[dart.implements] = () => [UnsupportedError]; |
| 907 let message$2 = dart.JsSymbol('message'); |
| 851 class StateError extends Error { | 908 class StateError extends Error { |
| 909 get message() { |
| 910 return this[message$2]; |
| 911 } |
| 852 StateError(message) { | 912 StateError(message) { |
| 853 this.message = message; | 913 this[message$2] = message; |
| 854 super.Error(); | 914 super.Error(); |
| 855 } | 915 } |
| 856 toString() { | 916 toString() { |
| 857 return `Bad state: ${this.message}`; | 917 return `Bad state: ${this.message}`; |
| 858 } | 918 } |
| 859 } | 919 } |
| 920 let modifiedObject$ = dart.JsSymbol('modifiedObject'); |
| 860 class ConcurrentModificationError extends Error { | 921 class ConcurrentModificationError extends Error { |
| 922 get modifiedObject() { |
| 923 return this[modifiedObject$]; |
| 924 } |
| 861 ConcurrentModificationError(modifiedObject) { | 925 ConcurrentModificationError(modifiedObject) { |
| 862 if (modifiedObject === void 0) | 926 if (modifiedObject === void 0) |
| 863 modifiedObject = null; | 927 modifiedObject = null; |
| 864 this.modifiedObject = modifiedObject; | 928 this[modifiedObject$] = modifiedObject; |
| 865 super.Error(); | 929 super.Error(); |
| 866 } | 930 } |
| 867 toString() { | 931 toString() { |
| 868 if (this.modifiedObject == null) { | 932 if (this.modifiedObject == null) { |
| 869 return "Concurrent modification during iteration."; | 933 return "Concurrent modification during iteration."; |
| 870 } | 934 } |
| 871 return "Concurrent modification during iteration: " + `${Error.safeToStrin
g(this.modifiedObject)}.`; | 935 return "Concurrent modification during iteration: " + `${Error.safeToStrin
g(this.modifiedObject)}.`; |
| 872 } | 936 } |
| 873 } | 937 } |
| 874 class OutOfMemoryError extends Object { | 938 class OutOfMemoryError extends Object { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 886 StackOverflowError() { | 950 StackOverflowError() { |
| 887 } | 951 } |
| 888 toString() { | 952 toString() { |
| 889 return "Stack Overflow"; | 953 return "Stack Overflow"; |
| 890 } | 954 } |
| 891 get stackTrace() { | 955 get stackTrace() { |
| 892 return null; | 956 return null; |
| 893 } | 957 } |
| 894 } | 958 } |
| 895 StackOverflowError[dart.implements] = () => [Error]; | 959 StackOverflowError[dart.implements] = () => [Error]; |
| 960 let variableName$ = dart.JsSymbol('variableName'); |
| 896 class CyclicInitializationError extends Error { | 961 class CyclicInitializationError extends Error { |
| 962 get variableName() { |
| 963 return this[variableName$]; |
| 964 } |
| 897 CyclicInitializationError(variableName) { | 965 CyclicInitializationError(variableName) { |
| 898 if (variableName === void 0) | 966 if (variableName === void 0) |
| 899 variableName = null; | 967 variableName = null; |
| 900 this.variableName = variableName; | 968 this[variableName$] = variableName; |
| 901 super.Error(); | 969 super.Error(); |
| 902 } | 970 } |
| 903 toString() { | 971 toString() { |
| 904 return this.variableName == null ? "Reading static variable during its ini
tialization" : `Reading static variable '${this.variableName}' during its initia
lization`; | 972 return this.variableName == null ? "Reading static variable during its ini
tialization" : `Reading static variable '${this.variableName}' during its initia
lization`; |
| 905 } | 973 } |
| 906 } | 974 } |
| 907 class Exception extends Object { | 975 class Exception extends Object { |
| 908 Exception(message) { | 976 Exception(message) { |
| 909 if (message === void 0) | 977 if (message === void 0) |
| 910 message = null; | 978 message = null; |
| 911 return new _ExceptionImplementation(message); | 979 return new _ExceptionImplementation(message); |
| 912 } | 980 } |
| 913 } | 981 } |
| 914 class _ExceptionImplementation extends Object { | 982 class _ExceptionImplementation extends Object { |
| 915 _ExceptionImplementation(message) { | 983 _ExceptionImplementation(message) { |
| 916 if (message === void 0) | 984 if (message === void 0) |
| 917 message = null; | 985 message = null; |
| 918 this.message = message; | 986 this.message = message; |
| 919 } | 987 } |
| 920 toString() { | 988 toString() { |
| 921 if (this.message == null) | 989 if (this.message == null) |
| 922 return "Exception"; | 990 return "Exception"; |
| 923 return `Exception: ${this.message}`; | 991 return `Exception: ${this.message}`; |
| 924 } | 992 } |
| 925 } | 993 } |
| 926 _ExceptionImplementation[dart.implements] = () => [Exception]; | 994 _ExceptionImplementation[dart.implements] = () => [Exception]; |
| 995 let message$3 = dart.JsSymbol('message'); |
| 996 let source$ = dart.JsSymbol('source'); |
| 997 let offset$ = dart.JsSymbol('offset'); |
| 927 class FormatException extends Object { | 998 class FormatException extends Object { |
| 999 get message() { |
| 1000 return this[message$3]; |
| 1001 } |
| 1002 get source() { |
| 1003 return this[source$]; |
| 1004 } |
| 1005 get offset() { |
| 1006 return this[offset$]; |
| 1007 } |
| 928 FormatException(message, source, offset) { | 1008 FormatException(message, source, offset) { |
| 929 if (message === void 0) | 1009 if (message === void 0) |
| 930 message = ""; | 1010 message = ""; |
| 931 if (source === void 0) | 1011 if (source === void 0) |
| 932 source = null; | 1012 source = null; |
| 933 if (offset === void 0) | 1013 if (offset === void 0) |
| 934 offset = -1; | 1014 offset = -1; |
| 935 this.message = message; | 1015 this[message$3] = message; |
| 936 this.source = source; | 1016 this[source$] = source; |
| 937 this.offset = offset; | 1017 this[offset$] = offset; |
| 938 } | 1018 } |
| 939 toString() { | 1019 toString() { |
| 940 let report = "FormatException"; | 1020 let report = "FormatException"; |
| 941 if (this.message != null && "" != this.message) { | 1021 if (this.message != null && "" != this.message) { |
| 942 report = `${report}: ${this.message}`; | 1022 report = `${report}: ${this.message}`; |
| 943 } | 1023 } |
| 944 let offset = this.offset; | 1024 let offset = this.offset; |
| 945 if (!(typeof this.source == 'string')) { | 1025 if (!(typeof this.source == 'string')) { |
| 946 if (offset != -1) { | 1026 if (offset != -1) { |
| 947 report = dart.notNull(report) + ` (at offset ${offset})`; | 1027 report = dart.notNull(report) + ` (at offset ${offset})`; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1014 } | 1094 } |
| 1015 FormatException[dart.implements] = () => [Exception]; | 1095 FormatException[dart.implements] = () => [Exception]; |
| 1016 class IntegerDivisionByZeroException extends Object { | 1096 class IntegerDivisionByZeroException extends Object { |
| 1017 IntegerDivisionByZeroException() { | 1097 IntegerDivisionByZeroException() { |
| 1018 } | 1098 } |
| 1019 toString() { | 1099 toString() { |
| 1020 return "IntegerDivisionByZeroException"; | 1100 return "IntegerDivisionByZeroException"; |
| 1021 } | 1101 } |
| 1022 } | 1102 } |
| 1023 IntegerDivisionByZeroException[dart.implements] = () => [Exception]; | 1103 IntegerDivisionByZeroException[dart.implements] = () => [Exception]; |
| 1104 let name$2 = dart.JsSymbol('name'); |
| 1024 let _EXPANDO_PROPERTY_NAME = dart.JsSymbol('_EXPANDO_PROPERTY_NAME'); | 1105 let _EXPANDO_PROPERTY_NAME = dart.JsSymbol('_EXPANDO_PROPERTY_NAME'); |
| 1025 let _getKey = dart.JsSymbol('_getKey'); | 1106 let _getKey = dart.JsSymbol('_getKey'); |
| 1026 let _KEY_PROPERTY_NAME = dart.JsSymbol('_KEY_PROPERTY_NAME'); | 1107 let _KEY_PROPERTY_NAME = dart.JsSymbol('_KEY_PROPERTY_NAME'); |
| 1027 let _keyCount = dart.JsSymbol('_keyCount'); | 1108 let _keyCount = dart.JsSymbol('_keyCount'); |
| 1028 let Expando$ = dart.generic(function(T) { | 1109 let Expando$ = dart.generic(function(T) { |
| 1029 class Expando extends Object { | 1110 class Expando extends Object { |
| 1111 get name() { |
| 1112 return this[name$2]; |
| 1113 } |
| 1030 Expando(name) { | 1114 Expando(name) { |
| 1031 if (name === void 0) | 1115 if (name === void 0) |
| 1032 name = null; | 1116 name = null; |
| 1033 this.name = name; | 1117 this[name$2] = name; |
| 1034 } | 1118 } |
| 1035 toString() { | 1119 toString() { |
| 1036 return `Expando:${this.name}`; | 1120 return `Expando:${this.name}`; |
| 1037 } | 1121 } |
| 1038 get(object) { | 1122 get(object) { |
| 1039 let values = _js_helper.Primitives.getProperty(object, Expando[_EXPANDO_
PROPERTY_NAME]); | 1123 let values = _js_helper.Primitives.getProperty(object, Expando[_EXPANDO_
PROPERTY_NAME]); |
| 1040 return dart.as(values == null ? null : _js_helper.Primitives.getProperty
(values, this[_getKey]()), T); | 1124 return dart.as(values == null ? null : _js_helper.Primitives.getProperty
(values, this[_getKey]()), T); |
| 1041 } | 1125 } |
| 1042 set(object, value) { | 1126 set(object, value) { |
| 1043 let values = _js_helper.Primitives.getProperty(object, Expando[_EXPANDO_
PROPERTY_NAME]); | 1127 let values = _js_helper.Primitives.getProperty(object, Expando[_EXPANDO_
PROPERTY_NAME]); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1122 } | 1206 } |
| 1123 dart.defineNamedConstructor(Iterable, 'generate'); | 1207 dart.defineNamedConstructor(Iterable, 'generate'); |
| 1124 return Iterable; | 1208 return Iterable; |
| 1125 }); | 1209 }); |
| 1126 let Iterable = Iterable$(); | 1210 let Iterable = Iterable$(); |
| 1127 let _Generator$ = dart.generic(function(E) { | 1211 let _Generator$ = dart.generic(function(E) { |
| 1128 let _Generator = dart.typedef('_Generator', () => dart.functionType(E, [int]
)); | 1212 let _Generator = dart.typedef('_Generator', () => dart.functionType(E, [int]
)); |
| 1129 return _Generator; | 1213 return _Generator; |
| 1130 }); | 1214 }); |
| 1131 let _Generator = _Generator$(); | 1215 let _Generator = _Generator$(); |
| 1216 let _id = dart.JsSymbol('_id'); |
| 1132 let _end = dart.JsSymbol('_end'); | 1217 let _end = dart.JsSymbol('_end'); |
| 1133 let _start = dart.JsSymbol('_start'); | 1218 let _start = dart.JsSymbol('_start'); |
| 1134 let _generator = dart.JsSymbol('_generator'); | 1219 let _generator = dart.JsSymbol('_generator'); |
| 1135 let _id = dart.JsSymbol('_id'); | |
| 1136 let $iterator = dart.JsSymbol('$iterator'); | 1220 let $iterator = dart.JsSymbol('$iterator'); |
| 1137 let $skip = dart.JsSymbol('$skip'); | 1221 let $skip = dart.JsSymbol('$skip'); |
| 1138 let $take = dart.JsSymbol('$take'); | 1222 let $take = dart.JsSymbol('$take'); |
| 1139 let _GeneratorIterable$ = dart.generic(function(E) { | 1223 let _GeneratorIterable$ = dart.generic(function(E) { |
| 1140 class _GeneratorIterable extends collection.IterableBase$(E) { | 1224 class _GeneratorIterable extends collection.IterableBase$(E) { |
| 1141 _GeneratorIterable(end, generator) { | 1225 _GeneratorIterable(end, generator) { |
| 1142 this[_end] = end; | 1226 this[_end] = end; |
| 1143 this[_start] = 0; | 1227 this[_start] = 0; |
| 1144 this[_generator] = dart.as(generator != null ? generator : _GeneratorIte
rable[_id], _Generator$(E)); | 1228 this[_generator] = dart.as(generator != null ? generator : _GeneratorIte
rable[_id], _Generator$(E)); |
| 1145 super.IterableBase(); | 1229 super.IterableBase(); |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1466 list[exports.$add](it.current); | 1550 list[exports.$add](it.current); |
| 1467 } | 1551 } |
| 1468 } | 1552 } |
| 1469 return _js_helper.Primitives.stringFromCharCodes(list); | 1553 return _js_helper.Primitives.stringFromCharCodes(list); |
| 1470 } | 1554 } |
| 1471 } | 1555 } |
| 1472 String[dart.implements] = () => [Comparable$(String), Pattern]; | 1556 String[dart.implements] = () => [Comparable$(String), Pattern]; |
| 1473 dart.defineNamedConstructor(String, 'fromCharCodes'); | 1557 dart.defineNamedConstructor(String, 'fromCharCodes'); |
| 1474 dart.defineNamedConstructor(String, 'fromCharCode'); | 1558 dart.defineNamedConstructor(String, 'fromCharCode'); |
| 1475 dart.defineNamedConstructor(String, 'fromEnvironment'); | 1559 dart.defineNamedConstructor(String, 'fromEnvironment'); |
| 1560 let string$ = dart.JsSymbol('string'); |
| 1476 let $last = dart.JsSymbol('$last'); | 1561 let $last = dart.JsSymbol('$last'); |
| 1477 dart.defineLazyClass(exports, { | 1562 dart.defineLazyClass(exports, { |
| 1478 get Runes() { | 1563 get Runes() { |
| 1479 class Runes extends collection.IterableBase$(int) { | 1564 class Runes extends collection.IterableBase$(int) { |
| 1565 get string() { |
| 1566 return this[string$]; |
| 1567 } |
| 1480 Runes(string) { | 1568 Runes(string) { |
| 1481 this.string = string; | 1569 this[string$] = string; |
| 1482 super.IterableBase(); | 1570 super.IterableBase(); |
| 1483 } | 1571 } |
| 1484 get [exports.$iterator]() { | 1572 get [exports.$iterator]() { |
| 1485 return new RuneIterator(this.string); | 1573 return new RuneIterator(this.string); |
| 1486 } | 1574 } |
| 1487 get [exports.$last]() { | 1575 get [exports.$last]() { |
| 1488 if (this.string.length == 0) { | 1576 if (this.string.length == 0) { |
| 1489 throw new StateError('No elements.'); | 1577 throw new StateError('No elements.'); |
| 1490 } | 1578 } |
| 1491 let length = this.string.length; | 1579 let length = this.string.length; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1507 return (dart.notNull(code) & 64512) == 55296; | 1595 return (dart.notNull(code) & 64512) == 55296; |
| 1508 } | 1596 } |
| 1509 // Function _isTrailSurrogate: (int) → bool | 1597 // Function _isTrailSurrogate: (int) → bool |
| 1510 function _isTrailSurrogate(code) { | 1598 function _isTrailSurrogate(code) { |
| 1511 return (dart.notNull(code) & 64512) == 56320; | 1599 return (dart.notNull(code) & 64512) == 56320; |
| 1512 } | 1600 } |
| 1513 // Function _combineSurrogatePair: (int, int) → int | 1601 // Function _combineSurrogatePair: (int, int) → int |
| 1514 function _combineSurrogatePair(start, end) { | 1602 function _combineSurrogatePair(start, end) { |
| 1515 return 65536 + ((dart.notNull(start) & 1023) << 10) + (dart.notNull(end) & 1
023); | 1603 return 65536 + ((dart.notNull(start) & 1023) << 10) + (dart.notNull(end) & 1
023); |
| 1516 } | 1604 } |
| 1605 let string$0 = dart.JsSymbol('string'); |
| 1517 let _position = dart.JsSymbol('_position'); | 1606 let _position = dart.JsSymbol('_position'); |
| 1518 let _nextPosition = dart.JsSymbol('_nextPosition'); | 1607 let _nextPosition = dart.JsSymbol('_nextPosition'); |
| 1519 let _currentCodePoint = dart.JsSymbol('_currentCodePoint'); | 1608 let _currentCodePoint = dart.JsSymbol('_currentCodePoint'); |
| 1520 let _checkSplitSurrogate = dart.JsSymbol('_checkSplitSurrogate'); | 1609 let _checkSplitSurrogate = dart.JsSymbol('_checkSplitSurrogate'); |
| 1521 class RuneIterator extends Object { | 1610 class RuneIterator extends Object { |
| 1611 get string() { |
| 1612 return this[string$0]; |
| 1613 } |
| 1522 RuneIterator(string) { | 1614 RuneIterator(string) { |
| 1523 this.string = string; | 1615 this[string$0] = string; |
| 1524 this[_position] = 0; | 1616 this[_position] = 0; |
| 1525 this[_nextPosition] = 0; | 1617 this[_nextPosition] = 0; |
| 1526 this[_currentCodePoint] = null; | 1618 this[_currentCodePoint] = null; |
| 1527 } | 1619 } |
| 1528 at(string, index) { | 1620 at(string, index) { |
| 1529 this.string = string; | 1621 this[string$0] = string; |
| 1530 this[_position] = index; | 1622 this[_position] = index; |
| 1531 this[_nextPosition] = index; | 1623 this[_nextPosition] = index; |
| 1532 this[_currentCodePoint] = null; | 1624 this[_currentCodePoint] = null; |
| 1533 RangeError.checkValueInInterval(index, 0, string.length); | 1625 RangeError.checkValueInInterval(index, 0, string.length); |
| 1534 this[_checkSplitSurrogate](index); | 1626 this[_checkSplitSurrogate](index); |
| 1535 } | 1627 } |
| 1536 [_checkSplitSurrogate](index) { | 1628 [_checkSplitSurrogate](index) { |
| 1537 if (dart.notNull(index) > 0 && dart.notNull(index) < dart.notNull(this.str
ing.length) && dart.notNull(_isLeadSurrogate(this.string.codeUnitAt(dart.notNull
(index) - 1))) && dart.notNull(_isTrailSurrogate(this.string.codeUnitAt(index)))
) { | 1629 if (dart.notNull(index) > 0 && dart.notNull(index) < dart.notNull(this.str
ing.length) && dart.notNull(_isLeadSurrogate(this.string.codeUnitAt(dart.notNull
(index) - 1))) && dart.notNull(_isTrailSurrogate(this.string.codeUnitAt(index)))
) { |
| 1538 throw new ArgumentError(`Index inside surrogate pair: ${index}`); | 1630 throw new ArgumentError(`Index inside surrogate pair: ${index}`); |
| 1539 } | 1631 } |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1668 } | 1760 } |
| 1669 } | 1761 } |
| 1670 StringBuffer[dart.implements] = () => [StringSink]; | 1762 StringBuffer[dart.implements] = () => [StringSink]; |
| 1671 class StringSink extends Object {} | 1763 class StringSink extends Object {} |
| 1672 class Symbol extends Object { | 1764 class Symbol extends Object { |
| 1673 Symbol(name) { | 1765 Symbol(name) { |
| 1674 return new _internal.Symbol(name); | 1766 return new _internal.Symbol(name); |
| 1675 } | 1767 } |
| 1676 } | 1768 } |
| 1677 class Type extends Object {} | 1769 class Type extends Object {} |
| 1770 let scheme$ = dart.JsSymbol('scheme'); |
| 1678 let _writeAuthority = dart.JsSymbol('_writeAuthority'); | 1771 let _writeAuthority = dart.JsSymbol('_writeAuthority'); |
| 1679 let _userInfo = dart.JsSymbol('_userInfo'); | 1772 let _userInfo = dart.JsSymbol('_userInfo'); |
| 1680 let _host = dart.JsSymbol('_host'); | 1773 let _host = dart.JsSymbol('_host'); |
| 1681 let _port = dart.JsSymbol('_port'); | 1774 let _port = dart.JsSymbol('_port'); |
| 1682 let _defaultPort = dart.JsSymbol('_defaultPort'); | 1775 let _defaultPort = dart.JsSymbol('_defaultPort'); |
| 1683 let _path = dart.JsSymbol('_path'); | 1776 let _path = dart.JsSymbol('_path'); |
| 1684 let _query = dart.JsSymbol('_query'); | 1777 let _query = dart.JsSymbol('_query'); |
| 1685 let _fragment = dart.JsSymbol('_fragment'); | 1778 let _fragment = dart.JsSymbol('_fragment'); |
| 1686 let _regNameTable = dart.JsSymbol('_regNameTable'); | 1779 let _regNameTable = dart.JsSymbol('_regNameTable'); |
| 1687 let _SLASH = dart.JsSymbol('_SLASH'); | 1780 let _SLASH = dart.JsSymbol('_SLASH'); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1702 let _makeFragment = dart.JsSymbol('_makeFragment'); | 1795 let _makeFragment = dart.JsSymbol('_makeFragment'); |
| 1703 let _pathSegments = dart.JsSymbol('_pathSegments'); | 1796 let _pathSegments = dart.JsSymbol('_pathSegments'); |
| 1704 let _queryParameters = dart.JsSymbol('_queryParameters'); | 1797 let _queryParameters = dart.JsSymbol('_queryParameters'); |
| 1705 let _stringOrNullLength = dart.JsSymbol('_stringOrNullLength'); | 1798 let _stringOrNullLength = dart.JsSymbol('_stringOrNullLength'); |
| 1706 let _makeHttpUri = dart.JsSymbol('_makeHttpUri'); | 1799 let _makeHttpUri = dart.JsSymbol('_makeHttpUri'); |
| 1707 let _RIGHT_BRACKET = dart.JsSymbol('_RIGHT_BRACKET'); | 1800 let _RIGHT_BRACKET = dart.JsSymbol('_RIGHT_BRACKET'); |
| 1708 let _isWindows = dart.JsSymbol('_isWindows'); | 1801 let _isWindows = dart.JsSymbol('_isWindows'); |
| 1709 let _makeWindowsFileUrl = dart.JsSymbol('_makeWindowsFileUrl'); | 1802 let _makeWindowsFileUrl = dart.JsSymbol('_makeWindowsFileUrl'); |
| 1710 let _makeFileUri = dart.JsSymbol('_makeFileUri'); | 1803 let _makeFileUri = dart.JsSymbol('_makeFileUri'); |
| 1711 let _checkNonWindowsPathReservedCharacters = dart.JsSymbol('_checkNonWindowsPa
thReservedCharacters'); | 1804 let _checkNonWindowsPathReservedCharacters = dart.JsSymbol('_checkNonWindowsPa
thReservedCharacters'); |
| 1805 let $forEach = dart.JsSymbol('$forEach'); |
| 1712 let _checkWindowsPathReservedCharacters = dart.JsSymbol('_checkWindowsPathRese
rvedCharacters'); | 1806 let _checkWindowsPathReservedCharacters = dart.JsSymbol('_checkWindowsPathRese
rvedCharacters'); |
| 1713 let _checkWindowsDriveLetter = dart.JsSymbol('_checkWindowsDriveLetter'); | 1807 let _checkWindowsDriveLetter = dart.JsSymbol('_checkWindowsDriveLetter'); |
| 1714 let _UPPER_CASE_A = dart.JsSymbol('_UPPER_CASE_A'); | 1808 let _UPPER_CASE_A = dart.JsSymbol('_UPPER_CASE_A'); |
| 1715 let _UPPER_CASE_Z = dart.JsSymbol('_UPPER_CASE_Z'); | 1809 let _UPPER_CASE_Z = dart.JsSymbol('_UPPER_CASE_Z'); |
| 1716 let _LOWER_CASE_A = dart.JsSymbol('_LOWER_CASE_A'); | 1810 let _LOWER_CASE_A = dart.JsSymbol('_LOWER_CASE_A'); |
| 1717 let _LOWER_CASE_Z = dart.JsSymbol('_LOWER_CASE_Z'); | 1811 let _LOWER_CASE_Z = dart.JsSymbol('_LOWER_CASE_Z'); |
| 1718 let _BACKSLASH = dart.JsSymbol('_BACKSLASH'); | 1812 let _BACKSLASH = dart.JsSymbol('_BACKSLASH'); |
| 1813 let $map = dart.JsSymbol('$map'); |
| 1814 let $toList = dart.JsSymbol('$toList'); |
| 1719 let _normalizeRegName = dart.JsSymbol('_normalizeRegName'); | 1815 let _normalizeRegName = dart.JsSymbol('_normalizeRegName'); |
| 1720 let _isRegNameChar = dart.JsSymbol('_isRegNameChar'); | 1816 let _isRegNameChar = dart.JsSymbol('_isRegNameChar'); |
| 1721 let _PERCENT = dart.JsSymbol('_PERCENT'); | 1817 let _PERCENT = dart.JsSymbol('_PERCENT'); |
| 1722 let _normalizeEscape = dart.JsSymbol('_normalizeEscape'); | 1818 let _normalizeEscape = dart.JsSymbol('_normalizeEscape'); |
| 1723 let _isGeneralDelimiter = dart.JsSymbol('_isGeneralDelimiter'); | 1819 let _isGeneralDelimiter = dart.JsSymbol('_isGeneralDelimiter'); |
| 1724 let _escapeChar = dart.JsSymbol('_escapeChar'); | 1820 let _escapeChar = dart.JsSymbol('_escapeChar'); |
| 1725 let _isAlphabeticCharacter = dart.JsSymbol('_isAlphabeticCharacter'); | 1821 let _isAlphabeticCharacter = dart.JsSymbol('_isAlphabeticCharacter'); |
| 1726 let _isSchemeCharacter = dart.JsSymbol('_isSchemeCharacter'); | 1822 let _isSchemeCharacter = dart.JsSymbol('_isSchemeCharacter'); |
| 1727 let _normalize = dart.JsSymbol('_normalize'); | 1823 let _normalize = dart.JsSymbol('_normalize'); |
| 1728 let _userinfoTable = dart.JsSymbol('_userinfoTable'); | 1824 let _userinfoTable = dart.JsSymbol('_userinfoTable'); |
| 1729 let _pathCharOrSlashTable = dart.JsSymbol('_pathCharOrSlashTable'); | 1825 let _pathCharOrSlashTable = dart.JsSymbol('_pathCharOrSlashTable'); |
| 1730 let _uriEncode = dart.JsSymbol('_uriEncode'); | 1826 let _uriEncode = dart.JsSymbol('_uriEncode'); |
| 1731 let _pathCharTable = dart.JsSymbol('_pathCharTable'); | 1827 let _pathCharTable = dart.JsSymbol('_pathCharTable'); |
| 1732 let _queryCharTable = dart.JsSymbol('_queryCharTable'); | 1828 let _queryCharTable = dart.JsSymbol('_queryCharTable'); |
| 1733 let _isHexDigit = dart.JsSymbol('_isHexDigit'); | 1829 let _isHexDigit = dart.JsSymbol('_isHexDigit'); |
| 1734 let _LOWER_CASE_F = dart.JsSymbol('_LOWER_CASE_F'); | 1830 let _LOWER_CASE_F = dart.JsSymbol('_LOWER_CASE_F'); |
| 1735 let _hexValue = dart.JsSymbol('_hexValue'); | 1831 let _hexValue = dart.JsSymbol('_hexValue'); |
| 1736 let _isUnreservedChar = dart.JsSymbol('_isUnreservedChar'); | 1832 let _isUnreservedChar = dart.JsSymbol('_isUnreservedChar'); |
| 1737 let _unreservedTable = dart.JsSymbol('_unreservedTable'); | 1833 let _unreservedTable = dart.JsSymbol('_unreservedTable'); |
| 1738 let _schemeTable = dart.JsSymbol('_schemeTable'); | 1834 let _schemeTable = dart.JsSymbol('_schemeTable'); |
| 1739 let _genDelimitersTable = dart.JsSymbol('_genDelimitersTable'); | 1835 let _genDelimitersTable = dart.JsSymbol('_genDelimitersTable'); |
| 1740 let _merge = dart.JsSymbol('_merge'); | 1836 let _merge = dart.JsSymbol('_merge'); |
| 1741 let _DOT = dart.JsSymbol('_DOT'); | 1837 let _DOT = dart.JsSymbol('_DOT'); |
| 1742 let _hasDotSegments = dart.JsSymbol('_hasDotSegments'); | 1838 let _hasDotSegments = dart.JsSymbol('_hasDotSegments'); |
| 1743 let _removeDotSegments = dart.JsSymbol('_removeDotSegments'); | 1839 let _removeDotSegments = dart.JsSymbol('_removeDotSegments'); |
| 1840 let $isEmpty = dart.JsSymbol('$isEmpty'); |
| 1841 let $removeLast = dart.JsSymbol('$removeLast'); |
| 1744 let _toWindowsFilePath = dart.JsSymbol('_toWindowsFilePath'); | 1842 let _toWindowsFilePath = dart.JsSymbol('_toWindowsFilePath'); |
| 1745 let _toFilePath = dart.JsSymbol('_toFilePath'); | 1843 let _toFilePath = dart.JsSymbol('_toFilePath'); |
| 1746 let _isPathAbsolute = dart.JsSymbol('_isPathAbsolute'); | 1844 let _isPathAbsolute = dart.JsSymbol('_isPathAbsolute'); |
| 1747 let _addIfNonEmpty = dart.JsSymbol('_addIfNonEmpty'); | 1845 let _addIfNonEmpty = dart.JsSymbol('_addIfNonEmpty'); |
| 1748 let _unreserved2396Table = dart.JsSymbol('_unreserved2396Table'); | 1846 let _unreserved2396Table = dart.JsSymbol('_unreserved2396Table'); |
| 1749 let _uriDecode = dart.JsSymbol('_uriDecode'); | 1847 let _uriDecode = dart.JsSymbol('_uriDecode'); |
| 1750 let _encodeFullTable = dart.JsSymbol('_encodeFullTable'); | 1848 let _encodeFullTable = dart.JsSymbol('_encodeFullTable'); |
| 1849 let $fold = dart.JsSymbol('$fold'); |
| 1751 let _SPACE = dart.JsSymbol('_SPACE'); | 1850 let _SPACE = dart.JsSymbol('_SPACE'); |
| 1752 let _PLUS = dart.JsSymbol('_PLUS'); | 1851 let _PLUS = dart.JsSymbol('_PLUS'); |
| 1753 let _hexCharPairToByte = dart.JsSymbol('_hexCharPairToByte'); | 1852 let _hexCharPairToByte = dart.JsSymbol('_hexCharPairToByte'); |
| 1754 let $forEach = dart.JsSymbol('$forEach'); | |
| 1755 let $map = dart.JsSymbol('$map'); | |
| 1756 let $toList = dart.JsSymbol('$toList'); | |
| 1757 let $isEmpty = dart.JsSymbol('$isEmpty'); | |
| 1758 let $removeLast = dart.JsSymbol('$removeLast'); | |
| 1759 let $fold = dart.JsSymbol('$fold'); | |
| 1760 class Uri extends Object { | 1853 class Uri extends Object { |
| 1854 get scheme() { |
| 1855 return this[scheme$]; |
| 1856 } |
| 1761 get authority() { | 1857 get authority() { |
| 1762 if (!dart.notNull(this.hasAuthority)) | 1858 if (!dart.notNull(this.hasAuthority)) |
| 1763 return ""; | 1859 return ""; |
| 1764 let sb = new StringBuffer(); | 1860 let sb = new StringBuffer(); |
| 1765 this[_writeAuthority](sb); | 1861 this[_writeAuthority](sb); |
| 1766 return sb.toString(); | 1862 return sb.toString(); |
| 1767 } | 1863 } |
| 1768 get userInfo() { | 1864 get userInfo() { |
| 1769 return this[_userInfo]; | 1865 return this[_userInfo]; |
| 1770 } | 1866 } |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1958 } | 2054 } |
| 1959 } else if (char == Uri[_NUMBER_SIGN]) { | 2055 } else if (char == Uri[_NUMBER_SIGN]) { |
| 1960 fragment = Uri[_makeFragment](uri, dart.notNull(index) + 1, uri.length); | 2056 fragment = Uri[_makeFragment](uri, dart.notNull(index) + 1, uri.length); |
| 1961 } | 2057 } |
| 1962 return new Uri[_internal](scheme, userinfo, host, port, path, query, fragm
ent); | 2058 return new Uri[_internal](scheme, userinfo, host, port, path, query, fragm
ent); |
| 1963 } | 2059 } |
| 1964 static [_fail](uri, index, message) { | 2060 static [_fail](uri, index, message) { |
| 1965 throw new FormatException(message, uri, index); | 2061 throw new FormatException(message, uri, index); |
| 1966 } | 2062 } |
| 1967 [_internal](scheme, userInfo, host, port, path, query, fragment) { | 2063 [_internal](scheme, userInfo, host, port, path, query, fragment) { |
| 1968 this.scheme = scheme; | 2064 this[scheme$] = scheme; |
| 1969 this[_userInfo] = userInfo; | 2065 this[_userInfo] = userInfo; |
| 1970 this[_host] = host; | 2066 this[_host] = host; |
| 1971 this[_port] = port; | 2067 this[_port] = port; |
| 1972 this[_path] = path; | 2068 this[_path] = path; |
| 1973 this[_query] = query; | 2069 this[_query] = query; |
| 1974 this[_fragment] = fragment; | 2070 this[_fragment] = fragment; |
| 1975 this[_pathSegments] = null; | 2071 this[_pathSegments] = null; |
| 1976 this[_queryParameters] = null; | 2072 this[_queryParameters] = null; |
| 1977 } | 2073 } |
| 1978 Uri(opts) { | 2074 Uri(opts) { |
| (...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3145 exports.Symbol = Symbol; | 3241 exports.Symbol = Symbol; |
| 3146 exports.Type = Type; | 3242 exports.Type = Type; |
| 3147 exports.$forEach = $forEach; | 3243 exports.$forEach = $forEach; |
| 3148 exports.$map = $map; | 3244 exports.$map = $map; |
| 3149 exports.$toList = $toList; | 3245 exports.$toList = $toList; |
| 3150 exports.$isEmpty = $isEmpty; | 3246 exports.$isEmpty = $isEmpty; |
| 3151 exports.$removeLast = $removeLast; | 3247 exports.$removeLast = $removeLast; |
| 3152 exports.$fold = $fold; | 3248 exports.$fold = $fold; |
| 3153 exports.Uri = Uri; | 3249 exports.Uri = Uri; |
| 3154 })(core || (core = {})); | 3250 })(core || (core = {})); |
| OLD | NEW |