Ameba::Ext::Location
Extensions to Crystal::Location
Instance methods
adjust(line_number = 0, column_number = 0) : self
Returns the same location as this location but with the line and/or column number(s) adjusted by the given amount(s).
Returns true if the line numbers of self and other are the same.
with(line_number = @line_number, column_number = @column_number) : self
Returns the same location as this location but with the line and/or column number(s) changed to the given value(s).