Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module I = Reason_parser.MenhirInterpreter
module Lexer_impl = Reason_lexer
module Parser_impl = Reason_parser
val initial_checkpoint : (Lexing.position -> 'a) -> Lexing.lexbuf -> 'a
type tracking_supplier = {
mutable last_token : (Reason_parser.token * Lexing.position * Lexing.position)
option;
get_token : unit -> Reason_parser.token * Lexing.position * Lexing.position;
}
val lexbuf_to_supplier : Lexing.lexbuf -> tracking_supplier
val read :
tracking_supplier ->
Reason_parser.token * Lexing.position * Lexing.position
val last_token_loc : tracking_supplier -> Migrate_parsetree.Ast_404.Location.t
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 implementation : Lexing.lexbuf -> Ast_404.Parsetree.structure
val interface : Lexing.lexbuf -> Ast_404.Parsetree.signature
val core_type : Lexing.lexbuf -> Ast_404.Parsetree.core_type
val toplevel_phrase : Lexing.lexbuf -> Ast_404.Parsetree.toplevel_phrase
val use_file : Lexing.lexbuf -> Ast_404.Parsetree.toplevel_phrase list
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