Sha256: 9f828ae00be164c4eac72b6013749920c03266e7b83817dbe62bece13bb6fd92

Contents?: true

Size: 693 Bytes

Versions: 6

Compression:

Stored size: 693 Bytes

Contents

# typed: true

module Packwerk
  class UnresolvedReference
    sig do
      params(
        constant_name: String,
        namespace_path: T.nilable(T::Array[String]),
        relative_path: String,
        source_location: T.nilable(Node::Location),
      ).void
    end
    def initialize(
      constant_name:,
      namespace_path:,
      relative_path:,
      source_location:
    )
    end

    sig { returns(String) }
    attr_reader(:constant_name)

    sig { returns(T.nilable(T::Array[String])) }
    attr_reader(:namespace_path)

    sig { returns(String) }
    attr_reader(:relative_path)

    sig { returns(T.nilable(Node::Location)) }
    attr_reader(:source_location)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
packwerk-3.2.2 sorbet/rbi/shims/packwerk/unresolved_reference.rbi
packwerk-3.2.1 sorbet/rbi/shims/packwerk/unresolved_reference.rbi
packwerk-3.2.0 sorbet/rbi/shims/packwerk/unresolved_reference.rbi
packwerk-3.1.0 sorbet/rbi/shims/packwerk/unresolved_reference.rbi
packwerk-3.0.1 sorbet/rbi/shims/packwerk/unresolved_reference.rbi
packwerk-3.0.0 sorbet/rbi/shims/packwerk/unresolved_reference.rbi