Passes.Cst_to_astSourceTranslate a CST into a AST by resolving types, variables and functions defined in the project.
********************
val visit_list_ext :
('a -> 'b -> 'c -> 'd * 'e list * 'f list) ->
'a list ->
'b ->
'c ->
'd list * 'e list * 'f listval visit_pair :
('a -> 'b -> 'c -> 'd) ->
('e -> 'b -> 'c -> 'f) ->
('a * 'e) ->
'b ->
'c ->
'd * 'f*********
val find_record :
Parsing.Cst.var ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.record_typeval find_typedef :
Parsing.Cst.var ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.typedefval find_enum :
Parsing.Cst.var ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.enum_typeval visit_qual_typ :
Parsing.Cst.c_qual_typ ->
Mopsa_c_parser.C_AST.project ->
'a ->
Mopsa_c_parser.C_AST.type_qualval visit_typ :
Parsing.Cst.c_typ ->
Mopsa_c_parser.C_AST.project ->
'a ->
Mopsa_c_parser.C_AST.typval visit_array_length :
Parsing.Cst.array_length ->
Mopsa_c_parser.C_AST.project ->
'a ->
Mopsa_c_parser.C_AST.array_lengthval pointer_type :
Mopsa_c_parser.C_AST.type_qual ->
Mopsa_c_parser.C_AST.typ * Mopsa_c_parser.C_AST.qualifierval pointed_type :
Utils_core.Location.range ->
Mopsa_c_parser.C_AST.type_qual ->
Mopsa_c_parser.C_AST.type_qualval subscript_type :
Utils_core.Location.range ->
Mopsa_c_parser.C_AST.type_qual ->
Mopsa_c_parser.C_AST.type_qualval builtin_type :
Parsing.Cst.builtin ->
Parsing.Ast.expr Mopsa_utils.Location.with_range list ->
Mopsa_c_parser.C_AST.type_qual***********
val find_field :
Utils_core.Location.range ->
Mopsa_c_parser.C_AST.type_qual ->
string ->
Mopsa_c_parser.C_AST.record_fieldval find_field_check :
Mopsa_c_parser.C_AST.type_qual ->
string ->
Utils_core.Location.range ->
Mopsa_c_parser.C_AST.record_field***************
val visit_var :
Parsing.Cst.var ->
Utils_core.Location.range ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.func ->
Mopsa_c_parser.C_AST.variableval integer_promotion :
Mopsa_c_parser.C_AST.project ->
Parsing.Ast.expr Mopsa_utils.Location.with_range ->
Parsing.Ast.expr Mopsa_utils.Location.with_rangeval promote_expression_type :
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.type_qual ->
Parsing.Ast.expr Mopsa_utils.Location.with_range ->
Parsing.Ast.expr Mopsa_utils.Location.with_range************
val visit_interval :
Parsing.Cst.interval ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.func ->
Parsing.Ast.intervalval visit_set :
Parsing.Cst.set ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.func ->
Parsing.Ast.set****************
val visit_message :
Parsing.Cst.message Mopsa_utils.Location.with_range ->
'a ->
'b ->
Parsing.Ast.message Mopsa_utils.Location.with_rangeval visit_section :
Parsing.Cst.section ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.func ->
Parsing.Ast.section
* Parsing.Ast.local Mopsa_utils.Location.with_range list
* Parsing.Ast.assigns Mopsa_utils.Location.with_range list***************
val doit :
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.func ->
Parsing.Cst.stub ->
Parsing.Ast.stub