Module Astlib.Parse

Entry points in the parser

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

Parse a structure

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

Parse a signature

val toplevel_phrase : Stdlib.Lexing.lexbuf -> Parsetree.toplevel_phrase

Parse a toplevel phrase

val use_file : Stdlib.Lexing.lexbuf -> Parsetree.toplevel_phrase list

Parse a series of toplevel phrases

val core_type : Stdlib.Lexing.lexbuf -> Parsetree.core_type

Parse a core type

val expression : Stdlib.Lexing.lexbuf -> Parsetree.expression

Parse an expression

val pattern : Stdlib.Lexing.lexbuf -> Parsetree.pattern

Parse a pattern