# File rbs-3.8.0/lib/rbs/environment.rb, line 92 def primary @primary ||= begin validate_type_params decls.first or raise("decls cannot be empty") end end
class RBS::Environment::ModuleEntry
公共实例方法
primary() 点击切换源代码
self_types() 点击切换源代码
# File rbs-3.8.0/lib/rbs/environment.rb, line 86 def self_types decls.flat_map do |d| d.decl.self_types end.uniq end