Module Grammar.GMake
Parameters
Signature
module EState : sig ... endmodule GState : sig ... endinclude S with type keyword_state := keyword_state and type 'a with_gstate := GState.t -> 'a and type 'a with_kwstate := keyword_state -> 'a and type 'a with_estate := EState.t -> 'a and type 'a mod_estate := EState.t -> EState.t * 'a
type keyword_statetype tetype 'c patterntype ty_pattern=|TPattern : 'a pattern -> ty_pattern
module Parsable : sig ... endmodule Entry : sig ... endmodule rec Symbol : sig ... endand Rule : sig ... endand Rules : sig ... endmodule Production : sig ... endtype 'a single_extend_statement= string option * Gramext.g_assoc option * 'a Production.t listtype 'a extend_statement=|Reuse of string option * 'a Production.t listExtend an existing level by its optional given name. If None, picks the topmost level.
|Fresh of Gramext.position * 'a single_extend_statement listCreate a level at the given position.
type 's add_kw={add_kw : c. 's -> 'c pattern -> 's;}
val safe_extend : 's add_kw -> EState.t -> 's -> 'a Entry.t -> 'a extend_statement -> EState.t * 'sval safe_delete_rule : EState.t -> 'a Entry.t -> 'a Production.t -> EState.t
module Unsafe : sig ... end