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