Class: Daytona::LspServer::Position
- Inherits:
-
Data
- Object
- Data
- Daytona::LspServer::Position
- 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
-
#character ⇒ Object
readonly
Returns the value of attribute character.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Attribute Details
#character ⇒ Object (readonly)
Returns the value of attribute character
18 19 20 |
# File 'lib/daytona/lsp_server.rb', line 18 def character @character end |
#line ⇒ Object (readonly)
Returns the value of attribute line
18 19 20 |
# File 'lib/daytona/lsp_server.rb', line 18 def line @line end |