package coq-serapi

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file ser_glob_term.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, *   INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2016     *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

(************************************************************************)
(* Coq serialization API/Plugin                                         *)
(* Copyright 2016 MINES ParisTech                                       *)
(************************************************************************)
(* Status: Very Experimental                                            *)
(************************************************************************)

open Sexplib.Std

module Loc        = Ser_loc
module CAst       = Ser_cAst
module DAst       = Ser_dAst
module Names      = Ser_names
module Univ       = Ser_univ
module Uint63     = Ser_uint63
module Float64    = Ser_float64
module Constr     = Ser_constr
module Libnames   = Ser_libnames
module Genarg     = Ser_genarg
module Evar_kinds = Ser_evar_kinds
module Namegen    = Ser_namegen

(**********************************************************************)
(* Glob_term                                                          *)
(**********************************************************************)

type binding_kind =
  [%import: Glob_term.binding_kind]
  [@@deriving sexp,yojson]

(* type 'a universe_kind =
 *   [%import: 'a Glob_term.universe_kind]
 *   [@@deriving sexp,yojson] *)

(* type level_info =
 *   [%import: Glob_term.level_info]
 *   [@@deriving sexp,yojson] *)

type glob_sort_name =
  [%import: Glob_term.glob_sort_name]
  [@@deriving sexp,yojson]

type 'a glob_sort_expr =
  [%import: 'a Glob_term.glob_sort_expr]
  [@@deriving sexp,yojson]

type glob_level =
  [%import: Glob_term.glob_level]
  [@@deriving sexp,yojson]

type glob_constraint =
  [%import: Glob_term.glob_constraint]
  [@@deriving sexp,yojson]

(* type sort_info =
 *   [%import: Glob_term.sort_info]
 *   [@@deriving sexp,yojson] *)

type glob_sort =
  [%import: Glob_term.glob_sort]
  [@@deriving sexp,yojson]

type 'a cast_type =
  [%import: 'a Glob_term.cast_type]
  [@@deriving sexp,yojson]

type existential_name =
  [%import: Glob_term.existential_name]
  [@@deriving sexp,yojson]

type 'a cases_pattern_r = [%import: 'a Glob_term.cases_pattern_r]
and 'a cases_pattern_g  = [%import: 'a Glob_term.cases_pattern_g]
  [@@deriving sexp]

type cases_pattern =
  [%import: Glob_term.cases_pattern]
  [@@deriving sexp]

type glob_recarg =
  [%import: Glob_term.glob_recarg]
  [@@deriving sexp]

type glob_fix_kind =
  [%import: Glob_term.glob_fix_kind]
  [@@deriving sexp]

type 'a glob_constr_r        = [%import: 'a Glob_term.glob_constr_r]
and 'a glob_constr_g         = [%import: 'a Glob_term.glob_constr_g]
and 'a glob_decl_g           = [%import: 'a Glob_term.glob_decl_g]
and 'a predicate_pattern_g   = [%import: 'a Glob_term.predicate_pattern_g]
and 'a tomatch_tuple_g       = [%import: 'a Glob_term.tomatch_tuple_g]
and 'a tomatch_tuples_g      = [%import: 'a Glob_term.tomatch_tuples_g]
and 'a cases_clause_g        = [%import: 'a Glob_term.cases_clause_g]
and 'a cases_clauses_g       = [%import: 'a Glob_term.cases_clauses_g]
  [@@deriving sexp]

type glob_constr =
  [%import: Glob_term.glob_constr]
  [@@deriving sexp]

type glob_decl =
  [%import: Glob_term.glob_decl]
  [@@deriving sexp]

type predicate_pattern   = [%import: Glob_term.predicate_pattern]
  [@@deriving sexp]

type tomatch_tuple       = [%import: Glob_term.tomatch_tuple]
  [@@deriving sexp]

type tomatch_tuples      = [%import: Glob_term.tomatch_tuples]
  [@@deriving sexp]

type cases_clause        = [%import: Glob_term.cases_clause]
  [@@deriving sexp]

type cases_clauses       = [%import: Glob_term.cases_clauses]
  [@@deriving sexp]

OCaml

Innovation. Community. Security.