diff options
| author | Pierre-Marie Pédrot | 2016-01-16 23:19:40 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2016-01-17 00:35:15 +0100 |
| commit | e6b05180d789fb46bc91c71bc97efaf8b552f0fd (patch) | |
| tree | 563f63a45af2e9a8d247656836dea9290209585e /parsing | |
| parent | 8a3b19b62720e2324ef24003407c2e83335a51a5 (diff) | |
ML extensions use untyped representation of user entries.
Diffstat (limited to 'parsing')
| -rw-r--r-- | parsing/pcoq.mli | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/parsing/pcoq.mli b/parsing/pcoq.mli index 592c879197..aa2e092adc 100644 --- a/parsing/pcoq.mli +++ b/parsing/pcoq.mli @@ -153,11 +153,15 @@ type gram_universe = Entry.universe val get_univ : string -> gram_universe +type typed_entry = TypedEntry : 'a raw_abstract_argument_type * 'a Gram.entry -> typed_entry + val uprim : gram_universe val uconstr : gram_universe val utactic : gram_universe val uvernac : gram_universe +val get_entry : gram_universe -> string -> typed_entry + val create_generic_entry : string -> ('a, rlevel) abstract_argument_type -> 'a Gram.entry @@ -282,6 +286,8 @@ type _ target = TgAny : 's target | TgTactic : int -> raw_tactic_expr target val interp_entry_name : bool (** true to fail on unknown entry *) -> 's target -> string -> string -> 's entry_name +val parse_user_entry : string -> string -> user_symbol + (** Recover the list of all known tactic notation entries. *) val list_entry_names : unit -> (string * argument_type) list |
