package pfff

  1. Overview
  2. Docs
Tools and APIs for program analysis, code visualization, refactoring

Install

Dune Dependency

Authors

Maintainers

Sources

0.37.1.tar.gz
sha256=d5be49a8ee9d26bff98b902533e0bde59cf1613a6e8f15651492205434f35c0e
md5=637a4f055de86bf02ad372b45e5567a9

doc/pfff-lang_cpp/Parser_cpp_mly_helper/index.html

Module Parser_cpp_mly_helper

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

Innovation. Community. Security.