package ppxlib

  1. Overview
  2. Docs
include module type of struct include Ocaml_common.Parser end
type token = Parser.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
module Of_ocaml : sig ... end
val use_file : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Migrate_parsetree.OCaml_407.Ast.Parsetree.toplevel_phrase list
val toplevel_phrase : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Migrate_parsetree.OCaml_407.Ast.Parsetree.toplevel_phrase
val parse_pattern : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Migrate_parsetree.OCaml_407.Ast.Parsetree.pattern
val parse_expression : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Migrate_parsetree.OCaml_407.Ast.Parsetree.expression
val parse_core_type : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Migrate_parsetree.OCaml_407.Ast.Parsetree.core_type
val interface : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Migrate_parsetree.OCaml_407.Ast.Parsetree.signature
val implementation : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Migrate_parsetree.OCaml_407.Ast.Parsetree.structure
OCaml

Innovation. Community. Security.