Sha256: 47e92a7042c04e72d1eb2c8775fc5f903bf510405bc9d9d2a7e3a79bdd0b7666

Contents?: true

Size: 446 Bytes

Versions: 22

Compression:

Stored size: 446 Bytes

Contents

module Steep
  module ModuleHelper
    # Translate a *const* node to a type name if possible
    #
    # ```ruby
    # Foo::Bar     # => `Foo::Bar`
    # foo::Bar     # => nil
    # ```
    #
    def module_name_from_node: (Parser::AST::Node? parent_node, Symbol constant_name) -> RBS::TypeName?

    # Translate a *const* node to a namespace if possible
    # 
    def namespace_from_node: (Parser::AST::Node? node) -> RBS::Namespace?
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
steep-1.7.0.dev.3 sig/steep/module_helper.rbs
steep-1.7.0.dev.2 sig/steep/module_helper.rbs
steep-1.7.0.dev.1 sig/steep/module_helper.rbs
steep-1.6.0 sig/steep/module_helper.rbs
steep-1.6.0.pre.4 sig/steep/module_helper.rbs
steep-1.6.0.pre.3 sig/steep/module_helper.rbs
steep-1.6.0.pre.2 sig/steep/module_helper.rbs
steep-1.6.0.pre.1 sig/steep/module_helper.rbs
steep-1.5.3 sig/steep/module_helper.rbs
steep-1.5.2 sig/steep/module_helper.rbs
steep-1.5.1 sig/steep/module_helper.rbs
steep-1.5.0 sig/steep/module_helper.rbs
steep-1.5.0.pre.6 sig/steep/module_helper.rbs
steep-1.5.0.pre.5 sig/steep/module_helper.rbs
steep-1.5.0.pre.4 sig/steep/module_helper.rbs
steep-1.5.0.pre.3 sig/steep/module_helper.rbs
steep-1.5.0.pre.2 sig/steep/module_helper.rbs
steep-1.5.0.pre.1 sig/steep/module_helper.rbs
steep-1.4.0 sig/steep/module_helper.rbs
steep-1.4.0.dev.5 sig/steep/module_helper.rbs