package reason

  1. Overview
  2. Docs
module Lexer_impl = Reason_lexer
module Parser_impl = Reason_parser
val initial_checkpoint : (Lexing.position -> 'a) -> Lexing.lexbuf -> 'a
type tracking_supplier = {
  1. mutable last_token : (Reason_parser.token * Lexing.position * Lexing.position) option;
  2. get_token : unit -> Reason_parser.token * Lexing.position * Lexing.position;
}
val lexbuf_to_supplier : Lexing.lexbuf -> tracking_supplier
val stack : 'a I.checkpoint -> I.stack
val state : 'a I.checkpoint -> int
val loop_handle_yacc : tracking_supplier -> bool -> 'a I.checkpoint -> 'a
val skip_phrase : Lexing.lexbuf -> unit
val maybe_skip_phrase : Lexing.lexbuf -> unit
val safeguard_parsing : Lexing.lexbuf -> (unit -> 'a) -> 'a
val format_interface_with_comments : (Ast_404.Parsetree.signature * Reason_pprint_ast.commentWithCategory) -> Format.formatter -> unit
val format_implementation_with_comments : (Ast_404.Parsetree.structure * Reason_pprint_ast.commentWithCategory) -> Format.formatter -> unit
OCaml

Innovation. Community. Security.