package coq-lsp
Language Server Protocol native server for Coq
Install
Dune Dependency
Authors
Maintainers
Sources
coq-lsp-0.2.3.8.19.tbz
sha256=dd5d0993261d3742e77ccac8344307d97b507b265d8743ae0ce33d0b3fcfd98a
sha512=76727400b27900fdd659af7f03c5f2cd979f50ea0c76ad6f5b5de56a53b9db06dba1e1c786fd3e8ab695e42d94c53d58415c0c5b5eef8192f9863eaf7dcca693
doc/src/coq-lsp.serlib/ser_constrexpr.ml.html
Source file ser_constrexpr.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 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* <O___,, * (see version control and CREDITS file for authors & dates) *) (* VV/ **************************************************************) (* // * This file is distributed under the terms of the *) (* * GNU Lesser General Public License Version 2.1 *) (* * (see LICENSE file for the text of the license) *) (************************************************************************) (************************************************************************) (* SerAPI: Coq interaction protocol with bidirectional serialization *) (************************************************************************) (* Copyright 2016-2019 MINES ParisTech -- License LGPL 2.1+ *) (* Copyright 2019-2023 Inria -- License LGPL 2.1+ *) (* Written by: Emilio J. Gallego Arias and others *) (************************************************************************) open Ppx_hash_lib.Std.Hash.Builtin open Ppx_compare_lib.Builtin let hash_fold_array = Ppx_hash_lib.Std.Hash.Builtin.hash_fold_array_frozen open Sexplib.Std module Loc = Ser_loc module CAst = Ser_cAst module Names = Ser_names module Constr = Ser_constr module UState = Ser_uState module Namegen = Ser_namegen module Pattern = Ser_pattern module Evar_kinds = Ser_evar_kinds module Genarg = Ser_genarg module Libnames = Ser_libnames module Glob_term = Ser_glob_term module NumTok = Ser_numTok module Univ = Ser_univ module UVars = Ser_uvars module Sorts = Ser_sorts type sort_name_expr = [%import: Constrexpr.sort_name_expr] [@@deriving sexp,yojson,hash,compare] type univ_level_expr = [%import: Constrexpr.univ_level_expr] [@@deriving sexp,yojson,hash,compare] type qvar_expr = [%import: Constrexpr.qvar_expr] [@@deriving sexp,yojson,hash,compare] type quality_expr = [%import: Constrexpr.quality_expr] [@@deriving sexp,yojson,hash,compare] type sort_expr = [%import: Constrexpr.sort_expr] [@@deriving sexp,yojson,hash,compare] type univ_constraint_expr = [%import: Constrexpr.univ_constraint_expr] [@@deriving sexp,yojson,hash,compare] type instance_expr = [%import: Constrexpr.instance_expr] [@@deriving sexp,yojson,hash,compare] type 'a or_by_notation_r = [%import: 'a Constrexpr.or_by_notation_r] [@@deriving sexp,yojson,hash,compare] type 'a or_by_notation = [%import: 'a Constrexpr.or_by_notation] [@@deriving sexp,yojson,hash,compare] type universe_decl_expr = [%import: Constrexpr.universe_decl_expr] [@@deriving sexp,yojson,hash,compare] type ident_decl = [%import: Constrexpr.ident_decl] [@@deriving sexp,yojson,hash,compare] type cumul_univ_decl_expr = [%import: Constrexpr.cumul_univ_decl_expr] [@@deriving sexp,yojson,hash,compare] type cumul_ident_decl = [%import: Constrexpr.cumul_ident_decl] [@@deriving sexp,yojson,hash,compare] type name_decl = [%import: Constrexpr.name_decl] [@@deriving sexp,yojson,hash,compare] type notation_with_optional_scope = [%import: Constrexpr.notation_with_optional_scope] [@@deriving sexp,yojson,hash,compare] type side = [%import: Constrexpr.side] [@@deriving sexp,yojson,hash,compare] type notation_entry = [%import: Constrexpr.notation_entry] [@@deriving sexp,yojson,hash,compare] type entry_level = [%import: Constrexpr.entry_level] [@@deriving sexp,yojson,hash,compare] type entry_relative_level = [%import: Constrexpr.entry_relative_level] [@@deriving sexp,yojson,hash,compare] type notation_entry_level = [%import: Constrexpr.notation_entry_level] [@@deriving sexp,yojson,hash,compare] type notation_entry_relative_level = [%import: Constrexpr.notation_entry_relative_level] [@@deriving sexp,yojson,hash,compare] type notation_key = [%import: Constrexpr.notation_key] [@@deriving sexp,yojson,hash,compare] type notation = [%import: Constrexpr.notation] [@@deriving sexp,yojson,hash,compare] type explicitation = [%import: Constrexpr.explicitation] [@@deriving sexp,yojson,hash,compare] type binder_kind = [%import: Constrexpr.binder_kind] [@@deriving sexp,yojson,hash,compare] type explicit_flag = [%import: Constrexpr.explicit_flag] [@@deriving sexp,yojson,hash,compare] (* type abstraction_kind = [%import: Constrexpr.abstraction_kind] * [@@deriving sexp,yojson] *) (* type proj_flag = [%import: Constrexpr.proj_flag] * [@@deriving sexp,yojson] *) (* type raw_numeral = [%import: Constrexpr.raw_numeral] * [@@deriving sexp,yojson] *) (* type sign = [%import: Constrexpr.sign] * [@@deriving sexp,yojson] *) type delimiter_depth = [%import: Constrexpr.delimiter_depth] [@@deriving sexp,yojson,hash,compare] type prim_token = [%import: Constrexpr.prim_token] [@@deriving sexp,yojson,hash,compare] type cases_pattern_expr_r = [%import: Constrexpr.cases_pattern_expr_r] and cases_pattern_expr = [%import: Constrexpr.cases_pattern_expr] and kinded_cases_pattern_expr = [%import: Constrexpr.kinded_cases_pattern_expr] and cases_pattern_notation_substitution = [%import: Constrexpr.cases_pattern_notation_substitution] and constr_expr_r = [%import: