Module: Holistic::Ruby::TypeInference::Clue

Defined in:
lib/holistic/ruby/type_inference/clue/reference_to_superclass.rb,
lib/holistic/ruby/type_inference/clue/scope_reference.rb,
lib/holistic/ruby/type_inference/clue/method_call.rb

Defined Under Namespace

Classes: ScopeReference

Constant Summary collapse

ReferenceToSuperclass =
::Data.define(:subclass_scope) do
  def to_s
    "superclass of #{subclass_scope.fully_qualified_name}"
  end
end
MethodCall =

TODO: Rename to ReferenceToMethod

::Data.define(
  :nesting,
  :method_name,
  :resolution_possibilities
) do
  def to_s
    return method_name if nesting.nil?

    "#{nesting}.#{method_name}"
  end
end