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