Sha256: ce3302bbb4b3c5f6067f8b18f61c08b3da23bd83ab4d48b20e6fbe3340494cae

Contents?: true

Size: 455 Bytes

Versions: 9

Compression:

Stored size: 455 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)
  visitor = RubyIndexer::IndexVisitor.new(index, result, indexable.full_path)
  result.value.accept(visitor)
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
study_line-0.1.6 vendor/bundle/ruby/3.2.0/gems/ruby-lsp-0.12.1/exe/ruby-lsp-doctor
study_line-0.1.5 vendor/bundle/ruby/3.2.0/gems/ruby-lsp-0.12.1/exe/ruby-lsp-doctor
study_line-0.1.4 vendor/bundle/ruby/3.2.0/gems/ruby-lsp-0.12.1/exe/ruby-lsp-doctor
study_line-0.1.3 vendor/bundle/ruby/3.2.0/gems/ruby-lsp-0.12.1/exe/ruby-lsp-doctor
study_line-0.1.2 vendor/bundle/ruby/3.2.0/gems/ruby-lsp-0.12.1/exe/ruby-lsp-doctor
study_line-0.1.1 vendor/bundle/ruby/3.2.0/gems/ruby-lsp-0.12.1/exe/ruby-lsp-doctor
ruby-lsp-0.12.3 exe/ruby-lsp-doctor
ruby-lsp-0.12.2 exe/ruby-lsp-doctor
ruby-lsp-0.12.1 exe/ruby-lsp-doctor