Class: MilkTea::AST::GatherStmt

Inherits:
Data
  • Object
show all
Defined in:
lib/milk_tea/core/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(handles:, line: nil, column: nil) ⇒ GatherStmt

Returns a new instance of GatherStmt.



182
# File 'lib/milk_tea/core/ast.rb', line 182

def initialize(handles:, line: nil, column: nil) = super

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



181
182
183
# File 'lib/milk_tea/core/ast.rb', line 181

def column
  @column
end

#handlesObject (readonly)

Returns the value of attribute handles

Returns:

  • (Object)

    the current value of handles



181
182
183
# File 'lib/milk_tea/core/ast.rb', line 181

def handles
  @handles
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



181
182
183
# File 'lib/milk_tea/core/ast.rb', line 181

def line
  @line
end