class RBS::DefinitionBuilder::MethodBuilder::Methods::Sorter
属性
methods[R]
公共类方法
new(methods) 点击切换源代码
# File rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb, line 68 def initialize(methods) @methods = methods end
公共实例方法
tsort_each_child(defn) { |old| ... } 点击切换源代码
# File rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb, line 76 def tsort_each_child(defn) if (member = defn.original).is_a?(AST::Members::Alias) if old = methods[member.old_name] yield old end end end
tsort_each_node(&block) 点击切换源代码
# File rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb, line 72 def tsort_each_node(&block) methods.each_value(&block) end