Parser_cpp_mly_helpermodule Ast = Cst_cppmodule Flag = Flag_parsingexception Semantic of string * Cst_cpp.toktype decl = {storageD : Cst_cpp.storage;typeD : (Cst_cpp.sign option * shortLong option * Cst_cpp.typeCbis option)
Cst_cpp.wrap;qualifD : Cst_cpp.typeQualifier;inlineD : bool Cst_cpp.wrap;}val nullDecl : declval addStorageD : Cst_cpp.storage -> decl -> declval addInlineD : Cst_cpp.tok -> decl -> declval addTypeD :
((Cst_cpp.sign, shortLong, Cst_cpp.typeCbis) Common.either3
* Cst_cpp.tok list) ->
decl ->
declval addQualif :
Cst_cpp.typeQualifier ->
Cst_cpp.typeQualifier ->
Cst_cpp.typeQualifierval addQualifD : Cst_cpp.typeQualifier -> decl -> declval 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 optionval fixNameForParam : (Cst_cpp.name * 'a) -> Cst_cpp.simple_ident * 'aval type_and_storage_for_funcdef_from_decl :
decl ->
(Cst_cpp.typeQualifier * (Cst_cpp.typeCbis * Cst_cpp.tok list))
* Cst_cpp.storageval fixOldCDecl : Cst_cpp.fullType -> Cst_cpp.fullTypeval fixFunc :
((Cst_cpp.name * Cst_cpp.fullType * Cst_cpp.storage) * Cst_cpp.compound) ->
Cst_cpp.func_definitionval fixFieldOrMethodDecl :
(Cst_cpp.fieldkind Cst_cpp.comma_list * Cst_cpp.tok) ->
Cst_cpp.class_memberval mk_funcall :
Cst_cpp.expression ->
Cst_cpp.argument Cst_cpp.comma_list Cst_cpp.paren ->
Cst_cpp.expressionbisval mk_constructor :
Cst_cpp.simple_ident ->
(Cst_cpp.tok
* (Cst_cpp.parameter Cst_cpp.comma_list * 'a option) option
* Cst_cpp.tok) ->
Cst_cpp.compound ->
Cst_cpp.func_definitionval mk_destructor :
Cst_cpp.tok ->
Cst_cpp.simple_ident ->
(Cst_cpp.tok * 'a * Cst_cpp.tok) ->
Cst_cpp.exn_spec option ->
Cst_cpp.compound ->
Cst_cpp.func_definition