Class: MilkTea::AST::InterfaceMethodDecl
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::InterfaceMethodDecl
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#async ⇒ Object
readonly
Returns the value of attribute async.
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#return_type ⇒ Object
readonly
Returns the value of attribute return_type.
Instance Method Summary collapse
-
#initialize(name:, params:, return_type:, kind:, async:, attributes: [], line: nil, column: nil) ⇒ InterfaceMethodDecl
constructor
A new instance of InterfaceMethodDecl.
Constructor Details
#initialize(name:, params:, return_type:, kind:, async:, attributes: [], line: nil, column: nil) ⇒ InterfaceMethodDecl
Returns a new instance of InterfaceMethodDecl.
106 |
# File 'lib/milk_tea/core/ast.rb', line 106 def initialize(name:, params:, return_type:, kind:, async:, attributes: [], line: nil, column: nil) = super |
Instance Attribute Details
#async ⇒ Object (readonly)
Returns the value of attribute async
105 106 107 |
# File 'lib/milk_tea/core/ast.rb', line 105 def async @async end |
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes
105 106 107 |
# File 'lib/milk_tea/core/ast.rb', line 105 def attributes @attributes end |
#column ⇒ Object (readonly)
Returns the value of attribute column
105 106 107 |
# File 'lib/milk_tea/core/ast.rb', line 105 def column @column end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
105 106 107 |
# File 'lib/milk_tea/core/ast.rb', line 105 def kind @kind end |
#line ⇒ Object (readonly)
Returns the value of attribute line
105 106 107 |
# File 'lib/milk_tea/core/ast.rb', line 105 def line @line end |
#name ⇒ Object (readonly)
Returns the value of attribute name
105 106 107 |
# File 'lib/milk_tea/core/ast.rb', line 105 def name @name end |
#params ⇒ Object (readonly)
Returns the value of attribute params
105 106 107 |
# File 'lib/milk_tea/core/ast.rb', line 105 def params @params end |
#return_type ⇒ Object (readonly)
Returns the value of attribute return_type
105 106 107 |
# File 'lib/milk_tea/core/ast.rb', line 105 def return_type @return_type end |