Skip to content

Commit 9011d12

Browse files
committed
make Mustache.t non abstract
1 parent 763a79a commit 9011d12

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

lib/mustache.mli

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,18 @@ module Json : sig (** Compatible with Ezjsonm *)
1919
| `O of (string * value) list ]
2020
end
2121

22-
type t
22+
type t =
23+
| String of string
24+
| Escaped of string
25+
| Section of section
26+
| Unescaped of string
27+
| Partial of string
28+
| Inverted_section of section
29+
| Concat of t list
30+
| Comment of string
31+
and section =
32+
{ name: string
33+
; contents: t }
2334

2435
(** Read *)
2536
val parse_lx : Lexing.lexbuf -> t

0 commit comments

Comments
 (0)