package tiny_languages

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

Module Token_cSource

Sourcetype kind =
  1. | Comment
  2. | Keyword
  3. | Ident
  4. | Int
  5. | Float
  6. | Char
  7. | String
  8. | Operator
  9. | Punctuation
  10. | Directive
  11. | Error
Sourcetype t = {
  1. kind : kind;
  2. text : string;
  3. offset : int;
  4. line : int;
  5. col : int;
  6. pp : bool;
}
Sourceval show_kind : kind -> string
Sourceval is_constant : string -> bool