Class: Daytona::LspServer::Position

Inherits:
Data
  • Object
show all
Defined in:
lib/daytona/lsp_server.rb

Overview

Represents a zero-based position in a text document, specified by line number and character offset.

Instance Attribute Summary collapse

Instance Attribute Details

#characterObject (readonly)

Returns the value of attribute character

Returns:

  • (Object)

    the current value of character



18
19
20
# File 'lib/daytona/lsp_server.rb', line 18

def character
  @character
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



18
19
20
# File 'lib/daytona/lsp_server.rb', line 18

def line
  @line
end