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

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