1 #include "nit.common.h"
2 extern const int COLOR_opts__Option___names
;
3 val
* opts__Option__names(val
* self
);
4 extern const int COLOR_opts__Option___helptext
;
5 val
* opts__Option__helptext(val
* self
);
6 extern const int COLOR_opts__Option___errors
;
7 val
* opts__Option__errors(val
* self
);
8 extern const int COLOR_opts__Option___mandatory
;
9 short int opts__Option__mandatory(val
* self
);
10 void opts__Option__mandatory_61d(val
* self
, short int p0
);
11 extern const int COLOR_opts__Option___read
;
12 short int opts__Option__read(val
* self
);
13 extern const int COLOR_opts__Option_VTVALUE
;
14 extern const int COLOR_opts__Option___value
;
15 void opts__Option__value_61d(val
* self
, val
* p0
);
16 val
* opts__Option__value(val
* self
);
17 extern const int COLOR_opts__Option___default_value
;
18 val
* opts__Option__default_value(val
* self
);
19 void opts__Option__default_value_61d(val
* self
, val
* p0
);
20 val
* NEW_array__Array(const struct type
* type
);
21 extern const struct type type_array__Arraystring__String
;
22 extern const int COLOR_array__Array__init
;
23 void CHECK_NEW_array__Array(val
*);
24 extern const int COLOR_array__Collection__to_a
;
25 void opts__Option__init_opt(val
* self
, val
* p0
, val
* p1
, val
* p2
);
26 extern const int COLOR_abstract_collection__SimpleCollection__add_all
;
27 void opts__Option__add_aliases(val
* self
, val
* p0
);
28 extern const int COLOR_opts__Option__pretty
;
29 val
* opts__Option__to_s(val
* self
);
30 val
* NEW_string__Buffer(const struct type
* type
);
31 extern const struct type type_string__Buffer
;
32 val
* string__NativeString__to_s_with_length(char* self
, long p0
);
33 extern const int COLOR_string__Buffer__from
;
34 void CHECK_NEW_string__Buffer(val
*);
35 extern const int COLOR_string__Collection__join
;
36 extern const int COLOR_abstract_collection__Sequence__append
;
37 extern const int COLOR_abstract_collection__Collection__length
;
38 extern const struct type type_kernel__Int
;
39 extern const int COLOR_string__String___42d
;
40 extern const int COLOR_opts__Option__helptext
;
41 extern const int COLOR_string__Object__to_s
;
42 val
* opts__Option__pretty(val
* self
, long p0
);
43 extern const int COLOR_opts__Option__default_value
;
44 extern const struct type type_array__Arraykernel__Object
;
45 extern const int COLOR_array__Array__with_capacity
;
46 extern const int COLOR_abstract_collection__SimpleCollection__add
;
47 val
* opts__Option__pretty_default(val
* self
);
48 void opts__Option__read_param(val
* self
, val
* p0
);
49 extern const int COLOR_opts__Option__init_opt
;
50 void opts__OptionText__init(val
* self
, val
* p0
);
51 val
* opts__OptionText__pretty(val
* self
, long p0
);
52 val
* opts__OptionText__to_s(val
* self
);
53 void opts__OptionBool__init(val
* self
, val
* p0
, val
* p1
);
54 extern const int COLOR_opts__OptionBool__read_param
;
55 extern const int COLOR_opts__Option__value_61d
;
56 void opts__OptionBool__read_param(val
* self
, val
* p0
);
57 void opts__OptionCount__init(val
* self
, val
* p0
, val
* p1
);
58 extern const int COLOR_opts__OptionCount__read_param
;
59 extern const int COLOR_opts__Option__value
;
60 void opts__OptionCount__read_param(val
* self
, val
* p0
);
61 val
* opts__OptionParameter__convert(val
* self
, val
* p0
);
62 extern const int COLOR_opts__OptionParameter___parameter_mandatory
;
63 short int opts__OptionParameter__parameter_mandatory(val
* self
);
64 void opts__OptionParameter__parameter_mandatory_61d(val
* self
, short int p0
);
65 extern const int COLOR_opts__OptionParameter__read_param
;
66 extern const int COLOR_abstract_collection__Iterator__is_ok
;
67 extern const int COLOR_abstract_collection__Iterator__item
;
68 extern const int COLOR_abstract_collection__Collection__first
;
69 extern const struct class class_kernel__Char
;
70 extern const int COLOR_opts__OptionParameter__convert
;
71 extern const int COLOR_abstract_collection__Iterator__next
;
72 extern const int COLOR_opts__Option__names
;
73 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
74 extern const struct type type_array__NativeArraykernel__Object
;
75 extern const int COLOR_array__Array__with_native
;
76 void opts__OptionParameter__read_param(val
* self
, val
* p0
);
77 void opts__OptionParameter__init_opt(val
* self
, val
* p0
, val
* p1
, val
* p2
);
78 extern const int COLOR_opts__OptionParameter__init_opt
;
79 void opts__OptionString__init(val
* self
, val
* p0
, val
* p1
);
80 val
* opts__OptionString__convert(val
* self
, val
* p0
);
81 extern const int COLOR_opts__OptionEnum___values
;
82 void opts__OptionEnum__init(val
* self
, val
* p0
, val
* p1
, long p2
, val
* p3
);
83 extern const int COLOR_abstract_collection__SequenceRead__index_of
;
84 extern const int COLOR_string__String___43d
;
85 long opts__OptionEnum__convert(val
* self
, val
* p0
);
86 extern const int COLOR_abstract_collection__SequenceRead___91d_93d
;
87 val
* opts__OptionEnum__value_name(val
* self
);
88 val
* opts__OptionEnum__pretty_default(val
* self
);
89 void opts__OptionInt__init(val
* self
, val
* p0
, long p1
, val
* p2
);
90 extern const int COLOR_string__AbstractString__to_i
;
91 long opts__OptionInt__convert(val
* self
, val
* p0
);
92 extern const int COLOR_opts__OptionArray___values
;
93 void opts__OptionArray__init(val
* self
, val
* p0
, val
* p1
);
94 val
* opts__OptionArray__convert(val
* self
, val
* p0
);
95 extern const int COLOR_opts__OptionContext___options
;
96 val
* opts__OptionContext__options(val
* self
);
97 extern const int COLOR_opts__OptionContext___rest
;
98 val
* opts__OptionContext__rest(val
* self
);
99 extern const int COLOR_opts__OptionContext___errors
;
100 val
* opts__OptionContext__errors(val
* self
);
101 extern const int COLOR_abstract_collection__Collection__iterator
;
102 extern const int COLOR_file__Object__print
;
103 void opts__OptionContext__usage(val
* self
);
104 extern const int COLOR_opts__OptionContext__parse_intern
;
105 void opts__OptionContext__parse(val
* self
, val
* p0
);
106 extern const int COLOR_opts__OptionContext__build
;
107 extern const int COLOR_kernel__Object___61d_61d
;
108 extern const int COLOR_array__Iterator__to_a
;
109 extern const int COLOR_array__AbstractArrayRead__last_index_of
;
110 val
* NEW_range__Range(const struct type
* type
);
111 extern const struct type type_range__Rangekernel__Int
;
112 extern const int COLOR_range__Range__init
;
113 void CHECK_NEW_range__Range(val
*);
114 val
* string__Char__to_s(char self
);
115 extern const int COLOR_opts__OptionContext___optmap
;
116 extern const int COLOR_abstract_collection__MapRead__has_key
;
117 extern const int COLOR_abstract_collection__MapRead___91d_93d
;
118 extern const struct type type_opts__OptionParameter
;
119 extern const int COLOR_opts__Option__read_param
;
120 extern const int COLOR_opts__Option__mandatory
;
121 extern const int COLOR_opts__Option__read
;
122 void opts__OptionContext__parse_intern(val
* self
, val
* p0
);
123 void opts__OptionContext__add_option(val
* self
, val
* p0
);
124 extern const struct type type_array__Arrayopts__Option
;
125 val
* NEW_hash_collection__HashMap(const struct type
* type
);
126 extern const struct type type_hash_collection__HashMapstring__Stringopts__Option
;
127 extern const int COLOR_hash_collection__HashMap__init
;
128 void CHECK_NEW_hash_collection__HashMap(val
*);
129 void opts__OptionContext__init(val
* self
);
130 extern const int COLOR_abstract_collection__Map___91d_93d_61d
;
131 void opts__OptionContext__build(val
* self
);
132 extern const int COLOR_opts__Option__errors
;
133 val
* opts__OptionContext__get_errors(val
* self
);