zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

types.ex (425B)


      1 defmodule Makeup.Lexer.Types do
      2   @type token :: {atom(), map(), iodata()}
      3   @type tokens :: [token()]
      4   @type context :: map()
      5   @type parsec_success :: {:ok, tokens, String.t(), context(), integer(), integer()}
      6   @type parsec_failure :: {:error, String.t(), String.t(), context(), {integer(), integer()}, integer()}
      7   @type parsec_result :: parsec_success | parsec_failure
      8   @type parsec :: (String.t -> parsec_result)
      9 end