package js_of_ocaml-compiler

  1. Overview
  2. Docs
type t
val of_file : ?rm_comment:bool -> string -> t
val of_lexbuf : ?rm_comment:bool -> Lexing.lexbuf -> t
val of_channel : ?rm_comment:bool -> in_channel -> t
val fold : f:('a -> Js_token.t -> 'a) -> init:'a -> t -> 'a
val of_list : Js_token.t list -> t
OCaml

Innovation. Community. Security.