Source

ocaml-lib / token.ml

1
2
3
4
5
6
7
8
9
exception Eof

type t =
    BackQuote | Tilda | Exclam | At | Sharp | Dollar | Percent | Hat | Et | Star
  | LeftPar | RightPar | Minus | Plus | Equal | LeftAcc | RightAcc | LeftBra | RightBra
  | Pipe | BackSlash | Slash | Interro | LT | GT | Comma | DotDot | Dot | Colon | SemiColon
  | DoubleQuote | Quote
  | Ident of string | Int of int | Float of float | Char of char | String of string | Term of string | EOL
  | PP_tilda | PP_space | PP_cut | PP_break of int * int