File: parse.mli

package info (click to toggle)
ppxlib 0.37.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,804 kB
  • sloc: ml: 66,587; sh: 103; makefile: 40; python: 36
file content (22 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(** 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 *)

val use_file : Lexing.lexbuf -> Parsetree.toplevel_phrase list
(** Parse a series of toplevel phrases *)

val core_type : Lexing.lexbuf -> Parsetree.core_type
(** Parse a core type *)

val expression : Lexing.lexbuf -> Parsetree.expression
(** Parse an expression *)

val pattern : Lexing.lexbuf -> Parsetree.pattern
(** Parse a pattern *)