package parsexp

  1. Overview
  2. Docs

Module Private.Automaton_stateSource

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