Sha256: 5cadb45123e7edfdd368d5e295019f3c82518994330f193835c776cb479ae265
Contents?: true
Size: 599 Bytes
Versions: 14
Compression:
Stored size: 599 Bytes
Contents
module RBS class TypeNameResolver class Query attr_reader type_name: TypeName attr_reader context: Array[Namespace] def initialize: (type_name: TypeName, context: Array[Namespace]) -> 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: Array[Namespace]) -> TypeName? def has_name?: (TypeName) -> TypeName? def try_cache: (Query) { () -> TypeName? } -> TypeName? end end
Version data entries
14 entries across 14 versions & 1 rubygems