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 extern const int COLOR_array__Collection__to_a
;
24 void opts__Option__init_opt(val
* self
, val
* p0
, val
* p1
, val
* p2
);
25 extern const int COLOR_abstract_collection__SimpleCollection__add_all
;
26 void opts__Option__add_aliases(val
* self
, val
* p0
);
27 extern const int COLOR_opts__Option__pretty
;
28 val
* opts__Option__to_s(val
* self
);
29 val
* NEW_string__Buffer(const struct type
* type
);
30 extern const struct type type_string__Buffer
;
31 val
* string__NativeString__to_s_with_length(char* self
, long p0
);
32 extern const int COLOR_string__Buffer__from
;
33 extern const int COLOR_string__Collection__join
;
34 extern const int COLOR_abstract_collection__Sequence__append
;
35 extern const int COLOR_abstract_collection__Collection__length
;
36 extern const struct type type_kernel__Int
;
37 extern const int COLOR_string__String___42d
;
38 extern const int COLOR_opts__Option__helptext
;
39 extern const int COLOR_string__Object__to_s
;
40 val
* opts__Option__pretty(val
* self
, long p0
);
41 extern const int COLOR_opts__Option__default_value
;
42 extern const struct type type_array__Arraykernel__Object
;
43 extern const int COLOR_array__Array__with_capacity
;
44 extern const int COLOR_abstract_collection__SimpleCollection__add
;
45 val
* opts__Option__pretty_default(val
* self
);
46 void opts__Option__read_param(val
* self
, val
* p0
);
47 extern const int COLOR_opts__Option__init_opt
;
48 void opts__OptionText__init(val
* self
, val
* p0
);
49 val
* opts__OptionText__pretty(val
* self
, long p0
);
50 val
* opts__OptionText__to_s(val
* self
);
51 void opts__OptionBool__init(val
* self
, val
* p0
, val
* p1
);
52 extern const int COLOR_opts__OptionBool__read_param
;
53 extern const int COLOR_opts__Option__value_61d
;
54 void opts__OptionBool__read_param(val
* self
, val
* p0
);
55 void opts__OptionCount__init(val
* self
, val
* p0
, val
* p1
);
56 extern const int COLOR_opts__OptionCount__read_param
;
57 extern const int COLOR_opts__Option__value
;
58 void opts__OptionCount__read_param(val
* self
, val
* p0
);
59 val
* opts__OptionParameter__convert(val
* self
, val
* p0
);
60 extern const int COLOR_opts__OptionParameter___parameter_mandatory
;
61 short int opts__OptionParameter__parameter_mandatory(val
* self
);
62 void opts__OptionParameter__parameter_mandatory_61d(val
* self
, short int p0
);
63 extern const int COLOR_opts__OptionParameter__read_param
;
64 extern const int COLOR_abstract_collection__Iterator__is_ok
;
65 extern const int COLOR_abstract_collection__Iterator__item
;
66 extern const int COLOR_abstract_collection__Collection__first
;
67 extern const struct class class_kernel__Char
;
68 extern const int COLOR_opts__OptionParameter__convert
;
69 extern const int COLOR_abstract_collection__Iterator__next
;
70 extern const int COLOR_opts__Option__names
;
71 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
72 extern const struct type type_array__NativeArraykernel__Object
;
73 extern const int COLOR_array__Array__with_native
;
74 void opts__OptionParameter__read_param(val
* self
, val
* p0
);
75 void opts__OptionParameter__init_opt(val
* self
, val
* p0
, val
* p1
, val
* p2
);
76 extern const int COLOR_opts__OptionParameter__init_opt
;
77 void opts__OptionString__init(val
* self
, val
* p0
, val
* p1
);
78 val
* opts__OptionString__convert(val
* self
, val
* p0
);
79 extern const int COLOR_opts__OptionEnum___values
;
80 void opts__OptionEnum__init(val
* self
, val
* p0
, val
* p1
, long p2
, val
* p3
);
81 extern const int COLOR_abstract_collection__SequenceRead__index_of
;
82 extern const int COLOR_string__String___43d
;
83 long opts__OptionEnum__convert(val
* self
, val
* p0
);
84 extern const int COLOR_abstract_collection__SequenceRead___91d_93d
;
85 val
* opts__OptionEnum__value_name(val
* self
);
86 val
* opts__OptionEnum__pretty_default(val
* self
);
87 void opts__OptionInt__init(val
* self
, val
* p0
, long p1
, val
* p2
);
88 extern const int COLOR_string__AbstractString__to_i
;
89 long opts__OptionInt__convert(val
* self
, val
* p0
);
90 extern const int COLOR_opts__OptionArray___values
;
91 void opts__OptionArray__init(val
* self
, val
* p0
, val
* p1
);
92 val
* opts__OptionArray__convert(val
* self
, val
* p0
);
93 extern const int COLOR_opts__OptionContext___options
;
94 val
* opts__OptionContext__options(val
* self
);
95 extern const int COLOR_opts__OptionContext___rest
;
96 val
* opts__OptionContext__rest(val
* self
);
97 extern const int COLOR_opts__OptionContext___errors
;
98 val
* opts__OptionContext__errors(val
* self
);
99 extern const int COLOR_abstract_collection__Collection__iterator
;
100 extern const int COLOR_file__Object__print
;
101 void opts__OptionContext__usage(val
* self
);
102 extern const int COLOR_opts__OptionContext__parse_intern
;
103 void opts__OptionContext__parse(val
* self
, val
* p0
);
104 extern const int COLOR_opts__OptionContext__build
;
105 extern const int COLOR_kernel__Object___61d_61d
;
106 extern const int COLOR_array__Iterator__to_a
;
107 extern const int COLOR_array__AbstractArrayRead__last_index_of
;
108 val
* NEW_range__Range(const struct type
* type
);
109 extern const struct type type_range__Rangekernel__Int
;
110 extern const int COLOR_range__Range__init
;
111 val
* string__Char__to_s(char self
);
112 extern const int COLOR_opts__OptionContext___optmap
;
113 extern const int COLOR_abstract_collection__MapRead__has_key
;
114 extern const int COLOR_abstract_collection__MapRead___91d_93d
;
115 extern const struct type type_opts__OptionParameter
;
116 extern const int COLOR_opts__Option__read_param
;
117 extern const int COLOR_opts__Option__mandatory
;
118 extern const int COLOR_opts__Option__read
;
119 void opts__OptionContext__parse_intern(val
* self
, val
* p0
);
120 void opts__OptionContext__add_option(val
* self
, val
* p0
);
121 extern const struct type type_array__Arrayopts__Option
;
122 val
* NEW_hash_collection__HashMap(const struct type
* type
);
123 extern const struct type type_hash_collection__HashMapstring__Stringopts__Option
;
124 extern const int COLOR_hash_collection__HashMap__init
;
125 void opts__OptionContext__init(val
* self
);
126 extern const int COLOR_abstract_collection__Map___91d_93d_61d
;
127 void opts__OptionContext__build(val
* self
);
128 extern const int COLOR_opts__Option__errors
;
129 val
* opts__OptionContext__get_errors(val
* self
);