package pfff

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Ast = Cst_cpp
module Flag = Flag_parsing
val pr2 : string -> unit
val pr2_once : string -> unit
val warning : string -> 'a -> 'a
exception Semantic of string * Cst_cpp.tok
type shortLong =
  1. | Short
  2. | Long
  3. | LongLong
type decl = {
  1. storageD : Cst_cpp.storage;
  2. typeD : (Cst_cpp.sign option * shortLong option * Cst_cpp.typeCbis option) Cst_cpp.wrap;
  3. qualifD : Cst_cpp.typeQualifier;
  4. inlineD : bool Cst_cpp.wrap;
}
val nullDecl : decl
val addStorageD : Cst_cpp.storage -> decl -> decl
val addInlineD : Cst_cpp.tok -> decl -> decl
val addQualifD : Cst_cpp.typeQualifier -> decl -> decl
val type_and_storage_from_decl : decl -> (Cst_cpp.typeQualifier * (Cst_cpp.typeCbis * Cst_cpp.tok list)) * Cst_cpp.storage * (bool * Cst_cpp.tok list)
val type_and_register_from_decl : decl -> (Cst_cpp.typeQualifier * (Cst_cpp.typeCbis * Cst_cpp.tok list)) * Cst_cpp.tok option
val fixNameForParam : (Cst_cpp.name * 'a) -> Cst_cpp.simple_ident * 'a
val type_and_storage_for_funcdef_from_decl : decl -> (Cst_cpp.typeQualifier * (Cst_cpp.typeCbis * Cst_cpp.tok list)) * Cst_cpp.storage
val fixOldCDecl : Cst_cpp.fullType -> Cst_cpp.fullType
val mk_e : 'a -> 'b -> 'a * 'b
val opt_to_list_params : ('a list * 'b) option -> 'a list