1 #include "nit.common.h"
2 extern const int COLOR_ffi_base__ToolContext___64dffi_language_assignation_phase
;
3 val
* ffi_base__ToolContext__ffi_language_assignation_phase(val
* self
);
4 void ffi_base__ToolContext__ffi_language_assignation_phase_61d(val
* self
, val
* p0
);
5 extern const int COLOR_ffi_base__FFILanguageAssignationPhase___64dlanguages
;
6 val
* ffi_base__FFILanguageAssignationPhase__languages(val
* self
);
7 void ffi_base__FFILanguageAssignationPhase__languages_61d(val
* self
, val
* p0
);
8 extern const int COLOR_parser_nodes__AModule__n_extern_code_blocks
;
9 extern const int COLOR_abstract_collection__Collection__iterator
;
10 extern const int COLOR_abstract_collection__Iterator__is_ok
;
11 extern const int COLOR_abstract_collection__Iterator__item
;
12 extern const int COLOR_ffi_base__FFILanguageAssignationPhase__verify_foreign_code_on_node
;
13 extern const int COLOR_abstract_collection__Iterator__next
;
14 void ffi_base__FFILanguageAssignationPhase__process_nmodule(val
* self
, val
* p0
);
15 extern const struct type type_parser_nodes__AExternPropdef
;
16 extern const int COLOR_parser_nodes__AExternPropdef__n_extern_code_block
;
17 void ffi_base__FFILanguageAssignationPhase__process_npropdef(val
* self
, val
* p0
);
18 extern const struct type type_parser_nodes__AStdClassdef
;
19 extern const int COLOR_parser_nodes__AStdClassdef__n_extern_code_block
;
20 void ffi_base__FFILanguageAssignationPhase__process_nclassdef(val
* self
, val
* p0
);
21 extern const int COLOR_ffi_base__FFILanguageAssignationPhase__languages
;
22 extern const int COLOR_ffi_base__FFILanguage__identify_language
;
23 extern const int COLOR_phase__Phase__toolcontext
;
24 extern const int COLOR_parser_nodes__ANode__location
;
25 val
* string__NativeString__to_s_with_length(char* self
, long p0
);
26 extern const int COLOR_toolcontext__ToolContext__error
;
27 extern const int COLOR_ffi_base__AExternCodeBlock__language_61d
;
28 void ffi_base__FFILanguageAssignationPhase__verify_foreign_code_on_node(val
* self
, val
* p0
);
29 extern const int COLOR_ffi_base__AModule___64dffi_files
;
30 val
* ffi_base__AModule__ffi_files(val
* self
);
31 void ffi_base__AModule__ffi_files_61d(val
* self
, val
* p0
);
32 extern const int COLOR_parser_nodes__AExternCodeBlock__n_in_language
;
33 extern const int COLOR_parser_nodes__AInLanguage__n_string
;
34 extern const int COLOR_ffi_base__TString__without_quotes
;
35 val
* ffi_base__AExternCodeBlock__language_name(val
* self
);
36 extern const int COLOR_ffi_base__AExternCodeBlock__language_name
;
37 extern const int COLOR_string__AbstractString__to_lower
;
38 val
* ffi_base__AExternCodeBlock__language_name_lowered(val
* self
);
39 extern const int COLOR_parser_nodes__AExternCodeBlock__n_extern_code_segment
;
40 extern const int COLOR_ffi_base__TExternCodeSegment__without_guard
;
41 val
* ffi_base__AExternCodeBlock__code(val
* self
);
42 extern const int COLOR_ffi_base__AExternCodeBlock___64dlanguage
;
43 val
* ffi_base__AExternCodeBlock__language(val
* self
);
44 void ffi_base__AExternCodeBlock__language_61d(val
* self
, val
* p0
);
45 extern const int COLOR_abstract_collection__SimpleCollection__add
;
46 void ffi_base__FFILanguage__init(val
* self
, val
* p0
);
47 short int ffi_base__FFILanguage__identify_language(val
* self
, val
* p0
);
48 void ffi_base__FFILanguage__compile_module_block(val
* self
, val
* p0
, val
* p1
, val
* p2
);
49 void ffi_base__FFILanguage__compile_extern_method(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
50 void ffi_base__FFILanguage__compile_extern_class(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
51 val
* ffi_base__FFILanguage__get_ftype(val
* self
, val
* p0
, val
* p1
);
52 void ffi_base__FFILanguage__compile_callback(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
53 void ffi_base__FFILanguage__compile_to_files(val
* self
, val
* p0
, val
* p1
);
54 extern const int COLOR_parser_nodes__Token__text
;
55 extern const int COLOR_abstract_collection__Collection__length
;
56 extern const struct type type_kernel__Int
;
57 extern const int COLOR_string__AbstractString__substring
;
58 val
* ffi_base__TString__without_quotes(val
* self
);
59 val
* ffi_base__TExternCodeSegment__without_guard(val
* self
);
60 extern const int COLOR_ffi_base__ExternFile___64dfilename
;
61 val
* ffi_base__ExternFile__filename(val
* self
);
62 void ffi_base__ExternFile__filename_61d(val
* self
, val
* p0
);
63 val
* ffi_base__ExternFile__makefile_rule_name(val
* self
);
64 val
* ffi_base__ExternFile__makefile_rule_content(val
* self
);
65 void ffi_base__ExternFile__init(val
* self
, val
* p0
);
66 val
* NEW_array__Array(const struct type
* type
);
67 extern const struct type type_array__Arraykernel__Object
;
68 extern const int COLOR_array__Array__with_capacity
;
69 extern const int COLOR_modelbuilder__AModule__mmodule
;
70 extern const int COLOR_mmodule__MModule__name
;
71 extern const int COLOR_string__Object__to_s
;
72 extern const int COLOR_nitni_base__AModule__cname
;
73 extern const int COLOR_string__AbstractString__to_upper
;
74 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
75 extern const struct type type_array__NativeArraykernel__Object
;
76 extern const int COLOR_array__Array__with_native
;
77 extern const struct type type_array__Arraystring__String
;
78 extern const int COLOR_array__Array__init
;
79 extern const int COLOR_ffi_base__CCompilationUnit__write_header_to_file
;
80 extern const struct type type_array__NativeArraystring__String
;
81 extern const int COLOR_ffi_base__CCompilationUnit__write_body_to_file
;
82 extern const int COLOR_c_tools__CCompilationUnit__files
;
83 void ffi_base__CCompilationUnit__write_as_impl(val
* self
, val
* p0
, val
* p1
);
84 val
* NEW_file__OFStream(const struct type
* type
);
85 extern const struct type type_file__OFStream
;
86 extern const int COLOR_file__OFStream__open
;
87 extern const int COLOR_stream__OStream__write
;
88 extern const int COLOR_c_tools__CCompilationUnit__compile_header_core
;
89 extern const int COLOR_stream__IOS__close
;
90 void ffi_base__CCompilationUnit__write_header_to_file(val
* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
91 extern const int COLOR_c_tools__CCompilationUnit__compile_body_core
;
92 void ffi_base__CCompilationUnit__write_body_to_file(val
* self
, val
* p0
, val
* p1
, val
* p2
);
93 val
* ffi_base__ForeignType__ctype(val
* self
);
94 void ffi_base__ForeignType__init(val
* self
);