package ocaml-base-compiler

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