struct

Mint::Parser::Location

Inherits Struct < Value < Object

Offset (from the start of the file), line and column.

Constructors

new(offset : Int64 = 0, line : Int64 = 1, column : Int64 = 0)
Source

Instance methods

+(other : Int64) : Location
Source
-(other : Int64) : Location
Source
clone
Source
column
copy_with(offset _offset = @offset, line _line = @line, column _column = @column)
Source
line
offset
to_tuple
Source