模块 RBS::AST::Declarations::NestedDeclarationHelper
公共实例方法
each_decl() { |_ = member| ... } 点击切换源代码
# File rbs-3.8.0/lib/rbs/ast/declarations.rb, line 22 def each_decl if block_given? members.each do |member| if member.is_a?(Base) yield(_ = member) end end else enum_for :each_decl end end
each_member() { |_ = member| ... } 点击切换源代码
# File rbs-3.8.0/lib/rbs/ast/declarations.rb, line 10 def each_member if block_given? members.each do |member| if member.is_a?(Members::Base) yield(_ = member) end end else enum_for :each_member end end