| OLD | NEW |
| 1 var _interceptors = dart.defineLibrary(_interceptors, {}); | 1 var _interceptors = dart.defineLibrary(_interceptors, {}); |
| 2 var core = dart.import(core); | 2 var core = dart.import(core); |
| 3 var _js_helper = dart.lazyImport(_js_helper); | 3 var _js_helper = dart.lazyImport(_js_helper); |
| 4 var _internal = dart.import(_internal); | 4 var _internal = dart.import(_internal); |
| 5 var _foreign_helper = dart.import(_foreign_helper); | 5 var _foreign_helper = dart.import(_foreign_helper); |
| 6 var _js_embedded_names = dart.import(_js_embedded_names); | 6 var _js_embedded_names = dart.import(_js_embedded_names); |
| 7 (function(exports, core, _js_helper, _internal, _foreign_helper, _js_embedded_na
mes) { | 7 (function(exports, core, _js_helper, _internal, _foreign_helper, _js_embedded_na
mes) { |
| 8 'use strict'; | 8 'use strict'; |
| 9 let JSArray = Array; | 9 let JSArray = Array; |
| 10 let JSMutableArray$ = dart.generic(function(E) { | 10 let JSMutableArray$ = dart.generic(function(E) { |
| 11 class JSMutableArray extends JSArray$(E) { | 11 class JSMutableArray extends JSArray$(E) { |
| 12 JSMutableArray() { | 12 JSMutableArray() { |
| 13 super.JSArray(); | 13 super.JSArray(); |
| 14 } | 14 } |
| 15 } | 15 } |
| 16 JSMutableArray[dart.implements] = () => [JSMutableIndexable]; | 16 JSMutableArray[dart.implements] = () => [JSMutableIndexable]; |
| 17 return JSMutableArray; | 17 return JSMutableArray; |
| 18 }); | 18 }); |
| 19 let JSMutableArray = JSMutableArray$(); | 19 let JSMutableArray = JSMutableArray$(); |
| 20 let JSFixedArray$ = dart.generic(function(E) { | 20 let JSFixedArray$ = dart.generic(function(E) { |
| 21 class JSFixedArray extends JSMutableArray$(E) {} | 21 class JSFixedArray extends JSMutableArray$(E) {} |
| 22 return JSFixedArray; | 22 return JSFixedArray; |
| 23 }); | 23 }); |
| 24 let JSFixedArray = JSFixedArray$(); | 24 let JSFixedArray = JSFixedArray$(); |
| 25 let JSExtendableArray$ = dart.generic(function(E) { | 25 let JSExtendableArray$ = dart.generic(function(E) { |
| 26 class JSExtendableArray extends JSMutableArray$(E) {} | 26 class JSExtendableArray extends JSMutableArray$(E) {} |
| 27 return JSExtendableArray; | 27 return JSExtendableArray; |
| 28 }); | 28 }); |
| 29 let JSExtendableArray = JSExtendableArray$(); | 29 let JSExtendableArray = JSExtendableArray$(); |
| 30 let _isInt32 = Symbol('_isInt32'); | |
| 31 let _tdivFast = Symbol('_tdivFast'); | |
| 32 let _tdivSlow = Symbol('_tdivSlow'); | |
| 33 let _shlPositive = Symbol('_shlPositive'); | |
| 34 let _shrReceiverPositive = Symbol('_shrReceiverPositive'); | |
| 35 let _shrOtherPositive = Symbol('_shrOtherPositive'); | |
| 36 let _shrBothPositive = Symbol('_shrBothPositive'); | |
| 37 class Interceptor extends core.Object { | 30 class Interceptor extends core.Object { |
| 38 Interceptor() { | 31 Interceptor() { |
| 39 } | 32 } |
| 40 ['=='](other) { | 33 ['=='](other) { |
| 41 return core.identical(this, other); | 34 return core.identical(this, other); |
| 42 } | 35 } |
| 43 get hashCode() { | 36 get hashCode() { |
| 44 return _js_helper.Primitives.objectHashCode(this); | 37 return _js_helper.Primitives.objectHashCode(this); |
| 45 } | 38 } |
| 46 toString() { | 39 toString() { |
| 47 return _js_helper.Primitives.objectToString(this); | 40 return _js_helper.Primitives.objectToString(this); |
| 48 } | 41 } |
| 49 noSuchMethod(invocation) { | 42 noSuchMethod(invocation) { |
| 50 throw new core.NoSuchMethodError(this, invocation.memberName, invocation.p
ositionalArguments, invocation.namedArguments); | 43 throw new core.NoSuchMethodError(this, invocation.memberName, invocation.p
ositionalArguments, invocation.namedArguments); |
| 51 } | 44 } |
| 52 get runtimeType() { | 45 get runtimeType() { |
| 53 return _js_helper.getRuntimeType(this); | 46 return _js_helper.getRuntimeType(this); |
| 54 } | 47 } |
| 55 } | 48 } |
| 49 let _isInt32 = Symbol('_isInt32'); |
| 50 let _tdivFast = Symbol('_tdivFast'); |
| 51 let _tdivSlow = Symbol('_tdivSlow'); |
| 52 let _shlPositive = Symbol('_shlPositive'); |
| 53 let _shrReceiverPositive = Symbol('_shrReceiverPositive'); |
| 54 let _shrOtherPositive = Symbol('_shrOtherPositive'); |
| 55 let _shrBothPositive = Symbol('_shrBothPositive'); |
| 56 class JSNumber extends Interceptor { | 56 class JSNumber extends Interceptor { |
| 57 JSNumber() { | 57 JSNumber() { |
| 58 super.Interceptor(); | 58 super.Interceptor(); |
| 59 } | 59 } |
| 60 compareTo(b) { | 60 compareTo(b) { |
| 61 if (!dart.is(b, core.num)) | 61 if (!dart.is(b, core.num)) |
| 62 throw new core.ArgumentError(b); | 62 throw new core.ArgumentError(b); |
| 63 if (this['<'](b)) { | 63 if (this['<'](b)) { |
| 64 return -1; | 64 return -1; |
| 65 } else if (this['>'](b)) { | 65 } else if (this['>'](b)) { |
| (...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 } | 1055 } |
| 1056 } | 1056 } |
| 1057 // Exports: | 1057 // Exports: |
| 1058 exports.JSArray = JSArray; | 1058 exports.JSArray = JSArray; |
| 1059 exports.JSMutableArray$ = JSMutableArray$; | 1059 exports.JSMutableArray$ = JSMutableArray$; |
| 1060 exports.JSMutableArray = JSMutableArray; | 1060 exports.JSMutableArray = JSMutableArray; |
| 1061 exports.JSFixedArray$ = JSFixedArray$; | 1061 exports.JSFixedArray$ = JSFixedArray$; |
| 1062 exports.JSFixedArray = JSFixedArray; | 1062 exports.JSFixedArray = JSFixedArray; |
| 1063 exports.JSExtendableArray$ = JSExtendableArray$; | 1063 exports.JSExtendableArray$ = JSExtendableArray$; |
| 1064 exports.JSExtendableArray = JSExtendableArray; | 1064 exports.JSExtendableArray = JSExtendableArray; |
| 1065 exports.Interceptor = Interceptor; |
| 1065 exports.JSNumber = JSNumber; | 1066 exports.JSNumber = JSNumber; |
| 1066 exports.Interceptor = Interceptor; | |
| 1067 exports.JSInt = JSInt; | 1067 exports.JSInt = JSInt; |
| 1068 exports.JSDouble = JSDouble; | 1068 exports.JSDouble = JSDouble; |
| 1069 exports.JSPositiveInt = JSPositiveInt; | 1069 exports.JSPositiveInt = JSPositiveInt; |
| 1070 exports.JSUInt32 = JSUInt32; | 1070 exports.JSUInt32 = JSUInt32; |
| 1071 exports.JSUInt31 = JSUInt31; | 1071 exports.JSUInt31 = JSUInt31; |
| 1072 exports.JSString = JSString; | 1072 exports.JSString = JSString; |
| 1073 exports.getInterceptor = getInterceptor; | 1073 exports.getInterceptor = getInterceptor; |
| 1074 exports.getDispatchProperty = getDispatchProperty; | 1074 exports.getDispatchProperty = getDispatchProperty; |
| 1075 exports.setDispatchProperty = setDispatchProperty; | 1075 exports.setDispatchProperty = setDispatchProperty; |
| 1076 exports.makeDispatchRecord = makeDispatchRecord; | 1076 exports.makeDispatchRecord = makeDispatchRecord; |
| 1077 exports.dispatchRecordInterceptor = dispatchRecordInterceptor; | 1077 exports.dispatchRecordInterceptor = dispatchRecordInterceptor; |
| 1078 exports.dispatchRecordProto = dispatchRecordProto; | 1078 exports.dispatchRecordProto = dispatchRecordProto; |
| 1079 exports.dispatchRecordExtension = dispatchRecordExtension; | 1079 exports.dispatchRecordExtension = dispatchRecordExtension; |
| 1080 exports.dispatchRecordIndexability = dispatchRecordIndexability; | 1080 exports.dispatchRecordIndexability = dispatchRecordIndexability; |
| 1081 exports.getNativeInterceptor = getNativeInterceptor; | 1081 exports.getNativeInterceptor = getNativeInterceptor; |
| 1082 exports.findIndexForNativeSubclassType = findIndexForNativeSubclassType; | 1082 exports.findIndexForNativeSubclassType = findIndexForNativeSubclassType; |
| 1083 exports.findInterceptorConstructorForType = findInterceptorConstructorForType; | 1083 exports.findInterceptorConstructorForType = findInterceptorConstructorForType; |
| 1084 exports.findConstructorForNativeSubclassType = findConstructorForNativeSubclas
sType; | 1084 exports.findConstructorForNativeSubclassType = findConstructorForNativeSubclas
sType; |
| 1085 exports.findInterceptorForType = findInterceptorForType; | 1085 exports.findInterceptorForType = findInterceptorForType; |
| 1086 exports.JSBool = JSBool; | 1086 exports.JSBool = JSBool; |
| 1087 exports.JSNull = JSNull; | 1087 exports.JSNull = JSNull; |
| 1088 exports.JSIndexable = JSIndexable; | 1088 exports.JSIndexable = JSIndexable; |
| 1089 exports.JSMutableIndexable = JSMutableIndexable; | 1089 exports.JSMutableIndexable = JSMutableIndexable; |
| 1090 exports.JSObject = JSObject; | 1090 exports.JSObject = JSObject; |
| 1091 exports.JavaScriptObject = JavaScriptObject; | 1091 exports.JavaScriptObject = JavaScriptObject; |
| 1092 exports.PlainJavaScriptObject = PlainJavaScriptObject; | 1092 exports.PlainJavaScriptObject = PlainJavaScriptObject; |
| 1093 exports.UnknownJavaScriptObject = UnknownJavaScriptObject; | 1093 exports.UnknownJavaScriptObject = UnknownJavaScriptObject; |
| 1094 })(_interceptors, core, _js_helper, _internal, _foreign_helper, _js_embedded_nam
es); | 1094 })(_interceptors, core, _js_helper, _internal, _foreign_helper, _js_embedded_nam
es); |
| OLD | NEW |