package tiny_languages

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Jsonnet_lexerSource

Sourcetype kind =
  1. | Keyword of string
  2. | Id of string
  3. | Number of float
  4. | String of string
  5. | Op of string
  6. | Punct of string
  7. | Eof
Sourcetype token = {
  1. kind : kind;
  2. line : int;
}
Sourceexception Error of int * string
Sourceval keywords : string list
Sourceval tokenize : string -> token list
Sourceval to_string : kind -> string