package ocs

  1. Overview
  2. Docs
type token =
  1. | Leof
  2. | Lopenv
  3. | Lunqsplice
  4. | Lident of string
  5. | Lstring of string
  6. | Lnumber of Ocs_types.sval
  7. | Lbool of Ocs_types.sval
  8. | Lchar of Ocs_types.sval
  9. | Ltoken of char
type lexer
val make_lexer : Ocs_port.port -> string -> lexer
val get_loc : lexer -> Ocs_error.location
val get_tok : lexer -> token
OCaml

Innovation. Community. Security.