Class: Yerba::Location

Inherits:
Data
  • Object
show all
Defined in:
lib/yerba/location.rb

Instance Attribute Summary collapse

Instance Attribute Details

#end_columnObject (readonly)

Returns the value of attribute end_column

Returns:

  • (Object)

    the current value of end_column



4
5
6
# File 'lib/yerba/location.rb', line 4

def end_column
  @end_column
end

#end_lineObject (readonly)

Returns the value of attribute end_line

Returns:

  • (Object)

    the current value of end_line



4
5
6
# File 'lib/yerba/location.rb', line 4

def end_line
  @end_line
end

#end_offsetObject (readonly)

Returns the value of attribute end_offset

Returns:

  • (Object)

    the current value of end_offset



4
5
6
# File 'lib/yerba/location.rb', line 4

def end_offset
  @end_offset
end

#start_columnObject (readonly)

Returns the value of attribute start_column

Returns:

  • (Object)

    the current value of start_column



4
5
6
# File 'lib/yerba/location.rb', line 4

def start_column
  @start_column
end

#start_lineObject (readonly)

Returns the value of attribute start_line

Returns:

  • (Object)

    the current value of start_line



4
5
6
# File 'lib/yerba/location.rb', line 4

def start_line
  @start_line
end

#start_offsetObject (readonly)

Returns the value of attribute start_offset

Returns:

  • (Object)

    the current value of start_offset



4
5
6
# File 'lib/yerba/location.rb', line 4

def start_offset
  @start_offset
end