package tiny_languages

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

Module Token_mlSource

Sourcetype kind =
  1. | Comment
  2. | Keyword
  3. | Lident
  4. | Uident
  5. | Label
  6. | Type_var
  7. | Int
  8. | Float
  9. | Char
  10. | String
  11. | Operator
  12. | Punctuation
  13. | Directive
  14. | Error
Sourcetype t = {
  1. kind : kind;
  2. text : string;
  3. offset : int;
  4. line : int;
  5. col : int;
}
Sourceval show_kind : kind -> string