1 | // Generated by CoffeeScript 1.10.0
|
2 | (function() {
|
3 | module.exports = {
|
4 | packageVar: null,
|
5 | packageName: "@mfjs/core",
|
6 | start: "start",
|
7 | verbose: false,
|
8 | policyTrace: false,
|
9 | states: {
|
10 | coerce: "all",
|
11 | start: {},
|
12 | full: {
|
13 | CallExpression: {
|
14 | match: {
|
15 | name: {
|
16 | $: true,
|
17 | _: true
|
18 | },
|
19 | "package": {
|
20 | console: true,
|
21 | window: true,
|
22 | process: true,
|
23 | assert: true
|
24 | }
|
25 | },
|
26 | select: "matchCallName",
|
27 | cases: {
|
28 | "false": {
|
29 | bind: true
|
30 | }
|
31 | }
|
32 | },
|
33 | compile: true
|
34 | },
|
35 | disabled: {
|
36 | bind: false,
|
37 | compile: false
|
38 | },
|
39 | minimal: {
|
40 | CallExpression: {
|
41 | match: {
|
42 | name: {},
|
43 | "package": {},
|
44 | libVar: true
|
45 | },
|
46 | select: "matchCallName",
|
47 | cases: {
|
48 | "true": {
|
49 | bind: true
|
50 | }
|
51 | }
|
52 | },
|
53 | compile: true
|
54 | },
|
55 | nothing: {
|
56 | bind: false
|
57 | },
|
58 | defaultFull: {
|
59 | Function: {
|
60 | match: {
|
61 | name: {},
|
62 | "package": {},
|
63 | postfix: {},
|
64 | prefix: {}
|
65 | },
|
66 | select: "matchDeclName",
|
67 | cases: {
|
68 | "true": {
|
69 | sub: "minimal"
|
70 | },
|
71 | "false": {
|
72 | sub: "full"
|
73 | }
|
74 | }
|
75 | }
|
76 | },
|
77 | defaultMinimal: {
|
78 | Function: {
|
79 | match: {
|
80 | name: {},
|
81 | "package": {},
|
82 | postfix: {},
|
83 | prefix: {}
|
84 | },
|
85 | select: "matchDeclName",
|
86 | cases: {
|
87 | "true": {
|
88 | sub: "full"
|
89 | },
|
90 | "false": {
|
91 | sub: "minimal"
|
92 | }
|
93 | }
|
94 | }
|
95 | },
|
96 | defaultNothing: {
|
97 | Function: {
|
98 | match: {
|
99 | name: {},
|
100 | "package": {},
|
101 | postfix: {},
|
102 | prefix: {}
|
103 | },
|
104 | select: "matchDeclName",
|
105 | cases: {
|
106 | "true": {
|
107 | sub: "nothing"
|
108 | },
|
109 | "false": {
|
110 | sub: "minimal"
|
111 | }
|
112 | }
|
113 | }
|
114 | },
|
115 | regenerator: {
|
116 | Function: {
|
117 | select: "prop('generator')",
|
118 | cases: {
|
119 | "true": {
|
120 | sub: "regenerate"
|
121 | }
|
122 | }
|
123 | }
|
124 | },
|
125 | regenerate: {
|
126 | compile: "always",
|
127 | coerce: "none",
|
128 | Function: {
|
129 | select: "prop('generator')",
|
130 | cases: {
|
131 | "false": {
|
132 | sub: "regenerator"
|
133 | }
|
134 | }
|
135 | },
|
136 | YieldExpression: {
|
137 | mopt: false,
|
138 | bind: true
|
139 | }
|
140 | }
|
141 | }
|
142 | };
|
143 |
|
144 | }).call(this);
|