View Source Makeup.Lexer.Types (Makeup v1.1.0)

Link to this section Summary

Link to this section Types

Specs

context() :: map()

Specs

parsec() :: (String.t() -> parsec_result())

Specs

parsec_failure() ::
  {:error, String.t(), String.t(), context(), {integer(), integer()}, integer()}

Specs

parsec_result() :: parsec_success() | parsec_failure()

Specs

parsec_success() :: {:ok, tokens(), String.t(), context(), integer(), integer()}

Specs

token() :: {atom(), map(), iodata()}

Specs

tokens() :: [token()]