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

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