Class: MilkTea::SemanticAnalyzer::InterfaceBinding
- Inherits:
-
Data
- Object
- Data
- MilkTea::SemanticAnalyzer::InterfaceBinding
- Defined in:
- lib/milk_tea/core/semantic_analyzer.rb
Instance Attribute Summary collapse
-
#ast ⇒ Object
readonly
Returns the value of attribute ast.
-
#methods ⇒ Object
readonly
Returns the value of attribute methods.
-
#module_name ⇒ Object
readonly
Returns the value of attribute module_name.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type_arguments ⇒ Object
readonly
Returns the value of attribute type_arguments.
Instance Method Summary collapse
-
#initialize(name:, methods:, ast:, module_name:, type_arguments: nil) ⇒ InterfaceBinding
constructor
A new instance of InterfaceBinding.
Constructor Details
#initialize(name:, methods:, ast:, module_name:, type_arguments: nil) ⇒ InterfaceBinding
Returns a new instance of InterfaceBinding.
67 |
# File 'lib/milk_tea/core/semantic_analyzer.rb', line 67 def initialize(name:, methods:, ast:, module_name:, type_arguments: nil) = super |
Instance Attribute Details
#ast ⇒ Object (readonly)
Returns the value of attribute ast
66 67 68 |
# File 'lib/milk_tea/core/semantic_analyzer.rb', line 66 def ast @ast end |
#methods ⇒ Object (readonly)
Returns the value of attribute methods
66 67 68 |
# File 'lib/milk_tea/core/semantic_analyzer.rb', line 66 def methods @methods end |
#module_name ⇒ Object (readonly)
Returns the value of attribute module_name
66 67 68 |
# File 'lib/milk_tea/core/semantic_analyzer.rb', line 66 def module_name @module_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name
66 67 68 |
# File 'lib/milk_tea/core/semantic_analyzer.rb', line 66 def name @name end |
#type_arguments ⇒ Object (readonly)
Returns the value of attribute type_arguments
66 67 68 |
# File 'lib/milk_tea/core/semantic_analyzer.rb', line 66 def type_arguments @type_arguments end |