module TypeProf::LSP::Helpers

Public Instance Methods

pos(line, character) click to toggle source
# File typeprof-0.21.3/lib/typeprof/lsp.rb, line 821
def pos(line, character)
  { line: line, character: character }
end
range(s, e) click to toggle source
# File typeprof-0.21.3/lib/typeprof/lsp.rb, line 825
def range(s, e)
  { start: s, end: e }
end