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

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