struct

Scry::TextDocument

Inherits Struct / Value / Object

Constructors

new(params : LSP::Protocol::DocumentFormattingParams, id : Int32 | Nil)
Source
new(params : LSP::Protocol::TextDocumentPositionParams, id : Int32 | Nil)
Source
new(params : LSP::Protocol::TextDocumentParams, id : Int32 | Nil = nil)
Source
new(uri : String, text : Array(String))
Source
new(params : LSP::Protocol::DidOpenTextDocumentParams)
Source
new(change : LSP::Protocol::DidChangeTextDocumentParams)

Used by ParseAnalyzer

Source
new(file_event : LSP::Protocol::FileEvent)

Used by Analyzer

Source
new(uri : String)
Source

Class methods

uri_to_filename(uri)
Source

Instance methods

filename
Source
get_line(line_number)
Source
in_memory?
Source
inside_crystal_path?
Source
position
Source
source
Source
text
Source
text=(text : Array(String))
Source
untitled?
Source
uri_to_filename
Source