Sha256: 232d81fd2906113a06cb3109e80e5ebb3e123508527e73025fd16c9dff678a68

Contents?: true

Size: 571 Bytes

Versions: 6

Compression:

Stored size: 571 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)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
packwerk-2.3.0 lib/packwerk/unresolved_reference.rb
packwerk-2.2.2 lib/packwerk/unresolved_reference.rb
packwerk-2.2.1 lib/packwerk/unresolved_reference.rb
packwerk-2.2.0 lib/packwerk/unresolved_reference.rb
packwerk-2.1.1 lib/packwerk/unresolved_reference.rb
packwerk-2.1.0 lib/packwerk/unresolved_reference.rb