| OLD | NEW |
| 1 var core; | 1 var core; |
| 2 (function(exports) { | 2 (function(exports) { |
| 3 'use strict'; | 3 'use strict'; |
| 4 class Object { | 4 class Object { |
| 5 constructor() { | 5 constructor() { |
| 6 let name = this.constructor.name; | 6 let name = this.constructor.name; |
| 7 let init = this[name]; | 7 let init = this[name]; |
| 8 let result = void 0; | 8 let result = void 0; |
| 9 if (init) | 9 if (init) |
| 10 result = init.apply(this, arguments); | 10 result = init.apply(this, arguments); |
| (...skipping 2730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2741 } | 2741 } |
| 2742 ['=='](other) { | 2742 ['=='](other) { |
| 2743 if (!dart.is(other, Uri)) | 2743 if (!dart.is(other, Uri)) |
| 2744 return false; | 2744 return false; |
| 2745 let uri = dart.as(other, Uri); | 2745 let uri = dart.as(other, Uri); |
| 2746 return dart.notNull(this.scheme == uri.scheme) && this.hasAuthority == uri
.hasAuthority && dart.notNull(this.userInfo == uri.userInfo) && dart.notNull(thi
s.host == uri.host) && this.port == uri.port && dart.notNull(this.path == uri.pa
th) && this.hasQuery == uri.hasQuery && dart.notNull(this.query == uri.query) &&
this.hasFragment == uri.hasFragment && dart.notNull(this.fragment == uri.fragme
nt); | 2746 return dart.notNull(this.scheme == uri.scheme) && this.hasAuthority == uri
.hasAuthority && dart.notNull(this.userInfo == uri.userInfo) && dart.notNull(thi
s.host == uri.host) && this.port == uri.port && dart.notNull(this.path == uri.pa
th) && this.hasQuery == uri.hasQuery && dart.notNull(this.query == uri.query) &&
this.hasFragment == uri.hasFragment && dart.notNull(this.fragment == uri.fragme
nt); |
| 2747 } | 2747 } |
| 2748 get hashCode() { | 2748 get hashCode() { |
| 2749 // Function combine: (dynamic, dynamic) → int | 2749 // Function combine: (dynamic, dynamic) → int |
| 2750 function combine(part, current) { | 2750 function combine(part, current) { |
| 2751 return dart.as(dart.dbinary(dart.dbinary(dart.dbinary(current, '*', 31),
'+', dart.dload(part, 'hashCode')), '&', 1073741823), int); | 2751 return dart.as(dart.dbinary(dart.dbinary(dart.dbinary(current, '*', 31),
'+', part.hashCode), '&', 1073741823), int); |
| 2752 } | 2752 } |
| 2753 return combine(this.scheme, combine(this.userInfo, combine(this.host, comb
ine(this.port, combine(this.path, combine(this.query, combine(this.fragment, 1))
))))); | 2753 return combine(this.scheme, combine(this.userInfo, combine(this.host, comb
ine(this.port, combine(this.path, combine(this.query, combine(this.fragment, 1))
))))); |
| 2754 } | 2754 } |
| 2755 static [_addIfNonEmpty](sb, test, first, second) { | 2755 static [_addIfNonEmpty](sb, test, first, second) { |
| 2756 if ("" != test) { | 2756 if ("" != test) { |
| 2757 sb.write(first); | 2757 sb.write(first); |
| 2758 sb.write(second); | 2758 sb.write(second); |
| 2759 } | 2759 } |
| 2760 } | 2760 } |
| 2761 static encodeComponent(component) { | 2761 static encodeComponent(component) { |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3122 exports.Stopwatch = Stopwatch; | 3122 exports.Stopwatch = Stopwatch; |
| 3123 exports.String = String; | 3123 exports.String = String; |
| 3124 exports.$last = $last; | 3124 exports.$last = $last; |
| 3125 exports.RuneIterator = RuneIterator; | 3125 exports.RuneIterator = RuneIterator; |
| 3126 exports.StringBuffer = StringBuffer; | 3126 exports.StringBuffer = StringBuffer; |
| 3127 exports.StringSink = StringSink; | 3127 exports.StringSink = StringSink; |
| 3128 exports.Symbol = Symbol; | 3128 exports.Symbol = Symbol; |
| 3129 exports.Type = Type; | 3129 exports.Type = Type; |
| 3130 exports.Uri = Uri; | 3130 exports.Uri = Uri; |
| 3131 })(core || (core = {})); | 3131 })(core || (core = {})); |
| OLD | NEW |