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

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