package dolmen

  1. Overview
  2. Docs
On This Page
  1. Main interface
Legend:
Library
Module
Module type
Parameter
Class
Class type

Main interface

exception Error of int

Exception raised by the parser when it encounters an error.

A function that parses an entire file, i.e until the end-of-file token, and return the list of parsed statements.

val input : (Lexing.lexbuf -> Ty.token) -> Lexing.lexbuf -> Ty.statement option

A function to parse a single statement. Returns None if it encounters the end-of-file token. Used for incremental parsing.

OCaml

Innovation. Community. Security.