Sha256: 305d1062f99ae05f2d8bb6e294adc2acc7c66626d4dbe105e83ce61d1769809e

Contents?: true

Size: 657 Bytes

Versions: 6

Compression:

Stored size: 657 Bytes

Contents

# typed: true
# frozen_string_literal: true

module Packwerk
  # An unresolved reference from a file in one package to a constant that may be defined in a different package.
  # Unresolved means that we know how it's referred to in the file,
  # and we have enough context on that reference to figure out the fully qualified reference such that we
  # can produce a Reference in a separate pass. However, we have not yet resolved it to its fully qualified version.
  UnresolvedReference = Struct.new(
    :constant_name,
    :namespace_path,
    :relative_path,
    :source_location,
    keyword_init: true,
  )

  private_constant :UnresolvedReference
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
packwerk-3.2.2 lib/packwerk/unresolved_reference.rb
packwerk-3.2.1 lib/packwerk/unresolved_reference.rb
packwerk-3.2.0 lib/packwerk/unresolved_reference.rb
packwerk-3.1.0 lib/packwerk/unresolved_reference.rb
packwerk-3.0.1 lib/packwerk/unresolved_reference.rb
packwerk-3.0.0 lib/packwerk/unresolved_reference.rb