123456789_123456789_123456789_123456789_123456789_

Module: TypeProf::LSP::Helpers

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/typeprof/lsp.rb

Instance Method Summary

Instance Method Details

#pos(line, character)

[ GitHub ]

  
# File 'lib/typeprof/lsp.rb', line 821

def pos(line, character)
  { line: line, character: character }
end

#range(s, e)

[ GitHub ]

  
# File 'lib/typeprof/lsp.rb', line 825

def range(s, e)
  { start: s, end: e }
end