git ssb

0+

cel-desktop / ssb-pkg



Tree: e9d9dec1d00ff365112ca0f981bbda15e3682528

Files: e9d9dec1d00ff365112ca0f981bbda15e3682528 / test / test-50-ast-parsing / test-y-data.txt

3947 bytesRaw
1// TODO import "barbos0" once it works
2/***/ import foo1 from "barbos0";
3/***/ import { foo2, foo3 } from "barbos0";
4/***/ import foo4, { foo5 as foo5a } from "barbos0";
5
6function hellee(a, b, c) {
7
8 require.resolve();
9 /***/ require.resolve("barbos1");
10 /***/ require.resolve("barbos1", "must-exclude1");
11 /***/ require.resolve("barbos1", "may-exclude1");
12 /***/ require.resolve("barbos1", "unknown1");
13
14 require();
15 /***/ require("barbos2");
16 /***/ require("barbos2", "must-exclude2");
17 /***/ require("barbos2", "may-exclude2");
18 /***/ require("barbos2", "unknown2");
19
20 path.join();
21 path.join(__dirname);
22 /***/ path.join(__dirname, "file");
23
24 // TODO path.join(__dirname + "/file");
25
26 return {
27 result: a + b - c
28 };
29
30}
31
32function helleeTry(a, b, c) {
33
34 try { require.resolve(); } catch (_) {}
35 /***/ try { require.resolve("barbos1"); } catch (_) {}
36 /***/ try { require.resolve("barbos1", "must-exclude1"); } catch (_) {}
37 /***/ try { require.resolve("barbos1", "may-exclude1"); } catch (_) {}
38 /***/ try { require.resolve("barbos1", "unknown1"); } catch (_) {}
39
40 try { require(); } catch (_) {}
41 /***/ try { require("barbos2"); } catch (_) {}
42 /***/ try { require("barbos2", "must-exclude2"); } catch (_) {}
43 /***/ try { require("barbos2", "may-exclude2"); } catch (_) {}
44 /***/ try { require("barbos2", "unknown2"); } catch (_) {}
45
46 try { path.join(); } catch (_) {}
47 try { path.join(__dirname); } catch (_) {}
48 /***/ try { path.join(__dirname, "file"); } catch (_) {}
49
50 // TODO path.join(__dirname + "/file");
51
52 return {
53 result: a + b - c
54 };
55
56}
57
58function helluu(a, b, c) {
59
60 return {
61 result: function() {
62
63 var require = {};
64 var path = {};
65
66 require.resolve();
67 /***/ require.resolve("barbos1");
68 /***/ require.resolve("barbos1", "must-exclude1");
69 /***/ require.resolve("barbos1", "may-exclude1");
70 /***/ require.resolve("barbos1", "unknown1");
71
72 require();
73 /***/ require("barbos2");
74 /***/ require("barbos2", "must-exclude2");
75 /***/ require("barbos2", "may-exclude2");
76 /***/ require("barbos2", "unknown2");
77
78 path.join();
79 path.join(__dirname);
80 /***/ path.join(__dirname, "file");
81
82 // TODO path.join(__dirname + "/file");
83
84 return {
85 result: a + b - c
86 };
87
88 }
89 }
90
91}
92
93function helluuTry(a, b, c) {
94
95 return {
96 result: function() {
97
98 var require = {};
99 var path = {};
100
101 try { require.resolve(); } catch (_) {}
102 /***/ try { require.resolve("barbos1"); } catch (_) {}
103 /***/ try { require.resolve("barbos1", "must-exclude1"); } catch (_) {}
104 /***/ try { require.resolve("barbos1", "may-exclude1"); } catch (_) {}
105 /***/ try { require.resolve("barbos1", "unknown1"); } catch (_) {}
106
107 try { require(); } catch (_) {}
108 /***/ try { require("barbos2"); } catch (_) {}
109 /***/ try { require("barbos2", "must-exclude2"); } catch (_) {}
110 /***/ try { require("barbos2", "may-exclude2"); } catch (_) {}
111 /***/ try { require("barbos2", "unknown2"); } catch (_) {}
112
113 try { path.join(); } catch (_) {}
114 try { path.join(__dirname); } catch (_) {}
115 /***/ try { path.join(__dirname, "file"); } catch (_) {}
116
117 // TODO path.join(__dirname + "/file");
118
119 return {
120 result: a + b - c
121 };
122
123 }
124 }
125
126}
127
128console.log(
129 hellee(1, 2, 3).result,
130 helluu(4, 5, 6).result
131);
132
133var inheritedDataKeys = (function() {
134 var obj = {};
135 function hasProp(o, k) {
136 return true;
137 }
138 enumeration: for (var key in obj) {
139 if (!hasProp.call(obj, key)) {
140 continue enumeration;
141 }
142 }
143})();
144
145var INFINITY = 1 / 0;
146var NEGATIVE_INFINITY = -1 / 0;
147
148var group_names = [
149 , 'whitespace' // INTENTIONAL COMMA!
150 , 'terminator'
151 , 'string'
152 , 'comment'
153 , 'identifier'
154 , 'preprocess'
155 , 'operator'
156 , 'invalid'
157];
158

Built with git-ssb-web