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