Summary
Types
@type t() :: %Solid.Parser.Loc{column: pos_integer(), line: pos_integer()}
Functions
@spec new(Solid.Lexer.loc()) :: t()
Builds a Loc from a lexer loc map. Cheaper than struct!/2 on hot paths.
@type t() :: %Solid.Parser.Loc{column: pos_integer(), line: pos_integer()}
@spec new(Solid.Lexer.loc()) :: t()
Builds a Loc from a lexer loc map. Cheaper than struct!/2 on hot paths.