package mopsa

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

Translate a CST into a AST by resolving types, variables and functions defined in the project.

val debug : ('a, Stdlib.Format.formatter, unit, unit) Stdlib.format4 -> 'a

Generic visitors

********************

val visit_list : ('a -> 'b -> 'c -> 'd) -> 'a list -> 'b -> 'c -> 'd list
val visit_list_ext : ('a -> 'b -> 'c -> 'd * 'e list * 'f list) -> 'a list -> 'b -> 'c -> 'd list * 'e list * 'f list
val visit_option : ('a -> 'b -> 'c -> 'd) -> 'a option -> 'b -> 'c -> 'd option
val visit_pair : ('a -> 'b -> 'c -> 'd) -> ('e -> 'b -> 'c -> 'f) -> ('a * 'e) -> 'b -> 'c -> 'd * 'f

Types

*********

val is_int_typ : Mopsa_c_parser.C_AST.type_qual -> bool
val is_float_typ : Mopsa_c_parser.C_AST.type_qual -> bool
val is_pointer_typ : Mopsa_c_parser.C_AST.type_qual -> bool
val is_array_typ : Mopsa_c_parser.C_AST.type_qual -> bool
val is_record_typ : Mopsa_c_parser.C_AST.type_qual -> bool
val attribute_type : 'a -> 'b -> Mopsa_c_parser.C_AST.typ * Mopsa_c_parser.C_AST.qualifier

Records

***********

Expressions

***************

val int_rank : Mopsa_c_parser.C_AST.integer_type -> int
val int_sign : Mopsa_c_parser.C_AST.integer_type -> bool
val rank_float : Mopsa_c_parser.C_AST.float_type -> int
val is_int_binop : Parsing.Cst.binop -> bool

Formulas

************

Stub sections

****************

Entry point

***************

OCaml

Innovation. Community. Security.