1 #include "nit.common.h"
2 #define COLOR_toolcontext__Message___location 0
3 #define COLOR_toolcontext__Message___text 1
4 #define COLOR_kernel__Comparable_VTOTHER 0
5 short int location__Location___61d_61d(val
* self
, val
* p0
);
6 short int location__Location___60d(val
* self
, val
* p0
);
7 short int toolcontext__Message___60d(val
* self
, val
* p0
);
8 val
* string__NativeString__to_s_with_length(char* self
, long p0
);
9 val
* NEW_array__Array(const struct type
* type
);
10 extern const struct type type_array__Arraykernel__Object
;
11 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
12 extern const struct type type_array__NativeArraykernel__Object
;
13 #define COLOR_array__Array__with_native 65
14 #define COLOR_string__Object__to_s 7
15 val
* toolcontext__Message__to_s(val
* self
);
16 val
* BOX_kernel__Char(char);
17 #define COLOR_location__Location___file 0
18 val
* location__Location__colored_line(val
* self
, val
* p0
);
19 val
* toolcontext__Message__to_color_string(val
* self
);
20 #define COLOR_toolcontext__ToolContext___error_count 0
21 #define COLOR_toolcontext__ToolContext___warning_count 1
22 #define COLOR_toolcontext__ToolContext___log_directory 2
23 #define COLOR_toolcontext__ToolContext___messages 3
24 #define COLOR_toolcontext__ToolContext___message_sorter 4
25 long array__AbstractArrayRead__length(val
* self
);
26 extern const struct type type_kernel__Int
;
27 void sorter__Comparator__sort(val
* self
, val
* p0
);
28 val
* array__AbstractArrayRead__iterator(val
* self
);
29 short int array__ArrayIterator__is_ok(val
* self
);
30 val
* array__ArrayIterator__item(val
* self
);
31 #define COLOR_toolcontext__ToolContext___opt_no_color 15
32 #define COLOR_opts__Option___value 6
33 #define COLOR_file__Sys___stderr 3
34 void file__OFStream__write(val
* self
, val
* p0
);
35 void array__ArrayIterator__next(val
* self
);
36 void array__AbstractArray__clear(val
* self
);
37 void toolcontext__ToolContext__check_errors(val
* self
);
38 val
* NEW_toolcontext__Message(const struct type
* type
);
39 extern const struct type type_toolcontext__Message
;
40 void array__Array__add(val
* self
, val
* p0
);
41 #define COLOR_toolcontext__ToolContext___opt_stop_on_first_error 14
42 void toolcontext__ToolContext__error(val
* self
, val
* p0
, val
* p1
);
43 void toolcontext__ToolContext__fatal_error(val
* self
, val
* p0
, val
* p1
);
44 #define COLOR_toolcontext__ToolContext___opt_warn 6
45 extern const struct class class_kernel__Int
;
46 void toolcontext__ToolContext__warning(val
* self
, val
* p0
, val
* p1
);
47 #define COLOR_toolcontext__ToolContext___verbose_level 17
48 void file__Object__print(val
* self
, val
* p0
);
49 void toolcontext__ToolContext__info(val
* self
, val
* p0
, long p1
);
50 #define COLOR_toolcontext__ToolContext___option_context 5
51 #define COLOR_toolcontext__ToolContext___opt_quiet 7
52 #define COLOR_toolcontext__ToolContext___opt_log 8
53 #define COLOR_toolcontext__ToolContext___opt_log_dir 9
54 #define COLOR_toolcontext__ToolContext___opt_help 10
55 #define COLOR_toolcontext__ToolContext___opt_version 11
56 #define COLOR_toolcontext__ToolContext___opt_set_dummy_tool 12
57 #define COLOR_toolcontext__ToolContext___opt_verbose 13
58 #define COLOR_toolcontext__ToolContext___opt_bash_completion 16
59 extern const struct type type_array__Arrayopts__Option
;
60 extern const struct type type_array__NativeArrayopts__Option
;
61 void opts__OptionContext__add_option(val
* self
, val
* p0
);
62 void toolcontext__ToolContext__init(val
* self
);
63 #define COLOR_toolcontext__ToolContext___tooldescription 18
64 #define COLOR_toolcontext__ToolContext___accept_no_arguments 19
65 void opts__OptionContext__usage(val
* self
);
66 void toolcontext__ToolContext__usage(val
* self
);
67 #define COLOR_opts__Option_VTVALUE 0
68 val
* BOX_kernel__Int(long);
69 void opts__OptionContext__parse(val
* self
, val
* p0
);
70 val
* toolcontext__ToolContext__version(val
* self
);
71 val
* NEW_toolcontext__BashCompletion(const struct type
* type
);
72 extern const struct type type_toolcontext__BashCompletion
;
73 void toolcontext__BashCompletion__init(val
* self
, val
* p0
);
74 #define COLOR_file__Sys___stdout 2
75 void template__Template__write_to(val
* self
, val
* p0
);
76 val
* opts__OptionContext__get_errors(val
* self
);
77 short int array__AbstractArrayRead__is_empty(val
* self
);
78 #define COLOR_opts__OptionContext___rest 1
79 #define COLOR_kernel__Object___61d_61d 2
80 void file__String__mkdir(val
* self
);
81 val
* toolcontext__ToolContext__compute_nit_dir(val
* self
);
82 #define COLOR_toolcontext__ToolContext___nit_dir 20
83 void toolcontext__ToolContext__process_options(val
* self
, val
* p0
);
84 val
* version__Object__nit_version(val
* self
);
85 val
* string__Sys__program_name(val
* self
);
86 val
* file__String__basename(val
* self
, val
* p0
);
87 val
* toolcontext__ToolContext__toolname(val
* self
);
88 val
* environ__String__environ(val
* self
);
89 short int string__Text__is_empty(val
* self
);
90 val
* file__String__dirname(val
* self
);
91 short int file__String__file_exists(val
* self
);
92 val
* file__String__simplify_path(val
* self
);
93 val
* file__String__realpath(val
* self
);
94 val
* file__String__join_path(val
* self
, val
* p0
);
95 #define COLOR_toolcontext__BashCompletion___toolcontext 4
96 extern const struct type type_array__Arraystring__String
;
97 void array__Array__init(val
* self
);
98 #define COLOR_opts__OptionContext___options 0
99 #define COLOR_opts__Option___names 0
100 short int string__Text__has_prefix(val
* self
, val
* p0
);
101 val
* toolcontext__BashCompletion__extract_options_names(val
* self
);
102 void template__Template__addn(val
* self
, val
* p0
);
103 val
* string__Collection__join(val
* self
, val
* p0
);
104 void toolcontext__BashCompletion__rendering(val
* self
);