Module: RBS::Types::Application
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
| Included In: | |
| Defined in: | lib/rbs/types.rb | 
Instance Attribute Summary
- #args readonly
- #has_classish_type? ⇒ Boolean readonly
- #has_self_type? ⇒ Boolean readonly
- #name readonly
- #with_nonreturn_void? ⇒ Boolean readonly
Instance Method Summary
Instance Attribute Details
#args (readonly)
[ GitHub ]# File 'lib/rbs/types.rb', line 254
attr_reader :args
    #has_classish_type?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
# File 'lib/rbs/types.rb', line 294
def has_classish_type? each_type.any? {|type| type.has_classish_type? } end
    #has_self_type?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
# File 'lib/rbs/types.rb', line 290
def has_self_type? each_type.any? {|type| type.has_self_type? } end
#name (readonly)
[ GitHub ]# File 'lib/rbs/types.rb', line 253
attr_reader :name
    #with_nonreturn_void?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
Instance Method Details
#==(other) Also known as: #eql?
[ GitHub ]#each_type(&block)
[ GitHub ]# File 'lib/rbs/types.rb', line 282
def each_type(&block) if block args.each(&block) else enum_for :each_type end end
#eql?(other)
[ GitHub ]# File 'lib/rbs/types.rb', line 260
alias eql? ==
#free_variables(set = Set.new)
[ GitHub ]# File 'lib/rbs/types.rb', line 266
def free_variables(set = Set.new) set.tap do args.each do |arg| arg.free_variables(set) end end end