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 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 -> in_channel -> Lexing.lexbuf
val lexbuf_from_string : string -> string -> 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 -> 'c
val parse_archetype : ?name:string -> in_channel -> ParseTree.archetype
val parse_archetype_strict : ?name:string -> in_channel -> ParseTree.archetype
val parse_archetype_strict_from_string : ?name:string -> string -> ParseTree.archetype
OCaml

Innovation. Community. Security.