package ockt

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Unexpected_newline
exception Unexpected_eof
exception Empty_key
exception Invalid_escape_char
type token =
  1. | Equals
  2. | BraceOpen
  3. | BraceClosed
  4. | Separator
  5. | Comment of string
  6. | Key of string
  7. | Value of string
  8. | EOF
val string_of_token : token -> string
val tokenize : char list -> token list
val tokenize_str : string -> token list