Class: MilkTea::AST::ForeignParam
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::ForeignParam
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#boundary_type ⇒ Object
readonly
Returns the value of attribute boundary_type.
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name:, type:, mode:, boundary_type:, line: nil, column: nil) ⇒ ForeignParam
constructor
A new instance of ForeignParam.
Constructor Details
#initialize(name:, type:, mode:, boundary_type:, line: nil, column: nil) ⇒ ForeignParam
Returns a new instance of ForeignParam.
136 |
# File 'lib/milk_tea/core/ast.rb', line 136 def initialize(name:, type:, mode:, boundary_type:, line: nil, column: nil) = super |
Instance Attribute Details
#boundary_type ⇒ Object (readonly)
Returns the value of attribute boundary_type
135 136 137 |
# File 'lib/milk_tea/core/ast.rb', line 135 def boundary_type @boundary_type end |
#column ⇒ Object (readonly)
Returns the value of attribute column
135 136 137 |
# File 'lib/milk_tea/core/ast.rb', line 135 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
135 136 137 |
# File 'lib/milk_tea/core/ast.rb', line 135 def line @line end |
#mode ⇒ Object (readonly)
Returns the value of attribute mode
135 136 137 |
# File 'lib/milk_tea/core/ast.rb', line 135 def mode @mode end |
#name ⇒ Object (readonly)
Returns the value of attribute name
135 136 137 |
# File 'lib/milk_tea/core/ast.rb', line 135 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type
135 136 137 |
# File 'lib/milk_tea/core/ast.rb', line 135 def type @type end |