package lua_parser

  1. Overview
  2. Docs
type token =
  1. | PLUS
  2. | MINUS
  3. | MULT
  4. | DIV
  5. | MOD
  6. | CARAT
  7. | GT
  8. | LT
  9. | GE
  10. | LE
  11. | EQ
  12. | NE
  13. | ASSIGN
  14. | DOT
  15. | CAT
  16. | ELLIPSIS
  17. | COLON
  18. | DCOLON
  19. | SEMI
  20. | COMMA
  21. | HASH
  22. | LB
  23. | RB
  24. | LCB
  25. | RCB
  26. | LPAR
  27. | RPAR
  28. | AND
  29. | BREAK
  30. | DO
  31. | ELSE
  32. | ELSEIF
  33. | END
  34. | FOR
  35. | FUNCTION
  36. | GOTO
  37. | IF
  38. | IN
  39. | LOCAL
  40. | NOT
  41. | NOARG
  42. | OR
  43. | REPEAT
  44. | RETURN
  45. | THEN
  46. | UNTIL
  47. | WHILE
  48. | NUM_CONST of string
  49. | IDENT of string
  50. | BOOL of string
  51. | STR_CONST of string
  52. | EOF
val token_of_sexp : Sexplib0.Sexp.t -> token
val sexp_of_token : token -> Sexplib0.Sexp.t
OCaml

Innovation. Community. Security.