package parsexp

  1. Overview
  2. Docs
type ('u, 's) t = {
  1. mutable automaton_state : int;
  2. kind : ('u, 's) Parsexp__.Automaton_state_intf.Kind.t;
  3. mutable depth : int;
    (*

    Number of opened #| when parsing a block comment

    *)
  4. mutable block_comment_depth : int;
    (*

    Stack of ignoring depths; the current depth is pushed each time a #; comment is entered.

    *)
  5. mutable ignoring_stack : int list;
    (*

    When parsing an escape sequence of the form "\\NNN" or "\\XX", this accumulates the computed number

    *)
  6. mutable escaped_value : int;
    (*

    Buffer for accumulating atoms

    *)
  7. atom_buffer : Buffer.t;
  8. user_state : 'u;
  9. mode : ('u, 's) Parsexp__.Automaton_state_intf.Mode.t;
  10. mutable full_sexps : int;
  11. mutable offset : int;
    (*

    global offset *

    *)
  12. mutable line_number : int;
  13. mutable bol_offset : int;
    (*

    offset of beginning of line *

    *)
}
OCaml

Innovation. Community. Security.