package mopsa

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

C_print - Printing, converts C AST to valid C code

val integer_suffix : C_AST.integer_type -> string
val float_suffix : C_AST.float_type -> string

Suffix for litterals.

val string_of_signedness : C_AST.signedness -> string
val string_of_integer_type : C_AST.integer_type -> string
val string_of_float_type : C_AST.float_type -> string
val string_of_record_kind : C_AST.record_kind -> string
val string_of_qualifier : C_AST.qualifier -> string
val string_of_binary_arithmetic : C_AST.binary_arithmetic -> string
val string_of_binary_logical : C_AST.binary_logical -> string
val string_of_binary_operator : C_AST.binary_operator -> string
val string_of_unary_operator : C_AST.unary_operator -> string
val string_of_inc_direction : C_AST.inc_direction -> string
val string_of_var_decl : C_AST.variable -> string
val string_of_var_advance_decl : C_AST.variable -> string
val string_of_func_decl : C_AST.func -> string
val string_of_func_proto : C_AST.func -> string
val string_of_expr : C_AST.expr -> string
val string_of_type : C_AST.typ -> string
val string_of_type_qual : C_AST.type_qual -> string
val string_of_string_literal : string -> string
val string_of_enum_decl : C_AST.enum_type -> string
val string_of_record_decl : C_AST.record_type -> string
val string_of_typedef : C_AST.typedef -> string
val string_of_statement : C_AST.statement -> string

Convert SAST types to string.

val print_project : Stdlib.out_channel -> C_AST.project -> unit

Print a whole project as a valid C source.

OCaml

Innovation. Community. Security.