package base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
  • deprecated [2016-09] this element comes from the stdlib distributed with OCaml. Refering to the stdlib directly is discouraged by Base. You should either use the equivalent functionality offered by Base, or if you really want to refer to the stdlib, use Caml.Parsing instead
  • deprecated [2016-09] this element comes from the stdlib distributed with OCaml. Refering to the stdlib directly is discouraged by Base. You should either use the equivalent functionality offered by Base, or if you really want to refer to the stdlib, use Caml.Parsing instead
val symbol_start : unit -> int
val symbol_end : unit -> int
val rhs_start : int -> int
val rhs_end : int -> int
val symbol_start_pos : unit -> Lexing.position
val symbol_end_pos : unit -> Lexing.position
val rhs_start_pos : int -> Lexing.position
val rhs_end_pos : int -> Lexing.position
val clear_parser : unit -> unit
exception Parse_error
val set_trace : bool -> bool
type parser_env = Parsing.parser_env
type parse_tables = Parsing.parse_tables = {
  1. actions : (parser_env -> Obj.t) array;
  2. transl_const : int array;
  3. transl_block : int array;
  4. lhs : string;
  5. len : string;
  6. defred : string;
  7. dgoto : string;
  8. sindex : string;
  9. rindex : string;
  10. gindex : string;
  11. tablesize : int;
  12. table : string;
  13. check : string;
  14. error_function : string -> unit;
  15. names_const : string;
  16. names_block : string;
}
exception YYexit of Obj.t
val yyparse : parse_tables -> int -> (Lexing.lexbuf -> 'a) -> Lexing.lexbuf -> 'b
val peek_val : parser_env -> int -> 'a
val is_current_lookahead : 'a -> bool
val parse_error : string -> unit
OCaml

Innovation. Community. Security.