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

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