Sha256: 196105ba30ab643f5d1e78d2d2bb8c93e964ad09b03760df6378a93c9fde1591

Contents?: true

Size: 457 Bytes

Versions: 9

Compression:

Stored size: 457 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

$LOAD_PATH.unshift(File.expand_path("../lib", __dir__))
require "ruby_lsp/internal"

index = RubyIndexer::Index.new

RubyIndexer.configuration.indexables.each do |indexable|
  puts "indexing: #{indexable.full_path}"
  content = File.read(indexable.full_path)
  result = Prism.parse(content)
  collector = RubyIndexer::Collector.new(index, result, indexable.full_path)
  collector.collect(result.value)
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruby-lsp-0.14.1 exe/ruby-lsp-doctor
ruby-lsp-0.14.0 exe/ruby-lsp-doctor
ruby-lsp-0.13.4 exe/ruby-lsp-doctor
ruby-lsp-0.13.3 exe/ruby-lsp-doctor
ruby-lsp-0.13.2 exe/ruby-lsp-doctor
ruby-lsp-0.13.1 exe/ruby-lsp-doctor
ruby-lsp-0.13.0 exe/ruby-lsp-doctor
ruby-lsp-0.12.5 exe/ruby-lsp-doctor
ruby-lsp-0.12.4 exe/ruby-lsp-doctor