Skip to content

Commit def7b51

Browse files
committed
reason-parser: add interface files for Reason_parser_{def,explain}
1 parent 1c8f55e commit def7b51

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
open Ppxlib
2+
3+
type labelled_parameter =
4+
| Term of Asttypes.arg_label * Parsetree.expression option * Parsetree.pattern
5+
| Type of string
6+
7+
type let_bindings =
8+
{ lbs_bindings : Parsetree.value_binding list
9+
; lbs_rec : Asttypes.rec_flag
10+
; lbs_extension : (Parsetree.attributes * string Asttypes.loc) option
11+
; lbs_loc : Location.t
12+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(* See the comments in menhir_error_processor.ml *)
2+
3+
val message :
4+
'a Reason_parser.MenhirInterpreter.env
5+
-> Reason_parser.token * 'b * 'c
6+
-> string

0 commit comments

Comments
 (0)