Solid.Argument (solid v1.0.0-rc.0)
View SourceSummary
Functions
Similar to get/4 but outputs a printable representation
Types
@type t() :: Solid.Variable.t() | Solid.Literal.t() | Solid.Range.t()
Functions
@spec get(t(), Solid.Context.t(), [Solid.Filter.t()], Keyword.t()) :: {:ok, term(), Solid.Context.t()}
@spec parse(Solid.Lexer.tokens()) :: {:ok, t(), Solid.Lexer.tokens()} | {:error, binary(), Solid.Lexer.loc()}
@spec parse_with_filters(Solid.Lexer.tokens()) :: {:ok, t(), [Solid.Filter.t()], Solid.Lexer.tokens()} | {:error, binary(), Solid.Lexer.loc()}
@spec render(t(), Solid.Context.t(), [Solid.Filter.t()], Keyword.t()) :: {:ok, binary(), Solid.Context.t()}
Similar to get/4 but outputs a printable representation