Class: MilkTea::AST::ErrorBlockStmt
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::ErrorBlockStmt
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#header_bindings ⇒ Object
readonly
Returns the value of attribute header_bindings.
-
#header_expression ⇒ Object
readonly
Returns the value of attribute header_expression.
-
#header_iterables ⇒ Object
readonly
Returns the value of attribute header_iterables.
-
#header_type ⇒ Object
readonly
Returns the value of attribute header_type.
-
#length ⇒ Object
readonly
Returns the value of attribute length.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(body:, line: nil, column: nil, length: nil, message: nil, header_type: nil, header_expression: nil, header_bindings: nil, header_iterables: nil) ⇒ ErrorBlockStmt
constructor
A new instance of ErrorBlockStmt.
Constructor Details
#initialize(body:, line: nil, column: nil, length: nil, message: nil, header_type: nil, header_expression: nil, header_bindings: nil, header_iterables: nil) ⇒ ErrorBlockStmt
Returns a new instance of ErrorBlockStmt.
203 |
# File 'lib/milk_tea/core/ast.rb', line 203 def initialize(body:, line: nil, column: nil, length: nil, message: nil, header_type: nil, header_expression: nil, header_bindings: nil, header_iterables: nil) = super |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
202 203 204 |
# File 'lib/milk_tea/core/ast.rb', line 202 def body @body end |
#column ⇒ Object (readonly)
Returns the value of attribute column
202 203 204 |
# File 'lib/milk_tea/core/ast.rb', line 202 def column @column end |
#header_bindings ⇒ Object (readonly)
Returns the value of attribute header_bindings
202 203 204 |
# File 'lib/milk_tea/core/ast.rb', line 202 def header_bindings @header_bindings end |
#header_expression ⇒ Object (readonly)
Returns the value of attribute header_expression
202 203 204 |
# File 'lib/milk_tea/core/ast.rb', line 202 def header_expression @header_expression end |
#header_iterables ⇒ Object (readonly)
Returns the value of attribute header_iterables
202 203 204 |
# File 'lib/milk_tea/core/ast.rb', line 202 def header_iterables @header_iterables end |
#header_type ⇒ Object (readonly)
Returns the value of attribute header_type
202 203 204 |
# File 'lib/milk_tea/core/ast.rb', line 202 def header_type @header_type end |
#length ⇒ Object (readonly)
Returns the value of attribute length
202 203 204 |
# File 'lib/milk_tea/core/ast.rb', line 202 def length @length end |
#line ⇒ Object (readonly)
Returns the value of attribute line
202 203 204 |
# File 'lib/milk_tea/core/ast.rb', line 202 def line @line end |
#message ⇒ Object (readonly)
Returns the value of attribute message
202 203 204 |
# File 'lib/milk_tea/core/ast.rb', line 202 def @message end |