package parsexp

  1. Overview
  2. Docs

Module Private.AutomatonSource

Sourcemodule Stack : sig ... end
Sourcemodule Context : sig ... end
Sourcemodule For_cst : sig ... end
Sourcemodule Kind : sig ... end
Sourcemodule Mode : sig ... end
Sourcemodule State : sig ... end
Sourcetype ('u, 's) t = ('u, 's) State.t
Sourceval create : ?initial_pos:Positions.pos -> ('u, 's) Mode.t -> ('u, 's) Kind.t -> ('u, 's) t
Sourceval reset : ?pos:Positions.pos -> (_, _) t -> unit
Sourceval positions : (Positions.Builder.t, _) t -> Positions.t
Sourceval mode : ('u, 's) t -> ('u, 's) Mode.t
Sourceval offset : (_, _) t -> int

Number of characters fed to the parser

Sourceval line : (_, _) t -> int

Position in the text

Sourceval column : (_, _) t -> int
Sourceval has_unclosed_paren : ('u, 's) t -> bool

Whether there are some unclosed parentheses

Sourceval set_error_state : (_, _) t -> unit
Sourceval feed_bytes : (_, 'stack) t -> bytes -> 'stack -> 'stack
Sourceval feed_string : (_, 'stack) t -> string -> 'stack -> 'stack
Sourceval feed_subbytes : (_, 'stack) t -> bytes -> pos:int -> len:int -> 'stack -> 'stack
Sourceval feed_substring : (_, 'stack) t -> string -> pos:int -> len:int -> 'stack -> 'stack
Sourceval feed : ('a, 'b) t -> char -> 'b -> 'b
Sourceval feed_eoi : ('a, 'b) t -> 'b -> 'b
Sourceval old_parser_cont_state : ('a, 'b) t -> Old_parser_cont_state.t
Sourceval of_substring : ('u, 's) Mode.t -> ('u, 's) Kind.t -> string -> pos:int -> len:int -> ('u, 's) t * 's
OCaml

Innovation. Community. Security.