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