  This file is part of ppx_cstubs (  ) 
  * Copyright ( c ) 2018 - 2019 fdopen 
  * 
  * This program is free software ; you can redistribute it and/or modify 
  * it under the terms of the GNU Lesser General Public License as published by 
  * the Free Software Foundation , with linking exception ; 
  * either version 2.1 of the License , or ( at your option ) any later version . 
  * 
  * This program is distributed in the hope that it will be useful , 
  * but WITHOUT ANY WARRANTY ; without even the implied warranty of 
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE .   See the 
  * GNU Lesser General Public License for more details . 
  * 
  * You should have received a copy of the GNU Lesser General Public License 
  * along with this program ; if not , write to the Free Software 
  * Foundation , Inc. , 59 Temple Place - Suite 330 , Boston , MA 02111 - 1307 , USA . 
 
 * Copyright (c) 2018-2019 fdopen
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, with linking exception;
 * either version 2.1 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *)

let h s =
  let x = Location.mkloc s Location.none in
  let pl = Mparsetree.Ast_cur.Parsetree.PStr [] in
  Mparsetree.Ast_cur.Ast_helper.Attr.mk x pl

let replace_expr_string = "ppxc__replace_expr"

let replace_expr_attrib = h replace_expr_string

let tdl_string = "ppxc__tdl"

let tdl_attrib = h tdl_string

let remove_string = "ppxc__remove"

let remove_attrib = h remove_string

let replace_attr_string = "ppxc__replace_attr"

let replace_typ_string = "ppxc__replace_typ"

let open_struct_type_mod_string = "ppxc__open_struct_type_mod_string"

let open_struct_type_mod_attrib = h open_struct_type_mod_string

let open_struct_body_string = "ppxc__open_struct_body_string"

let open_struct_body_attrib = h open_struct_body_string

let open_struct_ifthenelse_string = "ppxc__ open_struct_ifthenelse_string"

let open_struct_ifthenelse_attrib = h open_struct_ifthenelse_string

let open_struct_openmod_string = "ppxc__open_struct_openmod_string"

let open_struct_openmod_attrib = h open_struct_openmod_string

let manifest_replace_string = "ppxc__manifest_replace_string"

let manifest_replace_attrib = h manifest_replace_string

  This file is part of ppx_cstubs (  ) 
  * Copyright ( c ) 2018 - 2019 fdopen 
  * 
  * This program is free software ; you can redistribute it and/or modify 
  * it under the terms of the GNU Lesser General Public License as published by 
  * the Free Software Foundation , with linking exception ; 
  * either version 2.1 of the License , or ( at your option ) any later version . 
  * 
  * This program is distributed in the hope that it will be useful , 
  * but WITHOUT ANY WARRANTY ; without even the implied warranty of 
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE .   See the 
  * GNU Lesser General Public License for more details . 
  * 
  * You should have received a copy of the GNU Lesser General Public License 
  * along with this program ; if not , write to the Free Software 
  * Foundation , Inc. , 59 Temple Place - Suite 330 , Boston , MA 02111 - 1307 , USA . 
 
 * Copyright (c) 2018-2019 fdopen
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, with linking exception;
 * either version 2.1 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *)

let h s =
  let x = Location.mkloc s Location.none in
  let pl = Mparsetree.Ast_cur.Parsetree.PStr [] in
  Mparsetree.Ast_cur.Ast_helper.Attr.mk x pl

let replace_expr_string = "ppxc__replace_expr"

let replace_expr_attrib = h replace_expr_string

let tdl_string = "ppxc__tdl"

let tdl_attrib = h tdl_string

let remove_string = "ppxc__remove"

let remove_attrib = h remove_string

let replace_attr_string = "ppxc__replace_attr"

let replace_typ_string = "ppxc__replace_typ"

let open_struct_type_mod_string = "ppxc__open_struct_type_mod_string"

let open_struct_type_mod_attrib = h open_struct_type_mod_string

let open_struct_body_string = "ppxc__open_struct_body_string"

let open_struct_body_attrib = h open_struct_body_string

let open_struct_ifthenelse_string = "ppxc__ open_struct_ifthenelse_string"

let open_struct_ifthenelse_attrib = h open_struct_ifthenelse_string

let open_struct_openmod_string = "ppxc__open_struct_openmod_string"

let open_struct_openmod_attrib = h open_struct_openmod_string

let manifest_replace_string = "ppxc__manifest_replace_string"

let manifest_replace_attrib = h manifest_replace_string
