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