Solid.Range (solid v1.0.0-rc.0)

View Source

Range representation

(first..last) (1..5)

Summary

Types

t()

@type t() :: %Solid.Range{
  finish: Solid.Argument.t(),
  loc: Solid.Parser.Loc.t(),
  start: Solid.Argument.t()
}

Functions

parse(tokens)

@spec parse(Solid.Lexer.tokens()) ::
  {:ok, t(), Solid.Lexer.tokens()} | {:error, binary(), Solid.Lexer.loc()}