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