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