@type t() :: %Solid.Literal{loc: Solid.Parser.Loc.t(), value: value()}
@type value() :: boolean() | nil | binary() | integer() | float() | %Solid.Literal.Empty{} | %Solid.Literal.Blank{}
@spec parse(Solid.Lexer.tokens()) :: {:ok, t(), Solid.Lexer.tokens()} | {:error, binary(), Solid.Lexer.loc()}