| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
open Elpi.API |
| 7 |
open RawData |
| 8 |
|
| 9 |
val coq : Ast.Scope.language |
| 10 |
|
| 11 |
|
| 12 |
val set_coq_ctx_hyps : State.t -> [> `Options ] Rocq_elpi_HOAS.conv_context * hyps -> State.t |
| 13 |
|
| 14 |
val under_ctx : |
| 15 |
Rocq_elpi_HOAS.annot_name -> term -> term option -> |
| 16 |
k:(depth:int -> State.t -> State.t * 'b * 'c) -> |
| 17 |
depth:int -> State.t -> State.t * 'b * 'c |
| 18 |
|
| 19 |
val gterm2lp : |
| 20 |
loc:Loc.t -> |
| 21 |
base:Compile.program -> |
| 22 |
Glob_term.glob_constr -> |
| 23 |
depth:int -> State.t -> State.t * term |
| 24 |
val gindparams2lp : |
| 25 |
loc:Loc.t -> |
| 26 |
base:Compile.program -> |
| 27 |
Glob_term.glob_decl list -> |
| 28 |
k:(depth:int -> State.t -> State.t * term) -> |
| 29 |
depth:int -> State.t -> State.t * term |
| 30 |
val garityparams2lp : |
| 31 |
loc:Loc.t -> |
| 32 |
base:Compile.program -> |
| 33 |
Glob_term.glob_decl list -> |
| 34 |
k:(depth:int -> State.t -> State.t * term) -> |
| 35 |
depth:int -> State.t -> State.t * term |
| 36 |
val garity2lp : |
| 37 |
loc:Loc.t -> |
| 38 |
base:Compile.program -> |
| 39 |
Glob_term.glob_constr -> |
| 40 |
depth:int -> State.t -> State.t * term |
| 41 |
val grecord2lp : |
| 42 |
loc:Loc.t -> |
| 43 |
base:Compile.program -> |
| 44 |
name:string list * Names.Id.t -> |
| 45 |
constructorname:Names.Id.t option -> |
| 46 |
Glob_term.glob_constr -> |
| 47 |
(Glob_term.glob_constr * Rocq_elpi_HOAS.record_field_spec) list -> |
| 48 |
depth:int -> State.t -> State.t * term |
| 49 |
|
| 50 |
val runtime_gterm2lp : |
| 51 |
loc:Loc.t -> |
| 52 |
base:Compile.program -> |
| 53 |
Glob_term.glob_constr -> |
| 54 |
depth:int -> State.t -> term |
| 55 |
|
| 56 |
|
| 57 |
[%%if coq = "9.0" || coq = "9.1" || coq = "9.2"] |
| 58 |
val is_elpi_code_r : (Genarg.glob_generic_argument -> bool) ref |
| 59 |
val get_elpi_code_r : (Genarg.glob_generic_argument -> Ast.Loc.t * string) ref |
| 60 |
val is_elpi_code_appArg_r : (Genarg.glob_generic_argument -> bool) ref |
| 61 |
val get_elpi_code_appArg_r : (Genarg.glob_generic_argument -> Ast.Loc.t * string list) ref |
| 62 |
[%%else] |
| 63 |
val elpi_code_tag : ((Ast.Loc.t * string) as 'a, 'a) GenConstr.tag |
| 64 |
val elpi_code_appArg_tag : ((Ast.Loc.t * string list) as 'a, 'a) GenConstr.tag |
| 65 |
[%%endif] |
| 66 |
|
| 67 |
|
| 68 |
val mk_restricted_name : int -> string |