Sha256: a88f5755616efc259b6ca462a2bf550a8dd9c6407844e66f2df9e1753dfd5902

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

module Yoda
  module Model
    module Values
      # @abstract
      class Base
        # @abstract
        # @return [Array<Store::Objects::Base>]
        def referred_objects
          fail NotImplementedError
        end

        # @abstract
        # @param name [String, Symbol]
        # @return [Enumerator<FunctionSignatures::Wrapper>]
        def select_method(name)
          fail NotImplementedError
        end

        # @abstract
        # @param name [String, Symbol]
        # @return [RBS::Types::t]
        def select_constant_type(name)
          fail NotImplementedError
        end

        # @abstract
        # @param name [String, Symbol]
        # @return [Array<Symbol>]
        def select_constant_paths(name)
          fail NotImplementedError
        end

        # @abstract
        # @return [Base]
        def singleton_class_value
          fail NotImplementedError
        end

        # @abstract
        # @return [Base]
        def instance_value
          fail NotImplementedError
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yoda-language-server-0.10.1 lib/yoda/model/values/base.rb
yoda-language-server-0.10.0 lib/yoda/model/values/base.rb
yoda-language-server-0.9.0 lib/yoda/model/values/base.rb
yoda-language-server-0.8.0 lib/yoda/model/values/base.rb