Class: MilkTea::AST::ProcType
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::ProcType
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#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(params:, return_type:, line: nil, column: nil) ⇒ ProcType
constructor
A new instance of ProcType.
Constructor Details
#initialize(params:, return_type:, line: nil, column: nil) ⇒ ProcType
Returns a new instance of ProcType.
49 |
# File 'lib/milk_tea/core/ast.rb', line 49 def initialize(params:, return_type:, line: nil, column: nil) = super |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
48 49 50 |
# File 'lib/milk_tea/core/ast.rb', line 48 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
48 49 50 |
# File 'lib/milk_tea/core/ast.rb', line 48 def line @line end |
#params ⇒ Object (readonly)
Returns the value of attribute params
48 49 50 |
# File 'lib/milk_tea/core/ast.rb', line 48 def params @params end |
#return_type ⇒ Object (readonly)
Returns the value of attribute return_type
48 49 50 |
# File 'lib/milk_tea/core/ast.rb', line 48 def return_type @return_type end |