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_fork_last = 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_module = 28,
|
37 | _running_trap = 29,
|
38 | _running_hay = 30,
|
39 | _no_debug_trap = 31,
|
40 | _no_err_trap = 32,
|
41 | strict_parse_slice = 33,
|
42 | strict_argv = 34,
|
43 | strict_arith = 35,
|
44 | strict_array = 36,
|
45 | strict_control_flow = 37,
|
46 | strict_errexit = 38,
|
47 | strict_nameref = 39,
|
48 | strict_word_eval = 40,
|
49 | strict_tilde = 41,
|
50 | strict_glob = 42,
|
51 | parse_at = 43,
|
52 | parse_proc = 44,
|
53 | parse_func = 45,
|
54 | parse_brace = 46,
|
55 | parse_bracket = 47,
|
56 | parse_equals = 48,
|
57 | parse_paren = 49,
|
58 | parse_ysh_string = 50,
|
59 | parse_triple_quote = 51,
|
60 | simple_word_eval = 52,
|
61 | dashglob = 53,
|
62 | command_sub_errexit = 54,
|
63 | process_sub_fail = 55,
|
64 | xtrace_rich = 56,
|
65 | xtrace_details = 57,
|
66 | sigpipe_status_ok = 58,
|
67 | redefine_proc_func = 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 | true_ = 15,
|
144 | false_ = 16,
|
145 | try_ = 17,
|
146 | assert_ = 18,
|
147 | read = 19,
|
148 | echo = 20,
|
149 | printf = 21,
|
150 | mapfile = 22,
|
151 | readarray = 23,
|
152 | cd = 24,
|
153 | pushd = 25,
|
154 | popd = 26,
|
155 | dirs = 27,
|
156 | pwd = 28,
|
157 | source = 29,
|
158 | umask = 30,
|
159 | ulimit = 31,
|
160 | wait = 32,
|
161 | jobs = 33,
|
162 | fg = 34,
|
163 | bg = 35,
|
164 | shopt = 36,
|
165 | complete = 37,
|
166 | compgen = 38,
|
167 | compopt = 39,
|
168 | compadjust = 40,
|
169 | compexport = 41,
|
170 | getopts = 42,
|
171 | builtin = 43,
|
172 | command = 44,
|
173 | type = 45,
|
174 | hash = 46,
|
175 | help = 47,
|
176 | history = 48,
|
177 | alias = 49,
|
178 | unalias = 50,
|
179 | bind = 51,
|
180 | append = 52,
|
181 | write = 53,
|
182 | json = 54,
|
183 | json8 = 55,
|
184 | pp = 56,
|
185 | hay = 57,
|
186 | haynode = 58,
|
187 | use = 59,
|
188 | error = 60,
|
189 | failed = 61,
|
190 | fork = 62,
|
191 | forkwait = 63,
|
192 | fopen = 64,
|
193 | shvar = 65,
|
194 | ctx = 66,
|
195 | runproc = 67,
|
196 | boolstatus = 68,
|
197 | test = 69,
|
198 | bracket = 70,
|
199 | push_registers = 71,
|
200 | source_guard = 72,
|
201 | is_main = 73,
|
202 | cat = 74,
|
203 | ARRAY_SIZE = 75,
|
204 | };
|
205 | };
|
206 |
|
207 | typedef int builtin_t;
|
208 |
|
209 |
|
210 | } // namespace option_asdl
|
211 |
|
212 | #endif // OPTION_ASDL_H
|