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.
118 |
# File 'lib/milk_tea/core/ast.rb', line 118 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
117 118 119 |
# File 'lib/milk_tea/core/ast.rb', line 117 def async @async end |
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes
117 118 119 |
# File 'lib/milk_tea/core/ast.rb', line 117 def attributes @attributes end |
#column ⇒ Object (readonly)
Returns the value of attribute column
117 118 119 |
# File 'lib/milk_tea/core/ast.rb', line 117 def column @column end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
117 118 119 |
# File 'lib/milk_tea/core/ast.rb', line 117 def kind @kind end |
#line ⇒ Object (readonly)
Returns the value of attribute line
117 118 119 |
# File 'lib/milk_tea/core/ast.rb', line 117 def line @line end |
#name ⇒ Object (readonly)
Returns the value of attribute name
117 118 119 |
# File 'lib/milk_tea/core/ast.rb', line 117 def name @name end |
#params ⇒ Object (readonly)
Returns the value of attribute params
117 118 119 |
# File 'lib/milk_tea/core/ast.rb', line 117 def params @params end |
#return_type ⇒ Object (readonly)
Returns the value of attribute return_type
117 118 119 |
# File 'lib/milk_tea/core/ast.rb', line 117 def return_type @return_type end |