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

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