123456789_123456789_123456789_123456789_123456789_

Class: TypeProf::LSP::CompletionSession

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/typeprof/lsp.rb,
lib/typeprof/lsp.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#results (rw)

[ GitHub ]

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

CompletionSession = Struct.new(:results, :row, :start_col_offset)

#row (rw)

[ GitHub ]

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

CompletionSession = Struct.new(:results, :row, :start_col_offset)

#start_col_offset (rw)

[ GitHub ]

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

CompletionSession = Struct.new(:results, :row, :start_col_offset)

Instance Method Details

#reusable?(other_row, other_start_col_offset) ⇒ Boolean

[ GitHub ]

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

def reusable?(other_row, other_start_col_offset)
  other_row == self.row && other_start_col_offset == self.start_col_offset
end