package archetype

  1. Overview
  2. Docs
exception ParenError
type error_desc =
  1. | LexicalError of string
  2. | Unclosed of string * string
  3. | NotExpecting of string
val pp_error_desc : Ppx_deriving_runtime.Format.formatter -> error_desc -> Ppx_deriving_runtime.unit
val show_error_desc : error_desc -> Ppx_deriving_runtime.string
type error = Location.t * error_desc
val emit_error : Location.t -> error_desc -> unit
val lexbuf_from_channel : string -> Stdlib.in_channel -> Stdlib.Lexing.lexbuf
val lexbuf_from_string : string -> string -> Stdlib.Lexing.lexbuf
val check_brackets_balance : unit -> unit
val update_last_reduction : 'a -> Parser.MenhirInterpreter.production -> [> `FoundDeclarationAt of 'a | `FoundEffect of 'a | `FoundExprAt of 'a ] as 'b -> 'b
val parse : (Stdlib.Lexing.position -> 'a Parser.MenhirInterpreter.checkpoint) -> Stdlib.Lexing.lexbuf -> 'a
val parse_archetype : Core.from_input -> ParseTree.archetype
val parse_archetype_strict : Core.from_input -> ParseTree.archetype
val parse_expr : Core.from_input -> ParseTree.expr
OCaml

Innovation. Community. Security.