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

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