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