KiwiCodec.Schema.Token (kiwi_codec v0.2.1)

Copy Markdown View Source

Source token with line and column information for schema parse errors.

Summary

Types

t()

@type t() :: %KiwiCodec.Schema.Token{
  column: pos_integer(),
  line: pos_integer(),
  text: String.t()
}

Functions

parse_error!(token, message)

@spec parse_error!(t(), String.t()) :: no_return()