OILS / _gen / frontend / option.asdl.h View on Github | oilshell.org

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