module TypeProf::LSP::Helpers

Public Instance Methods

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