package tiny_languages

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

Module Pascal_lexerSource

Sourcetype kind =
  1. | Keyword of string
  2. | Name of string
  3. | Int of int
  4. | Char of char
  5. | String of string
  6. | Symbol of string
  7. | Eof
Sourcetype token = {
  1. kind : kind;
  2. line : int;
  3. col : int;
}
Sourceexception Error of int * int * string
Sourceval tokens : string -> token list
Sourceval keywords : string list
Sourceval show : kind -> string