Sha256: 5eef9fe3c6f28e51c6f8a93960a368f0b3e15884a89c6a0d90129c708c57062d

Contents?: true

Size: 1.35 KB

Versions: 2

Compression:

Stored size: 1.35 KB

Contents

module RBS
  class ConstantTable
    attr_reader definition_builder: DefinitionBuilder
    attr_reader constant_scopes_cache: Hash[TypeName, Array[Namespace]]
    attr_reader resolver: TypeNameResolver
    attr_reader env(): Environment

    def initialize: (builder: DefinitionBuilder) -> void
                  
    def absolute_type: (Types::t, context: Array[Namespace]) -> Types::t
                     
    def absolute_type_name: (TypeName, context: Array[Namespace], location: Location?) -> TypeName
                          
    def name_to_constant: (TypeName) -> Constant?
                        
    def split_name: (TypeName) -> Array[Symbol]
                  
    def resolve_constant_reference: (TypeName name, context: Array[Namespace]) -> Constant?
                                  
    def resolve_constant_reference_context: (Symbol, context: Array[Namespace]) -> Constant?
                                          
    def resolve_constant_reference_inherit: (Symbol, scopes: Array[Namespace], ?no_object: bool) -> Constant?
                                          
    def constant_scopes: (TypeName) -> Array[Namespace]
                       
    def constant_scopes_module: (TypeName, scopes: Array[Namespace]) -> Array[Namespace]
                       
    def constant_scopes0: (TypeName, ?scopes: Array[Namespace]) -> Array[Namespace]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rbs-0.13.1 sig/constant_table.rbs
rbs-0.13.0 sig/constant_table.rbs