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

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