sig
  type constant =
      Pconst_integer of string * char option
    | Pconst_char of char
    | Pconst_string of string * string option
    | Pconst_float of string * char option
  type attribute = string Ast_403.Asttypes.loc * Ast_403.Parsetree.payload
  and extension = string Ast_403.Asttypes.loc * Ast_403.Parsetree.payload
  and attributes = Ast_403.Parsetree.attribute list
  and payload =
      PStr of Ast_403.Parsetree.structure
    | PSig of Ast_403.Parsetree.signature
    | PTyp of Ast_403.Parsetree.core_type
    | PPat of Ast_403.Parsetree.pattern * Ast_403.Parsetree.expression option
  and core_type = {
    ptyp_desc : Ast_403.Parsetree.core_type_desc;
    ptyp_loc : Location.t;
    ptyp_attributes : Ast_403.Parsetree.attributes;
  }
  and core_type_desc =
      Ptyp_any
    | Ptyp_var of string
    | Ptyp_arrow of Ast_403.Asttypes.arg_label *
        Ast_403.Parsetree.core_type * Ast_403.Parsetree.core_type
    | Ptyp_tuple of Ast_403.Parsetree.core_type list
    | Ptyp_constr of Longident.t Ast_403.Asttypes.loc *
        Ast_403.Parsetree.core_type list
    | Ptyp_object of
        (string * Ast_403.Parsetree.attributes * Ast_403.Parsetree.core_type)
        list * Ast_403.Asttypes.closed_flag
    | Ptyp_class of Longident.t Ast_403.Asttypes.loc *
        Ast_403.Parsetree.core_type list
    | Ptyp_alias of Ast_403.Parsetree.core_type * string
    | Ptyp_variant of Ast_403.Parsetree.row_field list *
        Ast_403.Asttypes.closed_flag * Ast_403.Asttypes.label list option
    | Ptyp_poly of string list * Ast_403.Parsetree.core_type
    | Ptyp_package of Ast_403.Parsetree.package_type
    | Ptyp_extension of Ast_403.Parsetree.extension
  and package_type =
      Longident.t Ast_403.Asttypes.loc *
      (Longident.t Ast_403.Asttypes.loc * Ast_403.Parsetree.core_type) list
  and row_field =
      Rtag of Ast_403.Asttypes.label * Ast_403.Parsetree.attributes * 
        bool * Ast_403.Parsetree.core_type list
    | Rinherit of Ast_403.Parsetree.core_type
  and pattern = {
    ppat_desc : Ast_403.Parsetree.pattern_desc;
    ppat_loc : Location.t;
    ppat_attributes : Ast_403.Parsetree.attributes;
  }
  and pattern_desc =
      Ppat_any
    | Ppat_var of string Ast_403.Asttypes.loc
    | Ppat_alias of Ast_403.Parsetree.pattern * string Ast_403.Asttypes.loc
    | Ppat_constant of Ast_403.Parsetree.constant
    | Ppat_interval of Ast_403.Parsetree.constant *
        Ast_403.Parsetree.constant
    | Ppat_tuple of Ast_403.Parsetree.pattern list
    | Ppat_construct of Longident.t Ast_403.Asttypes.loc *
        Ast_403.Parsetree.pattern option
    | Ppat_variant of Ast_403.Asttypes.label *
        Ast_403.Parsetree.pattern option
    | Ppat_record of
        (Longident.t Ast_403.Asttypes.loc * Ast_403.Parsetree.pattern) list *
        Ast_403.Asttypes.closed_flag
    | Ppat_array of Ast_403.Parsetree.pattern list
    | Ppat_or of Ast_403.Parsetree.pattern * Ast_403.Parsetree.pattern
    | Ppat_constraint of Ast_403.Parsetree.pattern *
        Ast_403.Parsetree.core_type
    | Ppat_type of Longident.t Ast_403.Asttypes.loc
    | Ppat_lazy of Ast_403.Parsetree.pattern
    | Ppat_unpack of string Ast_403.Asttypes.loc
    | Ppat_exception of Ast_403.Parsetree.pattern
    | Ppat_extension of Ast_403.Parsetree.extension
  and expression = {
    pexp_desc : Ast_403.Parsetree.expression_desc;
    pexp_loc : Location.t;
    pexp_attributes : Ast_403.Parsetree.attributes;
  }
  and expression_desc =
      Pexp_ident of Longident.t Ast_403.Asttypes.loc
    | Pexp_constant of Ast_403.Parsetree.constant
    | Pexp_let of Ast_403.Asttypes.rec_flag *
        Ast_403.Parsetree.value_binding list * Ast_403.Parsetree.expression
    | Pexp_function of Ast_403.Parsetree.case list
    | Pexp_fun of Ast_403.Asttypes.arg_label *
        Ast_403.Parsetree.expression option * Ast_403.Parsetree.pattern *
        Ast_403.Parsetree.expression
    | Pexp_apply of Ast_403.Parsetree.expression *
        (Ast_403.Asttypes.arg_label * Ast_403.Parsetree.expression) list
    | Pexp_match of Ast_403.Parsetree.expression *
        Ast_403.Parsetree.case list
    | Pexp_try of Ast_403.Parsetree.expression * Ast_403.Parsetree.case list
    | Pexp_tuple of Ast_403.Parsetree.expression list
    | Pexp_construct of Longident.t Ast_403.Asttypes.loc *
        Ast_403.Parsetree.expression option
    | Pexp_variant of Ast_403.Asttypes.label *
        Ast_403.Parsetree.expression option
    | Pexp_record of
        (Longident.t Ast_403.Asttypes.loc * Ast_403.Parsetree.expression)
        list * Ast_403.Parsetree.expression option
    | Pexp_field of Ast_403.Parsetree.expression *
        Longident.t Ast_403.Asttypes.loc
    | Pexp_setfield of Ast_403.Parsetree.expression *
        Longident.t Ast_403.Asttypes.loc * Ast_403.Parsetree.expression
    | Pexp_array of Ast_403.Parsetree.expression list
    | Pexp_ifthenelse of Ast_403.Parsetree.expression *
        Ast_403.Parsetree.expression * Ast_403.Parsetree.expression option
    | Pexp_sequence of Ast_403.Parsetree.expression *
        Ast_403.Parsetree.expression
    | Pexp_while of Ast_403.Parsetree.expression *
        Ast_403.Parsetree.expression
    | Pexp_for of Ast_403.Parsetree.pattern * Ast_403.Parsetree.expression *
        Ast_403.Parsetree.expression * Ast_403.Asttypes.direction_flag *
        Ast_403.Parsetree.expression
    | Pexp_constraint of Ast_403.Parsetree.expression *
        Ast_403.Parsetree.core_type
    | Pexp_coerce of Ast_403.Parsetree.expression *
        Ast_403.Parsetree.core_type option * Ast_403.Parsetree.core_type
    | Pexp_send of Ast_403.Parsetree.expression * string
    | Pexp_new of Longident.t Ast_403.Asttypes.loc
    | Pexp_setinstvar of string Ast_403.Asttypes.loc *
        Ast_403.Parsetree.expression
    | Pexp_override of
        (string Ast_403.Asttypes.loc * Ast_403.Parsetree.expression) list
    | Pexp_letmodule of string Ast_403.Asttypes.loc *
        Ast_403.Parsetree.module_expr * Ast_403.Parsetree.expression
    | Pexp_assert of Ast_403.Parsetree.expression
    | Pexp_lazy of Ast_403.Parsetree.expression
    | Pexp_poly of Ast_403.Parsetree.expression *
        Ast_403.Parsetree.core_type option
    | Pexp_object of Ast_403.Parsetree.class_structure
    | Pexp_newtype of string * Ast_403.Parsetree.expression
    | Pexp_pack of Ast_403.Parsetree.module_expr
    | Pexp_open of Ast_403.Asttypes.override_flag *
        Longident.t Ast_403.Asttypes.loc * Ast_403.Parsetree.expression
    | Pexp_extension of Ast_403.Parsetree.extension
    | Pexp_unreachable
  and case = {
    pc_lhs : Ast_403.Parsetree.pattern;
    pc_guard : Ast_403.Parsetree.expression option;
    pc_rhs : Ast_403.Parsetree.expression;
  }
  and value_description = {
    pval_name : string Ast_403.Asttypes.loc;
    pval_type : Ast_403.Parsetree.core_type;
    pval_prim : string list;
    pval_attributes : Ast_403.Parsetree.attributes;
    pval_loc : Location.t;
  }
  and type_declaration = {
    ptype_name : string Ast_403.Asttypes.loc;
    ptype_params :
      (Ast_403.Parsetree.core_type * Ast_403.Asttypes.variance) list;
    ptype_cstrs :
      (Ast_403.Parsetree.core_type * Ast_403.Parsetree.core_type * Location.t)
      list;
    ptype_kind : Ast_403.Parsetree.type_kind;
    ptype_private : Ast_403.Asttypes.private_flag;
    ptype_manifest : Ast_403.Parsetree.core_type option;
    ptype_attributes : Ast_403.Parsetree.attributes;
    ptype_loc : Location.t;
  }
  and type_kind =
      Ptype_abstract
    | Ptype_variant of Ast_403.Parsetree.constructor_declaration list
    | Ptype_record of Ast_403.Parsetree.label_declaration list
    | Ptype_open
  and label_declaration = {
    pld_name : string Ast_403.Asttypes.loc;
    pld_mutable : Ast_403.Asttypes.mutable_flag;
    pld_type : Ast_403.Parsetree.core_type;
    pld_loc : Location.t;
    pld_attributes : Ast_403.Parsetree.attributes;
  }
  and constructor_declaration = {
    pcd_name : string Ast_403.Asttypes.loc;
    pcd_args : Ast_403.Parsetree.constructor_arguments;
    pcd_res : Ast_403.Parsetree.core_type option;
    pcd_loc : Location.t;
    pcd_attributes : Ast_403.Parsetree.attributes;
  }
  and constructor_arguments =
      Pcstr_tuple of Ast_403.Parsetree.core_type list
    | Pcstr_record of Ast_403.Parsetree.label_declaration list
  and type_extension = {
    ptyext_path : Longident.t Ast_403.Asttypes.loc;
    ptyext_params :
      (Ast_403.Parsetree.core_type * Ast_403.Asttypes.variance) list;
    ptyext_constructors : Ast_403.Parsetree.extension_constructor list;
    ptyext_private : Ast_403.Asttypes.private_flag;
    ptyext_attributes : Ast_403.Parsetree.attributes;
  }
  and extension_constructor = {
    pext_name : string Ast_403.Asttypes.loc;
    pext_kind : Ast_403.Parsetree.extension_constructor_kind;
    pext_loc : Location.t;
    pext_attributes : Ast_403.Parsetree.attributes;
  }
  and extension_constructor_kind =
      Pext_decl of Ast_403.Parsetree.constructor_arguments *
        Ast_403.Parsetree.core_type option
    | Pext_rebind of Longident.t Ast_403.Asttypes.loc
  and class_type = {
    pcty_desc : Ast_403.Parsetree.class_type_desc;
    pcty_loc : Location.t;
    pcty_attributes : Ast_403.Parsetree.attributes;
  }
  and class_type_desc =
      Pcty_constr of Longident.t Ast_403.Asttypes.loc *
        Ast_403.Parsetree.core_type list
    | Pcty_signature of Ast_403.Parsetree.class_signature
    | Pcty_arrow of Ast_403.Asttypes.arg_label *
        Ast_403.Parsetree.core_type * Ast_403.Parsetree.class_type
    | Pcty_extension of Ast_403.Parsetree.extension
  and class_signature = {
    pcsig_self : Ast_403.Parsetree.core_type;
    pcsig_fields : Ast_403.Parsetree.class_type_field list;
  }
  and class_type_field = {
    pctf_desc : Ast_403.Parsetree.class_type_field_desc;
    pctf_loc : Location.t;
    pctf_attributes : Ast_403.Parsetree.attributes;
  }
  and class_type_field_desc =
      Pctf_inherit of Ast_403.Parsetree.class_type
    | Pctf_val of
        (string * Ast_403.Asttypes.mutable_flag *
         Ast_403.Asttypes.virtual_flag * Ast_403.Parsetree.core_type)
    | Pctf_method of
        (string * Ast_403.Asttypes.private_flag *
         Ast_403.Asttypes.virtual_flag * Ast_403.Parsetree.core_type)
    | Pctf_constraint of
        (Ast_403.Parsetree.core_type * Ast_403.Parsetree.core_type)
    | Pctf_attribute of Ast_403.Parsetree.attribute
    | Pctf_extension of Ast_403.Parsetree.extension
  and 'a class_infos = {
    pci_virt : Ast_403.Asttypes.virtual_flag;
    pci_params :
      (Ast_403.Parsetree.core_type * Ast_403.Asttypes.variance) list;
    pci_name : string Ast_403.Asttypes.loc;
    pci_expr : 'a;
    pci_loc : Location.t;
    pci_attributes : Ast_403.Parsetree.attributes;
  }
  and class_description =
      Ast_403.Parsetree.class_type Ast_403.Parsetree.class_infos
  and class_type_declaration =
      Ast_403.Parsetree.class_type Ast_403.Parsetree.class_infos
  and class_expr = {
    pcl_desc : Ast_403.Parsetree.class_expr_desc;
    pcl_loc : Location.t;
    pcl_attributes : Ast_403.Parsetree.attributes;
  }
  and class_expr_desc =
      Pcl_constr of Longident.t Ast_403.Asttypes.loc *
        Ast_403.Parsetree.core_type list
    | Pcl_structure of Ast_403.Parsetree.class_structure
    | Pcl_fun of Ast_403.Asttypes.arg_label *
        Ast_403.Parsetree.expression option * Ast_403.Parsetree.pattern *
        Ast_403.Parsetree.class_expr
    | Pcl_apply of Ast_403.Parsetree.class_expr *
        (Ast_403.Asttypes.arg_label * Ast_403.Parsetree.expression) list
    | Pcl_let of Ast_403.Asttypes.rec_flag *
        Ast_403.Parsetree.value_binding list * Ast_403.Parsetree.class_expr
    | Pcl_constraint of Ast_403.Parsetree.class_expr *
        Ast_403.Parsetree.class_type
    | Pcl_extension of Ast_403.Parsetree.extension
  and class_structure = {
    pcstr_self : Ast_403.Parsetree.pattern;
    pcstr_fields : Ast_403.Parsetree.class_field list;
  }
  and class_field = {
    pcf_desc : Ast_403.Parsetree.class_field_desc;
    pcf_loc : Location.t;
    pcf_attributes : Ast_403.Parsetree.attributes;
  }
  and class_field_desc =
      Pcf_inherit of Ast_403.Asttypes.override_flag *
        Ast_403.Parsetree.class_expr * string option
    | Pcf_val of
        (string Ast_403.Asttypes.loc * Ast_403.Asttypes.mutable_flag *
         Ast_403.Parsetree.class_field_kind)
    | Pcf_method of
        (string Ast_403.Asttypes.loc * Ast_403.Asttypes.private_flag *
         Ast_403.Parsetree.class_field_kind)
    | Pcf_constraint of
        (Ast_403.Parsetree.core_type * Ast_403.Parsetree.core_type)
    | Pcf_initializer of Ast_403.Parsetree.expression
    | Pcf_attribute of Ast_403.Parsetree.attribute
    | Pcf_extension of Ast_403.Parsetree.extension
  and class_field_kind =
      Cfk_virtual of Ast_403.Parsetree.core_type
    | Cfk_concrete of Ast_403.Asttypes.override_flag *
        Ast_403.Parsetree.expression
  and class_declaration =
      Ast_403.Parsetree.class_expr Ast_403.Parsetree.class_infos
  and module_type = {
    pmty_desc : Ast_403.Parsetree.module_type_desc;
    pmty_loc : Location.t;
    pmty_attributes : Ast_403.Parsetree.attributes;
  }
  and module_type_desc =
      Pmty_ident of Longident.t Ast_403.Asttypes.loc
    | Pmty_signature of Ast_403.Parsetree.signature
    | Pmty_functor of string Ast_403.Asttypes.loc *
        Ast_403.Parsetree.module_type option * Ast_403.Parsetree.module_type
    | Pmty_with of Ast_403.Parsetree.module_type *
        Ast_403.Parsetree.with_constraint list
    | Pmty_typeof of Ast_403.Parsetree.module_expr
    | Pmty_extension of Ast_403.Parsetree.extension
    | Pmty_alias of Longident.t Ast_403.Asttypes.loc
  and signature = Ast_403.Parsetree.signature_item list
  and signature_item = {
    psig_desc : Ast_403.Parsetree.signature_item_desc;
    psig_loc : Location.t;
  }
  and signature_item_desc =
      Psig_value of Ast_403.Parsetree.value_description
    | Psig_type of Ast_403.Asttypes.rec_flag *
        Ast_403.Parsetree.type_declaration list
    | Psig_typext of Ast_403.Parsetree.type_extension
    | Psig_exception of Ast_403.Parsetree.extension_constructor
    | Psig_module of Ast_403.Parsetree.module_declaration
    | Psig_recmodule of Ast_403.Parsetree.module_declaration list
    | Psig_modtype of Ast_403.Parsetree.module_type_declaration
    | Psig_open of Ast_403.Parsetree.open_description
    | Psig_include of Ast_403.Parsetree.include_description
    | Psig_class of Ast_403.Parsetree.class_description list
    | Psig_class_type of Ast_403.Parsetree.class_type_declaration list
    | Psig_attribute of Ast_403.Parsetree.attribute
    | Psig_extension of Ast_403.Parsetree.extension *
        Ast_403.Parsetree.attributes
  and module_declaration = {
    pmd_name : string Ast_403.Asttypes.loc;
    pmd_type : Ast_403.Parsetree.module_type;
    pmd_attributes : Ast_403.Parsetree.attributes;
    pmd_loc : Location.t;
  }
  and module_type_declaration = {
    pmtd_name : string Ast_403.Asttypes.loc;
    pmtd_type : Ast_403.Parsetree.module_type option;
    pmtd_attributes : Ast_403.Parsetree.attributes;
    pmtd_loc : Location.t;
  }
  and open_description = {
    popen_lid : Longident.t Ast_403.Asttypes.loc;
    popen_override : Ast_403.Asttypes.override_flag;
    popen_loc : Location.t;
    popen_attributes : Ast_403.Parsetree.attributes;
  }
  and 'a include_infos = {
    pincl_mod : 'a;
    pincl_loc : Location.t;
    pincl_attributes : Ast_403.Parsetree.attributes;
  }
  and include_description =
      Ast_403.Parsetree.module_type Ast_403.Parsetree.include_infos
  and include_declaration =
      Ast_403.Parsetree.module_expr Ast_403.Parsetree.include_infos
  and with_constraint =
      Pwith_type of Longident.t Ast_403.Asttypes.loc *
        Ast_403.Parsetree.type_declaration
    | Pwith_module of Longident.t Ast_403.Asttypes.loc *
        Longident.t Ast_403.Asttypes.loc
    | Pwith_typesubst of Ast_403.Parsetree.type_declaration
    | Pwith_modsubst of string Ast_403.Asttypes.loc *
        Longident.t Ast_403.Asttypes.loc
  and module_expr = {
    pmod_desc : Ast_403.Parsetree.module_expr_desc;
    pmod_loc : Location.t;
    pmod_attributes : Ast_403.Parsetree.attributes;
  }
  and module_expr_desc =
      Pmod_ident of Longident.t Ast_403.Asttypes.loc
    | Pmod_structure of Ast_403.Parsetree.structure
    | Pmod_functor of string Ast_403.Asttypes.loc *
        Ast_403.Parsetree.module_type option * Ast_403.Parsetree.module_expr
    | Pmod_apply of Ast_403.Parsetree.module_expr *
        Ast_403.Parsetree.module_expr
    | Pmod_constraint of Ast_403.Parsetree.module_expr *
        Ast_403.Parsetree.module_type
    | Pmod_unpack of Ast_403.Parsetree.expression
    | Pmod_extension of Ast_403.Parsetree.extension
  and structure = Ast_403.Parsetree.structure_item list
  and structure_item = {
    pstr_desc : Ast_403.Parsetree.structure_item_desc;
    pstr_loc : Location.t;
  }
  and structure_item_desc =
      Pstr_eval of Ast_403.Parsetree.expression *
        Ast_403.Parsetree.attributes
    | Pstr_value of Ast_403.Asttypes.rec_flag *
        Ast_403.Parsetree.value_binding list
    | Pstr_primitive of Ast_403.Parsetree.value_description
    | Pstr_type of Ast_403.Asttypes.rec_flag *
        Ast_403.Parsetree.type_declaration list
    | Pstr_typext of Ast_403.Parsetree.type_extension
    | Pstr_exception of Ast_403.Parsetree.extension_constructor
    | Pstr_module of Ast_403.Parsetree.module_binding
    | Pstr_recmodule of Ast_403.Parsetree.module_binding list
    | Pstr_modtype of Ast_403.Parsetree.module_type_declaration
    | Pstr_open of Ast_403.Parsetree.open_description
    | Pstr_class of Ast_403.Parsetree.class_declaration list
    | Pstr_class_type of Ast_403.Parsetree.class_type_declaration list
    | Pstr_include of Ast_403.Parsetree.include_declaration
    | Pstr_attribute of Ast_403.Parsetree.attribute
    | Pstr_extension of Ast_403.Parsetree.extension *
        Ast_403.Parsetree.attributes
  and value_binding = {
    pvb_pat : Ast_403.Parsetree.pattern;
    pvb_expr : Ast_403.Parsetree.expression;
    pvb_attributes : Ast_403.Parsetree.attributes;
    pvb_loc : Location.t;
  }
  and module_binding = {
    pmb_name : string Ast_403.Asttypes.loc;
    pmb_expr : Ast_403.Parsetree.module_expr;
    pmb_attributes : Ast_403.Parsetree.attributes;
    pmb_loc : Location.t;
  }
  type toplevel_phrase =
      Ptop_def of Ast_403.Parsetree.structure
    | Ptop_dir of string * Ast_403.Parsetree.directive_argument
  and directive_argument =
      Pdir_none
    | Pdir_string of string
    | Pdir_int of string * char option
    | Pdir_ident of Longident.t
    | Pdir_bool of bool
end