Skip to content

Commit

Permalink
Merge pull request #18 from rgrinberg/expose-mustache-type
Browse files Browse the repository at this point in the history
make Mustache.t non abstract
  • Loading branch information
rgrinberg authored Aug 19, 2016
2 parents a641057 + 9011d12 commit bd11331
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion lib/mustache.mli
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,18 @@ module Json : sig (** Compatible with Ezjsonm *)
| `O of (string * value) list ]
end

type t
type t =
| String of string
| Escaped of string
| Section of section
| Unescaped of string
| Partial of string
| Inverted_section of section
| Concat of t list
| Comment of string
and section =
{ name: string
; contents: t }

(** Read *)
val parse_lx : Lexing.lexbuf -> t
Expand Down

0 comments on commit bd11331

Please sign in to comment.