Class: TreeStand::Range::Point

Inherits:
Struct
  • Object
show all
Defined in:
lib/tree_stand/range.rb

Overview

Point is a Struct containing the row and column from a TreeSitter point. TreeStand uses this to compare points.

Instance Attribute Summary collapse

Instance Attribute Details

#columnInteger

Returns:

  • (Integer)


15
# File 'lib/tree_stand/range.rb', line 15

Point = Struct.new(:row, :column)

#rowInteger

Returns:

  • (Integer)


15
# File 'lib/tree_stand/range.rb', line 15

Point = Struct.new(:row, :column)