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