OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/conditional_property_increment_decrement_test_non
e_multi', null, /* Imports */[ |
| 2 'dart_sdk' |
| 3 ], function load__conditional_property_increment_decrement_test_none_multi(expor
ts, dart_sdk) { |
| 4 'use strict'; |
| 5 const core = dart_sdk.core; |
| 6 const dart = dart_sdk.dart; |
| 7 const dartx = dart_sdk.dartx; |
| 8 const conditional_property_increment_decrement_test_none_multi = Object.create
(null); |
| 9 const conditional_access_helper = Object.create(null); |
| 10 let VoidToC = () => (VoidToC = dart.constFn(dart.definiteFunctionType(conditio
nal_property_increment_decrement_test_none_multi.C, [])))(); |
| 11 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 12 let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(da
rt.void, [])))(); |
| 13 let VoidToC$ = () => (VoidToC$ = dart.constFn(dart.definiteFunctionType(condit
ional_access_helper.C, [])))(); |
| 14 conditional_property_increment_decrement_test_none_multi.C = class C extends c
ore.Object { |
| 15 new(v) { |
| 16 this.v = v; |
| 17 } |
| 18 }; |
| 19 dart.setSignature(conditional_property_increment_decrement_test_none_multi.C,
{ |
| 20 constructors: () => ({new: dart.definiteFunctionType(conditional_property_in
crement_decrement_test_none_multi.C, [core.int])}) |
| 21 }); |
| 22 conditional_property_increment_decrement_test_none_multi.C.staticInt = null; |
| 23 conditional_property_increment_decrement_test_none_multi.D = class D extends c
ore.Object { |
| 24 new(v) { |
| 25 this.v = v; |
| 26 } |
| 27 }; |
| 28 dart.setSignature(conditional_property_increment_decrement_test_none_multi.D,
{ |
| 29 constructors: () => ({new: dart.definiteFunctionType(conditional_property_in
crement_decrement_test_none_multi.D, [conditional_property_increment_decrement_t
est_none_multi.E])}) |
| 30 }); |
| 31 conditional_property_increment_decrement_test_none_multi.D.staticE = null; |
| 32 conditional_property_increment_decrement_test_none_multi.E = class E extends c
ore.Object { |
| 33 ['+'](i) { |
| 34 return new conditional_property_increment_decrement_test_none_multi.I(); |
| 35 } |
| 36 ['-'](i) { |
| 37 return new conditional_property_increment_decrement_test_none_multi.I(); |
| 38 } |
| 39 }; |
| 40 dart.setSignature(conditional_property_increment_decrement_test_none_multi.E,
{ |
| 41 methods: () => ({ |
| 42 '+': dart.definiteFunctionType(conditional_property_increment_decrement_te
st_none_multi.G, [core.int]), |
| 43 '-': dart.definiteFunctionType(conditional_property_increment_decrement_te
st_none_multi.G, [core.int]) |
| 44 }) |
| 45 }); |
| 46 conditional_property_increment_decrement_test_none_multi.F = class F extends c
ore.Object {}; |
| 47 conditional_property_increment_decrement_test_none_multi.G = class G extends c
onditional_property_increment_decrement_test_none_multi.E {}; |
| 48 conditional_property_increment_decrement_test_none_multi.G[dart.implements] =
() => [conditional_property_increment_decrement_test_none_multi.F]; |
| 49 conditional_property_increment_decrement_test_none_multi.H = class H extends c
ore.Object {}; |
| 50 conditional_property_increment_decrement_test_none_multi.I = class I extends c
onditional_property_increment_decrement_test_none_multi.G {}; |
| 51 conditional_property_increment_decrement_test_none_multi.I[dart.implements] =
() => [conditional_property_increment_decrement_test_none_multi.H]; |
| 52 conditional_property_increment_decrement_test_none_multi.nullC = function() { |
| 53 return null; |
| 54 }; |
| 55 dart.fn(conditional_property_increment_decrement_test_none_multi.nullC, VoidTo
C()); |
| 56 conditional_property_increment_decrement_test_none_multi.main = function() { |
| 57 let l = conditional_property_increment_decrement_test_none_multi.nullC(); |
| 58 l == null ? null : l.v = 1; |
| 59 }; |
| 60 dart.fn(conditional_property_increment_decrement_test_none_multi.main, VoidTod
ynamic()); |
| 61 conditional_access_helper.topLevelVar = null; |
| 62 conditional_access_helper.topLevelFunction = function() { |
| 63 }; |
| 64 dart.fn(conditional_access_helper.topLevelFunction, VoidTovoid()); |
| 65 conditional_access_helper.C = class C extends core.Object { |
| 66 static staticF(callback) { |
| 67 return callback(); |
| 68 } |
| 69 static staticG(callback) { |
| 70 return callback(); |
| 71 } |
| 72 }; |
| 73 dart.setSignature(conditional_access_helper.C, { |
| 74 statics: () => ({ |
| 75 staticF: dart.definiteFunctionType(dart.dynamic, [dart.functionType(dart.d
ynamic, [])]), |
| 76 staticG: dart.definiteFunctionType(core.int, [dart.functionType(core.int,
[])]) |
| 77 }), |
| 78 names: ['staticF', 'staticG'] |
| 79 }); |
| 80 conditional_access_helper.C.staticInt = null; |
| 81 conditional_access_helper.nullC = function() { |
| 82 return null; |
| 83 }; |
| 84 dart.fn(conditional_access_helper.nullC, VoidToC$()); |
| 85 conditional_access_helper.D = class D extends core.Object {}; |
| 86 conditional_access_helper.D.staticE = null; |
| 87 conditional_access_helper.E = class E extends core.Object { |
| 88 ['+'](i) { |
| 89 return new conditional_access_helper.I(); |
| 90 } |
| 91 ['-'](i) { |
| 92 return new conditional_access_helper.I(); |
| 93 } |
| 94 }; |
| 95 dart.setSignature(conditional_access_helper.E, { |
| 96 methods: () => ({ |
| 97 '+': dart.definiteFunctionType(conditional_access_helper.G, [core.int]), |
| 98 '-': dart.definiteFunctionType(conditional_access_helper.G, [core.int]) |
| 99 }) |
| 100 }); |
| 101 conditional_access_helper.F = class F extends core.Object {}; |
| 102 conditional_access_helper.G = class G extends conditional_access_helper.E {}; |
| 103 conditional_access_helper.G[dart.implements] = () => [conditional_access_helpe
r.F]; |
| 104 conditional_access_helper.H = class H extends core.Object {}; |
| 105 conditional_access_helper.I = class I extends conditional_access_helper.G {}; |
| 106 conditional_access_helper.I[dart.implements] = () => [conditional_access_helpe
r.H]; |
| 107 // Exports: |
| 108 exports.conditional_property_increment_decrement_test_none_multi = conditional
_property_increment_decrement_test_none_multi; |
| 109 exports.conditional_access_helper = conditional_access_helper; |
| 110 }); |
OLD | NEW |