OILS / _gen / frontend / option.asdl.h View on Github | oils.pub

240 lines, 231 significant
1#ifndef OPTION_ASDL_H
2#define OPTION_ASDL_H
3
4namespace option_asdl {
5
6#define ASDL_NAMES struct
7ASDL_NAMES option_i {
8 enum no_name {
9 errexit = 1,
10 nounset = 2,
11 pipefail = 3,
12 inherit_errexit = 4,
13 nullglob = 5,
14 verbose_errexit = 6,
15 verbose_warn = 7,
16 allexport = 8,
17 noexec = 9,
18 xtrace = 10,
19 verbose = 11,
20 noglob = 12,
21 noclobber = 13,
22 errtrace = 14,
23 posix = 15,
24 vi = 16,
25 emacs = 17,
26 interactive = 18,
27 hashall = 19,
28 lastpipe = 20,
29 extglob = 21,
30 failglob = 22,
31 nocasematch = 23,
32 dotglob = 24,
33 globskipdots = 25,
34 extdebug = 26,
35 eval_unsafe_arith = 27,
36 ignore_flags_not_impl = 28,
37 ignore_shopt_not_impl = 29,
38 rewrite_extern = 30,
39 _allow_command_sub = 31,
40 _allow_process_sub = 32,
41 dynamic_scope = 33,
42 redefine_const = 34,
43 redefine_source = 35,
44 _running_trap = 36,
45 _running_hay = 37,
46 _no_debug_trap = 38,
47 _no_err_trap = 39,
48 strict_parse_equals = 40,
49 strict_parse_slice = 41,
50 strict_argv = 42,
51 strict_arith = 43,
52 strict_arg_parse = 44,
53 strict_array = 45,
54 strict_control_flow = 46,
55 strict_env_binding = 47,
56 strict_errexit = 48,
57 strict_nameref = 49,
58 strict_word_eval = 50,
59 strict_tilde = 51,
60 strict_glob = 52,
61 parse_at = 53,
62 parse_proc = 54,
63 parse_func = 55,
64 parse_brace = 56,
65 parse_bracket = 57,
66 parse_equals = 58,
67 parse_paren = 59,
68 parse_ysh_string = 60,
69 parse_triple_quote = 61,
70 parse_ysh_expr_sub = 62,
71 simple_word_eval = 63,
72 no_dash_glob = 64,
73 command_sub_errexit = 65,
74 process_sub_fail = 66,
75 xtrace_rich = 67,
76 no_xtrace_osh = 68,
77 sigpipe_status_ok = 69,
78 env_obj = 70,
79 init_ysh_globals = 71,
80 for_loop_frames = 72,
81 ysh_rewrite_extern = 73,
82 parse_at_all = 74,
83 no_parse_backslash = 75,
84 no_parse_backticks = 76,
85 no_parse_bare_word = 77,
86 no_parse_dbracket = 78,
87 no_parse_dollar = 79,
88 no_parse_dparen = 80,
89 no_parse_ignored = 81,
90 no_parse_osh = 82,
91 no_parse_sh_arith = 83,
92 no_parse_word_join = 84,
93 no_exported = 85,
94 no_init_globals = 86,
95 no_osh_builtins = 87,
96 simple_echo = 88,
97 simple_eval_builtin = 89,
98 simple_test_builtin = 90,
99 simple_trap_builtin = 91,
100 expand_aliases = 92,
101 progcomp = 93,
102 hostcomplete = 94,
103 histappend = 95,
104 cmdhist = 96,
105 assoc_expand_once = 97,
106 autocd = 98,
107 cdable_vars = 99,
108 cdspell = 100,
109 checkhash = 101,
110 checkjobs = 102,
111 checkwinsize = 103,
112 complete_fullquote = 104,
113 direxpand = 105,
114 dirspell = 106,
115 execfail = 107,
116 extquote = 108,
117 force_fignore = 109,
118 globasciiranges = 110,
119 globstar = 111,
120 gnu_errfmt = 112,
121 histreedit = 113,
122 histverify = 114,
123 huponexit = 115,
124 interactive_comments = 116,
125 lithist = 117,
126 localvar_inherit = 118,
127 localvar_unset = 119,
128 login_shell = 120,
129 mailwarn = 121,
130 no_empty_cmd_completion = 122,
131 nocaseglob = 123,
132 progcomp_alias = 124,
133 promptvars = 125,
134 restricted_shell = 126,
135 shift_verbose = 127,
136 sourcepath = 128,
137 xpg_echo = 129,
138 ARRAY_SIZE = 130,
139 };
140};
141
142typedef int option_t;
143
144ASDL_NAMES builtin_i {
145 enum no_name {
146 colon = 1,
147 dot = 2,
148 exec_ = 3,
149 eval = 4,
150 set = 5,
151 shift = 6,
152 times = 7,
153 trap = 8,
154 unset = 9,
155 readonly = 10,
156 local = 11,
157 declare = 12,
158 typeset = 13,
159 export_ = 14,
160 true_ = 15,
161 false_ = 16,
162 try_ = 17,
163 assert_ = 18,
164 break_ = 19,
165 continue_ = 20,
166 return_ = 21,
167 exit = 22,
168 read = 23,
169 echo = 24,
170 printf = 25,
171 mapfile = 26,
172 readarray = 27,
173 cd = 28,
174 chdir = 29,
175 pushd = 30,
176 popd = 31,
177 dirs = 32,
178 pwd = 33,
179 source = 34,
180 umask = 35,
181 ulimit = 36,
182 wait = 37,
183 jobs = 38,
184 fg = 39,
185 bg = 40,
186 kill = 41,
187 shopt = 42,
188 complete = 43,
189 compgen = 44,
190 compopt = 45,
191 compadjust = 46,
192 compexport = 47,
193 getopts = 48,
194 builtin = 49,
195 command = 50,
196 type = 51,
197 hash = 52,
198 help = 53,
199 history = 54,
200 fc = 55,
201 alias = 56,
202 unalias = 57,
203 bind = 58,
204 append = 59,
205 write = 60,
206 json = 61,
207 json8 = 62,
208 pp = 63,
209 hay = 64,
210 haynode = 65,
211 use = 66,
212 error = 67,
213 failed = 68,
214 fork = 69,
215 forkwait = 70,
216 redir = 71,
217 fopen = 72,
218 shvar = 73,
219 ctx = 74,
220 invoke = 75,
221 runproc = 76,
222 boolstatus = 77,
223 test = 78,
224 bracket = 79,
225 push_registers = 80,
226 source_guard = 81,
227 is_main = 82,
228 cat = 83,
229 rm = 84,
230 sleep = 85,
231 ARRAY_SIZE = 86,
232 };
233};
234
235typedef int builtin_t;
236
237
238} // namespace option_asdl
239
240#endif // OPTION_ASDL_H