= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
ON THIS PAGE
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
The Parser module for the language.
Main interface
val file :
(Stdlib.Lexing.lexbuf -> token) ->
Stdlib.Lexing.lexbuf ->
Dolmen.Std.Statement.t list
A function that parses an entire file, i.e until the end-of-file token, and return the list of parsed statements.
val input :
(Stdlib.Lexing.lexbuf -> token) ->
Stdlib.Lexing.lexbuf ->
Dolmen.Std.Statement.t option
A function to parse a single statement. Reutnrs None
if it encounters the end-of-file token. Used for incremental parsing.