class RBS::Environment::UseMap::Table
属性
children[R]
known_types[R]
公共类方法
new() 点击以切换源代码
# File rbs-3.8.0/lib/rbs/environment/use_map.rb, line 9 def initialize @known_types = Set[] @children = {} end
公共实例方法
compute_children() 点击以切换源代码
# File rbs-3.8.0/lib/rbs/environment/use_map.rb, line 14 def compute_children children.clear known_types.each do |type| unless type.namespace.empty? children[type.namespace] ||= Set[] children[type.namespace] << type end end self end