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

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