read_doc v0.1.0 ReadDoc.StateMachine.State

Link to this section Summary

Link to this section Types

Link to this type list_or_unit(t)
list_or_unit(t) :: t | [t]
Link to this type maybe(t)
maybe(t) :: nil | t
Link to this type numbered_line()
numbered_line() :: {String.t(), number()}
Link to this type numbered_lines()
numbered_lines() :: [numbered_line()]
Link to this type opendoc_t()
opendoc_t() :: %{for: maybe(String.t()), line_nb: number()}
Link to this type pair(lhs, rhs)
pair(lhs, rhs) :: {lhs, rhs}
Link to this type rgx_run_result()
rgx_run_result() :: nil | [String.t()] | [pair(integer(), integer())]
Link to this type state_t()
state_t() :: :copy | :remove_old
Link to this type string?()
string?() :: maybe(String.t())
Link to this type t()
t() :: %ReadDoc.StateMachine.State{opendoc: opendoc_t(), options: ReadDoc.Options.t(), state: state_t()}

Link to this section Functions

Link to this function current_open(map)
current_open(t()) :: maybe(String.t())
Link to this function format_opendoc(state)
Link to this function format_opendoc(for, line_nb)
format_opendoc(String.t(), number()) :: String.t()
Link to this function open(state, opendoc, result)
Link to this function opened_at(map)
opened_at(t()) :: number()