package camlon

  1. Overview
  2. Docs
type token =
  1. | AMPERAMPER
  2. | AMPERSAND
  3. | AND
  4. | AS
  5. | ASSERT
  6. | BACKQUOTE
  7. | BANG
  8. | BAR
  9. | BARBAR
  10. | BARRBRACKET
  11. | BEGIN
  12. | CHAR of char
  13. | CLASS
  14. | COLON
  15. | COLONCOLON
  16. | COLONEQUAL
  17. | COLONGREATER
  18. | COMMA
  19. | CONSTRAINT
  20. | DO
  21. | DONE
  22. | DOT
  23. | DOTDOT
  24. | DOWNTO
  25. | ELSE
  26. | END
  27. | EOF
  28. | EQUAL
  29. | EXCEPTION
  30. | EXTERNAL
  31. | FALSE
  32. | FLOAT of string * char option
  33. | FOR
  34. | FUN
  35. | FUNCTION
  36. | FUNCTOR
  37. | GREATER
  38. | GREATERRBRACE
  39. | GREATERRBRACKET
  40. | IF
  41. | IN
  42. | INCLUDE
  43. | INFIXOP0 of string
  44. | INFIXOP1 of string
  45. | INFIXOP2 of string
  46. | INFIXOP3 of string
  47. | INFIXOP4 of string
  48. | INHERIT
  49. | INITIALIZER
  50. | INT of string * char option
  51. | LABEL of string
  52. | LAZY
  53. | LBRACE
  54. | LBRACELESS
  55. | LBRACKET
  56. | LBRACKETBAR
  57. | LBRACKETLESS
  58. | LBRACKETGREATER
  59. | LBRACKETPERCENT
  60. | LBRACKETPERCENTPERCENT
  61. | LESS
  62. | LESSMINUS
  63. | LET
  64. | LIDENT of string
  65. | LPAREN
  66. | LBRACKETAT
  67. | LBRACKETATAT
  68. | LBRACKETATATAT
  69. | MATCH
  70. | METHOD
  71. | MINUS
  72. | MINUSDOT
  73. | MINUSGREATER
  74. | MODULE
  75. | MUTABLE
  76. | NEW
  77. | NONREC
  78. | OBJECT
  79. | OF
  80. | OPEN
  81. | OPTLABEL of string
  82. | OR
  83. | PERCENT
  84. | PLUS
  85. | PLUSDOT
  86. | PLUSEQ
  87. | PREFIXOP of string
  88. | PRIVATE
  89. | QUESTION
  90. | QUOTE
  91. | RBRACE
  92. | RBRACKET
  93. | REC
  94. | RPAREN
  95. | SEMI
  96. | SEMISEMI
  97. | HASH
  98. | HASHOP of string
  99. | SIG
  100. | STAR
  101. | STRING of string * string option
  102. | STRUCT
  103. | THEN
  104. | TILDE
  105. | TO
  106. | TRUE
  107. | TRY
  108. | TYPE
  109. | UIDENT of string
  110. | UNDERSCORE
  111. | VAL
  112. | VIRTUAL
  113. | WHEN
  114. | WHILE
  115. | WITH
  116. | COMMENT of string * Location.t
  117. | DOCSTRING of Docstrings.docstring
  118. | EOL
val implementation : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parsetree.structure
val parse_core_type : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parsetree.core_type
val parse_expression : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parsetree.expression
val parse_pattern : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Parsetree.pattern
OCaml

Innovation. Community. Security.