File: htmllex.mli

package info (click to toggle)
hevea 2.18-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,588 kB
  • ctags: 2,364
  • sloc: ml: 18,965; sh: 370; makefile: 131
file content (21 lines) | stat: -rw-r--r-- 1,051 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(***********************************************************************)
(*                                                                     *)
(*                          HEVEA                                      *)
(*                                                                     *)
(*  Luc Maranget, projet Moscova, INRIA Rocquencourt                   *)
(*                                                                     *)
(*  Copyright 2001 Institut National de Recherche en Informatique et   *)
(*  Automatique.  Distributed only by permission.                      *)
(*                                                                     *)
(***********************************************************************)

val to_string : Lexeme.token -> string
val cost : Lexeme.style -> int * int

module Make(C:DoOut.Config) : sig
  val ptop : unit -> unit
  val reset : unit -> unit
  val next_token : Lexing.lexbuf -> Lexeme.token
  val styles : Lexing.lexbuf -> Css.id list
  val classes : Lexing.lexbuf -> Emisc.Strings.t
end