OLD | NEW |
| (Empty) |
1 (function() { | |
2 'use strict'; | |
3 const dart_sdk = require('dart_sdk'); | |
4 const core = dart_sdk.core; | |
5 const dart = dart_sdk.dart; | |
6 const dartx = dart_sdk.dartx; | |
7 const node_modules = Object.create(null); | |
8 node_modules.Callback = dart.typedef('Callback', () => dart.functionType(dart.
void, [], {i: core.int})); | |
9 node_modules.A = class A extends core.Object {}; | |
10 node_modules._A = class _A extends core.Object {}; | |
11 node_modules.B$ = dart.generic(T => { | |
12 class B extends core.Object {} | |
13 return B; | |
14 }); | |
15 node_modules.B = node_modules.B$(); | |
16 node_modules._B$ = dart.generic(T => { | |
17 class _B extends core.Object {} | |
18 return _B; | |
19 }); | |
20 node_modules._B = node_modules._B$(); | |
21 node_modules.f = function() { | |
22 }; | |
23 dart.fn(node_modules.f); | |
24 node_modules._f = function() { | |
25 }; | |
26 dart.fn(node_modules._f); | |
27 node_modules.constant = "abc"; | |
28 node_modules.finalConstant = "abc"; | |
29 dart.defineLazy(node_modules, { | |
30 get lazy() { | |
31 return dart.fn(() => { | |
32 core.print('lazy'); | |
33 return "abc"; | |
34 }, core.String, [])(); | |
35 } | |
36 }); | |
37 node_modules.mutable = "abc"; | |
38 dart.defineLazy(node_modules, { | |
39 get lazyMutable() { | |
40 return dart.fn(() => { | |
41 core.print('lazyMutable'); | |
42 return "abc"; | |
43 }, core.String, [])(); | |
44 }, | |
45 set lazyMutable(_) {} | |
46 }); | |
47 // Exports: | |
48 exports.node_modules = node_modules; | |
49 })(); | |
OLD | NEW |