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