Class: MilkTea::SemanticAnalyzer::TypeParamConstraintBinding

Inherits:
Data
  • Object
show all
Defined in:
lib/milk_tea/core/semantic_analyzer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(interfaces: []) ⇒ TypeParamConstraintBinding

Returns a new instance of TypeParamConstraintBinding.



98
# File 'lib/milk_tea/core/semantic_analyzer.rb', line 98

def initialize(interfaces: []) = super

Instance Attribute Details

#interfacesObject (readonly)

Returns the value of attribute interfaces

Returns:

  • (Object)

    the current value of interfaces



97
98
99
# File 'lib/milk_tea/core/semantic_analyzer.rb', line 97

def interfaces
  @interfaces
end