struct

Hecr::Compiler::Loc

Inherits Struct < Value < Object

A position in template source. Lines are 1-based; columns are 1-based and counted in characters (not bytes).

Constructors

new(line : Int32, column : Int32)
Source

Instance methods

clone
Source
column
copy_with(line _line = @line, column _column = @column)
Source
line
to_s(io : IO) : Nil

Same as #inspect(io).

Source