package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type token = Genlex.token =
  1. | Kwd of string
  2. | Ident of string
  3. | Int of int
  4. | Float of float
  5. | String of string
  6. | Char of char
val make_lexer : string list -> char Stream.t -> token Stream.t
type lexer_error = BatGenlex.lexer_error =
  1. | IllegalCharacter of char
  2. | NotReallyAChar
  3. | NotReallyAnEscape
  4. | EndOfStream
exception LexerError of lexer_error * int
type t = BatGenlex.t
val of_list : string list -> t
val to_stream_filter : t -> char Stream.t -> token Stream.t
val to_enum_filter : t -> char BatEnum.t -> token BatEnum.t
val to_lazy_list_filter : t -> char BatLazyList.t -> token BatLazyList.t
val string_of_token : token -> string
module Languages : sig ... end
OCaml

Innovation. Community. Security.