package coq-core
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha512=9a35311acec2a806730b94ac7dceabc88837f235c52a14c026827d9b89433bd7fa9555a9fc6829aa49edfedb24c8bbaf1411ebf463b74a50aeb17cba47745b6b
doc/coq-core.vernac/Metasyntax/index.html
Module MetasyntaxSource
Adding a (constr) notation in the environment
val add_notation :
local:bool ->
infix:bool ->
Deprecation.t option ->
Environ.env ->
Constrexpr.constr_expr ->
(Names.lstring * Vernacexpr.syntax_modifier CAst.t list) ->
Notation_term.scope_name option ->
unitDeclaring scopes, delimiter keys and default scopes
val add_class_scope :
Vernacexpr.locality_flag ->
Notation_term.scope_name ->
Notation.add_scope_where option ->
Notation.scope_class list ->
unitScope opening
val open_close_scope :
Vernacexpr.locality_flag ->
to_open:bool ->
Notation_term.scope_name ->
unitAdd a notation interpretation associated to a "where" clause (already has pa/pp rules)
Interpret the modifiers of a where-notation
Declare the interpretation of the where-notation
val set_notation_for_interpretation :
Environ.env ->
Constrintern.internalization_env ->
where_decl_notation ->
unitSet the interpretation of the where-notation for interpreting a mutual block
Add only the parsing/printing rule of a notation
val add_reserved_notation :
local:bool ->
infix:bool ->
(Names.lstring * Vernacexpr.syntax_modifier CAst.t list) ->
unitAdd a syntactic definition (as in "Notation f := ...")
val add_abbreviation :
local:bool ->
Deprecation.t option ->
Environ.env ->
Names.Id.t ->
(Names.Id.t list * Constrexpr.constr_expr) ->
Vernacexpr.syntax_modifier CAst.t list ->
unitPrint the Camlp5 state of a grammar
val declare_notation_toggle :
Vernacexpr.locality_flag ->
on:bool ->
all:bool ->
Notation.notation_query_pattern ->
unitDeclare given string as a custom grammar entry
Check that the given string is a valid custom entry that has been declared
Pretty print level information of a notation and all of its arguments