Module Astlib.Parse

Entry points in the parser

val implementation : Lexing.lexbuf -> Parsetree.structure_item list

Parse a structure

val interface : Lexing.lexbuf -> Parsetree.signature_item list

Parse a signature

val toplevel_phrase : Lexing.lexbuf -> Parsetree.toplevel_phrase

Parse a toplevel phrase

Parse a series of toplevel phrases

Parse a core type

Parse an expression

Parse a pattern