Solid.Parser.Loc (solid v1.3.4)
View SourceSummary
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.