read_doc v0.1.0 ReadDoc.StateMachine.Result

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 pair(lhs, rhs)
pair(lhs, rhs) :: {lhs, rhs}
Link to this type result_tuple()
result_tuple() :: {[String.t()], ReadDoc.Message.ts()}
Link to this type rgx_run_result()
rgx_run_result() :: nil | [String.t()] | [pair(integer(), integer())]
Link to this type string?()
string?() :: maybe(String.t())
Link to this type t()
t() :: %ReadDoc.StateMachine.Result{lines: [numbered_line()], messages: ReadDoc.Message.ts()}

Link to this section Functions

Link to this function add_line(result, line)
add_line(t(), String.t()) :: t()
Link to this function add_lines(result, lines)
add_lines(t(), list_or_unit(String.t())) :: t()
Link to this function add_message(result, message)
add_message(t(), ReadDoc.Message.t()) :: t()
Link to this function add_numbered_line(result, arg)
add_numbered_line(t(), numbered_line()) :: t()
Link to this function add_numbered_line_unless(result, arg2, bool)
add_numbered_line_unless(t(), numbered_line(), boolean()) :: t()
Link to this function add_warning(result, message)
add_warning(t(), String.t()) :: t()
Link to this function add_warning(result, message, lnb)
add_warning(t(), String.t(), number()) :: t()
Link to this function finalize(map)
finalize(t()) :: result_tuple()
Link to this function next_lnb(map)
next_lnb(t()) :: number()