Class: MilkTea::AST::UnsafeExpr
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::UnsafeExpr
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#expression ⇒ Object
readonly
Returns the value of attribute expression.
-
#length ⇒ Object
readonly
Returns the value of attribute length.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(expression:, line: nil, column: nil, length: nil) ⇒ UnsafeExpr
constructor
A new instance of UnsafeExpr.
Constructor Details
#initialize(expression:, line: nil, column: nil, length: nil) ⇒ UnsafeExpr
Returns a new instance of UnsafeExpr.
234 |
# File 'lib/milk_tea/core/ast.rb', line 234 def initialize(expression:, line: nil, column: nil, length: nil) = super |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
233 234 235 |
# File 'lib/milk_tea/core/ast.rb', line 233 def column @column end |
#expression ⇒ Object (readonly)
Returns the value of attribute expression
233 234 235 |
# File 'lib/milk_tea/core/ast.rb', line 233 def expression @expression end |
#length ⇒ Object (readonly)
Returns the value of attribute length
233 234 235 |
# File 'lib/milk_tea/core/ast.rb', line 233 def length @length end |
#line ⇒ Object (readonly)
Returns the value of attribute line
233 234 235 |
# File 'lib/milk_tea/core/ast.rb', line 233 def line @line end |