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

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