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.
222 |
# File 'lib/milk_tea/core/ast.rb', line 222 def initialize(line: nil, column: nil, length: nil, message: nil) = super |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
221 222 223 |
# File 'lib/milk_tea/core/ast.rb', line 221 def column @column end |
#length ⇒ Object (readonly)
Returns the value of attribute length
221 222 223 |
# File 'lib/milk_tea/core/ast.rb', line 221 def length @length end |
#line ⇒ Object (readonly)
Returns the value of attribute line
221 222 223 |
# File 'lib/milk_tea/core/ast.rb', line 221 def line @line end |
#message ⇒ Object (readonly)
Returns the value of attribute message
221 222 223 |
# File 'lib/milk_tea/core/ast.rb', line 221 def @message end |