Sha256: 4a2dae8cdbcb6ce2d7b594e3dae474de1b824bbae8e7f6120cf1e7a289cba9a3

Contents?: true

Size: 1.1 KB

Versions: 35

Compression:

Stored size: 1.1 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[untyped, untyped]?) -> 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: boolish) -> 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

35 entries across 35 versions & 2 rubygems

Version Path
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/rbs-2.8.4/sig/constant_table.rbs
rbs-2.8.4 sig/constant_table.rbs
rbs-2.8.3 sig/constant_table.rbs
rbs-3.0.0.dev.1 sig/constant_table.rbs
rbs-2.8.2 sig/constant_table.rbs
rbs-2.8.1 sig/constant_table.rbs
rbs-2.8.0 sig/constant_table.rbs
rbs-2.8.0.pre.1 sig/constant_table.rbs
rbs-2.7.0 sig/constant_table.rbs
rbs-2.7.0.pre.3 sig/constant_table.rbs
rbs-2.7.0.pre.2 sig/constant_table.rbs
rbs-2.7.0.pre.1 sig/constant_table.rbs
rbs-2.6.0 sig/constant_table.rbs
rbs-2.5.1 sig/constant_table.rbs
rbs-2.5.0 sig/constant_table.rbs
rbs-2.4.0 sig/constant_table.rbs
rbs-2.3.2 sig/constant_table.rbs
rbs-2.3.1 sig/constant_table.rbs
rbs-2.3.0 sig/constant_table.rbs
rbs-2.2.2 sig/constant_table.rbs