Sha256: 0b776787fa13daa87e92d6cf27aa30b4b4df99665598105c165a777e8a4e878c
Contents?: true
Size: 618 Bytes
Versions: 58
Compression:
Stored size: 618 Bytes
Contents
module RBS class TypeNameResolver type context = Array[Namespace] class Query attr_reader type_name: TypeName attr_reader context: Array[Namespace] def initialize: (type_name: TypeName, context: context) -> void end attr_reader all_names: Set[TypeName] attr_reader cache: Hash[Query, TypeName?] def self.from_env: (Environment) -> TypeNameResolver def add_names: (Array[TypeName]) -> self def resolve: (TypeName, context: context) -> TypeName? def has_name?: (TypeName) -> TypeName? def try_cache: (Query) { () -> TypeName? } -> TypeName? end end
Version data entries
58 entries across 58 versions & 2 rubygems