package ocamlformat-lib

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

Innovation. Community. Security.