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