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