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