Sha256: 13b11c793fd229763f3f24bc756f627170147c7cbf6a9f49998004597bc5ab0c

Contents?: true

Size: 950 Bytes

Versions: 23

Compression:

Stored size: 950 Bytes

Contents

module Steep
  module TypeInference
    class ConstantEnv
      type constant_tuple = [untyped, RBS::TypeName, RBS::Constant::constant_entry]

      attr_reader context: RBS::Resolver::context

      attr_reader factory: AST::Types::Factory

      attr_reader resolver: RBS::Resolver::ConstantResolver

      def initialize: (factory: AST::Types::Factory, context: RBS::Resolver::context, resolver: RBS::Resolver::ConstantResolver) -> void

      def resolve: (Symbol name) -> constant_tuple?

      def toplevel: (Symbol name) -> constant_tuple?

      def constants: () -> Hash[Symbol, constant_tuple]

      def resolve_child: (RBS::TypeName module_name, Symbol constant_name) -> constant_tuple?

      def children: (RBS::TypeName module_name) -> Hash[Symbol, constant_tuple]

      def decompose_constant!: (RBS::Constant? constant) -> constant_tuple

      def decompose_constant: (RBS::Constant? constant) -> constant_tuple?
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
steep-1.7.0.dev.3 sig/steep/type_inference/constant_env.rbs
steep-1.7.0.dev.2 sig/steep/type_inference/constant_env.rbs
steep-1.7.0.dev.1 sig/steep/type_inference/constant_env.rbs
steep-1.6.0 sig/steep/type_inference/constant_env.rbs
steep-1.6.0.pre.4 sig/steep/type_inference/constant_env.rbs
steep-1.6.0.pre.3 sig/steep/type_inference/constant_env.rbs
steep-1.6.0.pre.2 sig/steep/type_inference/constant_env.rbs
steep-1.6.0.pre.1 sig/steep/type_inference/constant_env.rbs
steep-1.5.3 sig/steep/type_inference/constant_env.rbs
steep-1.5.2 sig/steep/type_inference/constant_env.rbs
steep-1.5.1 sig/steep/type_inference/constant_env.rbs
steep-1.5.0 sig/steep/type_inference/constant_env.rbs
steep-1.5.0.pre.6 sig/steep/type_inference/constant_env.rbs
steep-1.5.0.pre.5 sig/steep/type_inference/constant_env.rbs
steep-1.5.0.pre.4 sig/steep/type_inference/constant_env.rbs
steep-1.5.0.pre.3 sig/steep/type_inference/constant_env.rbs
steep-1.5.0.pre.2 sig/steep/type_inference/constant_env.rbs
steep-1.5.0.pre.1 sig/steep/type_inference/constant_env.rbs
steep-1.4.0 sig/steep/type_inference/constant_env.rbs
steep-1.4.0.dev.5 sig/steep/type_inference/constant_env.rbs